On Mon, Dec 11, 2000 at 03:53:26PM -0700, Ronald G Minnich wrote:
> On Mon, 11 Dec 2000, Levi Khatskevitch wrote:
> 
> > I see that software reset (like 'reboot') doesn't work with linuxbios. Is it a
> > known issue? Can it theoreticaly be fixed?
> 
> it's easy to fix as soon as I can figure out the interface between linux
> and linuxbios. Any suggestions? I was actually thinking of having a 
> /proc/chipset, with entries like
> reboot
> reset
> 
> and so on, so that (e.g.) writing a 1 to /proc/chipset/reboot will cause a
> reboot.

Isn't that over-engineering the problem a little bit?  I mean, you could
probably add less than ten lines of code to machine_restart() that would
cover all the motherboards linuxbios can boot.  And if that doesn't work,
it's pretty easy for a user to add their own.

And wouldn't access to reboot from /proc mean that the system would
shutdown prematurely?  Since init will call the reboot syscall when it's
time to reboot, why would you want to add an alternate mechanism?

Eric

Reply via email to