shutdown troubles

We have a 486 computer (pc/104 SBC) that will not reboot using the
‘shutdown’ command. It will go through the motions and then just hang
instead of restart. Has any one come across this problem before? How can
we go about restarting? This is going to be embedded in a system with no
access to reset switch or keyboard.

TIA

Mark Austin
New York Air Brake, TDS Group
maustin@nyab.com
(817) 615-0012

Mark Austin <maustin@nyab.com> wrote:

We have a 486 computer (pc/104 SBC) that will not reboot using the
‘shutdown’ command. It will go through the motions and then just hang
instead of restart. Has any one come across this problem before? How can
we go about restarting? This is going to be embedded in a system with no
access to reset switch or keyboard.

What version of QNX?

Assuming a fairly recent version of QNX 4, try playing with various -b
options to Proc32. (Yes, you will have to rebuild your boot image to
try the different options.) These specify how to force a reboot.
(Earlier version of QNX 4 had only a -b option to specify to do it
a different way, and even earlier versions didn’t have the option at
all, and only tried to do it one way.)

-David

Also a thing to note, during training I found that a few older systems
didn’t shutdown properly with the newer versions of the OS, from what I
learned is, that the bios function calls used in the shutdown command
changed in newer systems, so the older shutdown wouldn’t function properly
with the newer systems and vice versa with the newer shutdown. The -b option
sets the system to not reboot, this (from what I have been told) is the
bios call that doesn’t work with the older systems anymore.

(Wow, please ignore the runon sentance :slight_smile: ).

Erick.


David Gibbs <dagibbs@qnx.com> wrote:

Mark Austin <> maustin@nyab.com> > wrote:
We have a 486 computer (pc/104 SBC) that will not reboot using the
‘shutdown’ command. It will go through the motions and then just hang
instead of restart. Has any one come across this problem before? How can
we go about restarting? This is going to be embedded in a system with no
access to reset switch or keyboard.

What version of QNX?

Assuming a fairly recent version of QNX 4, try playing with various -b
options to Proc32. (Yes, you will have to rebuild your boot image to
try the different options.) These specify how to force a reboot.
(Earlier version of QNX 4 had only a -b option to specify to do it
a different way, and even earlier versions didn’t have the option at
all, and only tried to do it one way.)

-David

DRAT! Sorry I misread Davids post, I thought he wanted you to try the -b option to
shutdown not Proc, and as I have learned shutdown doesn’t make any BIOS calls, rather
it sends a message to Proc telling it to shutdown.

Follow Davids post, ignore mine :slight_smile:

Erick.



Erick Muis <emuis@qnx.com> wrote:

Also a thing to note, during training I found that a few older systems
didn’t shutdown properly with the newer versions of the OS, from what I
learned is, that the bios function calls used in the shutdown command
changed in newer systems, so the older shutdown wouldn’t function properly
with the newer systems and vice versa with the newer shutdown. The -b option
sets the system to not reboot, this (from what I have been told) is the
bios call that doesn’t work with the older systems anymore.

(Wow, please ignore the runon sentance > :slight_smile: > ).

Erick.



David Gibbs <> dagibbs@qnx.com> > wrote:
Mark Austin <> maustin@nyab.com> > wrote:
We have a 486 computer (pc/104 SBC) that will not reboot using the
‘shutdown’ command. It will go through the motions and then just hang
instead of restart. Has any one come across this problem before? How can
we go about restarting? This is going to be embedded in a system with no
access to reset switch or keyboard.

What version of QNX?

Assuming a fairly recent version of QNX 4, try playing with various -b
options to Proc32. (Yes, you will have to rebuild your boot image to
try the different options.) These specify how to force a reboot.
(Earlier version of QNX 4 had only a -b option to specify to do it
a different way, and even earlier versions didn’t have the option at
all, and only tried to do it one way.)

-David