Linux ACPI
 help / color / mirror / Atom feed
* MS-6368L ACPI IRQ problem still in 2.4.21
@ 2003-06-23 22:15 Marek Michalkiewicz
       [not found] ` <20030623221541.GA8096-doiv7TgLjtAqfaPKo25k7GZHpeb/A1Y/@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Marek Michalkiewicz @ 2003-06-23 22:15 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi,

long time ago I noticed a problem with the ACPI IRQ not working
if it is _not_ shared with some other PCI IRQ.  The problem still
exists in the 2.4.21 kernel, confirmed on two machines with the
MSI MS-6368L motherboard (VIA PLE133 chipset).

I need ACPI for just one thing: to run "shutdown -h now" after the
power button is pressed.  (The box is a server which usually has
no keyboard connected.)

As I can see in /proc/interrupts, the BIOS usually allocates IRQ9
for ACPI (not shared with anything else), and the IRQ9 counter is
always zero.  Pressing the power button has no effect at all.

There is an easy workaround: in BIOS setup, set IRQ9 to "Legacy ISA"
instead of "PCI/ISA PnP" so that ACPI gets some other IRQ, shared
with some other PCI devices (in my case, IRQ11 is shared by: acpi,
usb-uhci, usb-uhci, eth0).  Then the power button works fine.

Is this a known problem?  Should I complain to MSI (BIOS fix),
or is this a Linux bug?  Any patches I should try?  This looks
a bit unusual to me - one would expect problems if an IRQ _is_
shared, and some broken hardware/driver doesn't like sharing...

If there is no known fix, perhaps the "Legacy ISA" workaround
(which I discovered by accident) should be documented somewhere?

Thanks,
Marek

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [ACPI] MS-6368L ACPI IRQ problem still in 2.4.21
@ 2003-06-23 22:23 Grover, Andrew
       [not found] ` <F760B14C9561B941B89469F59BA3A847E96FBE-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: Grover, Andrew @ 2003-06-23 22:23 UTC (permalink / raw)
  To: Marek Michalkiewicz, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Marek Michalkiewicz [mailto:marekm-HuSaFJn/uQtscumT1wHf3A@public.gmane.org] 
> long time ago I noticed a problem with the ACPI IRQ not working
> if it is _not_ shared with some other PCI IRQ.  The problem still
> exists in the 2.4.21 kernel, confirmed on two machines with the
> MSI MS-6368L motherboard (VIA PLE133 chipset).
> 
> I need ACPI for just one thing: to run "shutdown -h now" after the
> power button is pressed.  (The box is a server which usually has
> no keyboard connected.)
> 
> As I can see in /proc/interrupts, the BIOS usually allocates IRQ9
> for ACPI (not shared with anything else), and the IRQ9 counter is
> always zero.  Pressing the power button has no effect at all.
> 
> There is an easy workaround: in BIOS setup, set IRQ9 to "Legacy ISA"
> instead of "PCI/ISA PnP" so that ACPI gets some other IRQ, shared
> with some other PCI devices (in my case, IRQ11 is shared by: acpi,
> usb-uhci, usb-uhci, eth0).  Then the power button works fine.
> 
> Is this a known problem?  Should I complain to MSI (BIOS fix),
> or is this a Linux bug?  Any patches I should try?  This looks
> a bit unusual to me - one would expect problems if an IRQ _is_
> shared, and some broken hardware/driver doesn't like sharing...
> 
> If there is no known fix, perhaps the "Legacy ISA" workaround
> (which I discovered by accident) should be documented somewhere?

Is this an SMP machine?
What do the INT_SRC_OVR lines in the dmesg say?

Thanks -- Andy

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: [ACPI] MS-6368L ACPI IRQ problem still in 2.4.21
@ 2003-06-24 17:00 Grover, Andrew
  0 siblings, 0 replies; 10+ messages in thread
From: Grover, Andrew @ 2003-06-24 17:00 UTC (permalink / raw)
  To: Marek Michalkiewicz, Matthew Wilcox
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

> From: Marek Michalkiewicz [mailto:marekm-HuSaFJn/uQtscumT1wHf3A@public.gmane.org] 
> On Mon, Jun 23, 2003 at 11:23:11PM +0100, Matthew Wilcox wrote:
> > Have you patched 2.4.21 with the latest ACPI patch, or is 
> this vanilla
> > 2.4.21?
> 
> Vanilla 2.4.21 - tried 2.4.21-ac1 once, but it said Oops at boot time
> (something about the VIA686A sound driver - not related to ACPI).

OK then I'm pretty sure this is fixed in 2.4.22-pre1.

Regards -- Andy

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-06-25  0:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23 22:15 MS-6368L ACPI IRQ problem still in 2.4.21 Marek Michalkiewicz
     [not found] ` <20030623221541.GA8096-doiv7TgLjtAqfaPKo25k7GZHpeb/A1Y/@public.gmane.org>
2003-06-23 22:23   ` [ACPI] " Matthew Wilcox
     [not found]     ` <20030623222311.GD25982-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2003-06-24  5:46       ` Marek Michalkiewicz
     [not found]         ` <20030624054612.GA20235-doiv7TgLjtAqfaPKo25k7GZHpeb/A1Y/@public.gmane.org>
2003-06-24 11:26           ` Matthew Wilcox
     [not found]             ` <20030624112630.GB451-+pPCBgu9SkPzIGdyhVEDUDl5KyyQGfY2kSSpQ9I8OhVaa/9Udqfwiw@public.gmane.org>
2003-06-24 22:18               ` Marek Michalkiewicz
     [not found]                 ` <20030624221809.GA1805-doiv7TgLjtAqfaPKo25k7GZHpeb/A1Y/@public.gmane.org>
2003-06-25  0:28                   ` Sérgio Monteiro Basto
  -- strict thread matches above, loose matches on Subject: below --
2003-06-23 22:23 Grover, Andrew
     [not found] ` <F760B14C9561B941B89469F59BA3A847E96FBE-sBd4vmA9Se4Lll3ZsUKC9FDQ4js95KgL@public.gmane.org>
2003-06-24  6:36   ` Marek Michalkiewicz
     [not found]     ` <20030624063612.GB20235-doiv7TgLjtAqfaPKo25k7GZHpeb/A1Y/@public.gmane.org>
2003-06-24 13:16       ` Sérgio Monteiro Basto
2003-06-24 17:00 Grover, Andrew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox