Bug 203249 - mt7601u driver crashes
Summary: mt7601u driver crashes
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-10 17:08 UTC by Boris Neubert
Modified: 2021-01-08 13:29 UTC (History)
2 users (show)

See Also:
Kernel Version: 4.19.31-041931-generic
Subsystem:
Regression: No
Bisected commit-id:


Attachments
syslog (9.66 KB, text/plain)
2019-04-10 17:08 UTC, Boris Neubert
Details
mt7601u syslog (429 bytes, text/plain)
2019-04-10 21:03 UTC, Boris Neubert
Details

Description Boris Neubert 2019-04-10 17:08:48 UTC
Created attachment 282271 [details]
syslog

Since using a FRITZ!WLAN AC 860 stick, I suffer from system freezes. 

The last lines in the kernel log before the system stalls and needs a hard reset to continue: see "before crash" in attachment.

The device info: see "device info" in attachment

The device driver crashes and creates a bug report: see "driver crash" in attachment.

In one case, the driver continued to emit message even after I had remove the device physically from the system (unplugged the WiFi stick).
Comment 1 Lorenzo Bianconi 2019-04-10 20:51:36 UTC
(In reply to Boris Neubert from comment #0)
> Created attachment 282271 [details]
> syslog
> 
> Since using a FRITZ!WLAN AC 860 stick, I suffer from system freezes. 
> 
> The last lines in the kernel log before the system stalls and needs a hard
> reset to continue: see "before crash" in attachment.
> 
> The device info: see "device info" in attachment
> 
> The device driver crashes and creates a bug report: see "driver crash" in
> attachment.
> 
> In one case, the driver continued to emit message even after I had remove
> the device physically from the system (unplugged the WiFi stick).

AFAIK FRITZ!WLAN AC 860 dongle (057c:8503) is supported by mt76x2u while the warning reported in the attachment is related to mt7601u. Is the issue related to mt76x2u or mt7601u?
Comment 2 Boris Neubert 2019-04-10 21:03:29 UTC
Created attachment 282305 [details]
mt7601u syslog

Oh my, I had a second wifi dongle in my computer which is responsible for the mt7601u driver crash log. See attached mt7601u.txt for details on the dongle.

The system freezes are not caused by this one as they keep reoccuring even with the mt7601u dongle unplugged.
Comment 3 Boris Neubert 2019-04-10 21:05:38 UTC
changed summary to narrow the issue to the mt7601u driver crash and changed priority to normal
Comment 4 Lorenzo Bianconi 2019-04-10 21:12:27 UTC
(In reply to Boris Neubert from comment #2)
> Created attachment 282305 [details]
> mt7601u syslog
> 
> Oh my, I had a second wifi dongle in my computer which is responsible for
> the mt7601u driver crash log. See attached mt7601u.txt for details on the
> dongle.
> 
> The system freezes are not caused by this one as they keep reoccuring even
> with the mt7601u dongle unplugged.

So IIUC you confirm the issue is related only to mt76x2u (AFAIK FRITZ!WLAN AC 860) and not to mt7601u, right?
Comment 5 Boris Neubert 2019-04-11 17:03:24 UTC
Sorry that I did not make it clear.

This issue is about the mt7601u where I caught the driver crash in the kernel log and lots of error messages.

The freeze is not related to the mt7601u.
Comment 6 Lorenzo Bianconi 2019-04-11 17:17:16 UTC
(In reply to Boris Neubert from comment #5)
> Sorry that I did not make it clear.
> 
> This issue is about the mt7601u where I caught the driver crash in the
> kernel log and lots of error messages.

ok, I will look into it but I guess they are not harmful

> 
> The freeze is not related to the mt7601u.

is the freeze related to mt76x2u (AFAIK FRITZ!WLAN AC 860) or not related to the WiFi dongles?
Comment 7 Boris Neubert 2019-04-11 17:22:41 UTC
(In reply to Lorenzo Bianconi from comment #6)
 
> is the freeze related to mt76x2u (AFAIK FRITZ!WLAN AC 860) or not related to
> the WiFi dongles?

The freeze needs further investigation: it occurred several times yesterday evening but it did leave no trace in the logs. I need a cold reset to revive the computer again. I will open another issue if I can recover any useable information.

Thanks for taking care, Lorenzo!
Comment 8 Lorenzo Bianconi 2019-06-06 15:42:37 UTC
(In reply to Boris Neubert from comment #7)
> (In reply to Lorenzo Bianconi from comment #6)
>  
> > is the freeze related to mt76x2u (AFAIK FRITZ!WLAN AC 860) or not related
> to
> > the WiFi dongles?
> 
> The freeze needs further investigation: it occurred several times yesterday
> evening but it did leave no trace in the logs. I need a cold reset to revive
> the computer again. I will open another issue if I can recover any useable
> information.
> 
> Thanks for taking care, Lorenzo!

Could you please try the two following patches?
- https://patchwork.kernel.org/patch/10979455/
- https://patchwork.kernel.org/patch/10979811/
Comment 9 Boris Neubert 2019-06-06 17:56:04 UTC
In the meantime I replaced the WiFi dongle with a wired connection and put the WiFi dongle in another location. I will get it back on the weekend and will try next week.

This patches are not by any chance included in a precompiled kernel? Meaning I have get the kernel sources for my current kernel, patch the driver sources, compile kernel and modules, and force-load the mt7601u, right? (I did this last time at least 10 years ago :-)

Note You need to log in before you can comment on or make changes to this bug.