Bug 2068

Summary: Disabling IRQ #11 on yenta insert
Product: ACPI Reporter: Martin Mokrejs (mmokrejs)
Component: Config-HotplugAssignee: Len Brown (lenb)
Status: REJECTED DUPLICATE    
Severity: normal CC: acpi-bugzilla
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.3-bk2 Subsystem:
Regression: --- Bisected commit-id:

Description Martin Mokrejs 2004-02-09 18:49:29 UTC
Distribution: Gentoo
Hardware Environment: ASUS L3800C laptop, PCMCIA USB2.0 card + USB 2.0 card reader
Software Environment: acpi 20040116
Problem Description:

When I plug in the card into PCMCIA slot, I get:

Feb 10 02:58:25 vrapenec PCI: Enabling device 0000:07:00.3 (0000 -> 0002)
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: EHCI Host Controller
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: reset hcs_params 0x103216 dbg=1
cc=3 pcc=2 ordered ports=6
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: reset hcc_params 7002 thresh 0
uframes 256/512/1024
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: capability 0001 at 70
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: irq 5, pci mem fa9ee800
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: new USB bus registered, assigned
bus number 3
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: reset command 080002 (park)=0
ithresh=8 period=1024 Reset HALT
Feb 10 02:58:25 vrapenec PCI: cache line size of 128 is not supported by device
0000:07:00.3
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: init command 010009 (park)=0
ithresh=1 period=256 RUN
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: USB 2.0 enabled, EHCI 1.00,
driver 2003-Dec-29
Feb 10 02:58:25 vrapenec ehci_hcd 0000:07:00.3: root hub device address 1
Feb 10 02:58:25 vrapenec usb usb3: new device strings: Mfr=3, Product=2,
SerialNumber=1
Feb 10 02:58:25 vrapenec drivers/usb/core/message.c: USB device number 1 default
language ID 0x409
Feb 10 02:58:25 vrapenec usb usb3: Product: EHCI Host Controller
Feb 10 02:58:25 vrapenec usb usb3: Manufacturer: Linux 2.6.3-bk2 ehci_hcd
Feb 10 02:58:25 vrapenec usb usb3: SerialNumber: 0000:07:00.3
Feb 10 02:58:25 vrapenec drivers/usb/core/usb.c: usb_hotplug
Feb 10 02:58:25 vrapenec usb usb3: registering 3-0:1.0 (config #1, interface 0)
Feb 10 02:58:25 vrapenec drivers/usb/core/usb.c: usb_hotplug
Feb 10 02:58:25 vrapenec hub 3-0:1.0: usb_probe_interface
Feb 10 02:58:25 vrapenec hub 3-0:1.0: usb_probe_interface - got id
Feb 10 02:58:25 vrapenec hub 3-0:1.0: USB hub found
Feb 10 02:58:25 vrapenec hub 3-0:1.0: 6 ports detected
Feb 10 02:58:25 vrapenec hub 3-0:1.0: standalone hub
Feb 10 02:58:25 vrapenec hub 3-0:1.0: individual port power switching
Feb 10 02:58:25 vrapenec hub 3-0:1.0: individual port over-current protection
Feb 10 02:58:25 vrapenec hub 3-0:1.0: Single TT
Feb 10 02:58:25 vrapenec hub 3-0:1.0: TT requires at most 8 FS bit times
Feb 10 02:58:25 vrapenec hub 3-0:1.0: Port indicators are not supported
Feb 10 02:58:25 vrapenec hub 3-0:1.0: power on to power good time: 20ms
Feb 10 02:58:25 vrapenec hub 3-0:1.0: hub controller current requirement: 0mA
Feb 10 02:58:25 vrapenec hub 3-0:1.0: local power source is good
Feb 10 02:58:25 vrapenec hub 3-0:1.0: no over-current condition exists
Feb 10 02:58:25 vrapenec hub 3-0:1.0: enabling power on all ports



When I plug the usb cable into the card to connect external card reader, I get:

Feb 10 02:59:01 vrapenec hub 3-0:1.0: debounce: port 2: delay 100ms stable 4
status 0x501
Feb 10 02:59:02 vrapenec irq 11: nobody cared!
Feb 10 02:59:02 vrapenec Call Trace:
Feb 10 02:59:02 vrapenec [<c010aabf>] __report_bad_irq+0x2a/0x8b
Feb 10 02:59:02 vrapenec [<c010aba9>] note_interrupt+0x6f/0x9f
Feb 10 02:59:02 vrapenec [<c010ae3c>] do_IRQ+0x127/0x136
Feb 10 02:59:02 vrapenec [<c0109368>] common_interrupt+0x18/0x20
Feb 10 02:59:02 vrapenec [<c0124508>] do_softirq+0x40/0x94
Feb 10 02:59:02 vrapenec [<c010ae18>] do_IRQ+0x103/0x136
Feb 10 02:59:02 vrapenec [<c0105000>] _stext+0x0/0x5d
Feb 10 02:59:02 vrapenec [<c0109368>] common_interrupt+0x18/0x20
Feb 10 02:59:02 vrapenec [<c0105000>] _stext+0x0/0x5d
Feb 10 02:59:02 vrapenec [<c025dfce>] acpi_processor_idle+0xd5/0x1c7
Feb 10 02:59:02 vrapenec [<c0105000>] _stext+0x0/0x5d
Feb 10 02:59:02 vrapenec [<c010709f>] cpu_idle+0x2c/0x35
Feb 10 02:59:02 vrapenec [<c04966a3>] start_kernel+0x154/0x160
Feb 10 02:59:02 vrapenec [<c0496426>] unknown_bootoption+0x0/0xfd
Feb 10 02:59:02 vrapenec 
Feb 10 02:59:02 vrapenec handlers:
Feb 10 02:59:02 vrapenec [<c02edae0>] (yenta_interrupt+0x0/0x39)
Feb 10 02:59:02 vrapenec Disabling IRQ #11
Feb 10 02:59:11 vrapenec usb 3-2: control timeout on ep0out
Feb 10 02:59:12 vrapenec ehci_hcd 0000:07:00.3: port 2 high speed
Feb 10 02:59:12 vrapenec ehci_hcd 0000:07:00.3: GetStatus port 2 status 001005
POWER sig=se0  PE CONNECT
Feb 10 02:59:12 vrapenec hub 3-0:1.0: new USB device on port 2, assigned address 3

# cat /proc/interrupts 
           CPU0       
  0:     594009          XT-PIC  timer
  1:       1316          XT-PIC  i8042
  2:          0          XT-PIC  cascade
  5:      26775          XT-PIC  yenta, uhci_hcd, ehci_hcd
  8:          2          XT-PIC  rtc
  9:        334          XT-PIC  acpi, uhci_hcd, eth0
 11:     100000          XT-PIC  yenta
 12:         86          XT-PIC  i8042
 14:       5645          XT-PIC  ide0
 15:         37          XT-PIC  ide1
NMI:          0 
LOC:          0 
ERR:          0
#




I don't have these problems with acpi=off.

Steps to reproduce:
Comment 1 Shaohua 2004-02-19 17:00:48 UTC
Please try attached patch in http://bugme.osdl.org/attachment.cgi?
id=1629&action=view. thanks
Comment 2 Martin Mokrejs 2004-02-29 04:25:46 UTC
Hi,
 sorry for the delay! With the very same kernel (2.6.3-bk2) I see it fixed 
with your patch applied (or at least I'm unable to reproduce):

PCI: Enabling device 0000:07:00.3 (0000 -> 0002)
ehci_hcd 0000:07:00.3: EHCI Host Controller
ehci_hcd 0000:07:00.3: reset hcs_params 0x103216 dbg=1 cc=3 pcc=2 ordered ports=6
ehci_hcd 0000:07:00.3: reset hcc_params 7002 thresh 0 uframes 256/512/1024
ehci_hcd 0000:07:00.3: capability 0001 at 70
ehci_hcd 0000:07:00.3: irq 11, pci mem fa9ee800
ehci_hcd 0000:07:00.3: new USB bus registered, assigned bus number 3
ehci_hcd 0000:07:00.3: reset command 080002 (park)=0 ithresh=8 period=1024 Reset
HALT
PCI: cache line size of 128 is not supported by device 0000:07:00.3
ehci_hcd 0000:07:00.3: init command 010009 (park)=0 ithresh=1 period=256 RUN
ehci_hcd 0000:07:00.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29
ehci_hcd 0000:07:00.3: root hub device address 1
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
drivers/usb/core/message.c: USB device number 1 default language ID 0x409
usb usb3: Product: EHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.3-bk2 ehci_hcd
usb usb3: SerialNumber: 0000:07:00.3
drivers/usb/core/usb.c: usb_hotplug
usb usb3: registering 3-0:1.0 (config #1, interface 0)
drivers/usb/core/usb.c: usb_hotplug
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
hub 3-0:1.0: standalone hub
hub 3-0:1.0: individual port power switching
hub 3-0:1.0: individual port over-current protection
hub 3-0:1.0: Single TT
hub 3-0:1.0: TT requires at most 8 FS bit times
hub 3-0:1.0: Port indicators are not supported
hub 3-0:1.0: power on to power good time: 20ms
hub 3-0:1.0: hub controller current requirement: 0mA
hub 3-0:1.0: local power source is good
hub 3-0:1.0: no over-current condition exists
hub 3-0:1.0: enabling power on all ports
Comment 3 Len Brown 2004-03-04 14:07:34 UTC

*** This bug has been marked as a duplicate of 1564 ***