Connecting ZTE MF636 crashes kernel in Ubuntu 13.04

Bug #1233574 reported by Robert Engels on 2013-10-01
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
usb-modeswitch (Ubuntu)
Undecided
Unassigned

Bug Description

Upon connecting my ZTE MF636 modem to a 13.04 instance on an ACER Aspire 7750G the kernel crashes.
It looks like the modem is correctly identified, the MMC/storage part hooked up, modeswitch tried and then
>> BUG: unable to handle kernel NULL pointer dereference <<

Any workarounds know? Can't find similar bugreports on lauchnpad..

========== RELEVANT PART OF SYSLOG =========================================
Oct 1 10:56:16 dante kernel: [ 9.737626] userif-2: sent link up event.<6>[ 758.886054] usb 2-1.4: new high-speed USB device number 3 using ehci-pci
Oct 1 10:56:16 dante kernel: [ 758.989255] usb 2-1.4: New USB device found, idVendor=19d2, idProduct=2000
Oct 1 10:56:16 dante kernel: [ 758.989267] usb 2-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Oct 1 10:56:16 dante kernel: [ 758.989273] usb 2-1.4: Product: ZTE CDMA Technologies MSM
Oct 1 10:56:16 dante kernel: [ 758.989278] usb 2-1.4: Manufacturer: ZTE, Incorporated
Oct 1 10:56:16 dante kernel: [ 758.990802] scsi7 : usb-storage 2-1.4:1.0
Oct 1 10:56:16 dante mtp-probe: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
Oct 1 10:56:16 dante mtp-probe: bus: 2, device: 3 was not an MTP device
Oct 1 10:56:17 dante kernel: [ 759.992776] scsi 7:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 2.31 PQ: 0 ANSI: 0
Oct 1 10:56:17 dante kernel: [ 760.006270] sr1: scsi3-mmc drive: 0x/52x cd/rw xa/form2 cdda tray
Oct 1 10:56:17 dante kernel: [ 760.006644] sr 7:0:0:0: Attached scsi CD-ROM sr1
Oct 1 10:56:17 dante kernel: [ 760.006881] sr 7:0:0:0: Attached scsi generic sg3 type 5
Oct 1 10:56:17 dante usb_modeswitch: switching device 19d2:2000 on 002/003
Oct 1 10:56:17 dante kernel: [ 760.152390] cdrom: issuing MRW background format suspend
Oct 1 10:56:17 dante kernel: [ 760.162171] sr1: CDROM not ready. Make sure there is a disc in the drive.
Oct 1 10:56:19 dante kernel: [ 762.431281] usb 2-1.4: USB disconnect, device number 3
Oct 1 10:56:19 dante wpa_supplicant[1228]: eth1: CTRL-EVENT-DISCONNECTED bssid=90:21:55:b6:59:4f reason=0
Oct 1 10:56:19 dante vmnetBridge: RTM_NEWLINK: name:eth1 index:3 flags:0x00011003
Oct 1 10:56:19 dante vmnetBridge: Removing interface eth1 index:3
Oct 1 10:56:19 dante vmnet-natd: RTM_NEWLINK: name:eth1 index:3 flags:0x00011003
Oct 1 10:56:19 dante vmnetBridge: Stopped bridge eth1 to virtual network 0.
Oct 1 10:56:19 dante kernel: [ 762.432230] cfg80211: Calling CRDA to update world regulatory domain
Oct 1 10:56:19 dante kernel: [ 762.432991] bridge-eth1: disabling the bridge on dev down
Oct 1 10:56:19 dante kernel: [ 762.433043] bridge-eth1: down
Oct 1 10:56:19 dante kernel: [ 762.433059] bridge-eth1: detached
Oct 1 10:56:19 dante NetworkManager[1166]: <info> (eth1): supplicant interface state: completed -> disconnected
Oct 1 10:56:19 dante kernel: [ 762.441657] cfg80211: World regulatory domain updated:
Oct 1 10:56:19 dante kernel: [ 762.441665] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Oct 1 10:56:19 dante kernel: [ 762.441672] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 1 10:56:19 dante kernel: [ 762.441677] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 1 10:56:19 dante kernel: [ 762.441682] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
Oct 1 10:56:19 dante kernel: [ 762.441687] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 1 10:56:19 dante kernel: [ 762.441691] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Oct 1 10:56:19 dante NetworkManager[1166]: <info> (eth1): supplicant interface state: disconnected -> scanning
Oct 1 10:56:19 dante kernel: [ 762.633274] userif-2: sent link down event.
Oct 1 10:56:25 dante kernel: [ 762.633285] userif-2: sent link up event.<6>[ 767.884787] usb 2-1.4: new high-speed USB device number 4 using ehci-pci
Oct 1 10:56:25 dante kernel: [ 767.979545] usb 2-1.4: New USB device found, idVendor=19d2, idProduct=0031
Oct 1 10:56:25 dante kernel: [ 767.979557] usb 2-1.4: New USB device strings: Mfr=2, Product=1, SerialNumber=3
Oct 1 10:56:25 dante kernel: [ 767.979563] usb 2-1.4: Product: ZTE CDMA Technologies MSM
Oct 1 10:56:25 dante kernel: [ 767.979569] usb 2-1.4: Manufacturer: ZTE, Incorporated
Oct 1 10:56:25 dante kernel: [ 767.979573] usb 2-1.4: SerialNumber: 1234567890ABCDEF
Oct 1 10:56:29 dante kernel: [ 772.688118] scsi8 : usb-storage 2-1.4:1.2
Oct 1 10:56:29 dante mtp-probe: checking bus 2, device 4: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
Oct 1 10:56:29 dante mtp-probe: bus: 2, device: 4 was not an MTP device
Oct 1 10:56:30 dante kernel: [ 772.712174] usbcore: registered new interface driver usbserial
Oct 1 10:56:30 dante kernel: [ 772.712237] usbcore: registered new interface driver usbserial_generic
Oct 1 10:56:30 dante kernel: [ 772.712306] usbserial: USB Serial support registered for generic
Oct 1 10:56:30 dante kernel: [ 772.725038] usbcore: registered new interface driver option
Oct 1 10:56:30 dante kernel: [ 772.725093] usbserial: USB Serial support registered for GSM modem (1-port)
Oct 1 10:56:30 dante kernel: [ 772.725986] option 2-1.4:1.0: GSM modem (1-port) converter detected
Oct 1 10:56:30 dante kernel: [ 772.726407] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB0
Oct 1 10:56:30 dante kernel: [ 772.726517] option 2-1.4:1.1: GSM modem (1-port) converter detected
Oct 1 10:56:30 dante kernel: [ 772.726703] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB1
Oct 1 10:56:30 dante kernel: [ 772.726786] option 2-1.4:1.3: GSM modem (1-port) converter detected
Oct 1 10:56:30 dante kernel: [ 772.727011] usb 2-1.4: GSM modem (1-port) converter now attached to ttyUSB2
Oct 1 10:56:30 dante modem-manager[1021]: <info> (ttyUSB2) opening serial port...
Oct 1 10:56:30 dante modem-manager[1021]: <warn> (ttyUSB2): port attributes not fully set
Oct 1 10:56:30 dante modem-manager[1021]: <info> (ttyUSB0) opening serial port...
Oct 1 10:56:30 dante modem-manager[1021]: <warn> (ttyUSB0): port attributes not fully set
Oct 1 10:56:30 dante modem-manager[1021]: <info> (ttyUSB1) opening serial port...
Oct 1 10:56:30 dante modem-manager[1021]: <warn> (ttyUSB1): port attributes not fully set
Oct 1 10:56:30 dante usb_modeswitch: switched to 19d2:0031 on 002/003
Oct 1 10:56:30 dante kernel: [ 773.686091] scsi 8:0:0:0: Direct-Access ZTE MMC Storage 322 PQ: 0 ANSI: 2
Oct 1 10:56:30 dante kernel: [ 773.686592] scsi 8:0:0:1: Direct-Access ZTE MMC Storage 322 PQ: 0 ANSI: 2
Oct 1 10:56:30 dante kernel: [ 773.687106] sd 8:0:0:0: Attached scsi generic sg3 type 0
Oct 1 10:56:30 dante kernel: [ 773.687242] sd 8:0:0:1: Attached scsi generic sg4 type 0
Oct 1 10:56:30 dante kernel: [ 773.688659] sd 8:0:0:0: [sdc] 20480 512-byte logical blocks: (10.4 MB/10.0 MiB)
Oct 1 10:56:30 dante kernel: [ 773.689402] sd 8:0:0:0: [sdc] Write Protect is on
Oct 1 10:56:30 dante kernel: [ 773.689405] sd 8:0:0:0: [sdc] Mode Sense: 0f 0e 80 00
Oct 1 10:56:30 dante kernel: [ 773.690025] sd 8:0:0:1: [sdd] Attached SCSI removable disk
Oct 1 10:56:30 dante kernel: [ 773.690772] sd 8:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 1 10:56:31 dante kernel: [ 773.705023] sdc:
Oct 1 10:56:31 dante kernel: [ 773.714120] sd 8:0:0:0: [sdc] Attached SCSI removable disk
Oct 1 10:56:31 dante usb_modeswitch[3081]: usb_modeswitch: switched to 19d2:0031 on 2/4
Oct 1 10:56:31 dante kernel: [ 773.857643] BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
Oct 1 10:56:31 dante kernel: [ 773.857675] IP: [<ffffffffa039b6a0>] usb_wwan_write+0xe0/0x1f0 [usb_wwan]
Oct 1 10:56:31 dante kernel: [ 773.857699] PGD 436ec0067 PUD 436137067 PMD 0
Oct 1 10:56:31 dante kernel: [ 773.857726] Oops: 0000 [#1] SMP
Oct 1 10:56:31 dante kernel: [ 773.857741] Modules linked in: nls_iso8859_1(F) option usb_wwan usbserial vmnet(OF) snd_hda_codec_hdmi parport_pc(F) ppdev(F) vsock(OF) rfcomm bnep bluetooth vmci(OF) vmmon(OF) binfmt_misc(F) joydev(F) coretemp kvm_intel(F) uvcvideo kvm(F) ghash_clmulni_intel(F) aesni_intel(F) aes_x86_64(F) xts(F) lrw(F) gf128mul(F) ablk_helper(F) cryptd(F) videobuf2_vmalloc videobuf2_memops acer_wmi videobuf2_core videodev sparse_keymap lib80211_crypt_tkip psmouse(F) serio_raw(F) wl(POF) lib80211 cfg80211 lpc_ich microcode(F) snd_hda_codec_realtek snd_hda_intel snd_hda_codec radeon snd_hwdep(F) snd_pcm(F) snd_page_alloc(F) snd_seq_midi(F) snd_seq_midi_event(F) snd_rawmidi(F) snd_seq(F) video(F) ttm mac_hid wmi drm_kms_helper snd_seq_device(F) drm snd_timer(F) mei snd(F) i2c_algo_bit soundcore(F) lp(F) parport(F) ums_realtek usb_storage(F) atl1c ahci(F) libahci(F)
Oct 1 10:56:31 dante kernel: [ 773.858051] CPU 1
Oct 1 10:56:31 dante kernel: [ 773.858060] Pid: 1021, comm: modem-manager Tainted: PF O 3.8.0-30-generic #44-Ubuntu Acer Aspire 7750G/JE70_HR
Oct 1 10:56:31 dante kernel: [ 773.858090] RIP: 0010:[<ffffffffa039b6a0>] [<ffffffffa039b6a0>] usb_wwan_write+0xe0/0x1f0 [usb_wwan]
Oct 1 10:56:31 dante kernel: [ 773.858118] RSP: 0018:ffff880435b07d98 EFLAGS: 00010283
Oct 1 10:56:31 dante kernel: [ 773.858134] RAX: 0000000000000000 RBX: ffff88040b44e980 RCX: 0000000000001000
Oct 1 10:56:31 dante kernel: [ 773.858153] RDX: 0000000000000000 RSI: 0000000000000286 RDI: 0000000000000286
Oct 1 10:56:31 dante kernel: [ 773.858173] RBP: ffff880435b07df8 R08: 0000000000000000 R09: ffff8803a7d5f000
Oct 1 10:56:31 dante kernel: [ 773.858193] R10: ffff880436884c00 R11: 0000000000000246 R12: 0000000000000001
Oct 1 10:56:31 dante kernel: [ 773.858212] R13: ffff88040b44e900 R14: 0000000000000000 R15: 0000000000000000
Oct 1 10:56:31 dante kernel: [ 773.858233] FS: 00007f1dd00617c0(0000) GS:ffff88044f440000(0000) knlGS:0000000000000000
Oct 1 10:56:31 dante kernel: [ 773.858255] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Oct 1 10:56:31 dante kernel: [ 773.858271] CR2: 0000000000000068 CR3: 0000000436288000 CR4: 00000000000407e0
Oct 1 10:56:31 dante kernel: [ 773.858291] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Oct 1 10:56:31 dante kernel: [ 773.858311] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Oct 1 10:56:31 dante kernel: [ 773.858331] Process modem-manager (pid: 1021, threadinfo ffff880435b06000, task ffff880438040000)
Oct 1 10:56:31 dante kernel: [ 773.858355] Stack:
Oct 1 10:56:31 dante kernel: [ 773.858361] 0000000000000282 ffff88040b44e990 ffff8803a7e14000 ffffffff8107e1a6
Oct 1 10:56:31 dante kernel: [ 773.858387] ffff880436884c00 ffffffff00000001 ffff8803a7ca73e0 0000000000000001
Oct 1 10:56:31 dante kernel: [ 773.858412] ffff880436884c00 000000000163b130 ffff880438040000 ffff8803c51d9000
Oct 1 10:56:31 dante kernel: [ 773.858437] Call Trace:
Oct 1 10:56:31 dante kernel: [ 773.858448] [<ffffffff8107e1a6>] ? remove_wait_queue+0x56/0x60
Oct 1 10:56:31 dante kernel: [ 773.858467] [<ffffffffa025a065>] serial_write+0x35/0x60 [usbserial]
Oct 1 10:56:31 dante kernel: [ 773.858487] [<ffffffff81414015>] n_tty_write+0x355/0x460
Oct 1 10:56:31 dante kernel: [ 773.858506] [<ffffffff8108f4a0>] ? try_to_wake_up+0x2a0/0x2a0
Oct 1 10:56:31 dante kernel: [ 773.858524] [<ffffffff81410da9>] tty_write+0x159/0x2d0
Oct 1 10:56:31 dante kernel: [ 773.858540] [<ffffffff81413cc0>] ? n_tty_poll+0x1c0/0x1c0
Oct 1 10:56:31 dante kernel: [ 773.858557] [<ffffffff8119484c>] vfs_write+0xac/0x180
Oct 1 10:56:31 dante kernel: [ 773.858573] [<ffffffff81194b92>] sys_write+0x52/0xa0
Oct 1 10:56:31 dante kernel: [ 773.858589] [<ffffffff811a868b>] ? sys_poll+0x6b/0x100
Oct 1 10:56:31 dante kernel: [ 773.858605] [<ffffffff816d575d>] system_call_fastpath+0x1a/0x1f
Oct 1 10:56:31 dante kernel: [ 773.858622] Code: 3b 19 c0 85 c0 75 b4 48 8b 55 b0 48 8b 02 48 8b 78 10 e8 a4 5a 16 e1 85 c0 0f 88 9c 00 00 00 41 81 fc 00 10 00 00 b9 00 10 00 00 <49> 8b 7e 68 41 0f 4e cc 48 8b 75 c0 89 4d cc 48 63 c9 48 89 ca
Oct 1 10:56:31 dante kernel: [ 773.858763] RIP [<ffffffffa039b6a0>] usb_wwan_write+0xe0/0x1f0 [usb_wwan]
Oct 1 10:56:31 dante kernel: [ 773.858785] RSP <ffff880435b07d98>
Oct 1 10:56:31 dante kernel: [ 773.858795] CR2: 0000000000000068
Oct 1 10:56:31 dante kernel: [ 773.863909] ---[ end trace b47ac0daeb4b3adf ]---
Oct 1 10:56:31 dante NetworkManager[1166]: <info> the modem manager disappeared
Oct 1 10:56:31 dante dbus[957]: [system] Activating service name='org.freedesktop.ModemManager' (using servicehelper)
Oct 1 10:56:31 dante modem-manager[3163]: <info> ModemManager (version 0.6.0.0) starting...
Oct 1 10:56:31 dante kernel: [ 773.866533] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866534] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866535] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866537] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866538] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866539] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866540] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866541] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866543] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866544] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866545] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866546] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866547] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.866549] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876211] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876212] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876213] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876214] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876216] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876217] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876218] tty_release: ttyUSB0: read/write wait queue active!
Oct 1 10:56:31 dante kernel: [ 773.876219] tty_release: ttyUSB0: read/write wait queue active!
\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usb-modeswitch (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers