Hi all,
I was playing around with some USB gadgets that I'm working on today when my
host exploded with this BUG:
[ 863.013018] usb 1-4: PocketPC PDA converter now attached to ttyUSB0
[ 872.706790] drivers/usb/serial/ipaq.c: ipaq_open - failed doing control urb,
error -32
[ 875.115297] usbcore: deregistering driver ipaq
[ 875.115813] ----------- [cut here ] --------- [please bite here ] ---------
[ 875.115817] Kernel BUG at kernel/workqueue.c:104
[ 875.115819] invalid operand: 0000 [1] SMP
[ 875.115822] CPU 0
[ 875.115823] Modules linked in: ipaq usbserial rfcomm l2cap bluetooth
powernow_k8 cpufreq_powersave cpufreq_stats cpufreq_userspace cpufreq_ondemand
cpufreq_conservative freq_table video battery container fan button thermal
processor ac af_packet dm_mod raw1394 ohci1394 bt878 tuner bttv video_buf
i2c_algo_bit v4l2_common btcx_risc tveeprom videodev snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd
soundcore snd_page_alloc usbhid it87 hwmon_vid eeprom i2c_isa i2c_nforce2
i2c_core ohci_hcd usbcore forcedeth nvidia sr_mod sbp2 ieee1394 rtc psmouse
parport_pc lp parport md_mod
[ 875.115849] Pid: 8416, comm: rmmod Tainted: P 2.6.14.5 #2
[ 875.115852] RIP: 0010:[<ffffffff801475ea>] <ffffffff801475ea>{queue_work+58}
[ 875.115858] RSP: 0018:ffff810053147de8 EFLAGS: 00010286
[ 875.115861] RAX: ffff81005379da30 RBX: 0000000000000000 RCX: 0000000000000000
[ 875.115865] RDX: 0000000000000000 RSI: ffff81005379da28 RDI: ffff81007ff97000
[ 875.115868] RBP: ffff8100593f30c0 R08: ffff810053146000 R09: 0000000000000000
[ 875.115871] R10: 0000000000000002 R11: ffffffff88578cf0 R12: ffff8100593f30c0
[ 875.115875] R13: ffff81007992a020 R14: ffffffff88723600 R15: ffffffff88723608
[ 875.115879] FS: 00002aaaaadf96d0(0000) GS:ffffffff804bc800(0000)
knlGS:0000000000000000
[ 875.115881] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 875.115884] CR2: 00002aaaaacc8e40 CR3: 0000000053106000 CR4: 00000000000006e0
[ 875.115888] Process rmmod (pid: 8416, threadinfo ffff810053146000, task
ffff810076d1b5e0)
[ 875.115890] Stack: ffffffff88723580 ffffffff88710e59 ffffffff88723608
ffffffff88723540
[ 875.115896] ffff81007992a000 ffffffff88723580 ffffffff88723580
ffffffff88556113
[ 875.115902] ffff81007992a110 ffff81007992a020
[ 875.115905] Call
Trace:<ffffffff88710e59>{:usbserial:usb_serial_disconnect+105}
[ 875.115915] <ffffffff88556113>{:usbcore:usb_unbind_interface+83}
[ 875.115932] <ffffffff8029ce0b>{__device_release_driver+107}
<ffffffff8029cee0>{driver_detach+144}
[ 875.115943] <ffffffff8029ca5a>{bus_remove_driver+122}
<ffffffff8029d47d>{driver_unregister+13}
[ 875.115953] <ffffffff8855535e>{:usbcore:usb_deregister+46}
<ffffffff8871ae20>{:ipaq:ipaq_exit+16}
[ 875.115974] <ffffffff801534d9>{sys_delete_module+473}
<ffffffff80243241>{__up_write+49}
[ 875.115983] <ffffffff8010dcce>{system_call+126}
[ 875.115997]
[ 875.115997] Code: 0f 0b 68 a1 66 3a 80 c2 68 00 48 c1 e1 07 48 01 cf e8 b0 fa
[ 875.116005] RIP <ffffffff801475ea>{queue_work+58} RSP <ffff810053147de8>
[ 875.116010]
The circumstances surrounding this were:
* plug in g_ether device
* fail to realize that it's g_ether, assume that it's g_char. force
detection using ipaq driver: modprobe ipaq vendor=0x49f product=0x505a
* attempt to connect:
[EMAIL PROTECTED]:~$ sudo cu -l ttyUSB0
cu: open (/dev/ttyUSB0): Broken pipe
cu: ttyUSB0: Line in use
* rmmod driver: rmmod ipaq
* kernel explodes
* no new USB devices will be detected
I've seen this problem in the past if I remove a usbserial device while
still connected to it (either using cu or using PPP). Can anyone share any
insight?
joshua
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel