Michael Tasche
08/27/2009 4:53 AM
post36758
|
Hi all,
yesterday I wanted to use aps for a emergency console login.
After finding out, that I must use the "aps" tool and not the "ap" tool, I was able to setup a 10% emergency Partion
for my console access.
# aps
+---- CPU Time ----+-- Critical Time --
Partition name id | Budget | Used | Budget | Used
--------------------+------------------+-------------------
System 0 | 90% | 4.01% | 100ms | 0.000ms
Emergency 1 | 10% | 92.76% | 100ms | 0.000ms
--------------------+------------------+-------------------
Total | 100% | 96.77% |
#
Ok, after that I have created a simple program with a while(1) loop, to test the emergency access.
After Startin this tool with "on -Xaps=System -p40 looper &"
My emergency console was frozen.
First problem: devc-pty seems not to inherit the partition.
So I started it in the Emergency partion.
After that my emergency console was partly working.
"echo Walter" works.
But starting a process (e.g. pidin or uname -a) results in a frozen console.
After digging into this with a countinous "pidin -l sched", started before the looper,
I found the process, started from the emergency shell in this state:
307226 1 (Loading) Emergency 10r WAITPAGE 480400f4
There seems to be priority inversions or better partition inversions with the service threads from procnto.
Are this known problems or do I miss something here ?
Kind Regards
Michael
|
|
|