Skip to contentSkip to conversation

Bad IRQs from using pcm in alsa-driver-1.0.7

DISCUSSION William 2 participants 3 messages Nov 19, 2004 – Nov 23, 2004

lore
Share & tools
lore

William

author
#0 lore raw

Using ALSA PCM always disables the IRQ for my mouse (USB Logitech wheelmouse). Is this a known problem?

I'm using alsa-*1.0.7 on a laptop with a VIA-8235 sound system. Whenever I use aplay, the kernel disables IRQ 11 ("kernel: Disabling IRQ 11") leaving the mouse disabled though the touchpad does still work and there are kernel error messages ("nobody cared! __report_bad_irq etc" ).

   $ grep ERR /proc/interrupts
   ERR:     33

Every time this happens I have to reboot to get IRQ 11 working again so I can use the mouse again.
The kernel does not disable IRQ 11 if I use only ALSA MIDI.

Is there a fix?

Thanks,

William

-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

#1 lore raw

At Fri, 19 Nov 2004 16:28:47 GMT,

Quoted 9 lines · William

Using ALSA PCM always disables the IRQ for my mouse (USB Logitech wheelmouse). Is this a known problem?

I'm using alsa-*1.0.7 on a laptop with a VIA-8235 sound system. Whenever I use aplay, the kernel disables IRQ 11 ("kernel: Disabling IRQ 11") leaving the mouse disabled though the touchpad does still work and there are kernel error messages ("nobody cared! __report_bad_irq etc" ).

Quoted 8 lines
   $ grep ERR /proc/interrupts
   ERR:     33

Every time this happens I have to reboot to get IRQ 11 working again so I can use the mouse again.
The kernel does not disable IRQ 11 if I use only ALSA MIDI.

Is there a fix?

Which kernel version? It smells like a general IRQ routing problem. What happens when you play with acpi boot option?

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

author
#2 lore raw
Quoted 6 lines · Takashi Iwai
Quoted 2 lines · William

Using ALSA PCM always disables the IRQ for my mouse (USB Logitech wheelmouse)

Which kernel version? It smells like a general IRQ routing problem. What happens when you play with acpi boot option?

The problem happens with all kernels from 2.6.2 to 2.6.8.1. I've configured preemption, CONFIG_PCI_GOBIOS, and CONFIG_ACPI_* (CONFIG_APM is off).

Thanks for your suggestion. This is what happened when I tried the acpi boot option to disable IRQ routing for PCI:

1. Reboot with acpi=noirq

Many kernel warnings appeared:

Nov 22 18:38:08 kernel: PCI: IRQ 0 for device 0000:00:10.3 doesn't match PIRQ mask - try pci=usepirqmask

Booting was also very slow and the X server gave many "internal" error messages.

2. Reboot with acpi=noirq pci=usepirqmask

Nov 22 18:42:37 kernel: ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *11, disabled.
Nov 22 18:42:37 kernel: ACPI: PCI Interrupt Link [ALKD] (IRQs 21) *10, disabled.

First time the mouse was used, new messages for PCI IRQ routing:

Nov 22 18:43:43 kernel: PCI: Found IRQ 11 for device 0000:00:11.5
Nov 22 18:43:43 kernel: PCI: Sharing IRQ 11 with 0000:00:0b.1
Nov 22 18:43:43 kernel: PCI: Sharing IRQ 11 with 0000:00:10.2
Nov 22 18:43:43 kernel: PCI: Sharing IRQ 11 with 0000:00:11.6

First time ALSA PCM was used:

Nov 22 18:48:42 kernel: rtc: lost some interrupts at 1024Hz.

Many more of these messages during every ALSA PCM playback:

Nov 22 19:10:17 last message repeated 3392 times

So now the mouse can be used at the same time as ALSA PCM but the new problem is many RTC interrupts are being lost. Is there a fix?

William

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/