LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-17-2001, 02:46 AM   #1
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Redhat 7.1 won't poweroff correctly


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?
 
Old 08-17-2001, 03:46 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
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...
 
Old 08-18-2001, 08:58 PM   #3
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Original Poster
Rep: Reputation: 46
Thanks, jamie.

I'll give that a try
 
Old 08-19-2001, 01:43 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
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.
 
Old 09-01-2001, 08:10 AM   #5
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Original Poster
Rep: Reputation: 46
rh7.1 poweroff

That worked, jharris, thanks.
 
Old 02-09-2003, 09:42 PM   #6
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
Quote:
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?

Thank you.
 
Old 02-10-2003, 01:49 AM   #7
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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.
 
Old 02-10-2003, 05:58 AM   #8
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
The only way mine powers off is by turning off the power supply. The power button on the front of the tower does nothing in linux.
 
Old 02-10-2003, 11:22 AM   #9
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
Quote:
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.

Thank you.
 
Old 02-10-2003, 02:51 PM   #10
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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.
 
Old 02-13-2003, 01:37 PM   #11
jkmin
LQ Newbie
 
Registered: Jul 2002
Location: Los Angeles, CA
Distribution: RH7.1
Posts: 29

Rep: Reputation: 15
Darin,

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.

Thank you.

Last edited by jkmin; 02-13-2003 at 01:43 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
poweroff Poszukiwacz Ubuntu 2 08-17-2005 05:10 AM
how to poweroff ?? perdesiz Linux - Laptop and Netbook 5 12-29-2004 03:31 AM
redhat 9 on my compaq wont poweroff TheCarl Linux - Laptop and Netbook 5 01-09-2004 07:31 AM
poweroff praveen_2003 Linux - Software 1 07-13-2003 01:31 PM
RedHat didn't recognize HDD properties correctly motyl Linux - Hardware 1 05-12-2003 05:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration