A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » Motherboards » Asus Motherboards
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Redhat 9 on P4PE-X not powering down



 
 
Thread Tools Display Modes
  #1  
Old October 12th 03, 06:37 PM
Max Spring
external usenet poster
 
Posts: n/a
Default Redhat 9 on P4PE-X not powering down

With a Redhat 9 Linux (kernel 2.4.20-8smp) on a Asus P4PE-X, the system is not
powering down. I see

...
Unmounting file systems: [ OK ]
Halting system...
flushing ide devices: hda hdc
Power down.

but then the system is still on. Only the harddisk is powering down.

What could it be?
-Max
  #2  
Old October 12th 03, 06:58 PM
Robert Hancock
external usenet poster
 
Posts: n/a
Default

Is the kernel detecting APM support? (I think some motherboards may not even
do APM anymore, only ACPI). If the kernel is not using APM or ACPI power
management, then it can't power off the machine.

--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from
Home Page:
http://www.roberthancock.com/


"Max Spring" wrote in message
om...
With a Redhat 9 Linux (kernel 2.4.20-8smp) on a Asus P4PE-X, the system is

not
powering down. I see

...
Unmounting file systems: [ OK ]
Halting system...
flushing ide devices: hda hdc
Power down.

but then the system is still on. Only the harddisk is powering down.

What could it be?
-Max



  #3  
Old October 12th 03, 11:55 PM
Max Spring
external usenet poster
 
Posts: n/a
Default

The APMD seems to work fine, according to "grep apmd" excerpt of
/var/log/messages:

: messages:Oct 12 10:29:34 apollo kernel: apm: BIOS version 1.2 Flags 0x03 \
: (Driver version 1.16)
: messages:Oct 12 10:29:35 apollo apmd[3239]: Version 3.0.2 (APM BIOS 1.2, \
: Linux driver 1.16)
: messages:Oct 12 10:29:35 apollo apmd: apmd startup succeeded
: messages:Oct 12 10:29:37 apollo apmd[3239]: Charge: * * * (-1% unknown)
: messages:Oct 12 10:31:11 apollo apmd[3239]: Exiting
: messages:Oct 12 10:31:11 apollo apmd: apmd shutdown succeeded

But your "apm" key word made me search in the kernel sources for
"Power down". There I found this branch in arch/i386/kernel/apm.c:

: static void apm_power_off(void)
: {
: ...
: /*
: * This may be called on an SMP machine.
: */
: if (apm_info.realmode_power_off)
: {
: (void)apm_save_cpus();
: machine_real_restart(po_bios_call, sizeof(po_bios_call));
: /* Never returns */
: }
: else
: (void) set_system_power_state(APM_STATE_OFF);
: }

That reminded me that I'm booting a 2.4.20-8smp kernel (the first one
Redhat 9 shows me in the Grub menu).

Now, booting the other entry 2.4.20-8, is dowing the power down as it
should :-) And the non-smp should be fine for me, since I have only
one CPU.

Thanks!
-Max
 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Redhat Linux 9.0 fstab settings for Soyo Cigr USB drive Stacey Homebuilt PC's 1 February 22nd 04 11:21 PM
RH9 Linux, Asus P4PE: No sound! Vikas Agnihotri Homebuilt PC's 6 October 6th 03 11:29 AM
RH9 Linux, Asus P4PE: No sound! Vikas Agnihotri Asus Motherboards 6 October 6th 03 11:29 AM
P4PE, floppy, and standby Tim Asus Motherboards 0 July 10th 03 09:47 PM
purchasing P4PE Jim Morgan Asus Motherboards 0 June 23rd 03 12:49 PM


All times are GMT +1. The time now is 03:32 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.