Discussion:
Obtaining a kernel dump is not possible
(too old to reply)
o***@snafu.de
2004-06-29 12:13:34 UTC
Permalink
Hello,

my ThinkPad gets a kernel panic if I boot a kernel with atapicam
enabled. So I try to obtain a crash dump to get a backtrace.
Unfortunately it seems so, that the kernel crashs quit early. Although I
put dumpdev=/dev/ad0s1b in my loader.conf, I can't call doadump without
getting the message: "Partition too small. Dump failed."

I think, that the dumpdev hasn't been assigned at that specific moment
to the dumperinfo. Or is there another way to specify the dumpdev?

How can I all the same obtain a crash dump?

Regards,

Oliver Fischer
o***@snafu.de
2004-06-30 11:40:58 UTC
Permalink
Is your swap partition big enough ? It has to be at least as big as
your physical memory.
My swap is 1GB that is twice as much as my memory.

Regards,

Oliver Fischer
t***@freebsd.org
2004-07-19 21:03:33 UTC
Permalink
Post by o***@snafu.de
my ThinkPad gets a kernel panic if I boot a kernel with atapicam
enabled. So I try to obtain a crash dump to get a backtrace.
If dumping does not work, can you try to obtain a backtrace from DDB?

Thomas.
--
***@Cuivre.FR.EU.ORG
p***@snafu.de
2004-07-20 10:36:13 UTC
Permalink
Post by t***@freebsd.org
If dumping does not work, can you try to obtain a backtrace from DDB?
How can I get it and save it too?

Regards

Oliver Fischer
t***@freebsd.org
2004-07-20 17:40:07 UTC
Permalink
Post by p***@snafu.de
How can I get it and save it too?
First you need to configure your kernel with DDB, see:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-online-ddb.html

and use the 'trace' command to obtain a backtrace once you get a panic.

I think the easiest way to save the trace is to obtain it from a serial
console, and save a transcript of the session on the terminal side.

Thomas.
--
***@Cuivre.FR.EU.ORG
p***@snafu.de
2004-07-20 19:01:23 UTC
Permalink
Post by t***@freebsd.org
I think the easiest way to save the trace is to obtain it from a serial
console, and save a transcript of the session on the terminal side.
Well, unfortunately my thinkpas doesn't have an serial port... :(

Regards,

Oliver Fischer
t***@freebsd.org
2004-07-21 11:46:24 UTC
Permalink
Post by p***@snafu.de
Well, unfortunately my thinkpas doesn't have an serial port... :(
Hmmm, OK. One kludgy solution I already saw used in such a case involves
a digital camera and taking a snap of the backtrace...
--
***@Cuivre.FR.EU.ORG
j***@elischer.org
2004-07-21 17:12:03 UTC
Permalink
Post by t***@freebsd.org
Post by p***@snafu.de
Well, unfortunately my thinkpas doesn't have an serial port... :(
does it have afirewire port?
Post by t***@freebsd.org
Hmmm, OK. One kludgy solution I already saw used in such a case involves
a digital camera and taking a snap of the backtrace...
Loading...