Re: 3.4.4: disabling irq

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

 



On 2013-01-25 19:06, Alan Stern wrote:
> On Fri, 25 Jan 2013, Alan Stern wrote:
> 
>> This isn't a software problem.  I don't know of any way to fix it or
>> work around it in the driver.  The only thing to do is stop using that
>> controller.
> 
> Spoke too soon.  Try this patch; maybe it will help.  (You'll have to 
> remove the debugging patch first.)

Did so.
Reloaded the ohci module, problem did not go away.
In the dmesg below you can see messages of reloading ohci modules, the
issue, then some pwc frame errors and then the restarting of the stuff.

[236793.480518] ohci_hcd 0000:00:12.0: GetStatus roothub.portstatus [1]
= 0x00010301 CSC LSDA PPS CCS
[236793.480527] hub 1-0:1.0: port 2, status 0301, change 0001, 1.5 Mb/s
[236793.608085] hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms
status 0x301
[236793.679770] ohci_hcd 0000:00:12.0: GetStatus roothub.portstatus [1]
= 0x00100303 PRSC LSDA PPS PES CCS
[236793.735595] usb 1-2: new low-speed USB device number 2 using ohci_hcd
[236793.807504] ohci_hcd 0000:00:12.0: GetStatus roothub.portstatus [1]
= 0x00100303 PRSC LSDA PPS PES CCS
[236793.891176] usb 1-2: skipped 1 descriptor after interface
[236793.893035] usb 1-2: default language 0x0409
[236793.899048] usb 1-2: udev 2, busnum 1, minor = 1
[236793.899058] usb 1-2: New USB device found, idVendor=046d, idProduct=c00c
[236793.899064] usb 1-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=0
[236793.899069] usb 1-2: Product: USB Mouse
[236793.899073] usb 1-2: Manufacturer: Logitech
[236793.902798] usb 1-2: usb_probe_device
[236793.902806] usb 1-2: configuration #1 chosen from 1 choice
[236793.904007] usb 1-2: adding 1-2:1.0 (config #1, interface 0)
[236793.906553] usbhid 1-2:1.0: usb_probe_interface
[236793.906558] usbhid 1-2:1.0: usb_probe_interface - got id
[236793.922957] input: Logitech USB Mouse as
/devices/pci0000:00/0000:00:12.0/usb1/1-2/1-2:1.0/input/input8
[236793.930894] hid-generic 0003:046D:C00C.0002: input: USB HID v1.10
Mouse [Logitech USB Mouse] on usb-0000:00:12.0-2/input0
[236793.930946] hub 5-0:1.0: state 7 ports 2 chg 0000 evt 0000
[236793.930953] hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0010
[236793.930966] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00010101 CSC PPS CCS
[236793.930975] hub 2-0:1.0: port 4, status 0101, change 0001, 12 Mb/s
[236794.058797] hub 2-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x101
[236794.130186] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[236794.186027] usb 2-4: new full-speed USB device number 2 using ohci_hcd
[236794.257768] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[236794.333430] usb 2-4: ep0 maxpacket = 8
[236794.432125] usb 2-4: skipped 4 descriptors after interface
[236794.432134] usb 2-4: skipped 2 descriptors after interface
[236794.432140] usb 2-4: skipped 1 descriptor after endpoint
[236794.432146] usb 2-4: skipped 2 descriptors after interface
[236794.432150] usb 2-4: skipped 1 descriptor after endpoint
[236794.432155] usb 2-4: skipped 2 descriptors after interface
[236794.432160] usb 2-4: skipped 1 descriptor after endpoint
[236794.432165] usb 2-4: skipped 2 descriptors after interface
[236794.432170] usb 2-4: skipped 1 descriptor after endpoint
[236794.435090] usb 2-4: default language 0x0409
[236794.457034] usb 2-4: udev 2, busnum 2, minor = 129
[236794.457045] usb 2-4: New USB device found, idVendor=0471, idProduct=0311
[236794.457050] usb 2-4: New USB device strings: Mfr=0, Product=0,
SerialNumber=1
[236794.457056] usb 2-4: SerialNumber: 01690000A5000000
[236794.457314] usb 2-4: usb_probe_device
[236794.457321] usb 2-4: configuration #1 chosen from 1 choice
[236794.459031] usb 2-4: adding 2-4:1.0 (config #1, interface 0)
[236794.459723] Philips webcam 2-4:1.0: usb_probe_interface
[236794.459730] Philips webcam 2-4:1.0: usb_probe_interface - got id
[236794.459735] pwc: Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II)
USB webcam detected.
[236795.067186] pwc: Registered as video0.
[236795.067353] input: PWC snapshot button as
/devices/pci0000:00/0000:00:13.0/usb2/2-4/input/input9
[236795.067510] usb 2-4: adding 2-4:1.1 (config #1, interface 1)
[236795.067645] snd-usb-audio 2-4:1.1: usb_probe_interface
[236795.067656] snd-usb-audio 2-4:1.1: usb_probe_interface - got id
[236795.130472] usb 2-4: adding 2-4:1.2 (config #1, interface 2)
[236795.130732] hub 4-0:1.0: state 7 ports 5 chg 0000 evt 0010
[236795.130747] ehci_hcd 0000:00:13.2: GetStatus port:4 status 003002 0
 ACK POWER OWNER sig=se0 CSC
[236795.130758] hub 4-0:1.0: port 4, status 0100, change 0001, 12 Mb/s
[236795.258571] hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x100
[236795.258584] hub 1-0:1.0: state 7 ports 5 chg 0000 evt 0004
[236795.258601] hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0010
[244306.358532] irq 18: nobody cared (try booting with the "irqpoll" option)
[244306.358536] Pid: 27585, comm: irq/18-ohci_hcd Not tainted 3.6.11 #22
[244306.358538] Call Trace:
[244306.358543]  [<ffffffff8109e166>] ? __report_bad_irq+0x36/0xd0
[244306.358546]  [<ffffffff8109e469>] ? note_interrupt+0x1c9/0x220
[244306.358548]  [<ffffffff8109ccf0>] ? irq_thread_fn+0x40/0x40
[244306.358551]  [<ffffffff8109cab5>] ? irq_thread+0x145/0x180
[244306.358554]  [<ffffffff810611ec>] ? __wake_up_common+0x4c/0x80
[244306.358556]  [<ffffffff8109cbf0>] ? irq_finalize_oneshot+0x100/0x100
[244306.358559]  [<ffffffff8109c970>] ? wake_threads_waitq+0x50/0x50
[244306.358561]  [<ffffffff810591d5>] ? kthread+0x85/0x90
[244306.358564]  [<ffffffff814231f4>] ? kernel_thread_helper+0x4/0x10
[244306.358566]  [<ffffffff81059150>] ?
kthread_freezable_should_stop+0x50/0x50
[244306.358568]  [<ffffffff814231f0>] ? gs_change+0xb/0xb
[244306.358569] handlers:
[244306.358571] [<ffffffff8109c040>] irq_default_primary_handler
threaded [<ffffffff812d7ed0>] usb_hcd_irq
[244306.358576] [<ffffffff8109c040>] irq_default_primary_handler
threaded [<ffffffff812d7ed0>] usb_hcd_irq
[244306.358579] [<ffffffff8109c040>] irq_default_primary_handler
threaded [<ffffffff812d7ed0>] usb_hcd_irq
[244306.358581] Disabling IRQ #18
[244306.655273] pwc: Iso frame 0 has error -18
[244306.655276] pwc: Iso frame 1 has error -18
[244306.655277] pwc: Iso frame 2 has error -18
[244306.655278] pwc: Iso frame 3 has error -114


[244322.004470] pwc: Iso frame 6 has error -18
[244322.004471] pwc: Iso frame 7 has error -18
[244322.004474] pwc: Iso frame 8 has error -18
[244322.004475] pwc: Iso frame 9 has error -18
[244322.370256] usbcore: deregistering interface driver Philips webcam
[244322.415481] ohci_hcd 0000:00:13.0: remove, state 1
[244322.415487] ohci_hcd 0000:00:13.0: roothub graceful disconnect
[244322.415490] usb usb2: USB disconnect, device number 1
[244322.415492] usb 2-4: USB disconnect, device number 2
[244322.415494] usb 2-4: unregistering device
[244322.415496] usb 2-4: unregistering interface 2-4:1.0
[244322.415569] usb 2-4: unregistering interface 2-4:1.1
[244322.415907] usb 2-4: unregistering interface 2-4:1.2
[244322.415954] usb 2-4: usb_disable_device nuking all URBs
[244322.416038] usb usb2: unregistering device
[244322.416040] usb usb2: unregistering interface 2-0:1.0
[244322.416054] ohci_hcd 0000:00:13.0: shutdown urb ffff88019f5e2900
ep1in-intr
[244322.416095] usb usb2: usb_disable_device nuking all URBs
[244322.416170] ohci_hcd 0000:00:13.0: OHCI controller state
[244322.416173] ohci_hcd 0000:00:13.0: OHCI 1.0, NO legacy support
registers, rh state running
[244322.416176] ohci_hcd 0000:00:13.0: control 0x083 HCFS=operational CBSR=3
[244322.416179] ohci_hcd 0000:00:13.0: cmdstatus 0x00000 SOC=0
[244322.416182] ohci_hcd 0000:00:13.0: intrstatus 0x00000004 SF
[244322.416185] ohci_hcd 0000:00:13.0: intrenable 0x8000005a MIE RHSC UE
RD WDH
[244322.416189] ohci_hcd 0000:00:13.0: ed_controlhead 00112000
[244322.416194] ohci_hcd 0000:00:13.0: hcca frame #4d2f
[244322.416197] ohci_hcd 0000:00:13.0: roothub.a 02001205 POTPGT=2 NOCP
NPS NDP=5(5)
[244322.416200] ohci_hcd 0000:00:13.0: roothub.b 00000000 PPCM=0000 DR=0000
[244322.416203] ohci_hcd 0000:00:13.0: roothub.status 00008000 DRWE
[244322.416206] ohci_hcd 0000:00:13.0: roothub.portstatus [0] 0x00000100 PPS
[244322.416209] ohci_hcd 0000:00:13.0: roothub.portstatus [1] 0x00000100 PPS
[244322.416212] ohci_hcd 0000:00:13.0: roothub.portstatus [2] 0x00000100 PPS
[244322.416215] ohci_hcd 0000:00:13.0: roothub.portstatus [3] 0x00000103
PPS PES CCS
[244322.416217] ohci_hcd 0000:00:13.0: roothub.portstatus [4] 0x00000100 PPS
[244322.416245] ohci_hcd 0000:00:13.0: USB bus 2 deregistered
[244322.416358] ohci_hcd 0000:00:13.0: OHCI Host Controller
[244322.416362] ohci_hcd 0000:00:13.0: new USB bus registered, assigned
bus number 2
[244322.416381] ohci_hcd 0000:00:13.0: created debug files
[244322.416383] ohci_hcd 0000:00:13.0: supports USB remote wakeup
[244322.416420] ohci_hcd 0000:00:13.0: irq 18, io mem 0xfeb4e000
[244322.470836] hub 4-0:1.0: state 7 ports 5 chg 0000 evt 0010
[244322.470846] ehci_hcd 0000:00:13.2: GetStatus port:4 status 001803 0
 ACK POWER sig=j CSC CONNECT
[244322.470853] hub 4-0:1.0: port 4, status 0501, change 0001, 480 Mb/s
[244322.474794] ohci_hcd 0000:00:13.0: OHCI controller state
[244322.474800] ohci_hcd 0000:00:13.0: OHCI 1.0, NO legacy support
registers, rh state running
[244322.474804] ohci_hcd 0000:00:13.0: control 0x083 HCFS=operational CBSR=3
[244322.474807] ohci_hcd 0000:00:13.0: cmdstatus 0x00000 SOC=0
[244322.474816] ohci_hcd 0000:00:13.0: intrstatus 0x00000004 SF
[244322.474821] ohci_hcd 0000:00:13.0: intrenable 0x8000005a MIE RHSC UE
RD WDH
[244322.474829] ohci_hcd 0000:00:13.0: hcca frame #0004
[244322.474832] ohci_hcd 0000:00:13.0: roothub.a 02001205 POTPGT=2 NOCP
NPS NDP=5(5)
[244322.474835] ohci_hcd 0000:00:13.0: roothub.b 00000000 PPCM=0000 DR=0000
[244322.474837] ohci_hcd 0000:00:13.0: roothub.status 00008000 DRWE
[244322.474841] ohci_hcd 0000:00:13.0: roothub.portstatus [0] 0x00000100 PPS
[244322.474844] ohci_hcd 0000:00:13.0: roothub.portstatus [1] 0x00000100 PPS
[244322.474847] ohci_hcd 0000:00:13.0: roothub.portstatus [2] 0x00000100 PPS
[244322.474850] ohci_hcd 0000:00:13.0: roothub.portstatus [3] 0x00010100
CSC PPS
[244322.474853] ohci_hcd 0000:00:13.0: roothub.portstatus [4] 0x00000100 PPS
[244322.474866] usb usb2: default language 0x0409
[244322.474871] usb usb2: udev 1, busnum 2, minor = 128
[244322.474874] usb usb2: New USB device found, idVendor=1d6b,
idProduct=0001
[244322.474875] usb usb2: New USB device strings: Mfr=3, Product=2,
SerialNumber=1
[244322.474877] usb usb2: Product: OHCI Host Controller
[244322.474883] usb usb2: Manufacturer: Linux 3.6.11 ohci_hcd
[244322.474886] usb usb2: SerialNumber: 0000:00:13.0
[244322.474995] usb usb2: usb_probe_device
[244322.474998] usb usb2: configuration #1 chosen from 1 choice
[244322.475004] usb usb2: adding 2-0:1.0 (config #1, interface 0)
[244322.475050] hub 2-0:1.0: usb_probe_interface
[244322.475052] hub 2-0:1.0: usb_probe_interface - got id
[244322.475054] hub 2-0:1.0: USB hub found
[244322.475060] hub 2-0:1.0: 5 ports detected
[244322.475061] hub 2-0:1.0: standalone hub
[244322.475063] hub 2-0:1.0: no power switching (usb 1.0)
[244322.475064] hub 2-0:1.0: no over-current protection
[244322.475065] hub 2-0:1.0: power on to power good time: 4ms
[244322.475069] hub 2-0:1.0: local power source is good
[244322.475071] hub 2-0:1.0: trying to enable port power on
non-switchable hub
[244322.574440] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00010100 CSC PPS
[244322.598433] hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x501
[244322.601136] usbcore: registered new interface driver Philips webcam
[244322.654152] ehci_hcd 0000:00:13.2: port 4 full speed --> companion
[244322.654159] ehci_hcd 0000:00:13.2: GetStatus port:4 status 003801 0
 ACK POWER OWNER sig=j CONNECT
[244322.654191] hub 4-0:1.0: port 4 not reset yet, waiting 50ms
[244322.710024] ehci_hcd 0000:00:13.2: GetStatus port:4 status 003002 0
 ACK POWER OWNER sig=se0 CSC
[244322.710047] hub 4-0:1.0: state 7 ports 5 chg 0000 evt 0010
[244322.710051] ehci_hcd 0000:00:13.2: GetStatus port:4 status 003002 0
 ACK POWER OWNER sig=se0 CSC
[244322.710057] hub 4-0:1.0: port 4, status 0100, change 0001, 12 Mb/s
[244322.837479] hub 4-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x100
[244322.837485] hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0010
[244322.837492] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00010101 CSC PPS CCS
[244322.837497] hub 2-0:1.0: port 4, status 0101, change 0001, 12 Mb/s
[244322.965066] hub 2-0:1.0: debounce: port 4: total 100ms stable 100ms
status 0x101
[244323.036891] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[244323.092571] usb 2-4: new full-speed USB device number 2 using ohci_hcd
[244323.164446] ohci_hcd 0000:00:13.0: GetStatus roothub.portstatus [3]
= 0x00100103 PRSC PPS PES CCS
[244323.240054] usb 2-4: ep0 maxpacket = 8
[244323.338694] usb 2-4: skipped 4 descriptors after interface
[244323.338698] usb 2-4: skipped 2 descriptors after interface
[244323.338700] usb 2-4: skipped 1 descriptor after endpoint
[244323.338702] usb 2-4: skipped 2 descriptors after interface
[244323.338703] usb 2-4: skipped 1 descriptor after endpoint
[244323.338705] usb 2-4: skipped 2 descriptors after interface
[244323.338707] usb 2-4: skipped 1 descriptor after endpoint
[244323.338708] usb 2-4: skipped 2 descriptors after interface
[244323.338710] usb 2-4: skipped 1 descriptor after endpoint
[244323.341669] usb 2-4: default language 0x0409
[244323.363608] usb 2-4: udev 2, busnum 2, minor = 129
[244323.363612] usb 2-4: New USB device found, idVendor=0471, idProduct=0311
[244323.363614] usb 2-4: New USB device strings: Mfr=0, Product=0,
SerialNumber=1
[244323.363616] usb 2-4: SerialNumber: 01690000A5000000
[244323.364588] usb 2-4: usb_probe_device
[244323.364594] usb 2-4: configuration #1 chosen from 1 choice
[244323.365593] usb 2-4: adding 2-4:1.0 (config #1, interface 0)
[244323.365666] Philips webcam 2-4:1.0: usb_probe_interface
[244323.365668] Philips webcam 2-4:1.0: usb_probe_interface - got id
[244323.365670] pwc: Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II)
USB webcam detected.
[244323.973529] pwc: Registered as video0.
[244323.975513] input: PWC snapshot button as
/devices/pci0000:00/0000:00:13.0/usb2/2-4/input/input10
[244323.975617] usb 2-4: adding 2-4:1.1 (config #1, interface 1)
[244323.975694] snd-usb-audio 2-4:1.1: usb_probe_interface
[244323.975699] snd-usb-audio 2-4:1.1: usb_probe_interface - got id
[244324.036541] usb 2-4: adding 2-4:1.2 (config #1, interface 2)
[244324.036611] hub 2-0:1.0: state 7 ports 5 chg 0000 evt 0010

--
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