Messages in this thread | | | Subject | Re: software reset | From | (Eric W. Biederman) | Date | 30 Apr 2003 05:04:59 -0600 |
| |
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/
| |