lkml.org 
[lkml]   [2003]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: software reset
From
Date
Jamie Lokier <jamie@shareable.org> writes:

> Andi Kleen wrote:
> > The most reliable way is to force a triple fault; load zero into
> > the IDT register and then trigger an exception. The linux kernel
> > does that in fact for reboot and so far I haven't seen any machine failing
> > to reset yet.
>
> There are some 486s which don't boot on triple fault, nor on asking
> the keyboard controller to pulse the reset line. Hence the 3rd option,
> "reboot=bios".

And as an interesting data point all a triple fault does on a modern
system is to put the cpu in a weird stopped state. Some hardware
usually the southbridge then detects this and if properly configured
will trigger the reset line.

I believe this may actually go back into history as far as the 486 but
I have not done the researched to see how far back this behavior goes.

Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.081 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site