Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - aps Problems: Page 1 of 8 (8 Items)
   
aps Problems  
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