Skip to contentSkip to conversation

xHCI Express Card failure -- ACPI related?

DISCUSSION Sarah Sharp 4 participants 5 messages Feb 23, 2011 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

I'm having an issue with an xHCI (USB 3.0 host controller) Express Card. This card works fine on 2.6.37, but on 2.6.38-rc5, when I plug in the card, I get this output in dmesg:

Feb 22 16:32:28 xanatos kernel: [  119.345996] irq 23: nobody cared (try booting with the "irqpoll" option)
Feb 22 16:32:28 xanatos kernel: [  119.346002] Pid: 0, comm: kworker/0:0 Not tainted 2.6.38-rc5+ #745
Feb 22 16:32:28 xanatos kernel: [  119.346005] Call Trace:
Feb 22 16:32:28 xanatos kernel: [  119.346007]  <IRQ>  [<ffffffff8109a1f6>] ? __report_bad_irq+0x26/0xa0
Feb 22 16:32:28 xanatos kernel: [  119.346019]  [<ffffffff8109a3fc>] ? note_interrupt+0x18c/0x1d0
Feb 22 16:32:28 xanatos kernel: [  119.346024]  [<ffffffff8109ad7d>] ? handle_fasteoi_irq+0xcd/0x100
Feb 22 16:32:28 xanatos kernel: [  119.346029]  [<ffffffff8100543d>] ? handle_irq+0x1d/0x30
Feb 22 16:32:28 xanatos kernel: [  119.346032]  [<ffffffff81004bb8>] ? do_IRQ+0x58/0xd0
Feb 22 16:32:28 xanatos kernel: [  119.346037]  [<ffffffff8149f5d3>] ? ret_from_intr+0x0/0xe
Feb 22 16:32:28 xanatos kernel: [  119.346040]  <EOI>  [<ffffffff8126f2d0>] ? acpi_idle_enter_c1+0x7e/0x99
Feb 22 16:32:28 xanatos kernel: [  119.346048]  [<ffffffff8126f2b2>] ? acpi_idle_enter_c1+0x60/0x99
Feb 22 16:32:28 xanatos kernel: [  119.346054]  [<ffffffff8138ac92>] ? cpuidle_idle_call+0x82/0xf0
Feb 22 16:32:28 xanatos kernel: [  119.346059]  [<ffffffff81001906>] ? cpu_idle+0x56/0xb0
Feb 22 16:32:28 xanatos kernel: [  119.346064]  [<ffffffff8149861b>] ? start_secondary+0x1c1/0x1c8
Feb 22 16:32:28 xanatos kernel: [  119.346068]  [<ffffffff81263386>] ? acpi_ns_parse_table+0x2e/0x34
Feb 22 16:32:28 xanatos kernel: [  119.346073]  [<ffffffff81267a8c>] ? acpi_load_tables+0x9c/0x15d
Feb 22 16:32:28 xanatos kernel: [  119.346076] handlers:
Feb 22 16:32:28 xanatos kernel: [  119.346078] [<ffffffffa0123500>] (usb_hcd_irq+0x0/0x70 [usbcore])
Feb 22 16:32:28 xanatos kernel: [  119.346100] Disabling IRQ #23

I haven't had a chance to bisect yet.

Given that there wasn't any big new features added to the xHCI driver in 2.6.38, I don't think my code is the culprit here. Could it be a USB core or ACPI issue?

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw
Quoted 3 lines · Sarah Sharp

I'm having an issue with an xHCI (USB 3.0 host controller) Express Card. This card works fine on 2.6.37, but on 2.6.38-rc5, when I plug in the card, I get this output in dmesg:

Is the controller associated with irq 23?

Signature · 5 lines
Matthew Garrett | [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 6 lines · Matthew Garrett
Quoted 3 lines · Sarah Sharp

I'm having an issue with an xHCI (USB 3.0 host controller) Express Card. This card works fine on 2.6.37, but on 2.6.38-rc5, when I plug in the card, I get this output in dmesg:

Is the controller associated with irq 23?

I think it is, before the xHCI driver switches to MSI/MSIX. I'd have to disable MSI in 2.6.37 to confirm.

Sarah Sharp
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 10 lines · Sarah Sharp
Quoted 6 lines · Matthew Garrett
Quoted 3 lines · Sarah Sharp

I'm having an issue with an xHCI (USB 3.0 host controller) Express Card. This card works fine on 2.6.37, but on 2.6.38-rc5, when I plug in the card, I get this output in dmesg:

Is the controller associated with irq 23?

I think it is, before the xHCI driver switches to MSI/MSIX. I'd have to disable MSI in 2.6.37 to confirm.

Mm. Sounds like it's the hardware generating a legacy IRQ after you've changed to MSI? Any chance this could be related to the irq synchronisation patches?

Signature · 1 line
Matthew Garrett | [email protected]
#5 lore raw
Quoted 7 lines · Matthew Garrett
Quoted 6 lines · Sarah Sharp
Quoted 5 lines · Matthew Garrett
Quoted 3 lines · Sarah Sharp

I'm having an issue with an xHCI (USB 3.0 host controller) Express Card. This card works fine on 2.6.37, but on 2.6.38-rc5, when I plug in the card, I get this output in dmesg:

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

Is the controller associated with irq 23?

I think it is, before the xHCI driver switches to MSI/MSIX. I'd have to disable MSI in 2.6.37 to confirm.

Mm. Sounds like it's the hardware generating a legacy IRQ after you've changed to MSI? Any chance this could be related to the irq synchronisation patches?

Could be related, but I'm not sure that's the issue. I don't see any messages at all from the xHCI driver or the USB core about the new host before the "nobody cared" message appears (although it turned out I have CONFIG_USB_XHCI_HCD_DEBUGGING turned off). AFAICT, the driver never gets loaded. But if the xHCI driver failed in its init sequence... I'll check.

Sarah Sharp