MT7601U module crashes with 4.4.0.45 Kernel

Bug #1638025 reported by Rohit Mundra
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned

Bug Description

There are frequent crash seen with MT7601U module with latest kernel 4.4.0.45.

[ 135.900428] ------------[ cut here ]------------
[ 135.900434] WARNING: CPU: 1 PID: 13 at /build/linux-kOWph6/linux-4.4.0/drivers/net/wireless/mediatek/mt7601u/dma.c:291 mt7601u_dma_enqueue_tx+0x26b/0x2a0 [mt7601u]()
[ 135.900435] Modules linked in:
[ 135.900436] systemd-journald[256]: /dev/kmsg buffer overrun, some messages lost.
[ 135.900437] ip6table_filter
[ 135.900439] ip6_tables iptable_filter
[ 135.900440] systemd-journald[256]: /dev/kmsg buffer overrun, some messages lost.
[ 135.900441] ip_tables x_tables drbg ansi_cprng ctr ccm arc4 mt7601u mac80211 cfg80211 intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp nls_iso8859_1 kvm_intel kvm rndis_host cdc_ether irqbypass usbnet snd_hda_codec_hdmi snd_hda_codec_realtek crct10dif_pclmul crc32_pclmul snd_hda_codec_generic snd_hda_intel aesni_intel aes_x86_64 joydev snd_hda_codec input_leds lrw snd_hda_core gf128mul snd_hwdep glue_helper snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ablk_helper snd_timer snd serio_raw soundcore cryptd mei_me mei shpchp lpc_ich mac_hid tpm_infineon 8250_fintek parport_pc ppdev lp parport autofs4 raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 multipath linear hid_generic usbhid hid i915 i2c_algo_bit
[ 135.900472] drm_kms_helper syscopyarea psmouse sysfillrect sysimgblt fb_sys_fops drm ahci r8169 libahci mii video fjes
[ 135.900478] CPU: 1 PID: 13 Comm: ksoftirqd/1 Tainted: G W 4.4.0-45-generic #66-Ubuntu
[ 135.900479] Hardware name: Gigabyte Technology Co., Ltd. H81M-S2PH/H81M-S2PH, BIOS FC 11/10/2014
[ 135.900480] 0000000000000086 00000000489d46bf ffff880215b3f970 ffffffff813f1fe3
[ 135.900483] 0000000000000000 ffffffffc04ec118 ffff880215b3f9a8 ffffffff81081212
[ 135.900485] ffff880035716858 ffff880210e32898 0000000000000005 ffff8800d0dc8d00
[ 135.900487] Call Trace:
[ 135.900490] [<ffffffff813f1fe3>] dump_stack+0x63/0x90
[ 135.900492] [<ffffffff81081212>] warn_slowpath_common+0x82/0xc0
[ 135.900494] [<ffffffff8108135a>] warn_slowpath_null+0x1a/0x20
[ 135.900498] [<ffffffffc04e3b1b>] mt7601u_dma_enqueue_tx+0x26b/0x2a0 [mt7601u]
[ 135.900511] [<ffffffffc06d5b84>] ? minstrel_ht_get_rate+0x34/0x4c0 [mac80211]
[ 135.900516] [<ffffffffc04e8b33>] mt7601u_tx+0x223/0x3c0 [mt7601u]
[ 135.900528] [<ffffffffc0676164>] ? ieee80211_crypto_ccmp_encrypt+0x34/0x250 [mac80211]
[ 135.900540] [<ffffffffc0696180>] ieee80211_tx_frags+0x170/0x3b0 [mac80211]
[ 135.900552] [<ffffffffc0696b91>] __ieee80211_tx+0x81/0x180 [mac80211]
[ 135.900554] systemd-journald[256]: /dev/kmsg buffer overrun, some messages lost.
[ 135.900569] [<ffffffffc069a23f>] ieee80211_tx+0xdf/0x110 [mac80211]
[ 135.900582] [<ffffffffc069a30b>] ieee80211_xmit+0x9b/0xf0 [mac80211]
[ 135.900594] [<ffffffffc069ae6b>] __ieee80211_subif_start_xmit+0x55b/0x790 [mac80211]
[ 135.900598] [<ffffffff81710f89>] ? csum_partial_ext+0x9/0x10
[ 135.900604] [<ffffffff81713295>] ? __skb_checksum+0x65/0x2d0
[ 135.900608] [<ffffffff810b36bf>] ? select_idle_sibling+0xef/0x120
[ 135.900613] [<ffffffff81710d09>] ? kfree_skbmem+0x59/0x60
[ 135.900617] [<ffffffff81711f04>] ? consume_skb+0x34/0x90
[ 135.900622] [<ffffffff81815884>] ? packet_rcv+0x44/0x440
[ 135.900634] [<ffffffffc069b0b0>] ieee80211_subif_start_xmit+0x10/0x20 [mac80211]
[ 135.900638] [<ffffffff817287a9>] dev_hard_start_xmit+0x249/0x3d0
[ 135.900642] [<ffffffff8174d35c>] sch_direct_xmit+0xfc/0x220
[ 135.900647] [<ffffffff8174d583>] __qdisc_run+0x103/0x1a0
[ 135.900651] [<ffffffff81724ed0>] net_tx_action+0xe0/0x240
[ 135.900652] systemd-journald[256]: /dev/kmsg buffer overrun, some messages lost.
[ 135.900660] [<ffffffff81085c71>] __do_softirq+0x101/0x290
[ 135.900664] [<ffffffff81085e28>] run_ksoftirqd+0x28/0x50
[ 135.900669] [<ffffffff810a3cd5>] smpboot_thread_fn+0x105/0x160
[ 135.900671] [<ffffffff810a3bd0>] ? sort_range+0x30/0x30
[ 135.900673] [<ffffffff810a0928>] kthread+0xd8/0xf0
[ 135.900674] [<ffffffff810a0850>] ? kthread_create_on_node+0x1e0/0x1e0
[ 135.900677] [<ffffffff81831c4f>] ret_from_fork+0x3f/0x70
[ 135.900679] [<ffffffff810a0850>] ? kthread_create_on_node+0x1e0/0x1e0
[ 135.900680] ---[ end trace 492e0702110b49d9 ]---

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-45-generic 4.4.0-45.66
ProcVersionSignature: Ubuntu 4.4.0-45.66-generic 4.4.21
Uname: Linux 4.4.0-45-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: rohit 2164 F.... pulseaudio
 /dev/snd/controlC0: rohit 2164 F.... pulseaudio
CurrentDesktop: Unity
Date: Mon Oct 31 20:09:30 2016
HibernationDevice: RESUME=UUID=11a54c6b-4b7c-4d4e-b084-6d6916d01e1a
InstallationDate: Installed on 2015-08-28 (429 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
MachineType: Gigabyte Technology Co., Ltd. H81M-S2PH
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-45-generic root=UUID=fdd19df7-3b7b-479a-8caa-d9e7f62e0641 ro quiet splash nomdmonddf nomdmonisw vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-45-generic N/A
 linux-backports-modules-4.4.0-45-generic N/A
 linux-firmware 1.157.4
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/10/2014
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: FC
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H81M-S2PH
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrFC:bd11/10/2014:svnGigabyteTechnologyCo.,Ltd.:pnH81M-S2PH:pvrTobefilledbyO.E.M.:rvnGigabyteTechnologyCo.,Ltd.:rnH81M-S2PH:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: H81M-S2PH
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Rohit Mundra (rmundra) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream stable kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.4 stable 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/v4.4.30

Changed in linux (Ubuntu):
importance: Undecided → High
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Also, does this issue go away if you boot back into the previous kernel version?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Rohit Mundra (rmundra) wrote :

I checked it with 4.4.0-43 and 4.4.30

4.4.0-43 - Failed with same error.
4.4.30 - Finding the same error when using mt7601u.

This is happening with the mt7601u module usage only, and don't know why it is throwing the error with this particular module, earlier ubuntu release didn't had this module inbuilt, this got available with 16.04 only.

Additional error seen from this module are as below. So, it may be an module specific error.
[ 588.674160] mt7601u 3-6:1.0: Error: send MCU cmd failed:-110
[ 589.174160] mt7601u 3-6:1.0: Error: send MCU cmd failed:-110
[ 589.674170] mt7601u 3-6:1.0: Error: send MCU cmd failed:-110
[ 590.174146] mt7601u 3-6:1.0: Error: send MCU cmd failed:-110
[ 590.174153] mt7601u 3-6:1.0: mt7601u_rxdc_cal intro failed:-110
[ 590.674150] mt7601u 3-6:1.0: Error: send MCU cmd failed:-110
[ 590.674156] mt7601u 3-6:1.0: mt7601u_rxdc_cal outro failed:-110
[ 590.677720] mt7601u 3-6:1.0: Error: MCU response pre-completed!
[ 590.677759] mt7601u 3-6:1.0: Error: MCU resp evt:0 seq:1-a!

Revision history for this message
Rohit Mundra (rmundra) wrote :

There is some issue with mt7601u module available with default kernel post 16.04.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
You-Sheng Yang (vicamo)
tags: added: hwe-networking-wifi
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.