QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
QNX 4 hangs during shutdown |
Ref. No. |
QNX.000010355 |
Category(ies) |
Configuration |
Issue |
When I use the shutdown command to reboot my computer, the system hangs during the countdown. What can I do to fix this?
|
Solution |
The shutdown utility performs an orderly system shutdown by:
1.x09Causing a SIGPWR signal to be sent to all processes listed under /proc x09 2.x09Waiting for ten seconds (or one second if the -f option is specified)
3.x09Rebooting the system.
The ten-second interval allows processes that have elected to catch the SIGPWR signal to perform any cleanup they need to do before the system is rebooted.
The shutdown utility sends messages to the Proc Manager (Proc32) to accomplish both the sending of SIGPWR to all processes and the rebooting of the system. Some PC motherboards have problems with the standard methods of performing soft-reboots. If the system hangs during or after the ten second countdown, then your PC motherboard has such problems. You can resolve this problem by passing in an option to Proc32 to use an alternate method of soft-rebooting the system. ( This must be done in the OS build file).
See the following Knowledge Base entry for information on the options to Proc32 to specify anlernate reboot methods: http://www.qnx.com/developers/qnx4/qnx4kb/solution.html?code=2525 |
|