USB Serial device disconnect causes IRQ disable after using ehci controller halted

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: amruth
Date: Tuesday, August 26, 2008 - 3:56 pm

Hi
Alan/David
This patch below does not fix the issue it just stops IRQ being disabled but still ehci hcd crashes. Please let me know what could be causing the issue.Is the hardware having any issue.
The log is below
[  552.905001] magtek 5-2:1.0: Magtek 75/Excella USB card reader converter detected
[  552.905001] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: magtek_startup
[  552.905001] usb 5-2: link qh0-00ff/d8f44080 start 0 [1/0 us]
[  552.905001] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: magtek_startup - usb_submit_urb(int urb)
[  552.905001] usb 5-2: Magtek 75/Excella USB card reader converter now attached to ttyUSB0
[  552.905001] drivers/usb/core/inode.c: creating file '006'
[  552.905001] usb 5-2: New USB device found, idVendor=0801, idProduct=2231
[  552.905001] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  552.905025] usb 5-2: Product: STX
[  552.905030] usb 5-2: Manufacturer: MagTek
[  552.905035] usb 5-2: SerialNumber: STX001
[  552.909786] ehci_hcd 0000:00:1d.7: irq status c028 masked 20
[  552.909793] ehci_hcd 0000:00:1d.7: hcd state 1
[  552.909796] ehci_hcd 0000:00:1d.7: hcd state 1
[  552.909799] ehci_hcd 0000:00:1d.7: hcd state 1
[  558.654520] ehci_hcd 0000:00:1d.7: irq status 600f masked 7
[  558.654520] ehci_hcd 0000:00:1d.7: hcd state 1
[  558.654520] ehci_hcd 0000:00:1d.7: devpath 2 ep2in 3strikes
[  558.654520] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: magtek_read_int_callback - port 0
[  558.654520] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: return!!
[  558.654520] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: urb status is -71
[  558.654520] usb 5-2: unlink qh0-00ff/d8f44080 start 0 [1/0 us]
[  558.654520] usb 5-2: link qh0-00ff/d8f44080 start 0 [1/0 us]
[  558.654520] usb 5-2: unlink qh0-00ff/d8f44080 start 0 [1/0 us]
[  558.656520] ehci_hcd 0000:00:1d.7: handshake failed: controller halted
[  558.656520] ehci_hcd 0000:00:1d.7: force halt; handshake e0840824 00004000 00004000 -> -110
[  558.656520] Pid: 0, comm: swapper Not tainted 2.6.26patched #2
[  558.656520]  [<e0b1e5e7>] handshake_on_error_set_halt+0x82/0x8c [ehci_hcd]
[  558.656520]  [<e0b1e611>] disable_periodic+0x20/0x40 [ehci_hcd]
[  558.656520]  [<e0b1ffef>] ehci_work+0x5e6/0x6ad [ehci_hcd]
[  558.656520]  [<c0424230>] ? printk+0x15/0x17
[  558.656520]  [<e0b23cb9>] ehci_irq+0x28a/0x2fd [ehci_hcd]
[  558.656520]  [<e096905d>] ? cdrom_newpc_intr+0x52e/0x544 [ide_cd_mod]
[  558.656520]  [<c042addd>] ? lock_timer_base+0x1f/0x3e
[  558.656520]  [<c05764c4>] usb_hcd_irq+0x27/0x58
[  558.656520]  [<c044b852>] handle_IRQ_event+0x21/0x48
[  558.656520]  [<c044c9fb>] handle_fasteoi_irq+0x77/0xac
[  558.656520]  [<c044c984>] ? handle_fasteoi_irq+0x0/0xac
[  558.656520]  [<c040598c>] do_IRQ+0xa9/0xd1
[  558.656520]  [<c04025f2>] ? default_idle+0x0/0x42
[  558.656520]  [<c040429b>] common_interrupt+0x23/0x28
[  558.656520]  [<c04025f2>] ? default_idle+0x0/0x42
[  558.656520]  [<c041007b>] ? acpi_save_state_mem+0xa/0x12b
[  558.656520]  [<c040261f>] ? default_idle+0x2d/0x42
[  558.656520]  [<c040256d>] cpu_idle+0x8b/0x9f
[  558.656520]  [<c061f329>] start_secondary+0x156/0x15b
[  558.656520]  =======================
[  558.656520] ehci_hcd 0000:00:1d.7: hcd state 0
[  558.656520] ehci_hcd 0000:00:1d.7: hcd state 0
[  558.656520] ehci_hcd 0000:00:1d.7: HC died; cleaning up
[  558.657583] hub 5-0:1.0: state 0 ports 8 chg 0000 evt 0000
[  558.657583] usb 5-2: USB disconnect, address 6
[  558.657583] usb 5-2: unregistering device
[  558.657583] usb 5-2: usb_disable_device nuking all URBs
[  558.657583] usb 5-2: unregistering interface 5-2:1.0
[  558.657583] /usr/src/linux-2.6.26/drivers/usb/serial/magtek.c: magtek_shutdown
[  558.657583] magtek ttyUSB0: Magtek 75/Excella USB card reader converter now disconnected from ttyUSB0
[  558.657584] magtek 5-2:1.0: device disconnected
[  558.657584] usb 5-2:1.0: uevent
[  558.658057] usb 5-2: uevent

Thanks
Amruth p.v


--- On Tue, 8/26/08, David Brownell <david-b@pacbell.net> wrote:



      

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
USB Serial device disconnect causes IRQ disable, amruth, (Wed Aug 20, 12:34 pm)
Re: USB Serial device disconnect causes IRQ disable, Oliver Neukum, (Wed Aug 20, 1:23 pm)
Re: USB Serial device disconnect causes IRQ disable, Oliver Neukum, (Wed Aug 20, 10:19 pm)
USB Serial device disconnect causes IRQ disable, amruth, (Wed Aug 20, 11:03 pm)
Re: USB Serial device disconnect causes IRQ disable, Oliver Neukum, (Wed Aug 20, 11:09 pm)
USB Serial device disconnect causes IRQ disable, amruth, (Wed Aug 20, 11:18 pm)
Re: USB Serial device disconnect causes IRQ disable, Oliver Neukum, (Wed Aug 20, 11:28 pm)
USB Serial device disconnect causes IRQ disable after usin ..., amruth, (Tue Aug 26, 3:56 pm)