A strange oops happens for one of Fedora users, described in
 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=117738

xwing kernel: hub 3-0:1.0: 3 ports detected
xwing kernel: ohci_hcd 0000:02:06.1: OHCI Host Controller
xwing kernel: ohci_hcd 0000:02:06.1: irq 193, pci mem 4289e000
xwing kernel: ohci_hcd 0000:02:06.1: new USB bus registered, assigned bus number 4
xwing kernel: irq 193: nobody cared!
xwing kernel: Call Trace:
xwing kernel:  [<0210ecec>] __report_bad_irq+0x2b/0x67
xwing kernel:  [<0210ed84>] note_interrupt+0x43/0x66
xwing kernel:  [<0210f0d7>] do_IRQ+0x19c/0x224
xwing kernel:  [<0211d73f>] smp_apic_timer_interrupt+0x124/0x129
xwing kernel:  [<02118f71>] delay_pmtmr+0xb/0x13
xwing kernel:  [<021beb95>] __delay+0x9/0xa
xwing kernel:  [<428cc04c>] hc_start+0x18d/0x22f [ohci_hcd]
xwing kernel:  [<428cc46d>] ohci_pci_start+0x10e/0x142 [ohci_hcd]
xwing kernel:  [<4288e131>] usb_hcd_pci_probe+0x36c/0x385 [usbcore]
xwing kernel:  [<021991f5>] sysfs_create_link+0x10f/0x119
xwing kernel:  [<021c4109>] pci_device_probe_static+0x2a/0x3d
xwing kernel:  [<021c4137>] __pci_device_probe+0x1b/0x2c
xwing kernel:  [<021c4163>] pci_device_probe+0x1b/0x2d
xwing kernel:  [<0220d1f2>] bus_match+0x27/0x45
xwing kernel:  [<0220d2be>] driver_attach+0x37/0x6a
xwing kernel:  [<0220d4d5>] bus_add_driver+0x6b/0x83
xwing kernel:  [<021c42a8>] pci_register_driver+0x6b/0x87
xwing kernel:  [<42866042>] ohci_hcd_pci_init+0x42/0x49 [ohci_hcd]
xwing kernel:  [<0213da3c>] sys_init_module+0x14f/0x25f

It looks "obvious", as it looks if an interrupt arrives before the system
is ready to process it. But I say "strange", because the actual code can
fail this with two tests only:
 1. usb_hcd_irq() does  if (hcd->state == USB_STATE_HALT)
 2. ohci_irq() does  readl (&regs->intrenable)
    and if a bit is not set for a particular interrupt reported,
    it bails out.
Neither of the above seems possible by reading the code, even considering
SMP and PCI posting. David, any ideas about this?

-- Pete


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to