Well, if that is the case, I guess, then it makes me not wonder that my trick to bypass hardwaremain in case pci conf space is already setup, does not work.
I 'd be happy to get your reset code for PIIX4E :)
Elias
-----Original Message-----
From: Ronald G Minnich [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 10, 2002 4:41 PM
To: Elias Rajczyk
Cc: [EMAIL PROTECTED]
Subject: Re: stuck after reboot
On Sun, 10 Feb 2002, Elias Rajczyk wrote:
>
> Someone a clue why some systems get stuck after the "reboot" command.
> Linux just outs "Restarting system" and freezes. Is is as if Linuxbios
> doesn't give it a second rundown
Linux doesn't quite handle reset right. We've found experimentally that
most of the ways that Linux "reboots" involve the dreaded triple-fault.
There's a lot of code to do restart in the kernel -- first try is the
keyboard controller, second try is the 'go to 16-bit mode and call BIOS',
third try is 'kick ourselves until we fall over (triple fault)'. We've
found via tracing with the hardware In-Circuit Emulator that the 'go to
16-bit-mode' code is totally broken, the keyboard code is marginal, and
that what happens most of the time is the triple-fault path.
If you have a PIIX4E I have reset code that works.
This is actually the Pentium's fault -- it has no RESET instruction,
unlike earlier micros.
ron
