Re: Setting up to debug kernel

2019-10-19 Thread Jerry DeLisle

On 10/16/19 6:24 PM, Valdis Klētnieks wrote:

On Wed, 16 Oct 2019 18:14:10 -0700, Jerry DeLisle said:


My first thought is to try to connect via a serial port or similarly a USB based
port and get some sort of continuous stream of log data that I can capture on
another machine.


If you have a network, netconsole may be an option.  If you are using UEFI
boot, using pstore to save the panic message might work as well.


I also suppose that I could use SSH to login remotely and likewise grab logs.


If your kernel is in fact locking up, SSH will probably not be an option.



I managed to get a picture of the console.  I posted everything here:

https://bugzilla.kernel.org/show_bug.cgi?id=205017

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Setting up to debug kernel

2019-10-16 Thread Valdis Klētnieks
On Wed, 16 Oct 2019 18:14:10 -0700, Jerry DeLisle said:

> My first thought is to try to connect via a serial port or similarly a USB 
> based
> port and get some sort of continuous stream of log data that I can capture on
> another machine.

If you have a network, netconsole may be an option.  If you are using UEFI
boot, using pstore to save the panic message might work as well.

> I also suppose that I could use SSH to login remotely and likewise grab logs.

If your kernel is in fact locking up, SSH will probably not be an option.


pgp5DToZa5Oeq.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Setting up to debug kernel

2019-10-16 Thread Jerry DeLisle
I have a fairly new processor and motherboard. I recently upgraded the BIOS on 
this system and found that the kernel just locks up, everything freezes within a 
few minutes.  I want to see if I can capture any data from the kernel as this 
happens.


My first thought is to try to connect via a serial port or similarly a USB based 
port and get some sort of continuous stream of log data that I can capture on 
another machine.


I also suppose that I could use SSH to login remotely and likewise grab logs.

Regardless I am looking for recommended best approach here.  I suspect a driver 
issue, so I am going to try to boot to runlevel 3 with just basic console (fancy 
graphics interface) and proceed from there.


Any pointers would be appreciated.

Jerry

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies