My Linux box does not shutdown i do when i do /sbin/shutdown -h now
hi guys,
i tend to be having a little probelm with my new Pentuim D. When ever i shutdown with this command (shutdown -h now), my system does not shutdown as in i mean power off. Any idea why? Thanks |
Quote:
#poweroff |
hi,
su - what is this suppose to do. i am already root. Thanks |
Shell command
Quote:
make the shell a login shell As long as you're already root, "poweroff" command shall do the trick :) Cheers |
thanks SlackerLX,
i will try poweroff and get back. Thanks |
try with APM
I had the same problem.
I used an own compiled SMP kernel (it's a dual core machine) with APM and ACPI support. When looking at the startup log (run dmesg) I could see that when ACPI is started, it disables APM. Further on APM poweroff is disabled for multicore CPU-s anyhow, as it is considered not SMP-safe. (I don't know why.) The solution was that I disabled ACPI and enabled APM power off even for SMP. I think the kernel boot parameters for that were acpi=off apm=smp. But then shutdown -h worked :) I used the 2.6.20 kernel. The list of kernel parameters can be found in the file Documentation/kernel-parameters.txt. Search for acpi and apm. The latter will redirect you to arch/i386/kernel/apm.c where you can see this: Code:
/* |
Try passing the "-p" option to the shutdown command. That (if supported) will power off the system.
|
All times are GMT -5. The time now is 10:25 AM. |