tech-kern archive

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

Re: Debugging the kernel



That's right I don't have a swap partition. Thank's for help.

2009/9/27 Manuel Bouyer <bouyer%antioche.eu.org@localhost>:
> On Sun, Sep 27, 2009 at 02:36:27AM +0400, Dmitry Cherkassov wrote:
>> Hello everybody.
>>
>> Could please someone explain me:
>>
>> 1) How to forward kernel output to the serial (COM) port ?
>
> man boot
> basically, you type:
> consdev com0
> at the boot prompt, before booting the kernel
>
>>
>> When kernel crashes it says: "dump to dev 0,1 not possible"
>> 2) How do I configure that?
>
> There can be various reasons for that, one of them being that you
> have no swap partition. What is your disk layout, and what kind of
> disk controller is it ?
>
>>
>> 3) Is there any reference manual about getting and analyzing kernel crash 
>> dumps?
>
> You use 'target kvm' in gdb against the crash dump. Things are easier if
> you have a netbsd.gdb around (kernel build with -g)
>
> --
> Manuel Bouyer <bouyer%antioche.eu.org@localhost>
>     NetBSD: 26 ans d'experience feront toujours la difference
> --
>


Home | Main Index | Thread Index | Old Index