Bug#989087: rtw_8822ce: firmware crash

2021-08-25 Thread maximilian attems
tags 989087 moreinfo
stop

the updated firmware got into 20210716 verison, which is
included in latest unstable package.

Could you please test it out if it improves your situation?


thank you.

-- 
maks



Bug#989087: rtw_8822ce: firmware crash

2021-05-25 Thread Magnus Holmgren
Package: firmware-realtek
Version: 20210315-2
Severity: important
Tags: upstream

I'm experiencing a firmware crash (the kernel says) with this wireless adapter, 
rendering it unusable.

Other people are also having similar problems. I guess I should have avoiding 
Realtek when choosing a laptop to buy.

I also tried the version in experimental with the same result. The version from 
linux-firmware 1.190.5 in Ubuntu works, however
(mostly; the "failed to send h2c command" still persists).

Not sure if Debian can do anything, but I wanted the bug to be recorded 
nonetheless.

lcpci and dmesg output follow.

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822CE 
802.11ac PCIe Wireless Network Adapter [10ec:c822]
Subsystem: Lite-On Communications Inc RTL8822CE 802.11ac PCIe Wireless 
Network Adapter [11ad:0810]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-  0b 4c 
8d 63 d8 4c 89 e7 e8 f2 55 67 ce 48 8d 7b e0 48 89 c5 e8
[ 3009.319149] RSP: 0018:b19d002e0ed0 EFLAGS: 00010286
[ 3009.319151] RAX:  RBX: 9cb003d562e8 RCX: 9cb21f798a08
[ 3009.319153] RDX: ffd8 RSI: 0027 RDI: 9cb21f798a00
[ 3009.319154] RBP: 9cb003d562e8 R08:  R09: b19d002e0cf0
[ 3009.319155] R10: b19d002e0ce8 R11: 906b5e28 R12: c1247bf0
[ 3009.319157] R13: dead0122 R14:  R15: 9cb21f79cc40
[ 3009.319160] FS:  () GS:9cb21f78() 
knlGS:
[ 3009.319161] CS:  0010 DS:  ES:  CR0: 80050033
[ 3009.319163] CR2: 7f14a93b4c78 CR3: 00028940a000 CR4: 00350ee0
[ 3009.319164] Call Trace:
[ 3009.319169]  
[ 3009.319178]  ? rtw_tx_write_data_h2c_get+0x90/0x90 [rtw88_core]
[ 3009.319185]  call_timer_fn+0x29/0xf0
[ 3009.319189]  __run_timers.part.0+0x1d3/0x240
[ 3009.319192]  ? ktime_get+0x38/0xa0
[ 3009.319197]  ? lapic_next_event+0x1d/0x20
[ 3009.319201]  ? clockevents_program_event+0x8d/0xf0
[ 3009.319203]  run_timer_softirq+0x26/0x50
[ 3009.319208]  __do_softirq+0xc5/0x275
[ 3009.319211]  asm_call_irq_on_stack+0x12/0x20
[ 3009.319213]  
[ 3009.319218]  do_softirq_own_stack+0x37/0x40
[ 3009.319224]  irq_exit_rcu+0x8e/0xc0
[ 3009.319229]  sysvec_apic_timer_interrupt+0x36/0x80
[ 3009.319235]  asm_sysvec_apic_timer_interrupt+0x12/0x20
[ 3009.319241] RIP: 0010:cpuidle_enter_state+0xc7/0x350
[ 3009.319243] Code: 8b 3d 3d 52 97 70 e8 18 47 a2 ff 49 89 c5 0f 1f 44 00 00 
31 ff e8 a9 51 a2 ff 45 84 ff 0f 85 fa 00 00 00 fb 66 0f 1f 44 00 00 <45> 85 f6 
0f 88 06 01 00 00 49 63 c6 4c 2b 2c 24 48 8d 14 40 48 8d
[ 3009.319245] RSP: 0018:b19d00187ea8 EFLAGS: 0246
[ 3009.319247] RAX: 9cb21f7abc00 RBX: 0003 RCX: 02bca9626800
[ 3009.319248] RDX: 00a0 RSI: 02bca9626800 RDI: 
[ 3009.319249] RBP: 9caf0b9c3800 R08: 02bca96268a0 R09: 0001
[ 3009.319251] R10: 06b2 R11: 053e R12: 907b8fa0
[ 3009.319252] R13: 02bca96268a0 R14: 0003 R15: 
[ 3009.319259]  ? cpuidle_enter_state+0xb7/0x350
[ 3009.319262]  cpuidle_enter+0x29/0x40
[ 3009.319267]  do_idle+0x1ef/0x2b0
[ 3009.319270]  cpu_startup_entry+0x19/0x20
[ 3009.319274]  secondary_startup_64_no_verify+0xb0/0xbb
[ 3009.319278] ---[ end trace 5f8d9093ca9a8c4c ]---
[ 3009.486641] [ cut here ]
[ 3009.486644] firmware crash, start reset and recover
[ 3009.486674] WARNING: CPU: 8 PID: 17228 at 
drivers/net/wireless/realtek/rtw88/main.c:437 rtw_fw_recovery_work+0xbb/0x200 
[rtw88_core]
[ 3009.486675] Modules linked in: rtw88_8822ce rtw88_8822c rtw88_pci rtw88_core 
mac80211 cfg80211 libarc4 ctr ccm rfcomm cmac algif_hash algif_skcipher af_alg 
bnep joydev edac_mce_amd btusb btrtl btbcm btintel bluetooth 
snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio kvm_amd 
snd_hda_codec_hdmi jitterentropy_rng kvm snd_hda_intel snd_intel_dspcfg 
soundwire_intel irqbypass soundwire_generic_allocation snd_soc_core drbg 
ghash_clmulni_intel snd_compress soundwire_cadence ansi_cprng nls_ascii 
snd_hda_codec uvcvideo nls_cp437 videobuf2_vmalloc videobuf2_memops 
snd_hda_core aesni_intel videobuf2_v4l2 vfat snd_hwdep soundwire_bus 
videobuf2_common crypto_simd fat videodev cryptd glue_helper snd_pcm 
ecdh_generic ecc asus_nb_wmi snd_timer sp5100_tco snd_rn_pci_acp3x mc asus_wmi 
serio_raw efi_pstore rapl wmi_bmof sparse_keymap pcspkr hid_multitouch watchdog 
libaes k10temp snd_pci_acp3x ccp snd rfkill soundcore ucsi_acpi typec_ucsi 
typec tpm_crb tpm_tis tpm_tis_core tpm rng_core asus_wireless
[ 3009.486748]  evdev acpi_cpufreq ac parport_pc ppdev lp parport fuse configfs 
efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic 
hid_generic amdgpu nouveau gpu_sched mxm_wmi i2c_algo_bit ttm