View previous topic :: View next topic |
Author |
Message |
piwacet Guru

Joined: 30 Dec 2004 Posts: 486
|
Posted: Wed Feb 25, 2009 7:35 pm Post subject: Shutdown -r (runlevel 6) calls runlevel 0? [Solved] |
|
|
Hi. I have a recent fresh install, and I can shut down but not reboot my computer.
Shutdown -r now (as root) gives the usual "system going down for reboot now" and shows entering runlevel 6.
Several services are stopped, as usual; then 'deactivating swap ..... O.K' shows;
then there's a message about init entering runlevel 0;
then 'deactivating swap ..... O.K' shows again;
then a few more services stop, and the system halts (powers off).
Of note, when fdisck has completed it's check of the disk on startup, and needs to reboot, the computer reboots fine.
And I've had gentoo on this computer before without problems, so I doubt it's a hardware problem.
I've tried not using swap; upgrading to baselayout-1.12.12, upgrading to sysvinit-2.86-r12, using acpid, not using acpid, using hald, not using hald. Nothing seems to fix it.
Any ideas?
Thanks!
Last edited by piwacet on Fri Feb 27, 2009 11:16 am; edited 1 time in total |
|
Back to top |
|
 |
piwacet Guru

Joined: 30 Dec 2004 Posts: 486
|
Posted: Fri Feb 27, 2009 11:15 am Post subject: |
|
|
Well I figured it out and it was caused by my own setup trying to set some scripts to allow a normal user to shutdown the computer.
All fixed. I doubt this problem will bite someone else, but post here if it does and I'll go over it in more detail.
Thanks! |
|
Back to top |
|
 |
dennisn Tux's lil' helper


Joined: 01 Aug 2004 Posts: 119 Location: Montreal, Canada
|
Posted: Sun Mar 29, 2009 10:47 pm Post subject: |
|
|
I had the same problem as you, but after I ran "reiserfsck" (in "init 2", or whenever you're able to remount / ro), it magically was able to shutdown and reboot again.
(In my case, the problem started after I upgraded to kernel version 2.6.29, from my previous 2.6.27 ... I'm still not sure if this had anything to do with the problem, or what the cause of the problem was --- ie. how does fsck'ing (or lack thereof) the root partition affect the ability for the system to power itself off? (Btw, even when I had this problem, I was actually able to get it to power down when using suspend-to-disk, by "echo shutdown > /sys/power/disk" (which was set to platform initially)... I'm not sure if a similar workaround exists for normal shutdowns)) |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|