Search Linux Wireless

mt7921e: Network device not responding following chip reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Takashi (in cc) and I have been looking at a strange mt7921e issue I encountered and any help to get to the bottom of it would be much appreciated. During normal use of my machine sometimes the network would become unreachable and any network related commands, such as ping or ss, would hang indefinitely when executed in a terminal. This is what a typical dmesg output would look like (see URL at the end of this message for full details):

[11249.676616] r8169 0000:02:00.0 enp2s0f0: Link is Down
[11453.812782] mt7921e 0000:03:00.0: driver own failed
[11454.986117] mt7921e 0000:03:00.0: driver own failed
[11454.986134] mt7921e 0000:03:00.0: chip reset
[11456.170894] mt7921e 0000:03:00.0: driver own failed
[11456.278532] pcieport 0000:00:02.3: pciehp: Slot(0): Link Down
[11456.278536] pcieport 0000:00:02.3: pciehp: Slot(0): Card not present
[11456.313973] wlp3s0: deauthenticating from f8:5b:3b:0f:2b:9f by local choice (Reason: 3=DEAUTH_LEAVING)
[11457.286206] mt7921e 0000:03:00.0: Timeout for driver own
[11458.400420] mt7921e 0000:03:00.0: driver own failed
[11458.400442] ------------[ cut here ]------------
[11458.400443] WARNING: CPU: 2 PID: 8597 at kernel/kthread.c:659 kthread_park+0x81/0x90

I have noticed this issue both with tainted and not tainted kernels. To me it looks like some kind of hardware reset timed out (or the hardware was probed too quickly). This is what a successful chip reset looks like in my logs:

Chip reset OK, no warning
-------------------------
Jul 04 13:06:33 savra kernel: mt7921e 0000:03:00.0: driver own failed
Jul 04 13:06:35 savra kernel: mt7921e 0000:03:00.0: driver own failed
Jul 04 13:06:35 savra kernel: mt7921e 0000:03:00.0: chip reset
Jul 04 13:06:35 savra kernel: mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220311230842a
Jul 04 13:06:35 savra kernel: mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220311230931
Jul 04 13:06:36 savra kernel: wlp3s0: Driver requested disconnection from AP f8:5b:3b:0f:2b:9f

And this is what the chip reset looks like when the issue occurs:

Chip reset timeout, warning
---------------------------
Aug 03 12:18:00 savra kernel: mt7921e 0000:03:00.0: driver own failed
Aug 03 12:18:02 savra kernel: mt7921e 0000:03:00.0: driver own failed
Aug 03 12:18:02 savra kernel: mt7921e 0000:03:00.0: chip reset
Aug 03 12:18:03 savra kernel: mt7921e 0000:03:00.0: driver own failed
Aug 03 12:18:03 savra kernel: pcieport 0000:00:02.3: pciehp: Slot(0): Link Down
Aug 03 12:18:03 savra kernel: pcieport 0000:00:02.3: pciehp: Slot(0): Card not present
Aug 03 12:18:03 savra kernel: wlp3s0: deauthenticating from f8:5b:3b:0f:2b:9f by local choice (Reason: 3=DEAUTH_LEAVING)
Aug 03 12:18:04 savra kernel: mt7921e 0000:03:00.0: Timeout for driver own
Aug 03 12:18:05 savra kernel: mt7921e 0000:03:00.0: driver own failed
Aug 03 12:18:05 savra kernel: ------------[ cut here ]------------
Aug 03 12:18:05 savra kernel: WARNING: CPU: 6 PID: 26340 at kernel/kthread.c:659 kthread_park+0x81/0x90

I have added dmesg logs and all pertinent information in the ticket below:
https://bugzilla.opensuse.org/show_bug.cgi?id=1201845

Would someone please have a look and help us figure out what would cause the "driver own failed" message to be logged? Thank you.


Regards,
Kostas



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux