So I've got this NEC USB card
02:02.0 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Orange Micro Root Hub
Flags: bus master, medium devsel, latency 8, IRQ 64
Memory at c00000080fe04000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
02:02.1 USB Controller: NEC Corporation USB (rev 41) (prog-if 10 [OHCI])
Subsystem: Orange Micro Root Hub
Flags: bus master, medium devsel, latency 8, IRQ 65
Memory at c00000080fe05000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] Power Management version 2
02:02.2 USB Controller: NEC Corporation USB 2.0 (rev 02) (prog-if 20 [EHCI])
Subsystem: Orange Micro Root hub
Flags: bus master, medium devsel, latency 68, IRQ 65
Memory at c00000080fe06000 (32-bit, non-prefetchable) [size=256]
Capabilities: [40] Power Management version 2
Apparently it's USB 2.0 capable, but I can't seem to get that to work. In
fact, if I allow the ehci_hcd driver to be loaded, regular USB 1.1 devices
fail to work at all (I don't have a USB 2.0 device to test with
unfortunately). I've attached the relevant parts of my system log. It looks
like something bad is happening with the EHCI/OCHI interrupt handling, since
I see "IRQ 64 nobody cared" and /proc/interrupts indicates that one of the
interrupts (I guess one of the OHCI ports) is triggering out of control:
64: 176477117 0 SN hub ohci_hcd
65: 0 0 SN hub ehci_hcd, ohci_hcd
Any ideas? Does it matter which driver I load first, ehci or ohci?
Thanks,
Jesse
ACPI: PCI interrupt 0000:02:02.2[C]: no GSI
PCI: slot 0000:02:02.2 has incorrect PCI cache line size of 0 bytes,
correctingto 128
Jan 19 14:47:40 flatearth kernel: usbcore: registered new driver usbfs
Jan 19 14:47:40 flatearth kernel: usbcore: registered new driver hub
Jan 19 14:47:40 flatearth kernel: ACPI: PCI interrupt 0000:02:02.2[C]: no GSI
Jan 19 14:47:40 flatearth kernel: ehci_hcd 0000:02:02.2: NEC Corporation USB 2.0
Jan 19 14:47:40 flatearth kernel: ehci_hcd 0000:02:02.2: irq 65, pci mem
0xc00000080fe06000
Jan 19 14:47:40 flatearth kernel: ehci_hcd 0000:02:02.2: new USB bus
registered, assigned bus number 1
Jan 19 14:47:40 flatearth kernel: PCI: slot 0000:02:02.2 has incorrect PCI
cache line size of 0 bytes, correcting to 128
Jan 19 14:47:40 flatearth kernel: ehci_hcd 0000:02:02.2: USB 2.0 initialized,
EHCI 0.95, driver 10 Dec 2004
Jan 19 14:47:40 flatearth kernel: usb usb1: Product: NEC Corporation USB 2.0
Jan 19 14:47:40 flatearth kernel: usb usb1: Manufacturer: Linux 2.6.11-rc1-jb
ehci_hcd
Jan 19 14:47:40 flatearth kernel: usb usb1: SerialNumber: 0000:02:02.2
Jan 19 14:47:40 flatearth kernel: hub 1-0:1.0: USB hub found
Jan 19 14:47:40 flatearth kernel: hub 1-0:1.0: 5 ports detected
Jan 19 14:47:45 flatearth wait_for_sysfs[4337]: either wait_for_sysfs (udev
039) needs an update to handle the device '/class/usb' properly (class specific
file unavailable) or the sysfs-support of your device's driver needs to be
fixed, please report to <[EMAIL PROTECTED]>
Jan 19 14:47:45 flatearth wait_for_sysfs[4333]: either wait_for_sysfs (udev
039) needs an update to handle the device '/class/usb_host' properly (no device
symlink) or the sysfs-support of your device's driver needs to be fixed, please
report to <[EMAIL PROTECTED]>
ACPI: PCI interrupt 0000:02:02.0[A]: no GSI
irq 64: nobody cared!
Call Trace:
[<a000000100012080>] show_stack+0x80/0xa0
sp=e00000307aeefa60 bsp=e00000307aee9210
[<a0000001000120d0>] dump_stack+0x30/0x60
sp=e00000307aeefc30 bsp=e00000307aee91f0
[<a00000010000e740>] __report_bad_irq+0x160/0x1a0
sp=e00000307aeefc30 bsp=e00000307aee91c0
[<a00000010000f0d0>] do_IRQ+0x410/0x520
sp=e00000307aeefc30 bsp=e00000307aee9158
[<a0000001000111d0>] ia64_handle_irq+0xb0/0x140
sp=e00000307aeefc30 bsp=e00000307aee9118
[<a00000010000abe0>] ia64_leave_kernel+0x0/0x260
sp=e00000307aeefc30 bsp=e00000307aee9118
[<a000000204ed7290>] unix_socket_table+0x1042540e8/0x5ffffffeff36ce58
sp=e00000307aeefe00 bsp=e00000307aee9080
[<a000000205014c50>] unix_socket_table+0x104391aa8/0x5ffffffeff36ce58
sp=e00000307aeefe00 bsp=e00000307aee8ff0
[<a0000001003e02f0>] pci_device_probe+0x150/0x480
sp=e00000307aeefe10 bsp=e00000307aee8fa8
[<a000000100484b30>] driver_probe_device+0xb0/0x180
sp=e00000307aeefe10 bsp=e00000307aee8f78
[<a000000100484ec0>] driver_attach+0x120/0x1a0
sp=e00000307aeefe10 bsp=e00000307aee8f48
[<a000000100485750>] bus_add_driver+0x150/0x360
sp=e00000307aeefe10 bsp=e00000307aee8f08
[<a0000001004864e0>] driver_register+0xc0/0xe0
sp=e00000307aeefe10 bsp=e00000307aee8ee8
[<a0000001003dfaa0>] pci_register_driver+0x100/0x160
sp=e00000307aeefe30 bsp=e00000307aee8eb8
[<a000000204e94110>] unix_socket_table+0x104210f68/0x5ffffffeff36ce58
sp=e00000307aeefe30 bsp=e00000307aee8ea0
[<a0000001000e1ab0>] sys_init_module+0x470/0x660
sp=e00000307aeefe30 bsp=e00000307aee8e28
[<a00000010000aa60>] ia64_ret_from_syscall+0x0/0x20
sp=e00000307aeefe30 bsp=e00000307aee8e28
[<a000000000010640>] __kernel_syscall_via_break+0x0/0x20
sp=e00000307aef0000 bsp=e00000307aee8e28
handlers:
[<a000000205023ee0>] (unix_socket_table+0x1043a0d38/0x5ffffffeff36ce58)
Disabling IRQ #64
Jan 19 14:48:44 flatearth kernel: ACPI: PCI interrupt 0000:02:02.0[A]: no GSI
Jan 19 14:48:44 flatearth kernel: ohci_hcd 0000:02:02.0: NEC Corporation USB
Jan 19 14:48:44 flatearth kernel: ohci_hcd 0000:02:02.0: irq 64, pci mem
0xc00000080fe04000
Jan 19 14:48:44 flatearth kernel: ohci_hcd 0000:02:02.0: new USB bus
registered, assigned bus number 2
Jan 19 14:48:45 flatearth kernel: irq 64: nobody cared!
Message from [EMAIL PROTECTED] at Wed Jan 19 14:48:46 2005 ...
flatearth kernel: Disabling IRQ #64
ACPI: PCI interrupt 0000:02:02.1[B]: no GSI
Jan 19 14:48:45 flatearth kernel:
Jan 19 14:48:45 flatearth kernel: Call Trace:
Jan 19 14:48:45 flatearth kernel: [<a000000100012080>] show_stack+0x80/0xa0
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefa60 bsp=e00000307aee9210
Jan 19 14:48:45 flatearth kernel: [<a0000001000120d0>] dump_stack+0x30/0x60
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefc30 bsp=e00000307aee91f0
Jan 19 14:48:45 flatearth kernel: [<a00000010000e740>]
__report_bad_irq+0x160/0x1a0
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefc30 bsp=e00000307aee91c0
Jan 19 14:48:45 flatearth kernel: [<a00000010000f0d0>] do_IRQ+0x410/0x520
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefc30 bsp=e00000307aee9158
Jan 19 14:48:45 flatearth kernel: [<a0000001000111d0>]
ia64_handle_irq+0xb0/0x140
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefc30 bsp=e00000307aee9118
Jan 19 14:48:45 flatearth kernel: [<a00000010000abe0>]
ia64_leave_kernel+0x0/0x260
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefc30 bsp=e00000307aee9118
Jan 19 14:48:45 flatearth kernel: [<a000000204ed7290>]
unix_socket_table+0x1042540e8/0x5ffffffeff36ce58
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefe00 bsp=e00000307aee9080
Jan 19 14:48:45 flatearth kernel: [<a000000205014c50>]
unix_socket_table+0x104391aa8/0x5ffffffeff36ce58
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefe00 bsp=e00000307aee8ff0
Jan 19 14:48:45 flatearth kernel: [<a0000001003e02f0>]
pci_device_probe+0x150/0x480
Jan 19 14:48:45 flatearth kernel:
sp=e00000307aeefe10 bsp=e00000307aee8fa8
Jan 19 14:48:45 flatearth kernel: [<a000000100484b30>]
driver_probe_device+0xb0/0x180
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe10 bsp=e00000307aee8f78
Jan 19 14:48:46 flatearth kernel: [<a000000100484ec0>]
driver_attach+0x120/0x1a0
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe10 bsp=e00000307aee8f48
Jan 19 14:48:46 flatearth kernel: [<a000000100485750>]
bus_add_driver+0x150/0x360
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe10 bsp=e00000307aee8f08
Jan 19 14:48:46 flatearth kernel: [<a0000001004864e0>]
driver_register+0xc0/0xe0
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe10 bsp=e00000307aee8ee8
Jan 19 14:48:46 flatearth kernel: [<a0000001003dfaa0>]
pci_register_driver+0x100/0x160
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe30 bsp=e00000307aee8eb8
Jan 19 14:48:46 flatearth kernel: [<a000000204e94110>]
unix_socket_table+0x104210f68/0x5ffffffeff36ce58
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe30 bsp=e00000307aee8ea0
Jan 19 14:48:46 flatearth kernel: [<a0000001000e1ab0>]
sys_init_module+0x470/0x660
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe30 bsp=e00000307aee8e28
Jan 19 14:48:46 flatearth kernel: [<a00000010000aa60>]
ia64_ret_from_syscall+0x0/0x20
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aeefe30 bsp=e00000307aee8e28
earth kernel: [<a000000000010640>] __kernel_syscall_via_break+0x0/0x20
Jan 19 14:48:46 flatearth kernel:
sp=e00000307aef0000 bsp=e00000307aee8e28
Jan 19 14:48:46 flatearth kernel: handlers:
Jan 19 14:48:46 flatearth kernel: [<a000000205023ee0>]
(unix_socket_table+0x1043a0d38/0x5ffffffeff36ce58)
Jan 19 14:48:46 flatearth kernel: Disabling IRQ #64
Jan 19 14:48:46 flatearth kernel: usb usb2: Product: NEC Corporation USB
Jan 19 14:48:46 flatearth kernel: usb usb2: Manufacturer: Linux 2.6.11-rc1-jb
ohci_hcd
Jan 19 14:48:46 flatearth kernel: usb usb2: SerialNumber: 0000:02:02.0
Jan 19 14:48:46 flatearth kernel: hub 2-0:1.0: USB hub found
Jan 19 14:48:46 flatearth kernel: hub 2-0:1.0: 3 ports detected
Jan 19 14:48:46 flatearth kernel: ACPI: PCI interrupt 0000:02:02.1[B]: no GSI
Jan 19 14:48:46 flatearth kernel: ohci_hcd 0000:02:02.1: NEC Corporation USB
(#2)
Jan 19 14:48:46 flatearth kernel: ohci_hcd 0000:02:02.1: irq 65, pci mem
0xc00000080fe05000
Jan 19 14:48:46 flatearth kernel: ohci_hcd 0000:02:02.1: new USB bus
registered, assigned bus number 3
Jan 19 14:48:46 flatearth kernel: usb 2-2: new low speed USB device using
ohci_hcd and address 2
ohci_hcd 0000:02:02.0: Unlink after no-IRQ? Controller is probably using the
wrong IRQ.
Jan 19 14:48:46 flatearth kernel: usb usb3: Product: NEC Corporation USB (#2)
Jan 19 14:48:46 flatearth kernel: usb usb3: Manufacturer: Linux 2.6.11-rc1-jb
ohci_hcd
Jan 19 14:48:46 flatearth kernel: usb usb3: SerialNumber: 0000:02:02.1
Jan 19 14:48:46 flatearth kernel: hub 3-0:1.0: USB hub found
Jan 19 14:48:46 flatearth kernel: hub 3-0:1.0: 2 ports detected
Jan 19 14:48:47 flatearth kernel: ohci_hcd 0000:02:02.0: Unlink after no-IRQ?
Controller is probably using the wrong IRQ.