From owner-freebsd-drivers@FreeBSD.ORG Mon Feb 25 13:41:08 2008 Return-Path: Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7784316A401 for ; Mon, 25 Feb 2008 13:41:08 +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 9085B13C469 for ; Mon, 25 Feb 2008 13:41:06 +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 15:41:04 +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 15:41:03 +0200 Message-ID: <6C2C79E72C305246B504CBA17B5500C903641642@mtlexch01.mtl.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Capturing dmesg upon system crash on 6.3 Thread-Index: Ach3slrKKlU2fL/eQ7CFr8XBDYAPYAAADarg From: "Yehonatan Yossef" To: Cc: freebsd-net@freebsd.org, freebsd-questions@freebsd.org, freebsd-drivers@freebsd.org Subject: RE: Capturing dmesg upon system crash on 6.3 X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 13:41:08 -0000 I'm looking into the syslogd capabilities at the moment, it might be enough. I've tried following the serial console setup you've pointed, but when I added the 'console=3D"comconsole"' to loader.conf the OS hanged during boot time, had to re-install the system. I'm currently porting Mellanox ethernet driver, InfiniBand will be probably next. Mail me outside this list if you're interested in InfiniBand. Yehonatan Yossef Mellanox Technologies INC Office: +972-4-9097200 ext. 301=20 Cell: +972-54-2345031 (yonyossef@skype) =20 > -----Original Message----- > From: rea-fbsd@codelabs.ru [mailto:rea-fbsd@codelabs.ru]=20 > Sent: Monday, February 25, 2008 3:29 PM > To: Yehonatan Yossef > Cc: freebsd-questions@freebsd.org; freebsd-net@freebsd.org;=20 > freebsd-drivers@freebsd.org > Subject: Re: Capturing dmesg upon system crash on 6.3 >=20 > Yehonatan, good day. >=20 > Mon, Feb 25, 2008 at 11:28:12AM +0200, Yehonatan Yossef wrote: > > I'm a freebsd newbee, trying to port an ethernet driver=20 > from Linux to=20 > > FreeBSD 6.3. > > 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 > May be serial console will help you? > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/seri > alconsole-setup.html >=20 > Out of curiosity: are you porting some InfiniBand drivers to FreeBSD? > -- > Eygene >=20