On Tue, 5 Apr 2005, Rus Foster wrote:

> I've just compiled up a 2.4.29 guest kernel and having a problem that is 
> typing "reboot" the guest does more of a power off than a reboot. Anyone 
> got a fix for this?

I saw the same thing in 2.6.8 host & guest, from the SuSE distro.  If you 
run your UML as root, when the system call for shutdown/reboot is given,
it is executed faithfully by taking a flying leap into the BIOS, never to 
return.  When not as root, permission is denied, and the kernel does other 
more reasonable things like exiting.

I didn't investigate very thoroughly, but it looks like the host 
architecture specific shutdown code is supposed to be omitted in UML, but 
isn't, at least for you and me.

James F. Carter          Voice 310 825 2897    FAX 310 206 6673
UCLA-Mathnet;  6115 MSA; 405 Hilgard Ave.; Los Angeles, CA, USA  90095-1555
Email: [EMAIL PROTECTED]    http://www.math.ucla.edu/~jimc (q.v. for PGP key)


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to