From owner-freebsd-drivers@FreeBSD.ORG Tue Feb 26 11:50:44 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 8FDD410658B2 for ; Tue, 26 Feb 2008 11:50:43 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id AF9C1140F85 for ; Tue, 26 Feb 2008 10:43:50 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by fk-out-0910.google.com with SMTP id b27so2669072fka.11 for ; Tue, 26 Feb 2008 02:43:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=RIXDXCNpQuCG8Op6L0vF1b1UNRUS6C/qsCiaIIXWQmI=; b=gqwZJC5cShlas9RR17/jnsAVBnfui1fw7gtITdWw2wKfaFjbMpZhL1GNLZ6CwQ9L9zZkmwUhsHEmgDrrHIebT5lBhjxlZYiL2DsNLK8Dy6SG4kJ+TTT2EpOWWme4cXtjeJn0+dbyO07+vKcd26JppLBlMqQipP+4+4Nb4J7KsK0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=hqMXKJmrFoYeOJwfQJgd+teP1jNGoTFgd000vgdypVdjWbLGy9kj7RU88XjJnzREKRFjgJjjmokdhwe8qJ5tW5LKyVKpsrey1LaUtBPIKpbLfvDhZ4XZQRekEFoUc7SUybR2l5ASf8nUTwg0Bx5cnKLwtRGF34OBWR1R8Q28XuA= Received: by 10.82.123.16 with SMTP id v16mr8509064buc.36.1204022628237; Tue, 26 Feb 2008 02:43:48 -0800 (PST) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id j8sm5195517gvb.7.2008.02.26.02.43.46 (version=SSLv3 cipher=RC4-MD5); Tue, 26 Feb 2008 02:43:47 -0800 (PST) From: Tom Evans To: Yehonatan Yossef In-Reply-To: <6C2C79E72C305246B504CBA17B5500C903641642@mtlexch01.mtl.com> References: <6C2C79E72C305246B504CBA17B5500C903641642@mtlexch01.mtl.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-PQXXfntwCv4BEZPFMnFN" Date: Tue, 26 Feb 2008 10:43:45 +0000 Message-Id: <1204022625.2126.118.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-net@freebsd.org, rea-fbsd@codelabs.ru, 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: Tue, 26 Feb 2008 11:50:45 -0000 --=-PQXXfntwCv4BEZPFMnFN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2008-02-25 at 15:41 +0200, Yehonatan Yossef wrote: > 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. >=20 > I'm currently porting Mellanox ethernet driver, InfiniBand will be > probably next. Mail me outside this list if you're interested in > InfiniBand. >=20 The OS probably didnt hang, you told it to send all its output to comconsole (ie serial port) and not display anything. This might look as though it has hung. Try (in /boot/loader.conf): boot_multicons=3D"YES" console=3D"vidconsole,comconsole" to output to both of them. Also, set the correct tty on your serial console with something like (in /etc/ttys): ttyd0 "/usr/libexec/getty std.9600" vt100 off secure There will be a ttyd0 line already. All of this is in the various handbooks. Cheers Tom --=-PQXXfntwCv4BEZPFMnFN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBHw+1elcRvFfyds/cRAtRAAKCcRdEnyODeavqpNgdO8hxzoOrtuACfQ5dJ qetwCxmSmOtOqzanF+UjPJc= =dSpX -----END PGP SIGNATURE----- --=-PQXXfntwCv4BEZPFMnFN--