* ACPI problems on Athlon MP system
@ 2003-01-10 3:07 Martin Siegert
[not found] ` <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Martin Siegert @ 2003-01-10 3:07 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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: siegert-z1KUqvL5UUQ@public.gmane.org
Canada V5A 1S6
========================================================================
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org>]
* Re: ACPI problems on Athlon MP system [not found] ` <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org> @ 2003-01-10 10:31 ` Pavel Machek 2003-01-10 10:37 ` Arndt Schoenewald 2003-01-10 12:46 ` Ducrot Bruno 2 siblings, 0 replies; 7+ messages in thread From: Pavel Machek @ 2003-01-10 10:31 UTC (permalink / raw) To: Martin Siegert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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). Try holding power switch for 5 seconds, that should switch it off. > 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 -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI problems on Athlon MP system [not found] ` <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org> 2003-01-10 10:31 ` Pavel Machek @ 2003-01-10 10:37 ` Arndt Schoenewald [not found] ` <20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org> 2003-01-10 12:46 ` Ducrot Bruno 2 siblings, 1 reply; 7+ messages in thread From: Arndt Schoenewald @ 2003-01-10 10:37 UTC (permalink / raw) To: Martin Siegert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 On Thu, Jan 09, 2003 at 07:07:41PM -0800, Martin Siegert wrote: > 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 -- Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/eNw@public.gmane.org>, 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org>]
* DSDT for Compaq Presario 1720US [not found] ` <20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org> @ 2003-01-10 10:59 ` Prabhakar Reddy Gudla Venkata Siva 2003-01-15 3:36 ` ACPI problems on Athlon MP system Martin Siegert 1 sibling, 0 replies; 7+ messages in thread From: Prabhakar Reddy Gudla Venkata Siva @ 2003-01-10 10:59 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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: reddyg-e45ueOrobK4@public.gmane.org **************************--------------------********************************* ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI problems on Athlon MP system [not found] ` <20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org> 2003-01-10 10:59 ` DSDT for Compaq Presario 1720US Prabhakar Reddy Gudla Venkata Siva @ 2003-01-15 3:36 ` Martin Siegert [not found] ` <20030115033643.GA29848-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Martin Siegert @ 2003-01-15 3:36 UTC (permalink / raw) To: Arndt Schoenewald; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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:pio hda: 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 On Fri, Jan 10, 2003 at 11:37:07AM +0100, Arndt Schoenewald wrote: > 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 > > > On Thu, Jan 09, 2003 at 07:07:41PM -0800, Martin Siegert wrote: > > 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 > > -- > Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/eNw@public.gmane.org>, 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <20030115033643.GA29848-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org>]
* Re: ACPI problems on Athlon MP system [not found] ` <20030115033643.GA29848-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org> @ 2003-01-15 9:45 ` Arndt Schoenewald 0 siblings, 0 replies; 7+ messages in thread From: Arndt Schoenewald @ 2003-01-15 9:45 UTC (permalink / raw) To: Martin Siegert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 On Tue, Jan 14, 2003 at 07:36:43PM -0800, Martin Siegert wrote: > 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:pio > hda: 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 -- Arndt Schoenewald <abs-SA7OhAOe25xnNxvc45mVi0K323yFvGpRdefyYXQ/eNw@public.gmane.org>, 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: ACPI problems on Athlon MP system [not found] ` <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org> 2003-01-10 10:31 ` Pavel Machek 2003-01-10 10:37 ` Arndt Schoenewald @ 2003-01-10 12:46 ` Ducrot Bruno 2 siblings, 0 replies; 7+ messages in thread From: Ducrot Bruno @ 2003-01-10 12:46 UTC (permalink / raw) To: Martin Siegert; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Thu, Jan 09, 2003 at 07:07:41PM -0800, Martin Siegert wrote: > 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. > ... > 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? -- 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 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-01-15 9:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 3:07 ACPI problems on Athlon MP system Martin Siegert
[not found] ` <20030110030741.GA2580-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org>
2003-01-10 10:31 ` Pavel Machek
2003-01-10 10:37 ` Arndt Schoenewald
[not found] ` <20030110103707.GA12313-XEk0yrNnxERrk9EDFsdIuomMxnTEL9wi0E9HWUfgJXw@public.gmane.org>
2003-01-10 10:59 ` DSDT for Compaq Presario 1720US Prabhakar Reddy Gudla Venkata Siva
2003-01-15 3:36 ` ACPI problems on Athlon MP system Martin Siegert
[not found] ` <20030115033643.GA29848-0ze2hujOWYhqr3d4nwidZ7Dks+cytr/Z@public.gmane.org>
2003-01-15 9:45 ` Arndt Schoenewald
2003-01-10 12:46 ` Ducrot Bruno
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox