MC7304 Linux QMI drivers


#1

Hi,

  1. The latest QMI driver (GobiNet) are not support current mainline kernel. Workaround are absent.
    What versions of the kernel are currently supported?

  2. GobiNet (S2.27N2.41, S2.31N2.50) in Fedora environment hungup the host system, when modem was connected to usb. And need push reset to restore work the host. See this:

Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: New USB device found, idVendor=1199, idProduct=68c0
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: Product: MC7304
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: Manufacturer: Sierra Wireless, Incorporated
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: SerialNumber: 0123456789ABCDEF
Mar 30 21:03:04 localhost.localdomain kernel: GobiSerial 3-11:1.0: GobiSerial converter detected
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: GobiSerial converter now attached to ttyUSB1
Mar 30 21:03:04 localhost.localdomain kernel: GobiSerial 3-11:1.2: GobiSerial converter detected
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: GobiSerial converter now attached to ttyUSB2
Mar 30 21:03:04 localhost.localdomain kernel: GobiSerial 3-11:1.3: GobiSerial converter detected
Mar 30 21:03:04 localhost.localdomain kernel: usb 3-11: GobiSerial converter now attached to ttyUSB3
Mar 30 21:03:04 localhost.localdomain kernel: GobiNet 3-11:1.8 eth0: register 'GobiNet' at usb-0000:00:14.0-11, GobiNet Ethernet Device, 9a:73:25:a4:5
Mar 30 21:03:04 localhost.localdomain kernel: USB Speed : USB 2.0
Mar 30 21:03:04 localhost.localdomain kernel: GobiNet 3-11:1.10 eth1: register 'GobiNet' at usb-0000:00:14.0-11, GobiNet Ethernet Device, 9a:73:25:a4:
Mar 30 21:03:04 localhost.localdomain kernel: USB Speed : USB 2.0
Mar 30 21:03:04 localhost.localdomain kernel: GobiNet 3-11:1.10 enp0s20u11i10: renamed from eth1
Mar 30 21:03:04 localhost.localdomain kernel: GobiNet 3-11:1.8 enp0s20u11i8: renamed from eth0
Mar 30 21:03:04 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s20u11i10: link is not ready
Mar 30 21:03:04 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s20u11i10: link is not ready
Mar 30 21:03:04 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s20u11i8: link is not ready
Mar 30 21:03:04 localhost.localdomain kernel: IPv6: ADDRCONF(NETDEV_UP): enp0s20u11i8: link is not ready
Mar 30 21:03:10 localhost.localdomain kernel: usb 3-11: timeout: still 3 active urbs on EP #7
Mar 30 21:03:11 localhost.localdomain kernel: usb 3-11: timeout: still 3 active urbs on EP #7
Mar 30 21:03:14 localhost.localdomain kernel: xhci_hcd 0000:00:14.0: xHCI host not responding to stop endpoint command.
Mar 30 21:03:14 localhost.localdomain kernel: xhci_hcd 0000:00:14.0: xHCI host controller not responding, assume dead
Mar 30 21:03:14 localhost.localdomain kernel: xhci_hcd 0000:00:14.0: HC died; cleaning up
Mar 30 21:03:14 localhost.localdomain kernel: xhci_hcd 0000:00:14.0: Timeout while waiting for configure endpoint command
Mar 30 21:03:14 localhost.localdomain kernel: usb 3-11: Not enough bandwidth for altsetting 0
Mar 30 21:03:14 localhost.localdomain kernel: usb 3-9: USB disconnect, device number 2
Mar 30 21:03:14 localhost.localdomain kernel: ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0
Mar 30 21:03:14 localhost.localdomain kernel: ftdi_sio 3-9:1.0: device disconnected
Mar 30 21:03:14 localhost.localdomain kernel: usb 3-11: USB disconnect, device number 7
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial driver ttyUSB1: GobiSerial converter now disconnected from ttyUSB1
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial 3-11:1.0: device disconnected
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial driver ttyUSB2: GobiSerial converter now disconnected from ttyUSB2
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial 3-11:1.2: device disconnected
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial driver ttyUSB3: GobiSerial converter now disconnected from ttyUSB3
Mar 30 21:03:14 localhost.localdomain kernel: GobiSerial 3-11:1.3: device disconnected
Mar 30 21:03:14 localhost.localdomain kernel: GobiNet 3-11:1.8 enp0s20u11i8: unregister 'GobiNet' usb-0000:00:14.0-11, GobiNet Ethernet Device
Mar 30 21:03:34 localhost.localdomain kernel: NMI watchdog: Watchdog detected hard LOCKUP on cpu 1
Mar 30 21:03:34 localhost.localdomain kernel: Modules linked in: GobiNet(OE) GobiSerial(OE) snd_usb_audio snd_usbmidi_lib usbnet fuse nf_conntrack_net
Mar 30 21:03:34 localhost.localdomain kernel:  kvm irqbypass eeepc_wmi asus_wmi sparse_keymap rfkill crct10dif_pclmul crc32_pclmul snd_seq_midi snd_se
Mar 30 21:03:34 localhost.localdomain kernel: CPU: 1 PID: 0 Comm: swapper/1 Tainted: G           OE    4.15.12-201.fc26.x86_64 #1
Mar 30 21:03:34 localhost.localdomain kernel: Hardware name: ASUS All Series/H87-PLUS, BIOS 2003 10/15/2014
Mar 30 21:03:34 localhost.localdomain kernel: RIP: 0010:lock_timer_base+0x35/0x80
Mar 30 21:03:34 localhost.localdomain kernel: RSP: 0018:ffff9dc2dfa83d18 EFLAGS: 00000006
Mar 30 21:03:34 localhost.localdomain kernel: RAX: 0000000000000000 RBX: 00000000c9ae7d81 RCX: 0000000000000000
Mar 30 21:03:34 localhost.localdomain kernel: RDX: 00000000c9ae7d81 RSI: ffff9dc2dfa83d68 RDI: ffff9dc254280258
Mar 30 21:03:34 localhost.localdomain kernel: RBP: ffff9dc254280258 R08: 0000000000000000 R09: ffffffffa2453580
Mar 30 21:03:34 localhost.localdomain kernel: R10: fffff7980edbc040 R11: ffff9dc276f01248 R12: ffffffffa314d400
Mar 30 21:03:34 localhost.localdomain kernel: R13: 0000000000018b40 R14: ffff9dc2dfa83d68 R15: ffff9dc2c9e1427c
Mar 30 21:03:34 localhost.localdomain kernel: FS:  0000000000000000(0000) GS:ffff9dc2dfa80000(0000) knlGS:0000000000000000
Mar 30 21:03:34 localhost.localdomain kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 30 21:03:34 localhost.localdomain kernel: CR2: 00007f2c45072000 CR3: 000000041c20a006 CR4: 00000000001606e0
Mar 30 21:03:34 localhost.localdomain kernel: Call Trace:
Mar 30 21:03:34 localhost.localdomain kernel:  <IRQ>
Mar 30 21:03:34 localhost.localdomain kernel:  mod_timer+0x1e5/0x3b0
Mar 30 21:03:34 localhost.localdomain kernel:  IntCallback+0x1ec/0x3d0 [GobiNet]
Mar 30 21:03:34 localhost.localdomain kernel:  __usb_hcd_giveback_urb+0x9c/0x140
Mar 30 21:03:34 localhost.localdomain kernel:  xhci_giveback_urb_in_irq.isra.41+0x77/0xe0
Mar 30 21:03:34 localhost.localdomain kernel:  xhci_td_cleanup+0xe7/0x170
Mar 30 21:03:34 localhost.localdomain kernel:  xhci_irq+0x869/0x1f50
Mar 30 21:03:34 localhost.localdomain kernel:  ? update_cr8_intercept+0x90/0x90 [kvm]
Mar 30 21:03:34 localhost.localdomain kernel:  __handle_irq_event_percpu+0x40/0x190
Mar 30 21:03:34 localhost.localdomain kernel:  handle_irq_event_percpu+0x30/0x70
Mar 30 21:03:34 localhost.localdomain kernel:  handle_irq_event+0x27/0x50
Mar 30 21:03:34 localhost.localdomain kernel:  handle_edge_irq+0x73/0x190
Mar 30 21:03:34 localhost.localdomain kernel:  handle_irq+0xaf/0x120
Mar 30 21:03:34 localhost.localdomain kernel:  do_IRQ+0x41/0xc0
Mar 30 21:03:34 localhost.localdomain kernel:  common_interrupt+0x87/0x87
Mar 30 21:03:34 localhost.localdomain kernel:  </IRQ>
Mar 30 21:03:34 localhost.localdomain kernel: RIP: 0010:cpuidle_enter_state+0xa2/0x2e0
Mar 30 21:03:34 localhost.localdomain kernel: RSP: 0018:ffffac164190fea8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffffdd
Mar 30 21:03:34 localhost.localdomain kernel: RAX: ffff9dc2dfaa0a80 RBX: 000002b953941e56 RCX: 000000000000001f
Mar 30 21:03:34 localhost.localdomain kernel: RDX: 000002b953941e56 RSI: fffffffa75e1d6a6 RDI: 0000000000000000
Mar 30 21:03:34 localhost.localdomain kernel: RBP: ffff9dc2dfaaa400 R08: 00000000ffffffff R09: 0000000000000149
Mar 30 21:03:34 localhost.localdomain kernel: R10: ffffac164190fe88 R11: 000000000000033c R12: 0000000000000003
Mar 30 21:03:34 localhost.localdomain kernel: R13: ffffffffa32d13d8 R14: 0000000000000000 R15: 000002b953859a45
Mar 30 21:03:34 localhost.localdomain kernel:  ? cpuidle_enter_state+0x92/0x2e0
Mar 30 21:03:34 localhost.localdomain kernel:  do_idle+0x17b/0x1d0
Mar 30 21:03:34 localhost.localdomain kernel:  cpu_startup_entry+0x6f/0x80
Mar 30 21:03:34 localhost.localdomain kernel:  start_secondary+0x1a2/0x1f0
Mar 30 21:03:34 localhost.localdomain kernel:  secondary_startup_64+0xa5/0xb0
Mar 30 21:03:34 localhost.localdomain kernel: Code: 89 f6 41 55 49 c7 c5 40 8b 01 00 41 54 49 c7 c4 00 d4 14 a3 55 48 89 fd 53 eb 0d 48 89 c6 4c 89 ff
Mar 30 21:03:34 localhost.localdomain kernel: watchdog: BUG: soft lockup - CPU#3 stuck for 22s! [kworker/3:2:3659]
Mar 30 21:03:34 localhost.localdomain kernel: Modules linked in: GobiNet(OE) GobiSerial(OE) snd_usb_audio snd_usbmidi_lib usbnet fuse nf_conntrack_net
Mar 30 21:03:35 localhost.localdomain kernel:  kvm irqbypass eeepc_wmi asus_wmi sparse_keymap rfkill crct10dif_pclmul crc32_pclmul snd_seq_midi snd_se
Mar 30 21:03:35 localhost.localdomain kernel: CPU: 3 PID: 3659 Comm: kworker/3:2 Tainted: G           OE    4.15.12-201.fc26.x86_64 #1
Mar 30 21:03:35 localhost.localdomain kernel: Hardware name: ASUS All Series/H87-PLUS, BIOS 2003 10/15/2014
Mar 30 21:03:35 localhost.localdomain kernel: Workqueue: events wait_rcu_exp_gp
Mar 30 21:03:35 localhost.localdomain kernel: RIP: 0010:smp_call_function_single+0x91/0x100
Mar 30 21:03:35 localhost.localdomain kernel: RSP: 0018:ffffac16480efdc0 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff11
Mar 30 21:03:35 localhost.localdomain kernel: RAX: ffff9dc2dfba1c40 RBX: ffffffffa325ea00 RCX: 0000000000000001
Mar 30 21:03:35 localhost.localdomain kernel: RDX: ffffffffa325ea00 RSI: ffffffffa21143a0 RDI: 0000000000000002
Mar 30 21:03:35 localhost.localdomain kernel: RBP: ffffac16480efe10 R08: 0000000000000002 R09: 0000000000000004
Mar 30 21:03:35 localhost.localdomain kernel: R10: ffffac16480efe38 R11: 0000000000000001 R12: ffffffffa325ea00
Mar 30 21:03:35 localhost.localdomain kernel: R13: 0000000000000004 R14: 0000000000000001 R15: ffff9dc2dfb21980
Mar 30 21:03:35 localhost.localdomain kernel: FS:  0000000000000000(0000) GS:ffff9dc2dfb80000(0000) knlGS:0000000000000000
Mar 30 21:03:35 localhost.localdomain kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Mar 30 21:03:35 localhost.localdomain kernel: CR2: 000055e72abd81d0 CR3: 000000041c20a004 CR4: 00000000001606e0
Mar 30 21:03:35 localhost.localdomain kernel: Call Trace:
Mar 30 21:03:35 localhost.localdomain kernel:  ? sync_rcu_exp_select_cpus+0x1e0/0x3d0
Mar 30 21:03:35 localhost.localdomain kernel:  ? cpumask_next+0x17/0x20
Mar 30 21:03:35 localhost.localdomain kernel:  sync_rcu_exp_select_cpus+0x1e0/0x3d0
Mar 30 21:03:35 localhost.localdomain kernel:  ? rcu_barrier_func+0x50/0x50
Mar 30 21:03:35 localhost.localdomain kernel:  wait_rcu_exp_gp+0x1b/0x30
Mar 30 21:03:35 localhost.localdomain kernel:  process_one_work+0x175/0x390
Mar 30 21:03:35 localhost.localdomain kernel:  worker_thread+0x2e/0x380
Mar 30 21:03:35 localhost.localdomain kernel:  ? process_one_work+0x390/0x390
Mar 30 21:03:35 localhost.localdomain kernel:  kthread+0x113/0x130
Mar 30 21:03:35 localhost.localdomain kernel:  ? kthread_create_worker_on_cpu+0x70/0x70
Mar 30 21:03:35 localhost.localdomain kernel:  ? do_syscall_64+0x74/0x180
Mar 30 21:03:35 localhost.localdomain kernel:  ? SyS_exit+0x13/0x20
Mar 30 21:03:35 localhost.localdomain kernel:  ret_from_fork+0x35/0x40
Mar 30 21:03:35 localhost.localdomain kernel: Code: 58 0f 1f 44 00 00 f6 c4 02 74 75 85 c9 75 4e 48 c7 c0 40 1c 02 00 65 48 03 05 c4 b2 ed 5d 8b 48 18
lines 1051-1084/1084 (END)

The ModemManager, Network Manager are disabled.
The qmi_wwan was blacklisted. (qmi_wwan working normal, when enabled.)
What ideas?
Thanks.