kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #147554
[Bug 1330076] Re: USB modem cannot be used if removed then reattached
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]
** Changed in: linux (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1330076
Title:
USB modem cannot be used if removed then reattached
Status in linux package in Ubuntu:
Expired
Bug description:
The problem is produced as follows:
* Attach the USB modem to the laptop
* Connect to the internet using the modem
* Disconnect from the internet
* Remove USB modem
* Attach USB modem
It doesn't get detected by the system, and I get kernel oops,
[26528.139666] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
[26528.139753] IP: [<ffffffffa05e062f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[26528.139809] PGD 658b4067 PUD 65e7b067 PMD 0
[26528.139844] Oops: 0000 [#1] SMP
[26528.139871] Modules linked in: ctr ccm ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack ip_tables x_tables ppp_deflate bsd_comp ppp_async crc_ccitt cryptoloop nls_utf8 isofs pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) cuse huawei_cdc_ncm cdc_wdm cdc_ncm usbnet option usb_wwan mii usbserial rfcomm bnep nfsd auth_rpcgss nfs_acl binfmt_misc nfs lockd sunrpc fscache btusb bluetooth snd_hda_codec_hdmi snd_hda_codec_idt usb_storage gpio_ich dell_wmi sparse_keymap dell_laptop dcdbas arc4 coretemp kvm_intel snd_hda_intel kvm snd_hda_codec snd_hwdep snd_pcm pcmcia snd_page_alloc pcspkr snd_seq_midi snd_seq_midi_event snd_rawmidi joydev b43 serio_raw bcma mac80211 snd_seq cfg80211 snd_seq_device snd_timer yenta_socket pcmcia_rsrc pcmcia_core lpc_ich snd soundcore mac_hid wmi parport_pc ppdev lp parport i915 video drm_kms_helper drm i2c_algo_bit hid_generic usbhid hid psmouse firewire_ohci tg3 sdhci_pci ahci sdhci libahci firewire_core crc_itu_t ptp pps_core ssb
[26528.142710] CPU: 0 PID: 938 Comm: ModemManager Tainted: GF O 3.13.0-29-generic #53-Ubuntu
[26528.143497] Hardware name: Dell Inc. Latitude E5500 /0DW634, BIOS A11 04/15/2009
[26528.143497] task: ffff8800753147d0 ti: ffff880065a02000 task.ti: ffff880065a02000
[26528.143497] RIP: 0010:[<ffffffffa05e062f>] [<ffffffffa05e062f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[26528.143497] RSP: 0018:ffff880065a03d58 EFLAGS: 00010283
[26528.143497] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001
[26528.143497] RDX: 0000000000000000 RSI: 0000000000220020 RDI: 0000000000000202
[26528.143497] RBP: ffff880065a03dd0 R08: 0000000000000000 R09: 0000000000000000
[26528.143497] R10: ffff88007a401500 R11: 0000000000000293 R12: 0000000000001000
[26528.143497] R13: 0000000000000000 R14: 0000000000000000 R15: ffff880064eb3500
[26528.143497] FS: 00007fddcb75a840(0000) GS:ffff88007d000000(0000) knlGS:0000000000000000
[26528.143497] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[26528.143497] CR2: 0000000000000068 CR3: 0000000065892000 CR4: 00000000000007f0
[26528.143497] Stack:
[26528.143497] ffff8800069762e8 ffff880064eb3500 000000018144d209 ffff880064eb3590
[26528.143497] dead000000100100 ffff880006976000 00001c0465e6aa28 ffff880065e68000
[26528.143497] ffff880064eb3580 ffff88004ee492e0 ffff88004ebdbc00 ffff880006976000
[26528.143497] Call Trace:
[26528.143497] [<ffffffffa06ed96d>] serial_write+0x4d/0xb0 [usbserial]
[26528.143497] [<ffffffff81448e7d>] n_tty_write+0x32d/0x500
[26528.143497] [<ffffffff8109a7a0>] ? wake_up_state+0x20/0x20
[26528.143497] [<ffffffff81445808>] tty_write+0x148/0x2a0
[26528.143497] [<ffffffff81448b50>] ? process_echoes+0x70/0x70
[26528.143497] [<ffffffff811bc814>] vfs_write+0xb4/0x1f0
[26528.143497] [<ffffffff811bd249>] SyS_write+0x49/0xa0
[26528.143497] [<ffffffff8172adff>] tracesys+0xe1/0xe6
[26528.143497] Code: 04 0f 85 28 01 00 00 48 8b 45 b0 48 8b 00 48 8b 78 10 e8 55 4b f6 e0 85 c0 0f 88 bd 00 00 00 81 fb 00 10 00 00 41 bc 00 10 00 00 <49> 8b 7d 68 44 0f 4e e3 48 8b 75 c0 49 63 c4 48 89 c2 48 89 45
[26528.143497] RIP [<ffffffffa05e062f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
[26528.143497] RSP <ffff880065a03d58>
[26528.143497] CR2: 0000000000000068
[26528.212077] ---[ end trace 8b88787e2b327dca ]---
[26528.238437] option1 ttyUSB0: option_instat_callback: error -108
[26528.238629] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[26528.238651] option 2-1:1.0: device disconnected
[26528.240035] option1 ttyUSB1: option_instat_callback: error -108
This time I got the following usb_modeswitch error, then when I
removed/reattached the modem I got the kernel oops:
[26402.536135] usb 2-1: new high-speed USB device number 16 using ehci-pci
[26403.068210] usb 2-1: device not accepting address 16, error -71
[26403.180050] usb 2-1: new high-speed USB device number 17 using ehci-pci
[26403.304270] usb 2-1: device descriptor read/64, error -71
[26403.944211] usb 2-1: device not accepting address 17, error -71
[26404.060139] usb 2-1: new high-speed USB device number 18 using ehci-pci
[26404.085496] usb 2-1: New USB device found, idVendor=12d1, idProduct=14fe
[26404.085502] usb 2-1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[26404.085506] usb 2-1: Product: HUAWEI Mobile
[26404.085509] usb 2-1: Manufacturer: HUAWEI
[26404.089629] usb 2-1: can't set config #1, error -71
[26405.500961] usb_modeswitch[22889]: segfault at 10 ip 00000000004023ad sp 00007fffb2fbdc70 error 4 in usb_modeswitch[400000+c000]
Also, when I decide to poweroff/reboot the laptop it doesn't completely turn off, and the plymouth animation goes forever, I just have to keep pressing the power button to force it to turn off.
I have attached the while dmesg of this session.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: usb-modeswitch 2.1.1+repack0-1ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: GNOME
Date: Sat Jun 14 17:23:11 2014
InstallationDate: Installed on 2011-07-23 (1056 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: usb-modeswitch
UpgradeStatus: Upgraded to trusty on 2014-03-04 (102 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1330076/+subscriptions