From owner-freebsd-amd64@FreeBSD.ORG Sun Nov 12 22:30:31 2006 Return-Path: X-Original-To: freebsd-amd64@hub.freebsd.org Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8395016A416 for ; Sun, 12 Nov 2006 22:30:31 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8ABF543DBD for ; Sun, 12 Nov 2006 22:30:26 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kACMUQ2A023306 for ; Sun, 12 Nov 2006 22:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kACMUQol023303; Sun, 12 Nov 2006 22:30:26 GMT (envelope-from gnats) Date: Sun, 12 Nov 2006 22:30:26 GMT Message-Id: <200611122230.kACMUQol023303@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Ruslan Ermilov Cc: Subject: Re: amd64/105437: 6.2-BETA3 crashes on amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ruslan Ermilov List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2006 22:30:31 -0000 The following reply was made to PR amd64/105437; it has been noted by GNATS. From: Ruslan Ermilov To: Wojciech Puchar Cc: bug-followup@freebsd.org Subject: Re: amd64/105437: 6.2-BETA3 crashes on amd64 Date: Mon, 13 Nov 2006 01:24:39 +0300 On Sun, Nov 12, 2006 at 09:29:29PM +0100, Wojciech Puchar wrote: > > effects: > > 1) after compiling kernel with > > >>options INVARIANTS # Enable calls of extra sanity > >>checking > >>options INVARIANT_SUPPORT # Extra sanity checks of internal > >>structures, required by INVARIANTS > >>options WITNESS # Enable checks to detect > >>deadlocks and cycles > >>options WITNESS_SKIPSPIN # Don't run witness on spinlocks > >>for speed > > > kernel crashes after maybe 5 seconds after boot!!! > > see dmesg.4 - done with dmesg -M, and typescript.4 done with kgdb > This is the bug in the current rue(4) driver; it holds a non-sleepable lock in rue_read_mem() and calls into USB stack that wants to sleep; hence it panics. There's a major rework of the USB stack happening now in FreeBSD Perforce; I've looked there and the new rue(4) driver doesn't have this problem. I suggest that you don't use USB NICs at the moment if this is possible. > because this server must work, i compiled kernel again without these > options and it started. > > later i did as root > > /etc/rc.d/route6d stop > > and it crashed :) and similar crash i've got some time ago. > > see dmesg.5 and typescript.5 > This can be traces of the same problem; after you eliminate the USB NIC from your system, let's see what happens to it next. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer