Port-sparc64 archive

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

Re: Saving kernel crash dumps



On Tue, 30 Sep 2025 05:13:52 +1000
matthew green <mrg%eterna23.net@localhost> wrote:

> by default, the 'b' partition of the boot device will be used, if
> it is large enough and of type 'swap'.  can you try that setup?
> 
> the crash might be happening too early.  in which case, maybe you
> can get kernel gdb over serial to work.  options KGDB -- it might
> not work right now, i haven't tried it for a long time and not
> really sure if i did it with sparc64 vs sparc...

I had a look at https://www.netbsd.org/docs/kernel/kgdb.html

but I'm confused about how I can initiate a serial connection via GDB,
because on T5220 serial connection is first handled by ILOM, from there
I need to issue "start /SP/console" to start the actual console. If I
exit the console to start GDB, the console is terminated by ILOM. I'm
not sure how to leave it running in the background.

There is no setting to redirect console to the host machine, so it
always logs into the Service Processor (SP) running Linux.

Does this mean remote GDB is not possible on these machines?

Thanks.


Home | Main Index | Thread Index | Old Index