Skip to contentSkip to conversation

"irq 11: nobody cared" after S3

DISCUSSION Stefan Dösinger 2 participants 4 messages Aug 1, 2004 – Aug 3, 2004 3 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hello,
I have a really odd problem with acpi interrupts and ipw2100.

I use 2.6.8-rc2 + acpi-20040715 and the system works fine after S3 as long no driver uses IRQ11. But if I have ipw2100 loaded before I suspend or load it afterwards, irq11 and irq10 are disabled.

The odd thing is that it worked for 2 days with the (hopefully) same configuration. Then I tried to make a clear patch which calls acpi_leave_sleep_state before resuming the devices which is needed on my notebook(see pci device resume too early?). I recombiled the kernel and my nice setup stopped working. Returning to the original code didn't help.

The problem occurs when ipw2100(or ndiswrapper) is loaded before I suspend(see dmesg.loadbefore) or if I load it after resume(see dmesg.loadlater. In both cases IRQ11 and IRQ10 are disabled. IRQ10 works nicely as long IRQ11 is not used. The IRQ crash occues eighter when PIT is resumed or when ipw2100 registers the irq line.

This is my /proc/interrupts with a normally booted system(no S3):
CPU0

  0:    1508252          XT-PIC  timer
  1:       2953          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:      19552          XT-PIC  uhci_hcd, eth0
  8:          2          XT-PIC  rtc
  9:        168          XT-PIC  acpi
 10:      94435          XT-PIC  ehci_hcd, uhci_hcd, uhci_hcd, 
radeon@PCI:1:0:0, Intel ICH4
 11:       1166          XT-PIC  wlan0
 12:       5382          XT-PIC  i8042
 14:      14433          XT-PIC  ide0
NMI:          0
LOC:    1508373
ERR:          0
MIS:          0

After this crash, 11 hase a count of exactly 100000.
I tried with and without APIC, IOAPIC, hpet, power management timer. If I reverse the patch from http://bugme.osdl.org/show_bug.cgi?id=2643, the messages disappear, but the interrupts still do not work.

Any ideas?
Best regards,
Stefan

#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Stefan Dösinger

Hello,
I have a really odd problem with acpi interrupts and ipw2100.

I use 2.6.8-rc2 + acpi-20040715 and the system works fine after S3 as long no driver uses IRQ11. But if I have ipw2100 loaded before I suspend or load it afterwards, irq11 and irq10 are disabled.

The odd thing is that it worked for 2 days with the (hopefully) same configuration. Then I tried to make a clear patch which calls acpi_leave_sleep_state before resuming the devices which is needed on my notebook(see pci device resume too early?). I recombiled the kernel and my nice setup stopped working. Returning to the original code didn't help.

The problem occurs when ipw2100(or ndiswrapper) is loaded before I suspend(see dmesg.loadbefore) or if I load it after resume(see dmesg.loadlater. In both cases IRQ11 and IRQ10 are disabled. IRQ10 works nicely as long IRQ11 is not used. The IRQ crash occues eighter when PIT is resumed or when ipw2100 registers the irq line.

Does kernel command line "acpi=noirq" help?

Quoted 19 lines

This is my /proc/interrupts with a normally booted system(no S3):
CPU0

  0:    1508252          XT-PIC  timer
  1:       2953          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:      19552          XT-PIC  uhci_hcd, eth0
  8:          2          XT-PIC  rtc
  9:        168          XT-PIC  acpi
 10:      94435          XT-PIC  ehci_hcd, uhci_hcd, uhci_hcd, 
radeon@PCI:1:0:0, Intel ICH4
 11:       1166          XT-PIC  wlan0
 12:       5382          XT-PIC  i8042
 14:      14433          XT-PIC  ide0
NMI:          0
LOC:    1508373
ERR:          0
MIS:          0
Quoted 7 lines

After this crash, 11 hase a count of exactly 100000.
I tried with and without APIC, IOAPIC, hpet, power management timer.
If I reverse the patch from http://bugme.osdl.org/show_bug.cgi?id=2643, the messages disappear, but the interrupts still do not work.

Any ideas?
Best regards,
Stefan

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

#4 lore raw
In reply to a message not in the archive

Hi,

Quoted 11 lines
Quoted 9 lines

I use 2.6.8-rc2 + acpi-20040715 and the system works fine after S3 as long no driver uses IRQ11. But if I have ipw2100 loaded before I suspend or load it afterwards, irq11 and irq10 are disabled.

The problem occurs when ipw2100(or ndiswrapper) is loaded before I suspend(see dmesg.loadbefore) or if I load it after resume(see dmesg.loadlater. In both cases IRQ11 and IRQ10 are disabled. IRQ10 works nicely as long IRQ11 is not used. The IRQ crash occues eighter when PIT is resumed or when ipw2100 registers the irq line.

Does kernel command line "acpi=noirq" help?

Yes it does. Sorry for not mentioning this. I used pci=noacpi the last few weeks. This makes the wireless card use IRQ 10
It doesn't work very well thought, the IRQ10 and IRQ5 are unstable and the wireless and the sound block each other(Both IRQ 10), as well as USB and ethernet(IRQ 5). Additionally, DRI is unstable after resume.

I modified my DSDT to use IRQ 10 for LNKE, and that makes my system work perfectly. Is this a workaround or can I consider this a solution. The problem is, that half my hardware uses irq10 while the irqs 4,6,7,11,14 and 15 are unused.
Shall I upload my modified dsdt? I think so.

Stefan

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com

#6 lore raw
In reply to a message not in the archive

Stefan Dösinger wrote:
[snip]

Quoted 7 lines
Quoted 1 line

Does kernel command line "acpi=noirq" help?

Yes it does. Sorry for not mentioning this. I used pci=noacpi the last few weeks. This makes the wireless card use IRQ 10
It doesn't work very well thought, the IRQ10 and IRQ5 are unstable and the wireless and the sound block each other(Both IRQ 10), as well as USB and ethernet(IRQ 5). Additionally, DRI is unstable after resume.

I modified my DSDT to use IRQ 10 for LNKE, and that makes my system work perfectly. Is this a workaround or can I consider this a solution. The

This is a workaround. The ultimate solution is to have Linux restore the IRQ routing upon resume from S3. There is not yet a clear consensus about whether this needs to be done through the chipset drivers or the ACPI BIOS routines...

IMO, we need to make the ACPI BIOS IRQ routing code compatible with the non-ACPI IRQ routing code. This means that either they both should run only at boot/resume, or they both should NOT. Right now they are inconsistent...

Quoted 2 lines

problem is, that half my hardware uses irq10 while the irqs 4,6,7,11,14 and 15 are unused. Shall I upload my modified dsdt? I think so.

the ultimate solution is IRQ restore on resume. Your modified DSDT isn't really guaranteed to do the right thing for everyone forever, it just hardwires certain interrupts that Linux might want to dynamically assign in some circumstances...

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com