Re: How to create hard reboots through software

From: Willy Tarreau (willy@novworld.Novecom.Fr)
Date: Mon Feb 07 2000 - 14:39:54 EST


Hi,

  I personnaly use this very simple program to hard-reset my machine :

main() {
  ioperm(0x64,1,1);
  while (1) outb(0xfe, 0x64);
}

it basically outputs the value 0xFE to the KB controller at port 0x64 which
will perform a hardware bus reset.

Willy

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



This archive was generated by hypermail 2b29 : Mon Feb 07 2000 - 21:00:15 EST