Bug 14212

Summary: Oops randomly with Huawei E220 3G dongle (regression)
Product: Drivers Reporter: Eric Miao (eric.y.miao)
Component: USBAssignee: Greg Kroah-Hartman (greg)
Status: RESOLVED INVALID    
Severity: high CC: alan, irj
Priority: P1    
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+bug/430011
Kernel Version: 2.6.31-10-generic Subsystem:
Regression: Yes Bisected commit-id:

Description Eric Miao 2009-09-22 22:16:20 UTC
Bug originally reported by Paul Sladen, and I assume this has something
to do with the recent changes to the usb serial.

uname -r:

  2.6.31-10-generic

lsusb:

  Bus 002 Device 004: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem

[ 2263.543848] usb 2-3: USB disconnect, address 2
[ 2263.543857] usb 2-3.4: USB disconnect, address 4
[ 2263.543875] option: option_instat_callback: error -108
[ 2263.544102] BUG: unable to handle kernel paging request at 0010378c
[ 2263.544113] IP: [<c0124478>] __ticket_spin_lock+0x8/0x20
[ 2263.544130] *pde = 00000000
[ 2263.544137] Oops: 0002 [#1] SMP
[ 2263.544145] last sysfs file: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:03/PNP0C09:00/PNP0C0A:00/power_supply/BAT1/charge_full
[ 2263.544154] Modules linked in: ppp_deflate zlib_deflate bsd_comp ppp_async crc_ccitt binfmt_misc ppdev bridge stp bnep kvm_intel kvm lp parport option usb
[ 2263.544286]
[ 2263.544294] Pid: 273, comm: khubd Not tainted (2.6.31-10-generic #32-Ubuntu) MSI Notebook PR200
[ 2263.544301] EIP: 0060:[<c0124478>] EFLAGS: 00010092 CPU: 1
[ 2263.544309] EIP is at __ticket_spin_lock+0x8/0x20
[ 2263.544315] EAX: 0010378c EBX: 00000292 ECX: 0010378c EDX: 00000100
[ 2263.544321] ESI: 0010378c EDI: f66a73c0 EBP: f70f5d98 ESP: f70f5d98
[ 2263.544327] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 2263.544334] Process khubd (pid: 273, ti=f70f4000 task=f72ecb60 task.ti=f70f4000)
[ 2263.544339] Stack:
[ 2263.544343] f70f5da0 c0124508 f70f5db4 c056af2a 00103784 0010378c f66a73c0 f70f5dc8
[ 2263.544361] <0> c0381ded 00103780 00000003 f66a73c0 f70f5df0 f8e9104b 00000003 f70f5df0
[ 2263.544379] <0> c040ca29 00000000 f70a0d00 f70a0d00 f70a0d1c f8ebf2e0 f70f5e0c c040fb19
[ 2263.544399] Call Trace:
[ 2263.544410] [<c0124508>] ? default_spin_lock_flags+0x8/0x10
[ 2263.544421] [<c056af2a>] ? _spin_lock_irqsave+0x2a/0x40
[ 2263.544431] [<c0381ded>] ? tty_port_tty_get+0x1d/0x50
[ 2263.544451] [<f8e9104b>] ? usb_serial_disconnect+0x6b/0x160 [usbserial]
[ 2263.544460] [<c040ca29>] ? usb_disable_interface+0x39/0x50
[ 2263.544470] [<c040fb19>] ? usb_unbind_interface+0xe9/0x120
[ 2263.544481] [<c039daee>] ? __device_release_driver+0x3e/0x90
[ 2263.544490] [<c039dc00>] ? device_release_driver+0x20/0x40
[ 2263.544499] [<c039cf43>] ? bus_remove_device+0x73/0x90
[ 2263.544507] [<c039b6af>] ? device_del+0xef/0x150
[ 2263.544517] [<c040c97d>] ? usb_disable_device+0x7d/0xf0
[ 2263.544527] [<c04075ce>] ? usb_disconnect+0x9e/0x110
[ 2263.544536] [<c04075ba>] ? usb_disconnect+0x8a/0x110
[ 2263.544546] [<c040797c>] ? hub_port_connect_change+0x7c/0x830
[ 2263.544554] [<c040d650>] ? usb_control_msg+0xd0/0x120
[ 2263.544563] [<c0400100>] ? init_cdrom_command+0x10/0x70
[ 2263.544573] [<c04091e5>] ? hub_events+0x1f5/0x500
[ 2263.544582] [<c05690cc>] ? schedule+0x40c/0x730
[ 2263.544592] [<c0133767>] ? finish_task_switch+0x57/0xe0
[ 2263.544601] [<c0157a8a>] ? finish_wait+0x4a/0x70
[ 2263.544611] [<c04094f0>] ? hub_thread+0x0/0x150
[ 2263.544619] [<c0409525>] ? hub_thread+0x35/0x150
[ 2263.544627] [<c0157930>] ? autoremove_wake_function+0x0/0x40
[ 2263.544636] [<c015763c>] ? kthread+0x7c/0x90
[ 2263.544644] [<c01575c0>] ? kthread+0x0/0x90
[ 2263.544653] [<c0103f17>] ? kernel_thread_helper+0x7/0x10
[ 2263.544657] Code: ff ff 90 b9 2a 43 12 c0 b8 2d 43 12 c0 e9 59 ff ff ff 90 b9 30 43 12 c0 b8 33 43 12 c0 e9 49 ff ff ff 90 55 ba 00 01 00 00 89 e5 <f0> 66
[ 2263.544765] EIP: [<c0124478>] __ticket_spin_lock+0x8/0x20 SS:ESP 0068:f70f5d98
[ 2263.544778] CR2: 000000000010378c
[ 2263.544786] ---[ end trace 015abc1379692bce ]---
Comment 1 Alan 2009-09-23 00:12:31 UTC
USB serial fixes went into -next and the git head so should end up back in .31 soon - known bug tho
Comment 2 Greg Kroah-Hartman 2012-02-22 21:47:05 UTC
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing 
list, and not entered into bugzilla.  Please bring this issue up there,
if it is still a problem in the latest kernel release.