← Back to team overview

kernel-packages team mailing list archive

[Bug 1318974] Re: USB modem oops error when unplugging and then plugging in again.

 

** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

** Tags added: kernel-unable-to-test-upstream

-- 
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/1318974

Title:
  USB modem oops error when unplugging and then plugging in again.

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  The following error happens while plugging in defferent type of USB modem dongles.
  My computer originally had Ubuntu 12.04-3 LTS installed which was upgraded to 13.10 and then finally to 14.04 LTS.
  This error was not evident on the earlier versions, only with 14.04 LTS.

  On first plugging the USB modem dongle in, there is no problem and it works correctly. If however, the USB modem dongle is unplugged,  and then plugged in again a short time later, the error is seen and no further USB modem dection/removal will take place until the computer is rebooted.
  On shutting down, the shutdown process locks up and I have to hold the power button in for a couple of seconds to actually power off the computer.

  lsb_release -rd
  Description:	Ubuntu 14.04 LTS
  Release:	14.04

  
  The results from the kernel log are shown here.

  [ 6132.567839] usb 2-1.2: new high-speed USB device number 7 using ehci-pci
  [ 6132.662669] usb 2-1.2: New USB device found, idVendor=12d1, idProduct=1505
  [ 6132.662680] usb 2-1.2: New USB device strings: Mfr=3, Product=2, SerialNumber=0
  [ 6132.662686] usb 2-1.2: Product: HUAWEI Mobile
  [ 6132.662692] usb 2-1.2: Manufacturer: Huawei Technologies
  [ 6132.664298] usb-storage 2-1.2:1.0: USB Mass Storage device detected
  [ 6132.664667] scsi9 : usb-storage 2-1.2:1.0
  [ 6133.666229] scsi 9:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
  [ 6133.686959] sr1: scsi-1 drive
  [ 6133.687171] sr 9:0:0:0: Attached scsi CD-ROM sr1
  [ 6133.687248] sr 9:0:0:0: Attached scsi generic sg3 type 5
  [ 6133.732459] scsi 9:0:0:0: rejecting I/O to offline device
  [ 6133.732464] scsi 9:0:0:0: killing request
  [ 6133.746487] systemd-udevd[8864]: Failed to apply ACL on /dev/sr1: No such file or directory
  [ 6133.746509] systemd-udevd[8864]: Failed to apply ACL on /dev/sr1: No such file or directory
  [ 6133.751405] systemd-udevd[8799]: Failed to apply ACL on /dev/sr1: No such file or directory
  [ 6133.751413] systemd-udevd[8799]: Failed to apply ACL on /dev/sr1: No such file or directory
  [ 6133.905645] usb 2-1.2: USB disconnect, device number 7
  [ 6145.635115] usb 2-1.2: new high-speed USB device number 8 using ehci-pci
  [ 6145.730307] usb 2-1.2: New USB device found, idVendor=12d1, idProduct=1506
  [ 6145.730318] usb 2-1.2: New USB device strings: Mfr=4, Product=3, SerialNumber=0
  [ 6145.730325] usb 2-1.2: Product: HUAWEI Mobile
  [ 6145.730329] usb 2-1.2: Manufacturer: Huawei Technologies
  [ 6145.734164] option 2-1.2:1.0: GSM modem (1-port) converter detected
  [ 6145.734382] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB5
  [ 6145.734547] option 2-1.2:1.1: GSM modem (1-port) converter detected
  [ 6145.734707] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB6
  [ 6145.734827] option 2-1.2:1.2: GSM modem (1-port) converter detected
  [ 6145.735075] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB7
  [ 6145.735415] option 2-1.2:1.3: GSM modem (1-port) converter detected
  [ 6145.735746] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB8
  [ 6145.736080] option 2-1.2:1.4: GSM modem (1-port) converter detected
  [ 6145.736403] usb 2-1.2: GSM modem (1-port) converter now attached to ttyUSB9
  [ 6145.736672] usb-storage 2-1.2:1.5: USB Mass Storage device detected
  [ 6145.736991] scsi10 : usb-storage 2-1.2:1.5
  [ 6145.737413] usb-storage 2-1.2:1.6: USB Mass Storage device detected
  [ 6145.737742] scsi11 : usb-storage 2-1.2:1.6
  [ 6146.737624] scsi 10:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 0
  [ 6146.738488] scsi 11:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
  [ 6146.746612] sr1: scsi-1 drive
  [ 6146.746746] sr 10:0:0:0: Attached scsi CD-ROM sr1
  [ 6146.746821] sr 10:0:0:0: Attached scsi generic sg3 type 5
  [ 6146.747022] sd 11:0:0:0: Attached scsi generic sg4 type 0
  [ 6146.751086] sd 11:0:0:0: [sdc] Attached SCSI removable disk
  [ 6149.486763] ISO 9660 Extensions: Microsoft Joliet Level 1
  [ 6149.488017] ISOFS: changing to secondary root
  [ 6149.639718] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
  [ 6149.639722] IP: [<ffffffffa0e1b62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
  [ 6149.639728] PGD 22e206067 PUD 21070d067 PMD 0 
  [ 6149.639731] Oops: 0000 [#1] SMP 
  [ 6149.639733] Modules linked in: ppp_deflate bsd_comp ppp_async crc_ccitt hid_generic usbhid pl2303 hid asix qmi_wwan cdc_wdm usbnet nls_utf8 nls_iso8859_1 isofs usb_storage pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) nfnetlink_queue nfnetlink_log nfnetlink cmac rmd160 crypto_null camellia_generic camellia_aesni_avx_x86_64 camellia_x86_64 cast6_avx_x86_64 cast6_generic cast5_avx_x86_64 cast5_generic cast_common deflate cts ctr gcm ccm serpent_avx_x86_64 serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_x86_64 blowfish_common twofish_generic twofish_avx_x86_64 twofish_x86_64_3way xts twofish_x86_64 twofish_common xcbc sha256_ssse3 sha512_ssse3 des_generic tunnel4 xfrm_algo snd_hda_codec_hdmi dell_laptop dcdbas intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper joydev ablk_helper cryptd serio_raw rfcomm bnep binfmt_misc arc4 iwldvm mac80211 snd_hda_codec_realtek option uvcvideo videobuf2_vmalloc usb_wwan videobuf2_memops videobuf2_core usbserial videodev btusb bluetooth snd_seq_midi snd_seq_midi_event dell_wmi sparse_keymap snd_hda_intel snd_hda_codec iwlwifi snd_rawmidi snd_hwdep lpc_ich cfg80211 jmb38x_ms snd_pcm snd_seq memstick snd_page_alloc snd_seq_device nvidia(POF) snd_timer video snd parport_pc drm soundcore wmi ppdev mei_me mac_hid mei lp parport mmc_block psmouse ahci r8169 libahci sdhci_pci mii sdhci [last unloaded: tunnel6]
  [ 6149.639787] CPU: 6 PID: 954 Comm: ModemManager Tainted: PF          O 3.13.0-26-generic #48-Ubuntu
  [ 6149.639788] Hardware name: Dell Inc.          Dell System XPS L702X/03RG89, BIOS A17 02/22/2012
  [ 6149.639790] task: ffff88022e7f97f0 ti: ffff88022e21c000 task.ti: ffff88022e21c000
  [ 6149.639791] RIP: 0010:[<ffffffffa0e1b62f>]  [<ffffffffa0e1b62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
  [ 6149.639794] RSP: 0018:ffff88022e21dd58  EFLAGS: 00010283
  [ 6149.639795] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000001
  [ 6149.639796] RDX: 0000000000000000 RSI: 0000000000220020 RDI: 0000000000000202
  [ 6149.639797] RBP: ffff88022e21ddd0 R08: 0000000000000000 R09: 0000000000000000
  [ 6149.639798] R10: ffff88023d803500 R11: 0000000000000293 R12: 0000000000001000
  [ 6149.639799] R13: 0000000000000000 R14: 0000000000000000 R15: ffff880092b41c00
  [ 6149.639800] FS:  00007fbd7fc57840(0000) GS:ffff88023df80000(0000) knlGS:0000000000000000
  [ 6149.639801] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  [ 6149.639802] CR2: 0000000000000068 CR3: 000000020e2de000 CR4: 00000000000407e0
  [ 6149.639803] Stack:
  [ 6149.639804]  ffff8801ef8b8ae8 ffff880092b41c00 00000001814482e4 ffff880092b41c90
  [ 6149.639806]  ffffffff81720202 ffff8801ef8b8800 0000000000000001 ffff8801aa91cc00
  [ 6149.639808]  ffff880092b41c80 ffff8802326ed900 ffff8801aa91e000 ffff8801ef8b8800
  [ 6149.639810] Call Trace:
  [ 6149.639815]  [<ffffffff81720202>] ? mutex_lock+0x12/0x2f
  [ 6149.639820]  [<ffffffffa0e2896d>] serial_write+0x4d/0xb0 [usbserial]
  [ 6149.639824]  [<ffffffff814488dd>] n_tty_write+0x32d/0x500
  [ 6149.639827]  [<ffffffff8109a790>] ? wake_up_state+0x20/0x20
  [ 6149.639829]  [<ffffffff81445268>] tty_write+0x148/0x2a0
  [ 6149.639831]  [<ffffffff814485b0>] ? process_echoes+0x70/0x70
  [ 6149.639834]  [<ffffffff811bc664>] vfs_write+0xb4/0x1f0
  [ 6149.639836]  [<ffffffff811bd099>] SyS_write+0x49/0xa0
  [ 6149.639839]  [<ffffffff8172a5bf>] tracesys+0xe1/0xe6
  [ 6149.639840] Code: 04 0f 85 28 01 00 00 48 8b 45 b0 48 8b 00 48 8b 78 10 e8 b5 93 72 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 
  [ 6149.639859] RIP  [<ffffffffa0e1b62f>] usb_wwan_write+0x12f/0x2e0 [usb_wwan]
  [ 6149.639862]  RSP <ffff88022e21dd58>
  [ 6149.639863] CR2: 0000000000000068
  [ 6149.639876] ---[ end trace d93fbd413d76f121 ]---
  --- 
  ApportVersion: 2.14.1-0ubuntu3.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  conradc    3379 F.... pulseaudio
   /dev/snd/controlC0:  conradc    3379 F.... pulseaudio
  CurrentDesktop: Unity
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-01-28 (105 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Dell Inc. Dell System XPS L702X
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-26-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash rcutree.rcu_idle_gp_delay=1 processor.nocst=1
  ProcVersionSignature: Ubuntu 3.13.0-26.48-generic 3.13.11
  Tags:  trusty
  Uname: Linux 3.13.0-26-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-04-23 (20 days ago)
  UserGroups: cdrom dialout dip lpadmin sambashare sudo vboxusers
  WifiSyslog:
   
  _MarkForUpload: True
  dmi.bios.date: 02/22/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A17
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 03RG89
  dmi.board.vendor: Dell Inc.
  dmi.board.version: FAB1
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA17:bd02/22/2012:svnDellInc.:pnDellSystemXPSL702X:pvr:rvnDellInc.:rn03RG89:rvrFAB1:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Dell System XPS L702X
  dmi.sys.vendor: Dell Inc.
  --- 
  ApportVersion: 2.14.1-0ubuntu3.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  conradc    3379 F.... pulseaudio
   /dev/snd/controlC0:  conradc    3379 F.... pulseaudio
  CurrentDesktop: Unity
  CurrentDmesg:
   Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
   dmesg: write failed: Broken pipe
  DistroRelease: Ubuntu 14.04
  InstallationDate: Installed on 2014-01-28 (105 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MachineType: Dell Inc. Dell System XPS L702X
  NonfreeKernelModules: nvidia
  Package: linux (not installed)
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-26-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash rcutree.rcu_idle_gp_delay=1 processor.nocst=1
  ProcVersionSignature: Ubuntu 3.13.0-26.48-generic 3.13.11
  Tags:  trusty
  Uname: Linux 3.13.0-26-generic x86_64
  UpgradeStatus: Upgraded to trusty on 2014-04-23 (20 days ago)
  UserGroups: cdrom dialout dip lpadmin root sambashare sudo vboxusers
  WifiSyslog:
   
  _MarkForUpload: True
  dmi.bios.date: 02/22/2012
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A17
  dmi.board.asset.tag: Base Board Asset Tag
  dmi.board.name: 03RG89
  dmi.board.vendor: Dell Inc.
  dmi.board.version: FAB1
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA17:bd02/22/2012:svnDellInc.:pnDellSystemXPSL702X:pvr:rvnDellInc.:rn03RG89:rvrFAB1:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Dell System XPS L702X
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1318974/+subscriptions


References