From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 12:32:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ED53F16A405 for ; Mon, 25 Feb 2008 12:32:05 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from mellanox.co.il (mail.mellanox.co.il [194.90.237.43]) by mx1.freebsd.org (Postfix) with ESMTP id ED64713C4E3 for ; Mon, 25 Feb 2008 12:32:04 +0000 (UTC) (envelope-from yoniy@mellanox.co.il) Received: from Internal Mail-Server by MTLPINE1 (envelope-from yoniy@mellanox.co.il) with SMTP; 25 Feb 2008 14:32:02 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 25 Feb 2008 14:32:01 +0200 Message-ID: <6C2C79E72C305246B504CBA17B5500C9036415A4@mtlexch01.mtl.com> In-Reply-To: <200802251219.04372.fbsd.questions@rachie.is-a-geek.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Capturing dmesg upon system crash on 6.3 Thread-Index: Ach3oF03PL5of7CjQVq704raBGKCswACYt2A From: "Yehonatan Yossef" To: "Mel" , Cc: Subject: RE: Capturing dmesg upon system crash on 6.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 12:32:06 -0000 > > 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