Bug 6342 - BUG disconeeting cell phone usb cable
Summary: BUG disconeeting cell phone usb cable
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: i386 Linux
: P2 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks: USB
  Show dependency tree
 
Reported: 2006-04-06 14:17 UTC by Luca
Modified: 2006-08-30 00:52 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.16.1
Subsystem:
Regression: ---
Bisected commit-id:


Attachments

Description Luca 2006-04-06 14:17:03 UTC
Most recent kernel where this bug did not occur: N/A

Distribution: Debian testing

Hardware Environment:

cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 6
cpu MHz         : 866.693
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
pse36 mmx fxsr sse
bogomips        : 1734.23


Software Environment:
Linux ciop 2.6.16.1 #2 Thu Apr 6 22:16:42 CEST 2006 i686 GNU/Linux
 
Gnu C                  4.0.3
Gnu make               3.81rc2
binutils               2.16.91
util-linux             2.12r
mount                  2.12r
module-init-tools      3.2.2
e2fsprogs              1.39-WIP
reiserfsprogs          3.6.19
reiser4progs           line
PPP                    2.4.4b1
nfs-utils              1.0.7
Linux C Library        2.3.6
Dynamic linker (ldd)   2.3.6
Procps                 3.2.6
Net-tools              1.60
Kbd                    [opzione...]
Console-tools          0.2.3
Sh-utils               5.2.1
udev                   088
Modules Loaded         cdc_acm visor usbserial lp autofs4 ipv6 iptable_filter
ip_tables x_tables ext2 eth1394 sg sr_mod evdev psmouse snd_ens1371 pcspkr
serio_raw parport_pc parport floppy gameport snd_rawmidi snd_seq_device
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
i2c_viapro via_agp agpgart snd soundcore snd_page_alloc rtc shpchp pci_hotplug
i2c_core ext3 jbd mbcache ide_cd cdrom ide_disk aic7xxx ohci1394 ieee1394
dmx3191d scsi_transport_spi scsi_mod uhci_hcd usbcore via82cxxx generic ide_core
thermal processor fan 8139too mii reiserfs
ciop:/dati/luca/kernel/linux-2.6.16.1/scripts# cat /proc/ioports 
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
02f8-02ff : serial
0376-0376 : ide1
0378-037a : parport0
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial
0cf8-0cff : PCI conf1
4000-4003 : PM1a_EVT_BLK
4008-400b : PM_TMR
4010-4015 : ACPI CPU throttle
4020-4023 : GPE0_BLK
40f0-40f1 : PM1a_CNT_BLK
5000-5007 : vt596_smbus
c000-cfff : PCI Bus #01
d000-d00f : 0000:00:07.1
  d000-d007 : ide0
  d008-d00f : ide1
d400-d41f : 0000:00:07.2
  d400-d41f : uhci_hcd
d800-d87f : 0000:00:09.0
dc00-dcff : 0000:00:0a.0
e000-e0ff : 0000:00:0b.0
  e000-e0ff : 8139too
e400-e43f : 0000:00:0c.0
  e400-e43f : Ensoniq AudioPCI
e800-e81f : 0000:00:0e.0
  e800-e807 : dmx3191d

ciop:/dati/luca/kernel/linux-2.6.16.1/scripts# cat /proc/iomem 
00000000-0009ffff : System RAM
  00000000-00000000 : Crash kernel
000a0000-000bffff : Video RAM area
000c0000-000c7fff : Video ROM
000f0000-000fffff : System ROM
00100000-17feffff : System RAM
  00100000-00260fa6 : Kernel code
  00260fa7-002e60c3 : Kernel data
17ff0000-17ff2fff : ACPI Non-volatile Storage
17ff3000-17ffffff : ACPI Tables
e0000000-e3ffffff : 0000:00:00.0
e4000000-e7ffffff : PCI Bus #01
  e4000000-e4003fff : 0000:01:00.0
  e4010000-e401ffff : 0000:01:00.0
  e5000000-e57fffff : 0000:01:00.0
e8000000-e9ffffff : PCI Bus #01
  e8000000-e9ffffff : 0000:01:00.0
ea000000-ea0007ff : 0000:00:09.0
  ea000000-ea0007ff : ohci1394
ea001000-ea001fff : 0000:00:0a.0
  ea001000-ea001fff : aic7xxx
ea002000-ea0020ff : 0000:00:0b.0
  ea002000-ea0020ff : 8139too
ffff0000-ffffffff : reserved


Problem Description:
Sometimes when I disconnect the usb cable of my cell phone I get a BUG:
kernel BUG at kernel/workqueue.c:109!
invalid opcode: 0000 [#1]
Modules linked in: cdc_acm visor usbserial lp autofs4 ipv6 iptable_filter
ip_tables x_tables ext2 eth1394 sg sr_mod evdev psmouse snd_ens1371 pcspkr
serio_raw parport_pc parport floppy gameport snd_rawmidi snd_seq_device
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
i2c_viapro via_agp agpgart snd soundcore snd_page_alloc rtc shpchp pci_hotplug
i2c_core ext3 jbd mbcache ide_cd cdrom ide_disk aic7xxx ohci1394 ieee1394
dmx3191d scsi_transport_spi scsi_mod uhci_hcd usbcore via82cxxx generic ide_core
thermal processor fan 8139too mii reiserfs
CPU:    0
EIP:    0060:[queue_work+23/47]    Not tainted VLI
EFLAGS: 00010a97   (2.6.16.1 #2) 
EIP is at queue_work+0x17/0x2f
eax: d1ca093c   ebx: c13727c0   ecx: 00000000   edx: d1ca0938
esi: d2706ea0   edi: d7565214   ebp: 00000000   esp: d7e75eb8
ds: 007b   es: 007b   ss: 0068
Process khubd (pid: 873, threadinfo=d7e74000 task=d7f61560)
Stack: <0>d2706ea0 d8c889ee d1ca0800 d7565200 d8c71fe0 d8c72004 d7565214 d888d8cc 
       d7565200 d756527c d7565214 c01fa5d5 d7565214 d7565214 00000000 d88a0e40 
       c01fa797 d7565214 c01fa039 d7565214 d756525c d7565214 d2715c58 00000000 
Call Trace:
 [pg0+412355054/1070294016] usb_serial_disconnect+0x59/0xa1 [usbserial]
 [pg0+408180940/1070294016] usb_unbind_interface+0x36/0x6f [usbcore]
 [__device_release_driver+85/107] __device_release_driver+0x55/0x6b
 [device_release_driver+24/38] device_release_driver+0x18/0x26
 [bus_remove_device+116/140] bus_remove_device+0x74/0x8c
 [device_del+57/101] device_del+0x39/0x65
 [pg0+408177501/1070294016] usb_disable_device+0x6a/0xd4 [usbcore]
 [pg0+408162868/1070294016] usb_disconnect+0x7c/0xc9 [usbcore]
 [pg0+408166211/1070294016] hub_thread+0x35b/0x9eb [usbcore]
 [autoremove_wake_function+0/58] autoremove_wake_function+0x0/0x3a
 [kthread+128/193] kthread+0x80/0xc1
 [pg0+408165352/1070294016] hub_thread+0x0/0x9eb [usbcore]
 [kthread+148/193] kthread+0x94/0xc1
 [kthread+0/193] kthread+0x0/0xc1
 [kernel_thread_helper+5/11] kernel_thread_helper+0x5/0xb
Code: 89 d8 5b 5e 5f c3 89 d1 89 c2 a1 18 42 32 c0 e9 86 ff ff ff 53 89 c3 0f ba
2a 00 19 c0 31 c9 85 c0 75 1c 8d 42 04 39 42 04 74 08 <0f> 0b 6d 00 ce 25 27 c0
8b 03 e8 4a fc ff ff b9 01 00 00 00 5b 


Steps to reproduce:
Comment 1 Greg Kroah-Hartman 2006-08-30 00:52:55 UTC
This should be fixed in the latest kernel releases.

If not, please repost with the new error message, and the output of the
/proc/bus/usb/devices file with the device plugged into the machine.

Note You need to log in before you can comment on or make changes to this bug.