Search Linux Wireless

RE: [REGRESSION] Freeze on resume from S3 (bisected)

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

 



Hi Mathew,

Forty Five <mathewegeorge@xxxxxxxxx> wrote:
> 
> Mathew George <mathewegeorge@xxxxxxxxx> writes:
> 
> > When I am back at my system, I will reproduce the issue a few more times with
> > this kernel, and attach the logs. In the meantime, you could have a look at the logs
> > linked in my first mail. There are logs for most of the bad commits encountered in the
> > bisection.
> 
> I've attached more logs.

Thanks for the logs, which you met two kinds of problems. One is firmware gets
wrong during system resumes, and the other is to close a disappear netdev. 
However I still can't dig why it gets wrong. I will focus on latter one first.

The behavior between no commit [1] and the latest tree + [2] is the time waiting
for ACK from scan abort firmware command. The former one is longer, and latter
one is shorter. 

I also enable kernel debug KASAN suggested by Johannes to dig problem, but in
my side I can't see any kernel warning and the crash. 

Since I saw 'NetworkManager' and 'hostapd' in code trace, I would like to know
if you have two virtual interfaces, which for STA and AP modes? (Please check
this by 'iw dev') If so, is it possible to remove hostapd (AP mode) to see if
this is a factor causing crash.

Attachment is a debug patch that add more messages and code trace, please help
to reproduce problem with patches of [2] and attachment. If your kernel enables
dynamic debug, need additional commands to have debug message:
   sudo bash -c 'echo -n "module rtw89_core +p" > /sys/kernel/debug/dynamic_debug/control'
   sudo bash -c 'echo -n "module rtw89_pci +p" > /sys/kernel/debug/dynamic_debug/control'
Since there are more than one symptoms causing system freeze, please collect
four logs as before. Also please give me two logs that system can normally
suspend/resume, so I can compare their difference.


[1] bcbefbd032 wifi: rtw89: add wait/completion for abort scan
[2] https://lore.kernel.org/linux-wireless/20240517013350.11278-1-pkshih@xxxxxxxxxxx/

Thanks
Ping-ke

Attachment: 0001-debug-scan-abort.patch
Description: 0001-debug-scan-abort.patch


[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