On 01-Aug-01 Eugene L. Vorokov wrote:
>> Can you compile a debug kernel please and repeat this? That way you will
>> have
>> debug symbols so that you can get more useful information out of gdb.
>> You'll
>> have to get a new crashdump with the debug kernel running however.
>
> Maybe it's offtopic a bit, but can you please give exact instructions of how
> to compile debug kernel ? My machine crashes sometimes too, I tried to
> compile
> debug kernel, but it seemed not so easy and I gave up due to lack of time. Or
> is there any URL with a good explanation ?
Check the kernel debugging chapter of the handbook. Passing the '-g' flag to
config should do the trick for 4.x IIRC. That is instead of doing 'config FOO'
you do 'config -g FOO' while building your kernel.
--
John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message