View topic - QNX hang/lockup

QNX hang/lockup

anything that doesn't fit to other groups.

QNX hang/lockup

Postby terryd » Fri Sep 16, 2011 2:52 pm

Hi QNX experts,
Any tips on how to debug a complete system lockup? I have a repeatable test scenario which causes my telnet and console sessions to totally freeze-up.
Kernel is not crashing since there is no register dump on serial or VGA consoles, and Caps/Numlock keys are still active. Ping requests are ignored.
Qconn is down so IDE doesn't show any useful information. If I run hogs at high priority on the console it also hangs. I'm running QNX 6.5.0.

New Member
Posts: 5
Joined: Wed Feb 24, 2010 9:18 pm

Re: QNX hang/lockup

Postby denkelly » Fri Sep 16, 2011 9:02 pm

How about using "APS" partitioning scheduler... Try putting devc-ser and tinit in a single partition with say 10% of CPU. Then, if the rest of the system locks up due to a run-away CPU, you should still be able to login.

Of course if memory is exhausted, this won't help. Then you may want to try "memory partitioning" which is also supported.
Senior Member
Posts: 163
Joined: Sat Aug 02, 2008 3:27 pm

Re: QNX hang/lockup

Postby maschoen » Sat Sep 17, 2011 8:05 am

This is a little more abstract approach. They scenario you describe sounds a lot like a runaway process at a high priority. You might want to think about what processes you have that could do this. You might try starting the system with everything you wrote put at a lower process then things you didn't write, like telnet. You might also try starting a shell at a high priority and seeing if you can run anything when the system hangs.

If everything you are running is generic QNX, you might want to consider some kind of hardware problem or failure.
QNX Master
Posts: 2720
Joined: Wed Jun 25, 2003 5:18 pm

Return to General Programming

Who is online

Users browsing this forum: No registered users and 1 guest