ACPI problems on Athlon MP system
Hi,
I am not sure whether this is the correct place to ask this question, but hopefully you can point me in the right direction.
Here is the problem:
I am trying to get the "poweroff" command working on an Athlon MP (Tyan S2462) system (linux-2.4.21-pre2; otherwise RedHat 7.3).
The machine has ACPI enabled in the bios. When I compile the kernel with ACPI disabled, the poweroff command shuts down the system, but does not shut off the power (it acts exactly like the halt command). In order to shutoff the machine I must press the power switch.
When I compile the kernel with ACPI enabled the situation is worse:
the halt and poweroff commands still work in exactly the same way (shutdown the system), but now I cannot switch off the machine
anymore: pressing the power switch has absolutely no effect (regardless of how long I hold the switch). The only way to switch off the machine is to either pull the power cord or to press the reset button on then the power switch (which will then switch off the machine when it reboots).
What am I doing wrong? Am I missing some kernel switches, options? Do I need additional software?
Any help or suggestions, hints are appreciated!
Thanks in advance,
Martin
========================================================================
Martin Siegert
Academic Computing Services phone: (604) 291-4691 Simon Fraser University fax: (604) 291-4242 Burnaby, British Columbia email: [email protected]
Canada V5A 1S6
========================================================================
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): 20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/[email protected]
Hi!
Quoted 12 lines
I am not sure whether this is the correct place to ask this question, but hopefully you can point me in the right direction.
Here is the problem:
I am trying to get the "poweroff" command working on an Athlon MP (Tyan S2462) system (linux-2.4.21-pre2; otherwise RedHat 7.3).The machine has ACPI enabled in the bios. When I compile the kernel with ACPI disabled, the poweroff command shuts down the system, but does not shut off the power (it acts exactly like the halt command). In order to shutoff the machine I must press the power switch.
Quoted 8 lines
When I compile the kernel with ACPI enabled the situation is worse:
the halt and poweroff commands still work in exactly the same way (shutdown the system), but now I cannot switch off the machine
anymore: pressing the power switch has absolutely no effect (regardless of how long I hold the switch). The only way to switch off the machine is to either pull the power cord or to press the reset button on then the power switch (which will then switch off the machine when it reboots).
Try holding power switch for 5 seconds, that should switch it off.
Quoted 2 lines
What am I doing wrong? Am I missing some kernel switches, options? Do I need additional software?
try echo 5 > /proc/acpi/sleep. If it powers down, what you see is userland bug.
Pavel
Signature · 9 lines
Worst form of spam? Adding advertisment signatures ala sourceforge.net. What goes next? Inserting advertisment *into* email? ------------------------------------------------------- This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will allow you to extend the highest allowed 128 bit encryption to all your clients even if they use browsers that are limited to 40 bit encryption. Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en
Hi Martin,
the ACPI support in the 2.4 kernel series is very old (from autumn 2001 if I remember correctly), so you should use the ACPI patch from
http://sourceforge.net/projects/acpi; in your case
http://prdownloads.sf.net/acpi/acpi-20021212-2.4.20.diff.gz
(This patch applies cleanly against linux-2.4.21-pre2 from kernel.org even though it was done for 2.4.20.)
The Intel people are trying to get an updated ACPI version into 2.4, but I guess this will not happen before 2.4.22. The 2.5 kernel series does already include a current ACPI version.
Good luck,
Arndt
Quoted 31 lines · Martin Siegert
Hi,
I am not sure whether this is the correct place to ask this question, but hopefully you can point me in the right direction.
Here is the problem:
I am trying to get the "poweroff" command working on an Athlon MP (Tyan S2462) system (linux-2.4.21-pre2; otherwise RedHat 7.3).The machine has ACPI enabled in the bios. When I compile the kernel with ACPI disabled, the poweroff command shuts down the system, but does not shut off the power (it acts exactly like the halt command). In order to shutoff the machine I must press the power switch.
When I compile the kernel with ACPI enabled the situation is worse:
the halt and poweroff commands still work in exactly the same way (shutdown the system), but now I cannot switch off the machine
anymore: pressing the power switch has absolutely no effect (regardless of how long I hold the switch). The only way to switch off the machine is to either pull the power cord or to press the reset button on then the power switch (which will then switch off the machine when it reboots).What am I doing wrong? Am I missing some kernel switches, options? Do I need additional software?
Any help or suggestions, hints are appreciated!
Thanks in advance,
Martin
Signature · 8 lines
Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/[email protected]>, Software Developer Quelltext AG (http://www.quelltext-ag.de), Dortmund, Germany ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com
A message that is not in the archive (sent off-list or not yet received): 20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org
DSDT for Compaq Presario 1720US
Hi list,
I am trying to resume my efforts to get ACPI support for my Compaq Presario 1720US. I was able to use ACPI patch from Dec' 01 and the two subsequent patches released after Dec '01 (yes it is Dec '01). But since April '02 patches I was never able to even get ACPI support due to either of the following:
1) Boot-up problems
2) DSDT problems (related to 1)
3) IRQ problems (on corrected DSDT)
Well, I stopped pursuing the ACPI support since Aug '02. Thought someone else would get it working on same make as mine and would follow his/her footsteps.
So, I was wondering if anyone on the list has ever had success with recent ACPI patches on Compaq Presario 1720US (or it's close brethren) ? By success I mean, clean compile, battery status, etc.
I have seen people expressing sucess with Compaq Evo, Presario 27xx series but unfortuantely the specs, hence the DSDT are different. I am willing to post my DSDT, again, if that helps.
regards
*******************************--------------**********************************
Prabhakar Reddy Gudla
Research Assistant
Model Analysis Lab
Biological Resources Engineering
University of Maryland
College Park, MD, 20742.
tel: 301-405-0109 (o)
fax: 301-314-9023
email: [email protected]
**************************--------------------*********************************
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
Hi again,
I patched/compiled linux-2.4.21-pre2 with the acpi-20021212-2.4.20 patch. Now the machine does not even boot anymore. Here is the last part of the boot messages
AMD7411: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings:hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings:hdc:DMA, hdd:piohda: IC35L040AVER07-0, ATA DISK drive
hda: IRQ probe failed (0xffffcf8)
hdb: IRQ probe failed (0xffffcf8)
hdb: IRQ probe failed (0xffffcf8)
blk: queue c02fb5c0, I/O limit 4095Mb (mask 0xffffffff)
hdc: IRQ probe failed (0xffffcf8)
hdc: IRQ probe failed (0xffffcf8)
hdc: CDU5211, ATAPI CD/DVD-ROM drive
hdc: IRQ probe failed (0xffffcf8)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: host protected area >= 1
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63, UDMA(100) Partition check:
hda:<3>hda: lost interrupt
hda: dma_timer_expiry: dma status == 0x24
and at this point the machine hangs forever. I then rebooted the machine with the "noapic" kernel flag and this time it boots but I get a lot of "APIC error on CPU1: 40(40)" messages. A recent snapshot from syslog is:
Jan 14 19:22:40 test2 kernel: APIC error on CPU1: 40(40) Jan 14 19:23:11 test2 last message repeated 3912 times Jan 14 19:24:12 test2 last message repeated 6393 times Jan 14 19:25:13 test2 last message repeated 6106 times Jan 14 19:26:14 test2 last message repeated 6116 times Jan 14 19:26:57 test2 last message repeated 6243 times
However, the "poweroff" command now works!
Is there a conflict between ACPI and APIC or is there a way of getting the best of both worlds? I.e., can I use the acpi-20021212-2.4.20 without having to set the "noapic" flag? (it is entirely possible that I misconfigured the kernel in some way)
Cheers,
Martin
Quoted 43 lines · Arndt Schoenewald
Hi Martin,
the ACPI support in the 2.4 kernel series is very old (from autumn 2001 if I remember correctly), so you should use the ACPI patch from
http://sourceforge.net/projects/acpi; in your casehttp://prdownloads.sf.net/acpi/acpi-20021212-2.4.20.diff.gz(This patch applies cleanly against linux-2.4.21-pre2 from kernel.org even though it was done for 2.4.20.)
The Intel people are trying to get an updated ACPI version into 2.4, but I guess this will not happen before 2.4.22. The 2.5 kernel series does already include a current ACPI version.
Good luck,
ArndtQuoted 23 lines · Martin Siegert
Hi,
I am not sure whether this is the correct place to ask this question, but hopefully you can point me in the right direction.
Here is the problem:
I am trying to get the "poweroff" command working on an Athlon MP (Tyan S2462) system (linux-2.4.21-pre2; otherwise RedHat 7.3).The machine has ACPI enabled in the bios. When I compile the kernel with ACPI disabled, the poweroff command shuts down the system, but does not shut off the power (it acts exactly like the halt command). In order to shutoff the machine I must press the power switch.
When I compile the kernel with ACPI enabled the situation is worse:
the halt and poweroff commands still work in exactly the same way (shutdown the system), but now I cannot switch off the machine
anymore: pressing the power switch has absolutely no effect (regardless of how long I hold the switch). The only way to switch off the machine is to either pull the power cord or to press the reset button on then the power switch (which will then switch off the machine when it reboots).
Quoted 12 lines
Quoted 8 lines
What am I doing wrong? Am I missing some kernel switches, options? Do I need additional software?
Any help or suggestions, hints are appreciated!
Thanks in advance,
Martin
Signature · 2 lines
Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/[email protected]>, Software Developer Quelltext AG (http://www.quelltext-ag.de), Dortmund, Germany
-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get
started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
A message that is not in the archive (sent off-list or not yet received): 20030115033643.GA29848-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/[email protected]
Hi Martin,
it seems that the ACPI support for APICs and/or IO-APICs is currently not fully functional (at least in 2.4; don't know about 2.5). Many people on this list, including me, need to disable APIC support in the kernel or in the BIOS, if the BIOS setup has such an option, to get their systems to boot.
And then, the IDE subsystem of 2.4.21 has changed a lot from 2.4.20, and it could well be the case that 2.4.21-pre2 has still bugs that raise their head on your system.
(On my MS-6533EG P4 SiS650 mainboard, the 2.4.21-pre2 IDE works much better than the 2.4.18-2.4.20 kernels -- now I can finally burn DVDs on my Pioneer DVR-105 with DMA enabled -- but your mileage may vary. After all, 2.4.21-pre2 is still, well, "pre".)
Good luck,
Arndt
Quoted 51 lines · Martin Siegert
Hi again,
I patched/compiled linux-2.4.21-pre2 with the acpi-20021212-2.4.20 patch. Now the machine does not even boot anymore. Here is the last part of the boot messages
AMD7411: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xf000-0xf007, BIOS settings:hda:DMA, hdb:pio ide1: BM-DMA at 0xf008-0xf00f, BIOS settings:hdc:DMA, hdd:piohda: IC35L040AVER07-0, ATA DISK drive
hda: IRQ probe failed (0xffffcf8)
hdb: IRQ probe failed (0xffffcf8)
hdb: IRQ probe failed (0xffffcf8)
blk: queuec02fb5c0, I/O limit 4095Mb (mask0xffffffff)
hdc: IRQ probe failed (0xffffcf8)
hdc: IRQ probe failed (0xffffcf8)
hdc: CDU5211, ATAPI CD/DVD-ROM drive
hdc: IRQ probe failed (0xffffcf8)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: lost interrupt
hda: lost interrupt
hda: lost interrupt
hda: host protected area >= 1
hda: 80418240 sectors (41174 MB) w/1916KiB Cache, CHS=5005/255/63, UDMA(100) Partition check:
hda:<3>hda: lost interrupt
hda:dma_timer_expiry: dma status ==0x24and at this point the machine hangs forever. I then rebooted the machine with the "noapic" kernel flag and this time it boots but I get a lot of "APIC error on CPU1: 40(40)" messages. A recent snapshot from syslog is:
Jan 14 19:22:40 test2 kernel: APIC error on CPU1: 40(40) Jan 14 19:23:11 test2 last message repeated 3912 times Jan 14 19:24:12 test2 last message repeated 6393 times Jan 14 19:25:13 test2 last message repeated 6106 times Jan 14 19:26:14 test2 last message repeated 6116 times Jan 14 19:26:57 test2 last message repeated 6243 timesHowever, the "poweroff" command now works!
Is there a conflict between ACPI and APIC or is there a way of getting the best of both worlds? I.e., can I use the acpi-20021212-2.4.20 without having to set the "noapic" flag? (it is entirely possible that I misconfigured the kernel in some way)
Cheers,
Martin
Signature · 9 lines
Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/[email protected]>, Software Developer Quelltext AG (http://www.quelltext-ag.de), Dortmund, Germany ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
Quoted 5 lines · Martin Siegert
Hi,
I am not sure whether this is the correct place to ask this question, but hopefully you can point me in the right direction.
...
Quoted 10 lines
The machine has ACPI enabled in the bios. When I compile the kernel with ACPI disabled, the poweroff command shuts down the system, but does not shut off the power (it acts exactly like the halt command). In order to shutoff the machine I must press the power switch.
When I compile the kernel with ACPI enabled the situation is worse:
the halt and poweroff commands still work in exactly the same way (shutdown the system), but now I cannot switch off the machine
anymore: pressing the power switch has absolutely no effect (regardless of how long I hold the switch). The only way to
ACPI spec require that holding the power switch for 4 second will switch off the system in *any* case as an emergency power down. Those if really you can not power down your machine this way, this is more likely an hardware trouble.
BTW, have you tried the latest ACPI patch on sf.net?
Signature · 10 lines
Ducrot Bruno -- Which is worse: ignorance or apathy? -- Don't know. Don't care. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com