loading/unloading of option driver does not work - breaks use of common usb modems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Leann Ogasawara | ||
udev (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: linux-image-generic
Systeminformation: Karmic - all packages are up to date.
ii linux-firmware 1.15 Firmware for Linux kernel drivers
ii linux-generic 2.6.31.4.15 Complete Generic Linux kernel
ii linux-headers-
ii linux-headers-
ii linux-headers-
ii linux-image-
ii linux-image-generic 2.6.31.4.15 Generic Linux kernel image
When I plugin the usb broadband modem (HUWAEI E220) the kernel has problems loading the driver and gives the following error message (N.B.: the modem worked fine with kernels prior to 2.6.31):
[ 147.592101] usb 3-2: new full speed USB device using uhci_hcd and address 2
[ 147.745490] usb 3-2: configuration #1 chosen from 1 choice
[ 147.843488] Initializing USB Mass Storage driver...
[ 147.845428] usbcore: registered new interface driver usb-storage
[ 147.845571] USB Mass Storage support registered.
[ 148.184126] usb 3-2: USB disconnect, address 2
[ 148.424074] usb 3-2: new full speed USB device using uhci_hcd and address 3
[ 148.578952] usb 3-2: configuration #1 chosen from 1 choice
[ 148.623697] usbcore: registered new interface driver usbserial
[ 148.623712] USB Serial support registered for generic
[ 148.623760] usbcore: registered new interface driver usbserial_generic
[ 148.623762] usbserial: USB Serial Driver core
[ 148.635846] USB Serial support registered for GSM modem (1-port)
[ 148.635888] option 3-2:1.0: GSM modem (1-port) converter detected
[ 148.635976] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
[ 148.635988] option 3-2:1.1: GSM modem (1-port) converter detected
[ 148.636062] usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
[ 148.636077] usbcore: registered new interface driver option
[ 148.636079] option: v0.7.2:USB Driver for GSM modems
[ 170.209836] ------------[ cut here ]------------
[ 170.209848] WARNING: at /build/
[ 170.209850] Hardware name: Latitude D620
[ 170.209852] Modules linked in: option usbserial usb_storage binfmt_misc ppdev vboxnetadp vboxnetflt vboxdrv coretemp lp parport snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy snd_seq_oss iwl3945 snd_seq_midi snd_rawmidi pcmcia iwlcore snd_seq_midi_event snd_seq snd_timer snd_seq_device mac80211 yenta_socket snd rsrc_nonstatic joydev soundcore led_class pcmcia_core nvidia(P) snd_page_alloc cfg80211 dell_wmi dell_laptop psmouse serio_raw dcdbas sha256_generic aes_x86_64 aes_generic cbc usbhid tg3 dm_crypt fbcon tileblit font bitblit softcursor i915 drm i2c_algo_bit video output intel_agp
[ 170.209910] Pid: 3161, comm: NetworkManager Tainted: P 2.6.31-4-generic #23-Ubuntu
[ 170.209913] Call Trace:
[ 170.209921] [<ffffffff81058
[ 170.209925] [<ffffffff81058
[ 170.209931] [<ffffffffa0f14
[ 170.209936] [<ffffffff812eb
[ 170.209940] [<ffffffff81127
[ 170.209945] [<ffffffff8126f
[ 170.209948] [<ffffffff81127
[ 170.209952] [<ffffffff81077
[ 170.209957] [<ffffffff8151f
[ 170.209960] [<ffffffff81127
[ 170.209965] [<ffffffff81011
[ 170.209967] ---[ end trace 1d69160cf4c46917 ]---
[ 170.209972] ------------[ cut here ]------------
[ 170.209977] WARNING: at /build/
[ 170.209980] Hardware name: Latitude D620
[ 170.209981] Modules linked in: option usbserial usb_storage binfmt_misc ppdev vboxnetadp vboxnetflt vboxdrv coretemp lp parport snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy snd_seq_oss iwl3945 snd_seq_midi snd_rawmidi pcmcia iwlcore snd_seq_midi_event snd_seq snd_timer snd_seq_device mac80211 yenta_socket snd rsrc_nonstatic joydev soundcore led_class pcmcia_core nvidia(P) snd_page_alloc cfg80211 dell_wmi dell_laptop psmouse serio_raw dcdbas sha256_generic aes_x86_64 aes_generic cbc usbhid tg3 dm_crypt fbcon tileblit font bitblit softcursor i915 drm i2c_algo_bit video output intel_agp
[ 170.210024] Pid: 3161, comm: NetworkManager Tainted: P W 2.6.31-4-generic #23-Ubuntu
[ 170.210027] Call Trace:
[ 170.210030] [<ffffffff81058
[ 170.210034] [<ffffffff81058
[ 170.210039] [<ffffffffa0f14
[ 170.210042] [<ffffffff812f0
[ 170.210045] [<ffffffff812f0
[ 170.210049] [<ffffffff812f1
[ 170.210054] [<ffffffffa0f14
[ 170.210059] [<ffffffff8151a
[ 170.210062] [<ffffffff81015
[ 170.210067] [<ffffffff81032
[ 170.210070] [<ffffffff812f1
[ 170.210073] [<ffffffff812f1
[ 170.210076] [<ffffffff812ed
[ 170.210079] [<ffffffff812eb
[ 170.210082] [<ffffffff81127
[ 170.210085] [<ffffffff8126f
[ 170.210088] [<ffffffff81127
[ 170.210091] [<ffffffff81077
[ 170.210094] [<ffffffff8151f
[ 170.210097] [<ffffffff81127
[ 170.210101] [<ffffffff81011
[ 170.210103] ---[ end trace 1d69160cf4c46918 ]---
[ 170.210327] BUG: unable to handle kernel NULL pointer dereference at 0000000000000020
[ 170.210333] IP: [<ffffffffa0f14
[ 170.210340] PGD 7bc03067 PUD 7bc00067 PMD 0
[ 170.210344] Oops: 0000 [#1] SMP
[ 170.210348] last sysfs file: /sys/devices/
[ 170.210352] CPU 0
[ 170.210354] Modules linked in: option usbserial usb_storage binfmt_misc ppdev vboxnetadp vboxnetflt vboxdrv coretemp lp parport snd_hda_codec_idt snd_hda_intel snd_hda_codec snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_dummy snd_seq_oss iwl3945 snd_seq_midi snd_rawmidi pcmcia iwlcore snd_seq_midi_event snd_seq snd_timer snd_seq_device mac80211 yenta_socket snd rsrc_nonstatic joydev soundcore led_class pcmcia_core nvidia(P) snd_page_alloc cfg80211 dell_wmi dell_laptop psmouse serio_raw dcdbas sha256_generic aes_x86_64 aes_generic cbc usbhid tg3 dm_crypt fbcon tileblit font bitblit softcursor i915 drm i2c_algo_bit video output intel_agp
[ 170.210401] Pid: 3955, comm: pppd Tainted: P W 2.6.31-4-generic #23-Ubuntu Latitude D620
[ 170.210404] RIP: 0010:[<
[ 170.210410] RSP: 0018:ffff880037
[ 170.210413] RAX: ffffffffa0f18700 RBX: 0000000000000000 RCX: 0000000000000002
[ 170.210415] RDX: 0000000000000000 RSI: ffff88005c847240 RDI: ffff88005b9ea800
[ 170.210418] RBP: ffff880037cc9e38 R08: ffffffff81564be0 R09: 0000000000000000
[ 170.210420] R10: 0000000000000001 R11: 0000000000000206 R12: ffff88005b9ea800
[ 170.210422] R13: 0000000000000000 R14: 0000000000000002 R15: ffff88005c847240
[ 170.210425] FS: 00007f5693f8e6f
[ 170.210428] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 170.210430] CR2: 0000000000000020 CR3: 000000004e48d000 CR4: 00000000000006b0
[ 170.210433] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 170.210435] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 170.210438] Process pppd (pid: 3955, threadinfo ffff880037cc8000, task ffff88004e595ac0)
[ 170.210440] Stack:
[ 170.210441] ffff880037cc9e38 ffff88005b9ea800 0000000000000000 ffff88005c847240
[ 170.210445] <0> 0000000000005417 ffff88005b9ea800 ffff880037cc9e98 ffffffff812ebeaf
[ 170.210449] <0> 00000000000000bc ffff880037cc9f48 0000000000dff7e8 0000000000000000
[ 170.210454] Call Trace:
[ 170.210458] [<ffffffff812eb
[ 170.210462] [<ffffffff81127
[ 170.210466] [<ffffffff8101b
[ 170.210469] [<ffffffff81127
[ 170.210472] [<ffffffff81127
[ 170.210476] [<ffffffff81011
[ 170.210478] Code: d5 8b 15 73 9c 00 00 4c 89 65 e0 4c 89 75 f0 49 89 fc 4c 89 7d f8 48 89 5d d8 49 89 f7 85 d2 41 89 ce 48 8b 9f 00 02 00 00 75 43 <8b> 43 20 85 c0 74 61 48 8b 03 48 8b 40 08 48 8b 98 50 01 00 00
[ 170.210514] RIP [<ffffffffa0f14
[ 170.210520] RSP <ffff880037cc9e08>
[ 170.210522] CR2: 0000000000000020
[ 170.210525] ---[ end trace 1d69160cf4c46919 ]---
tags: | added: regression-potential |
summary: |
- option driver crashes usbserial + unloading option driver crashes |
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
Changed in linux (Ubuntu): | |
assignee: | nobody → Leann Ogasawara (leannogasawara) |
I've tried a daily built kernel from http:// kernel. ubuntu. com/~kernel- ppa/mainline/ daily/
ii linux-headers- 2.6.31- 999 2.6.31- 999.20090731124 0 2.6.31- 999-generic 2.6.31- 999.20090731124 0 2.6.31- 999-generic 2.6.31- 999.20090731124 0
ii linux-headers-
ii linux-image-
Loading the option module works now without crashing, but the driver is only loaded automatically on boot. When I plug in the device later the module is not loaded (lsusb shows the device, dmesg reports that a usb-device has been added).
Shouldn't udev load the drivers now? /var/log/udev doesn't list anything about the modem after I've plugged it in.
The modem works if it is connected at boot time or if I load the module manually.