Re: Wireless card driver bug

2022-09-10 Thread Gökşin Akdeniz

Hi Maximiliano

10.09.2022 19:46 tarihinde Maximiliano Estudies yazdı:



I want to use the reportbug feature but I don't know which package I
should enter. Anyone else having similar issues?
My system settings: Linux version 5.18.0-4-amd64
(debian-ker...@lists.debian.org) (gcc-11 (Debian 11.3.0-5) 11.3.0, GNU
ld (GNU Binutils for Debian) 2.38.90.20220713) #1 SMP PREEMPT_DYNAMIC
Debian 5.18.16-1 (2022-08-10)



The kernel running is from backports, I assume.

Kernels from backports may function different than release packages. You 
can test whether it is a kerl bug or not, with installing linux-image 
5.10.0-18 and firmware packages.


If everything works fine with 5.10.8-18, it may be kernel bug, and 
report it with all information you can provide and package info.


I had similar issuse with Intel HD graphics card in which backports 
kernel packages ended with a blank screen and reverting to a main repo 
kernel made problems go away.


OpenPGP_0x648AAD2AAA3BAD5F_and_old_rev.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Wireless card driver bug

2022-09-10 Thread Georgi Naplatanov

On 9/10/22 19:46, Maximiliano Estudies wrote:

Hi,

I seem to have hit a bug with the wireless card driver of my laptop.
This happened twice already, my laptop became unresponsive and I
couldn't issue any sudo commands. After hard rebooting the laptop I
see this entries in the syslog:

Sep 10 14:51:50 user-thinkpad kernel: mt7921e :03:00.0: driver own failed
Sep 10 14:51:51 user-thinkpad kernel: mt7921e :03:00.0: driver own failed
Sep 10 14:51:51 user-thinkpad kernel: mt7921e :03:00.0: chip reset
Sep 10 14:51:53 user-thinkpad kernel: mt7921e :03:00.0: driver own failed

This is my network card:
user@user-thinkpad:~$ lspci | grep -i mt7921
03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express
Wireless Network Adapter

after that the kernel seems unable to get cpu time:

Sep 10 14:51:55 user-thinkpad kernel: [ cut here ]
Sep 10 14:51:55 user-thinkpad kernel: WARNING: CPU: 15 PID: 16958 at
kernel/kthread.c:659 kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Modules linked in: nf_tables
libcrc32c nfnetlink ctr ccm rfcomm cmac algif_hash algif_skcipher
af_alg bnep btusb btrtl btbcm btintel btmtk bluetooth
jitterentropy_rng drbg >
Sep 10 14:51:55 user-thinkpad kernel:  sp5100_tco watchdog soundcore
roles k10temp rfkill typec ac serial_multi_instantiate evdev
acpi_cpufreq ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp
parport fuse c>
Sep 10 14:51:55 user-thinkpad kernel: CPU: 15 PID: 16958 Comm:
kworker/u32:11 Not tainted 5.18.0-4-amd64 #1  Debian 5.18.16-1
Sep 10 14:51:55 user-thinkpad kernel: Hardware name: LENOVO
20UHCTO1WW/20UHCTO1WW, BIOS R1CET67W(1.36 ) 10/20/2021
Sep 10 14:51:55 user-thinkpad kernel: Workqueue: mt76
mt7921_mac_reset_work [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel: RIP: 0010:kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Code: 00 48 85 c0 74 2d 31 c0 5b
5d e9 dc 45 b4 00 0f 0b 48 8b 9d 68 0a 00 00 a8 04 74 ae 0f 0b b8 da
ff ff ff 5b 5d e9 c1 45 b4 00 <0f> 0b b8 f0 ff ff ff eb d5 0f 0b eb
d1>
Sep 10 14:51:55 user-thinkpad kernel: RSP: 0018:b38848677e00
EFLAGS: 00010202
Sep 10 14:51:55 user-thinkpad kernel: RAX: 0004 RBX:
911b51d35c80 RCX: 
Sep 10 14:51:55 user-thinkpad kernel: WARNING: CPU: 15 PID: 16958 at
kernel/kthread.c:659 kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Modules linked in: nf_tables
libcrc32c nfnetlink ctr ccm rfcomm cmac algif_hash algif_skcipher
af_alg bnep btusb btrtl btbcm btintel btmtk bluetooth
jitterentropy_rng drbg >
Sep 10 14:51:55 user-thinkpad kernel:  sp5100_tco watchdog soundcore
roles k10temp rfkill typec ac serial_multi_instantiate evdev
acpi_cpufreq ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp
parport fuse c>
Sep 10 14:51:55 user-thinkpad kernel: CPU: 15 PID: 16958 Comm:
kworker/u32:11 Not tainted 5.18.0-4-amd64 #1  Debian 5.18.16-1
Sep 10 14:51:55 user-thinkpad kernel: Hardware name: LENOVO
20UHCTO1WW/20UHCTO1WW, BIOS R1CET67W(1.36 ) 10/20/2021
Sep 10 14:51:55 user-thinkpad kernel: Workqueue: mt76
mt7921_mac_reset_work [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel: RIP: 0010:kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Code: 00 48 85 c0 74 2d 31 c0 5b
5d e9 dc 45 b4 00 0f 0b 48 8b 9d 68 0a 00 00 a8 04 74 ae 0f 0b b8 da
ff ff ff 5b 5d e9 c1 45 b4 00 <0f> 0b b8 f0 ff ff ff eb d5 0f 0b eb
d1>
Sep 10 14:51:55 user-thinkpad kernel: RSP: 0018:b38848677e00
EFLAGS: 00010202
Sep 10 14:51:55 user-thinkpad kernel: RAX: 0004 RBX:
911b51d35c80 RCX: 
Sep 10 14:51:55 user-thinkpad kernel: RDX: 0001 RSI:
0003 RDI: 911b53608000
Sep 10 14:51:55 user-thinkpad kernel: RBP: 911b53608000 R08:
911b4b312460 R09: b38848677db0
Sep 10 14:51:55 user-thinkpad kernel: R10: b38848677b10 R11:
838d1528 R12: 911b4b3108c0
Sep 10 14:51:55 user-thinkpad kernel: R13: 911b4b3120a0 R14:
911b4b3185d0 R15: 911b4b3123f0
Sep 10 14:51:55 user-thinkpad kernel: FS:  ()
GS:911e3fbc() knlGS:
Sep 10 14:51:55 user-thinkpad kernel: CS:  0010 DS:  ES:  CR0:
80050033
Sep 10 14:51:55 user-thinkpad kernel: CR2: 7f45dee27000 CR3:
00020b61 CR4: 00350ee0
Sep 10 14:51:55 user-thinkpad kernel: Call Trace:
Sep 10 14:51:55 user-thinkpad kernel:  
Sep 10 14:51:55 user-thinkpad kernel:  mt7921e_mac_reset+0x9e/0x2d0 [mt7921e]
Sep 10 14:51:55 user-thinkpad kernel:
mt7921_mac_reset_work+0x9f/0x14a [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel:  process_one_work+0x1e5/0x3b0
Sep 10 14:51:55 user-thinkpad kernel:  ? rescuer_thread+0x390/0x390
Sep 10 14:51:55 user-thinkpad kernel:  worker_thread+0x50/0x3a0
Sep 10 14:51:55 user-thinkpad kernel:  ? rescuer_thread+0x390/0x390
Sep 10 14:51:55 user-thinkpad kernel:  kthread+0xe8/0x110
Sep 10 14:51:55 user-thinkpad kernel:  ? kthread_complete_and_exit+0x20/0x20
Sep 10 14:51:55 user-thinkpad kernel:  

Wireless card driver bug

2022-09-10 Thread Maximiliano Estudies
Hi,

I seem to have hit a bug with the wireless card driver of my laptop.
This happened twice already, my laptop became unresponsive and I
couldn't issue any sudo commands. After hard rebooting the laptop I
see this entries in the syslog:

Sep 10 14:51:50 user-thinkpad kernel: mt7921e :03:00.0: driver own failed
Sep 10 14:51:51 user-thinkpad kernel: mt7921e :03:00.0: driver own failed
Sep 10 14:51:51 user-thinkpad kernel: mt7921e :03:00.0: chip reset
Sep 10 14:51:53 user-thinkpad kernel: mt7921e :03:00.0: driver own failed

This is my network card:
user@user-thinkpad:~$ lspci | grep -i mt7921
03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express
Wireless Network Adapter

after that the kernel seems unable to get cpu time:

Sep 10 14:51:55 user-thinkpad kernel: [ cut here ]
Sep 10 14:51:55 user-thinkpad kernel: WARNING: CPU: 15 PID: 16958 at
kernel/kthread.c:659 kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Modules linked in: nf_tables
libcrc32c nfnetlink ctr ccm rfcomm cmac algif_hash algif_skcipher
af_alg bnep btusb btrtl btbcm btintel btmtk bluetooth
jitterentropy_rng drbg >
Sep 10 14:51:55 user-thinkpad kernel:  sp5100_tco watchdog soundcore
roles k10temp rfkill typec ac serial_multi_instantiate evdev
acpi_cpufreq ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp
parport fuse c>
Sep 10 14:51:55 user-thinkpad kernel: CPU: 15 PID: 16958 Comm:
kworker/u32:11 Not tainted 5.18.0-4-amd64 #1  Debian 5.18.16-1
Sep 10 14:51:55 user-thinkpad kernel: Hardware name: LENOVO
20UHCTO1WW/20UHCTO1WW, BIOS R1CET67W(1.36 ) 10/20/2021
Sep 10 14:51:55 user-thinkpad kernel: Workqueue: mt76
mt7921_mac_reset_work [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel: RIP: 0010:kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Code: 00 48 85 c0 74 2d 31 c0 5b
5d e9 dc 45 b4 00 0f 0b 48 8b 9d 68 0a 00 00 a8 04 74 ae 0f 0b b8 da
ff ff ff 5b 5d e9 c1 45 b4 00 <0f> 0b b8 f0 ff ff ff eb d5 0f 0b eb
d1>
Sep 10 14:51:55 user-thinkpad kernel: RSP: 0018:b38848677e00
EFLAGS: 00010202
Sep 10 14:51:55 user-thinkpad kernel: RAX: 0004 RBX:
911b51d35c80 RCX: 
Sep 10 14:51:55 user-thinkpad kernel: WARNING: CPU: 15 PID: 16958 at
kernel/kthread.c:659 kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Modules linked in: nf_tables
libcrc32c nfnetlink ctr ccm rfcomm cmac algif_hash algif_skcipher
af_alg bnep btusb btrtl btbcm btintel btmtk bluetooth
jitterentropy_rng drbg >
Sep 10 14:51:55 user-thinkpad kernel:  sp5100_tco watchdog soundcore
roles k10temp rfkill typec ac serial_multi_instantiate evdev
acpi_cpufreq ipmi_devintf ipmi_msghandler msr parport_pc ppdev lp
parport fuse c>
Sep 10 14:51:55 user-thinkpad kernel: CPU: 15 PID: 16958 Comm:
kworker/u32:11 Not tainted 5.18.0-4-amd64 #1  Debian 5.18.16-1
Sep 10 14:51:55 user-thinkpad kernel: Hardware name: LENOVO
20UHCTO1WW/20UHCTO1WW, BIOS R1CET67W(1.36 ) 10/20/2021
Sep 10 14:51:55 user-thinkpad kernel: Workqueue: mt76
mt7921_mac_reset_work [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel: RIP: 0010:kthread_park+0x7f/0x90
Sep 10 14:51:55 user-thinkpad kernel: Code: 00 48 85 c0 74 2d 31 c0 5b
5d e9 dc 45 b4 00 0f 0b 48 8b 9d 68 0a 00 00 a8 04 74 ae 0f 0b b8 da
ff ff ff 5b 5d e9 c1 45 b4 00 <0f> 0b b8 f0 ff ff ff eb d5 0f 0b eb
d1>
Sep 10 14:51:55 user-thinkpad kernel: RSP: 0018:b38848677e00
EFLAGS: 00010202
Sep 10 14:51:55 user-thinkpad kernel: RAX: 0004 RBX:
911b51d35c80 RCX: 
Sep 10 14:51:55 user-thinkpad kernel: RDX: 0001 RSI:
0003 RDI: 911b53608000
Sep 10 14:51:55 user-thinkpad kernel: RBP: 911b53608000 R08:
911b4b312460 R09: b38848677db0
Sep 10 14:51:55 user-thinkpad kernel: R10: b38848677b10 R11:
838d1528 R12: 911b4b3108c0
Sep 10 14:51:55 user-thinkpad kernel: R13: 911b4b3120a0 R14:
911b4b3185d0 R15: 911b4b3123f0
Sep 10 14:51:55 user-thinkpad kernel: FS:  ()
GS:911e3fbc() knlGS:
Sep 10 14:51:55 user-thinkpad kernel: CS:  0010 DS:  ES:  CR0:
80050033
Sep 10 14:51:55 user-thinkpad kernel: CR2: 7f45dee27000 CR3:
00020b61 CR4: 00350ee0
Sep 10 14:51:55 user-thinkpad kernel: Call Trace:
Sep 10 14:51:55 user-thinkpad kernel:  
Sep 10 14:51:55 user-thinkpad kernel:  mt7921e_mac_reset+0x9e/0x2d0 [mt7921e]
Sep 10 14:51:55 user-thinkpad kernel:
mt7921_mac_reset_work+0x9f/0x14a [mt7921_common]
Sep 10 14:51:55 user-thinkpad kernel:  process_one_work+0x1e5/0x3b0
Sep 10 14:51:55 user-thinkpad kernel:  ? rescuer_thread+0x390/0x390
Sep 10 14:51:55 user-thinkpad kernel:  worker_thread+0x50/0x3a0
Sep 10 14:51:55 user-thinkpad kernel:  ? rescuer_thread+0x390/0x390
Sep 10 14:51:55 user-thinkpad kernel:  kthread+0xe8/0x110
Sep 10 14:51:55 user-thinkpad kernel:  ? kthread_complete_and_exit+0x20/0x20
Sep 10 14:51:55 user-thinkpad kernel:  ret_from_fork+0x22/0x30
Sep 10 14:51:55 user-thinkpad