Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've looked around for this one but can't find it. I'd be happy to be redirected for this one.
I used to run rh7.0 and this powered down fine on
shutdown -h now
But rh7.1 doesn't seem to like this. It says it's powering down and then hangs after the system halt. Sometimes it even claims a forced check when I reboot (#shudder#)!
I tried
poweroff
but it seems to have the same effect. I'm resolving this problem by rebooting into GRUB on the floppy and quietly pressing the reset button on the laptop. Or rebooting into my other system which I never like to do too often, if you know what I mean .
Any suggestions? - I can't find any lists of command line arguments for poweroff and my man pages don't have it .
Thought for the day:
Would you buy a car if you couldn't look at the engine?
My main system at home hangs at power down if I don't enable "Use real-time BIOS call at shutdown" (or something like that - can't remember the exact words!!) in the 'General' section of the kernel config. This seems to effect boards using VIA chipsets.... So you might want to try reconfiguring your kernel and see what that does.
I had to set up apmd in SuSE 7.2 as it was the only thing that worked. All of my batteries are at " -1%". This is really bad news as I have no batteries to begin with.
BTW I had apmd and toshutils running on SuSE 6.4 on my old Tosh Satt Pro and it was way smooth.
Originally posted by jharris My main system at home hangs at power down if I don't enable "Use real-time BIOS call at shutdown" (or something like that - can't remember the exact words!!) in the 'General' section of the kernel config. This seems to effect boards using VIA chipsets.... So you might want to try reconfiguring your kernel and see what that does.
cheers
Jamie...
I use RH7.1 SMP linux on the ABIT VP6 mobo, and when I shutdown, it does not power off byitself as if from win98. So I have to restart to win98 to power down.
Is it possible to power off the PC on shutdown in SMP. I think I read power off PC from linux SMP is not possible. Is it true. Do you think your option "Use real-time BIOS call at shutdown" works on SMP?
jkmin you can just turn the power switch off when linux says power down, no need to reboot into another OS. As for SMP, SMP boards shut off any APM functions so that won't work but if your board supports ACPI you can get it to work using ACPI in your kernel (specifically ACPI bus and system.) I have an old dual PPro board with APM but not ACPI and it won't power down even under win98 but a dual P2 board with ACPI support powers down in windows or linux with ACPI bus/system.
Originally posted by Darin jkmin you can just turn the power switch off when linux says power down, no need to reboot into another OS.
Darin, thank you for the reply. I never tried to power switch off when linux says power down. I use the switch only to turn on the pc. I am afraid if I press the power button again when linux says to power down, it will simply restart.
Quote:
As for SMP, SMP boards shut off any APM functions so that won't work but if your board supports ACPI you can get it to work using ACPI in your kernel (specifically ACPI bus and system.) I have an old dual PPro board with APM but not ACPI and it won't power down even under win98 but a dual P2 board with ACPI support powers down in windows or linux with ACPI bus/system.
I will look at the motherboard spec to see it supoort the ACPI function, and if it does, I will try ACPI. But I am not sure if ACPI works with kernel 2.4.2. When I looked at the kernel configure panel, it says it is currently experimental in 2.4.2.
You have to select the "prompt for experimental or incomplete bla bla bla" option to get ACPI to show up in kernel config As for 2.4.2 I don't know if it's in there, I've seen it in 2.4.18 and 2.4.20.
I finally upgraded the kernel to 2.4.20 last night, and turned on experimantal stuff and ACPI in make xconfig. And it went without a hitch. When I shutdown the linux, the first time it powered off by itself, which is a succsss.
But the 2nd time and on, I get the following error.
power down
hwsleep - 0178
Then, it hangs. I have to restart.
Could you tell me what to do or where to look?
BTW, I have a dual SMP, which is Abit VP6. So, I know that I can not use APM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.