reboot hangs after shutdown

Andreas Koppenhoefer (koppenas@koppenas.dialup.informatik.uni-stuttgart.de)
15 Feb 1996 12:12:51 GMT


-----BEGIN PGP SIGNED MESSAGE-----

Hello,

I'm having some difficulties with rebooting my linux box. After
invoking 'shutdown -r now' or 'reboot' linux shuts down cleanly, but
just hangs after running rc.0 script. This is true since I've upgraded
from 1.2.13 to 1.3.x. Currently I'm running 1.3.55. After shuting down
nothing works anymore: no console switches and not even Alt-Gr-Scroll
(show_regs call). Using 'shutdown -h' or 'halt' works very well: after
shutdown the message 'The system is halted.' appears.

Some thoughts about that:

- - You may say it's because I'm using an old sysvinit from Slackware
2.1. Not true: a test-installation of Slackware 3.0 doesn't work, too.

- - I've tried a newer init 2.57b without success.

- - It's not (!) depending on init or some rc-Scripts since software
watchdog in newer kernels should be able to reboot after doing
"sleep 120 >/etc/watchdog" in about 60 seconds. It dosn't, instead my
machine get's frozen rock solid!

- - It's not a compiler issue. 1.3.55 compiled with gcc-2.7.[12] fails
to reboot, but 1.2.13 (compiled as elf and aout) are working both in
the same environment.

- - It's not a libc issue, because 1.2.13 compiled today reboots
fine. I've upgraded to libc-5.x.x long ago (currently 5.2.18) and
recompiled many packages in elf.

- - It's not a problem of newer 1.3.x kernels, because my first 1.3.3x
kernel failed, too.

- - It may be a motherboard/keyboard related problem: Its an ASUS SP3G
with i486-DX2/66 and a cheap Mitsumi keyboard.

- - I've looked into hard_reset_now() of linux/arch/i386/kernel/process.c
and compared reset code of 1.3.55 with 1.2.13: no difference.

NB: some old 1.1.xx versions had quite the same problem! it appeared at
somewhere 1.1.4x and was gone at 1.1.6x (as far a I can remember).

What's wrong? I'would like to use software watchdog...
Any help appreciated! Do you have the same problems? I've never saw
this dicussed in kernel mailing list.

Thanx,
Andreas

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i
Comment: Processed by Mailcrypt 3.3, an Emacs/PGP interface

iQBVAwUBMSMjNUVdjNvyndGpAQHNyAH/bvEvz+7LI9V+F3c21LMw+DKikDCZwni7
AYQSj95xX6qPEorfIFQTw0DP897TkAsBZBXq2W9VHh6vCn/goQ+wzw==
=/4i4
-----END PGP SIGNATURE-----

--
Andreas Koppenhoefer, Student der Universitaet Stuttgart, BR Deutschland 
prefered languages: German, English, C, Perl ("Just another Perl hacker,")
EMail:  koppenas@informatik.uni-stuttgart.de            (university address)
        Andreas.Koppenhoefer@studbox.uni-stuttgart.de   (alternate address)
	akoppenhoefer@schweinfurt.netsurf.de            (private address)
privat: Franz-Schubert-Str. 2, 97616 Bad Neustadt, Germany
        Belaustr. 5, 70195 Stuttgart, Germany
phone:  +49 9771 7943 (9-21h MEZ=GMT+1), +49 711 694111 (19-22h MEZ=GMT+1)