Ubuntu freezes when AC 430 WiFi Dongle is plugged in

Bug #1824650 reported by Rico Heartstrings on 2019-04-13
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)

Bug Description

Ubuntu crashes after a short time after plugging in the WiFi stick "AC430". The kernel fails to load the driver and the following message appears repeatedly:

[ 800.177462] mt76x0u 1- rx urb failed: -32
[ 800.177711] mt76x0u 1- rx urb failed: -32
[ 800.177961] mt76x0u 1- rx urb failed: -32
[ 800.178211] mt76x0u 1- rx urb failed: -32
[ 800.178461] mt76x0u 1- rx urb failed: -32
[ 800.178712] mt76x0u 1- rx urb failed: -32
[ 800.181962] mt76x0u 1- rx urb failed: -32

Tested with Kernel 4.19 and 5.0 (5.0.2)
Tested with the following distributions:
Ubuntu Cosmic Cuttlefish 18.10
Ubuntu Studio 18.10
Ubuntu Disco Dingo 19.04

40-usb_modeswitch.rules was already modified to load the driver, otherwise the system chooses Driver=option.
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu13.2
Architecture: amd64
CurrentDesktop: XFCE
DistroRelease: Ubuntu 18.10
InstallationDate: Installed on 2019-03-31 (13 days ago)
InstallationMedia: Ubuntu-Studio 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.2)
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
Tags: cosmic
Uname: Linux 5.0.2-050002-lowlatency x86_64
UnreportableReason: The running kernel is not an Ubuntu kernel
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm audio cdrom dialout dip fax floppy lpadmin plugdev sambashare scanner sudo tape vboxusers video
_MarkForUpload: True

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1824650

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
Kai-Heng Feng (kaihengfeng) wrote :

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

Once testing of the upstream kernel is complete, please mark this bug as
"Confirmed”, and attach dmesg.

Thanks in advance.

[0] https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.1-rc4/

apport information

tags: added: apport-collected cosmic
description: updated

apport information

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Kai-Heng Feng (kaihengfeng) wrote :

Please attach full dmesg under v5.1-rc4.

Kai-Heng Feng (kaihengfeng) wrote :

Does kernel parameter mt76x0u.disable_usb_sg=1 help for v5.1-rc4?

I've modified the /etc/sysctl.conf with


but the error still appears.

Kai-Heng Feng (kaihengfeng) wrote :

What's the output of `cat /sys/module/mt76x0u/parameters/disable_usb_sg`?

karmen (blue-t) wrote :

The AC860 seems to suffer from the same problem.

Here is the output of 'cat: /sys/module/mt76x0u/parameters/disable_usb_sg'

cat: /sys/module/mt76x0u/parameters/disable_usb_sg: No such file or directory

It seems the only directory where the module is located is /lib/modules/x.xx.x-xxxxxx-lowlatency/kernel/drivers/net/wireless/mediatek/mt76/...

Kai-Heng Feng (kaihengfeng) wrote :

Please use /etc/modprobe.d or kernel parameter instead of sysctl.conf.

I've created a wireless.conf in the /etc/modprobe.d directory with the following line: 'mt76x0u.disable_usb_sg=1'.

Now the AC430 is booting right into Dongle-mode instead of USB-Storage-mode, but the error still appears.

Kai-Heng Feng (kaihengfeng) wrote :

Should be "options mt76x0u disable_usb_sg=1".

I've replaced the line "mt76x0u.disable_usb_sg=1" with "options mt76x0u disable_usb_sg=1" and did a reboot, same result. The AC430 is booting right into Dongle-mode instead of USB-Storage-mode, but the error still appears.

Kai-Heng Feng (kaihengfeng) wrote :

Sorry for the belated response.

There are some of new fixes in latest mainline kernel. Can you test it again?

Hello Kai-Heng Feng!

The upgrade to the mainline kernel ver. 5.3rc3 fixed the problem, now it's working OOTB! Thank you everyone for your hints and support!

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

Other bug subscribers