Gentoo Archives: gentoo-user

From: Laurence Perkins <lperkins@×××××××.net>
To: "gentoo-user@l.g.o" <gentoo-user@l.g.o>
Subject: RE: [gentoo-user] Re: my 5.15.93 kernel keeps rebooting
Date: Thu, 16 Feb 2023 17:38:01
Message-Id: MW2PR07MB4058A806C39E2F69B25FA46CD2A09@MW2PR07MB4058.namprd07.prod.outlook.com
In Reply to: Re: [gentoo-user] Re: my 5.15.93 kernel keeps rebooting by John Covici
1 >-----Original Message-----
2 >From: John Covici <covici@××××××××××.com>
3 >Sent: Wednesday, February 15, 2023 7:20 AM
4 >To: gentoo-user@l.g.o
5 >Subject: Re: [gentoo-user] Re: my 5.15.93 kernel keeps rebooting
6 >
7 >On Wed, 15 Feb 2023 09:50:27 -0500,
8 >Grant Edwards wrote:
9 >>
10 >> On 2023-02-14, Rich Freeman <rich0@g.o> wrote:
11 >>
12 >> > Where are you getting this from, the system log/journal? This
13 >> > doesn't seem like a clean shutdown, so if it is a kernel PANIC I
14 >> > wouldn't expect the most critical info to be in the log (since it
15 >> > will stop syncing to protect the filesystem). The details you need
16 >> > probably will be displayed on the console briefly. You can also
17 >> > enable a network console, which will send the dmesg output
18 >> > continuously over UDP to another device. This won't be interrupted
19 >> > by a PANIC unless there is some issue with the hardware or networking stack.
20 >>
21 >> If you've got a serial port[1], you could also set up serial logging.
22 >> Though using serial ports have become a bit of a lost art, the serial
23 >> console code in the kernel is pretty carefully designed to be the last
24 >> man standing when things start to die. It's possible (though I
25 >> wouldn't say probable) that a serial console will be able to show you
26 >> stuff closer to the event horizon than a network console can.
27 >>
28 >> Anyway, since still I'm in the serial port business (yes, there are
29 >> still plenty of people using serial ports in industrial settings) I
30 >> had to mention it...
31 >>
32 >> [1] For this purpose you want a plain old UART on the motherboard type
33 >> seial port. You'd be surprised how many motherboards still have
34 >> them. Even though they're never brought out to a DB9 connector on
35 >> the back panel, there's often an 8-pin header on the edge of the
36 >> board somewhere, so you'd need one of these:
37 >>
38 >>
39 >> https://www.amazon.com/C2G-27550-Adapter-Bracket-Motherboards/dp/B0002
40 >> J27R8/
41 >
42 >I do have one which I use for my speech synthesizer. I also have one on my other box which I could hook up -- if I can find my null modem cable. I think I will try the netconsole first and the serial console if that does not work.
43 >
44 >Thanks for the hint.
45 >
46 >
47 https://wiki.gentoo.org/wiki/Kernel_Crash_Dumps is another option if you're somehow not getting enough information out of the console. More complex to set up, but you can take an actual debugger to the result and hopefully find out exactly what's going on.
48
49 LMP

Replies

Subject Author
Re: [gentoo-user] Re: my 5.15.93 kernel keeps rebooting John Covici <covici@××××××××××.com>