?
Solved

RedHat > 6.2 does not poweroff on "shutdown -h now"

Posted on 2003-03-07
20
Medium Priority
?
627 Views
Last Modified: 2013-12-15
I have a Dell Dimension XPS R450 (i.e. PII 450 on intel chipset based motherboard).

With RedHat 6.2 the "shutdown -h now" did properly turn off the power.

When I upgraded to 7.2 and now 8.0 the shutdown does all but cutting off the power. I allways have to do it manually. Which makes me guess when to press the button as I use PuTTY to remotely access it and I have no physical monitor attached.

Already tried poweroff and also creating a poweroff file in / but no joy.
Also upgraded BIOS to latest firmware, still no luck.

Anyone has any idea how to make the system properly turn off the power (it worked on RH 6.2 and on Win98).

Thanks,
Gerald.
0
Comment
Question by:gbonne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 8
20 Comments
 
LVL 9

Expert Comment

by:majorwoo
ID: 8092122
have you checked /var/log/messages for some notifications from APMD?
0
 
LVL 1

Author Comment

by:gbonne
ID: 8093564
Nothing like APMD in there here is an extract of a shutdown log end:
Mar  5 21:16:47 gblinux nfslock: rpc.statd shutdown succeeded
Mar  5 21:16:47 gblinux autofs: automount -USR2 succeeded
Mar  5 21:16:47 gblinux autofs: automount -USR2 succeeded
Mar  5 21:16:48 gblinux automount[662]: shutting down, path = /misc
Mar  5 21:16:49 gblinux dd: 1+0 records in
Mar  5 21:16:49 gblinux dd: 1+0 records out
Mar  5 21:16:49 gblinux random: Saving random seed:  succeeded
Mar  5 21:16:49 gblinux portmap: portmap shutdown succeeded
Mar  5 21:16:49 gblinux kernel: Kernel logging (proc) stopped.
Mar  5 21:16:49 gblinux kernel: Kernel log daemon terminating.
Mar  5 21:16:50 gblinux syslog: klogd shutdown succeeded
Mar  5 21:16:50 gblinux exiting on signal 15
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8095382
hmmm.  I have had a problem where it did not work correctly before and i dont recall exactly what I did (in fact one of my machiens is doing it now, but since its my server i never poweroff so never think to fix it ;-) )

check teh BIOS and make sure power control is enabled or else the machine can not turn it off -> im gonna check that on mien next time i reboot
0
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
LVL 1

Author Comment

by:gbonne
ID: 8095492
BIOS power setting is OK (I did try changing it around just in case but that did not help).

It's really RH as of 7.2 that fails.
One slight difference with RH 8 vs 7.2: I do hear a fan powering down which I did not on RH7.2 but the main stuff keeps running. Maybe it's just the HDD going down, I don't know. But the whole idea is to have ALL of it off.

Gerald.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8095592
Hmm.. I expected that (BIOS) would fix mine when i rebooted.

does reboot work normally?
0
 
LVL 1

Author Comment

by:gbonne
ID: 8096987
Yes reboot works.

And I think CPU comes to halt too with "shutdown -h" (but I cannot check that).

The only failure is that the signal to turn off the ATX power supply is not being sent properly (or at all).

G.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8097038
Yes reboot works.

And I think CPU comes to halt too with "shutdown -h" (but I cannot check that).

The only failure is that the signal to turn off the ATX power supply is not being sent properly (or at all).

G.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8097890
have you tried disablign power management in the BIOS instread of enabling it? I had one machine where it had to be disabled for it to work properly
0
 
LVL 1

Author Comment

by:gbonne
ID: 8098431
Yes, see my post dated 03/08/2003 03:05PM PST but that was on RH 7.2.

I will try it on 8.0 as soon as I find the courrage to crumble under the desk which is a web of cables of all kinds.

I'll keep you posted on the result. Honestly I hoped to have a ready answer from someone's experience on this matter. This post is my last hope. I already searched Google and others but nobody seems to have this problem.
I am using standard hardware, it's not like I built my PC from all kinds of cheap parts that are not totally compatible. This is a standard Dell config from back then (1998-99 I think). I even did a BIOS upgrade in hoping to solve this but no joy.

I do appreciate all help so far majorwoo. I really do. If we cannot make it work I'll pick any of your posts for a "good answer" to let you earn the points as a token of appreciation.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8229781
Tried disabling power mgt and it still fails. Re-enabling it does not change anything either.

Note that with power mgt disabled I still hear the HDD turning off but the power remains on.

G.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8229784
PS: sorry for the late reply. I've been a bit busy searching for a new job as I lost my employment two days after you last post.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8230794
ouch man, sorry about the job -- what area are you in?

Well im not sure what I did, but I got my dual athon to poweroff as it should, but honestly im not sure what i did to it ;-)  Im trying some backwards tests to see if i can break it again -- ill let you know.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8233470
I am in Belgium, near Brussels.

I await your research and if negative I'll grant you the points as promised anyway.

Thanks again,
G.
0
 
LVL 9

Accepted Solution

by:
majorwoo earned 500 total points
ID: 8234013
here is what i know:

I did upgrade my BIOS (but it was supposedly for USB 2.0 not for the power management).  

I also installed apcupsd to monitor my UPS - supposedly that should not have made a difference even though it deos modify the shutdown script, it adds a call to shut off the UPS if you are running on battery power and it initiated the shutdown (in case you are not there).

I was going to try downgrading my BIOS to see if it came back for you but they do not provide the original BIOS for my board, and I didn't save it on floppy (or rather I think i did but cant find the floppy)

Uninstalling apcupsd did not cause the problem to return although it is possible that in setting it up i changed something that I didn't set back - if you have a smart ups (or a less intelligent back ups) you should try setting it up - its really nice software, and i think that following the directions there are what fixed my shutdown)

Sorry I can't be more help - I wasn't expecting it to fix the problem so I wasn't really tracking what i did.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8234151
I have no UPS. Many thanks for all your efforts anyway.

Gerald.
0
 
LVL 1

Author Comment

by:gbonne
ID: 8234158
I'll expirement with the apcupsd it might help.

G.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8234261
0
 
LVL 1

Author Comment

by:gbonne
ID: 8652184
I finally solved it by switching from the bigmem kernel to the standard kernel.

God knows why it installed by default the bigmem as I only have 256Megs ram.

Thanks for all research anyway.

G.
0
 
LVL 9

Expert Comment

by:majorwoo
ID: 8652853
interesting - I would wonder why you did that also, but more importantly - why did that cause the problem?
0
 
LVL 1

Author Comment

by:gbonne
ID: 8654521
I did not switch back to the regular kernel while attempting to solve the poweroff issue. I did it when I realized that 256Megs of ram did not qualify for bigmem and hoped for a better memory management in switching back (I think it does manage it better too but that is only a first impression, not based on measurements or benchmarks).

Why it caused the problem? Beats me. I guess it requires a study of compiling options and the kernel source in order to analyse that. Honestly I do not have much time nor envy to spend more time on it. It just works, that's what matters for now. I actually started to get used to pressing the poweroff button, like the old times before ATX power supplies :-)

G.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month8 days, 17 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question