Re: [patch, 2.6.9-rc4-mm1] fix rmmod uhci_hcd oops

Laurent Riffard
2004-10-17T19:50:35Z

[-- Attachment #1: Type: text/plain, Size: 1291 bytes --]

Ingo Molnar wrote:
> this patch fixes the rmmod oops reported by Paul Fulghum. It is
> caused by the generic-irqs subsystem creating multiple
> /proc/irq/<nr>/<name> directory entries with the same name which
> then confuses procfs upon module removal.
>
> Ingo

This patch fixed the problem for me.

For information, here is the the contents of my /proc/interrupts :
> CPU0
> 0: 1085029 XT-PIC timer
> 1: 4473 XT-PIC i8042
> 2: 0 XT-PIC cascade
> 5: 129799 XT-PIC eth0, Ensoniq AudioPCI, uhci_hcd, uhci_hcd
> 8: 1 XT-PIC rtc
> 9: 0 XT-PIC acpi
> 10: 2 XT-PIC ohci1394
> 12: 16872 XT-PIC i8042
> 14: 12803 XT-PIC ide0
> 15: 78 XT-PIC ide1
> NMI: 0
> LOC: 0
> ERR: 0
> MIS: 0

and the contents of /proc/irq/5/ :
> /proc/irq/5/:
> total 0
> dr-xr-xr-x 2 root root 0 oct 17 21:45 Ensoniq AudioPCI/
> dr-xr-xr-x 2 root root 0 oct 17 21:45 eth0/
> dr-xr-xr-x 2 root root 0 oct 17 21:45 uhci_hcd/
>
> /proc/irq/5/Ensoniq AudioPCI:
> total 0
>
> /proc/irq/5/eth0:
> total 0
>
> /proc/irq/5/uhci_hcd:
> total 0

Thank you, Paul and Ingo.

--
laurent

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]