12d1:1506 [Dell XPS 17 (L702X)] USB modem oops error when unplugging and then plugging in again.

Bug #1318974 reported by Conrad Classen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

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.

affects: kerneloops (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1318974

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: USB modem oops error when unplugging and then plugging in again.

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.15 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.15-rc5-utopic/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Conrad Classen (conrad-classen) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Conrad Classen (conrad-classen) wrote : CRDA.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : HookError_source_linux.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : IwConfig.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : Lspci.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : Lsusb.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : ProcEnviron.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : ProcModules.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : PulseList.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : RfKill.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : UdevDb.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : UdevLog.txt

apport information

description: updated
Revision history for this message
Conrad Classen (conrad-classen) wrote : AlsaInfo.txt

apport information

Revision history for this message
Conrad Classen (conrad-classen) wrote : CRDA.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: added: kernel-unable-to-test-upstream
penalvch (penalvch)
tags: added: bios-outdated-a19 regression-release
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
summary: - USB modem oops error when unplugging and then plugging in again.
+ 12d1:1506 [Dell XPS 17 (L702X)] USB modem oops error when unplugging and
+ then plugging in again.
Revision history for this message
Conrad Classen (conrad-classen) wrote :

As per request, I have updated the Bios to the latest version.

The output of the two commads are as follows:

A19
09/07/2012

The problem still persists as originally described.

Thanks

Conrad

Revision history for this message
penalvch (penalvch) wrote :

Conrad Classen, the next step is to fully commit bisect in order to identify the offending commit. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

tags: added: latest-bios-a19
removed: bios-outdated-a19
Revision history for this message
Conrad Classen (conrad-classen) wrote :

Hi Christoper

The Notebook i have is a work machine and I am not allowed to load kernels that have not been provided in an offficial update.

I am unsure of how I can assist now, however as mentioned before i did not have this issue with the 13.10 release, it only started once I installed 14.04.

Perhaps booting from a live-cd image with the different kernels on it may be a work around here.

Perhaps this could also provide a way to have people test any specific kernel is to provide a live-cd image with all the relevant kernels already on it, which can be selected at boot. This would be helpful in those situations were a user is technically unable to build a kernel or is prevented from doing so due to restrictions of some kind.

Thanks

Conrad

Revision history for this message
penalvch (penalvch) wrote :

Conrad Classen, you would want to coordinate with the IT group for either an additional test machine, or a temporary policy exception so that this problem may be bisected and fixed without delay. Ultimately, if a preliminary patch is produced as a result of this report, and you were requested to test it to verify the results, you and your employer wouldn't be able to quickly observe the benefits of the fix.

tags: added: needs-bisect
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Test with newer development kernel (3.13.0-24.46)

Thank you for taking the time to file a bug report on this issue.

However, given the number of bugs that the Kernel Team receives during any development cycle it is impossible for us to review them all. Therefore, we occasionally resort to using automated bots to request further testing. This is such a request.

  With the recent release of this Ubuntu release, would like to confirm if this bug is still present. Please test again with the newer kernel and indicate in the bug if this issue still exists or not.

You can update to the latest development kernel by simply running the following commands in a terminal window:

    sudo apt-get update
    sudo apt-get dist-upgrade

If the bug still exists, change the bug status from Incomplete to Confirmed. If the bug no longer exists, change the bug status from Incomplete to Fix Released.

If you want this bot to quit automatically requesting kernel tests, add a tag named: bot-stop-nagging.

 Thank you for your help, we really do appreciate it.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
tags: added: kernel-request-3.13.0-24.46
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.