Search Linux Wireless

Re: Hangs with NetworkManager and rtw8723_de with kernel 6.1

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

 



On 3/1/23 13:15, François Valenduc wrote:
Good evening,

For sure, I am using the kernel driver in gentoo or in systemrescue. Can you explain how I could obtains the logs when the crash occurs ?

François,

The best way is to use netconsole, which requires another Linux computer (target) connected to your network, and a wired connection on the computer under test. The documentation is at https://www.kernel.org/doc/html/latest/networking/netconsole.html.

That writeup is not easy to follow, but you need to do the following:
1. Install netconsole or nc depending on your distro on your target computer.
2. Run the command 'nc -u -l -p 6665' or 'netconsole -u -l -p 6665' depending on your distro.
3. Learn the IP address of the target computer using 'ip address'.
4. Know the network name of your wired connection on the test computer.
5. Create an options file in /usr/lib/modprobe.d/50-netconsole.conf. This line should contain the following line:
options netconsole netconsole="@/<name from step4>,@<address from step 3>/"
My computer contains options netconsole netconsole="@/enp0s25,@192.168.1.51/"
6. Force module netconsole to be loaded at boot. How to do that is distro dependent. You will need to explore that on your own.

Reboot the test computer in the configuration that fails. If setup correctly, the console dump will appear on the target computer.

Good luck.

Larry





[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