Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 14:32:01 +0200
From:      "Yehonatan Yossef" <yoniy@mellanox.co.il>
To:        "Mel" <fbsd.questions@rachie.is-a-geek.net>, <freebsd-questions@freebsd.org>
Subject:   RE: Capturing dmesg upon system crash on 6.3
Message-ID:  <6C2C79E72C305246B504CBA17B5500C9036415A4@mtlexch01.mtl.com>
In-Reply-To: <200802251219.04372.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> > I'm facing a system reboot upon loading of the driver, and=20
> I could use=20
> > a tool for capturing dmesg upon system crash (such as netconsole on=20
> > Linux).
>=20
> Your kernel isn't setup for driver development:
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-ha
> ndbook/kerneldebug.html
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kern
> elconfig.html
>=20
> Basically, your system is rebooting cause the kernel panics=20
> and you're not setup for crash dumps, or anything that could=20
> help you diagnose the panic.
> --
> Mel

I've setup the dumpdev/dumpdir and I get a vmcore image upon a crash.

I don't really understand how to use kgdb in order to read it but more
than that - I don't need that much of data. I only want the dmesg report
at the moment, see at what point my driver went crazy. Is it possible?

Yony



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6C2C79E72C305246B504CBA17B5500C9036415A4>