Re: Problem with disabled/not-connected USB causing "irq N: nobody cared"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2013/12/16 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
> On Mon, 16 Dec 2013, Rafał Miłecki wrote:
>
>> 2013/12/16 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>:
>> > On Mon, 16 Dec 2013, Rafał Miłecki wrote:
>> >> Is there any way this could be fixed?
>> >
>> > No, not that I know of.  But since the USB controller isn't connected
>> > to anything, you could simply avoid configuring the ehci-hcd driver in
>> > the kernel.
>>
>> I know, but the thing it's not only about me using that hardware, but
>> providing a working kernel for all end-users. I care about OpenWrt and
>> it's end-users, I'd like them to be able to use such hardware with the
>> default config.
>
> In other words, you want people to be able to use broken hardware?
>
> It seems to me that your original kernel was doing just fine.  It
> disabled the IRQ which wasn't being used for anything useful anyway,
> and kept on running.

Yes, the broken hardware exists in the wild world, and it still would
be nice to support it.

I've just realized I didn't explain my problem fully, I'm sorry! This
single warning about not handled IRQ isn't a real problem. The issue
is that I'm spammed with such messages until hardware reboots itself.

[ 7.244000] irq 5: nobody cared (try booting with the "irqpoll" option)
[ 7.244000] CPU: 0 PID: 154 Comm: kmodloader Not tainted 3.10.18 #28
[ 7.244000] Stack : 00000006 00000000 00000000 00000000 00000000
00000000 804ed0a6 00000038
          838b52e0 8028f2dc 804cd018 802dd23b 0000009a 802e0000
00000000 802e0000
          80293268 8001f0f0 802e0000 8001ca30 00000000 00000000
80290bbc 82d439fc
          82d43900 00000000 00000000 00000000 00000000 00000000
00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000
00000000 82d43988
...
[ 7.244000] Call Trace:
[ 7.244000] [<80011d3c>] show_stack+0x48/0x70
[ 7.244000] [<8005a114>] __report_bad_irq+0x44/0xec
[ 7.244000] [<8005a6e8>] note_interrupt+0x25c/0x314
[ 7.244000] [<800587d4>] handle_irq_event_percpu+0x224/0x268
[ 7.244000] [<8005b4c0>] handle_percpu_irq+0x54/0x88
[ 7.244000] [<80057f58>] generic_handle_irq+0x3c/0x4c
[ 7.244000] [<8000ea38>] do_IRQ+0x1c/0x2c
[ 7.244000] [<8000a9e8>] plat_irq_dispatch+0x90/0xb8
[ 7.244000] [<80001444>] ret_from_irq+0x0/0x4
[ 7.244000] [<80130934>] arch_local_irq_restore+0x24/0x30
[ 7.244000] [<80059c18>] __setup_irq+0x494/0x5c4
[ 7.244000] [<80059e48>] request_threaded_irq+0x100/0x15c
[ 7.244000] [<82e4770c>] usb_add_hcd+0x448/0x908 [usbcore]
[ 7.244000] [<82e2126c>] 0x82e2126c
[ 7.244000]
[ 7.244000] handlers:
[ 7.244000] [<82e466e8>] usb_hcd_irq [usbcore]
[ 7.244000] Disabling IRQ #5
[ 7.968000] irq 5: nobody cared (try booting with the "irqpoll" option)
[ 7.968000] CPU: 0 PID: 154 Comm: kmodloader Not tainted 3.10.18 #28
[ 7.968000] Stack : 00000006 00000000 00000000 00000000 00000000
00000000 804ed0a6 00000038
          838b52e0 8028f2dc 804cd018 802dd23b 0000009a 802e0000
00000000 802e0000
          80293268 8001f0f0 802e0000 8001ca30 00000000 00000000
80290bbc 82d439fc
          82d43900 00000000 00000000 00000000 00000000 00000000
00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000
00000000 82d43988
...
[ 7.968000] Call Trace:
[ 7.968000] [<80011d3c>] show_stack+0x48/0x70
[ 7.968000] [<8005a114>] __report_bad_irq+0x44/0xec
[ 7.968000] [<8005a6e8>] note_interrupt+0x25c/0x314
[ 7.968000] [<800587d4>] handle_irq_event_percpu+0x224/0x268
[ 7.968000] [<8005b4c0>] handle_percpu_irq+0x54/0x88
[ 7.968000] [<80057f58>] generic_handle_irq+0x3c/0x4c
[ 7.968000] [<8000ea38>] do_IRQ+0x1c/0x2c
[ 7.968000] [<8000a9e8>] plat_irq_dispatch+0x90/0xb8
[ 7.968000] [<80001444>] ret_from_irq+0x0/0x4
[ 7.968000] [<80130934>] arch_local_irq_restore+0x24/0x30
[ 7.968000] [<80059c18>] __setup_irq+0x494/0x5c4
[ 7.968000] [<80059e48>] request_threaded_irq+0x100/0x15c
[ 7.968000] [<82e4770c>] usb_add_hcd+0x448/0x908 [usbcore]
[ 7.968000] [<82e2126c>] 0x82e2126c
[ 7.968000]
[ 7.968000] handlers:
[ 7.968000] [<82e466e8>] usb_hcd_irq [usbcore]
[ 7.968000] Disabling IRQ #5
[ 8.688000] irq 5: nobody cared (try booting with the "irqpoll" option)
[ 8.688000] CPU: 0 PID: 154 Comm: kmodloader Not tainted 3.10.18 #28
[ 8.688000] Stack : 00000006 00000000 00000000 00000000 00000000
00000000 804ed0a6 00000038
          838b52e0 8028f2dc 804cd018 802dd23b 0000009a 802e0000
00000000 802e0000
          80293268 8001f0f0 802e0000 8001ca30 00000000 00000000
80290bbc 82d439fc
          82d43900 00000000 00000000 00000000 00000000 00000000
00000000 00000000
          00000000 00000000 00000000 00000000 00000000 00000000
00000000 82d43988
...
[ 8.688000] Call Trace:
[ 8.688000] [<80011d3c>] show_stack+0x48/0x70
[ 8.688000] [<8005a114>] __report_bad_irq+0x44/0xec
[ 8.688000] [<8005a6e8>] note_interrupt+0x25c/0x314
[ 8.688000] [<800587d4>] handle_irq_event_percpu+0x224/0x268
[ 8.688000] [<8005b4c0>] handle_percpu_irq+0x54/0x88
[ 8.688000] [<80057f58>] generic_handle_irq+0x3c/0x4c
[ 8.688000] [<8000ea38>] do_IRQ+0x1c/0x2c
[ 8.688000] [<8000a9e8>] plat_irq_dispatch+0x90/0xb8
[ 8.688000] [<80001444>] ret_from_irq+0x0/0x4
[ 8.688000] [<80130934>] arch_local_irq_restore+0x24/0x30
[ 8.688000] [<80059c18>] __setup_irq+0x494/0x5c4
[ 8.688000] [<80059e48>] request_threaded_irq+0x100/0x15c
[ 8.688000] [<82e4770c>] usb_add_hcd+0x448/0x908 [usbcore]
[ 8.688000] [<82e2126c>] 0x82e2126c
[ 8.688000]
[ 8.688000] handlers:
[ 8.688000] [<82e466e8>] usb_hcd_irq [usbcore]
[ 8.688000] Disabling IRQ #5

And so on...

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux