From owner-freebsd-current@FreeBSD.ORG Mon Aug 27 08:30:20 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0613E16A417 for ; Mon, 27 Aug 2007 08:30:20 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4F513C457 for ; Mon, 27 Aug 2007 08:30:19 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 4C32B45E90; Mon, 27 Aug 2007 10:08:30 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 1B6374569A; Mon, 27 Aug 2007 10:08:24 +0200 (CEST) Date: Mon, 27 Aug 2007 10:07:19 +0200 From: Pawel Jakub Dawidek To: Nikolay Pavlov Message-ID: <20070827080719.GA29854@garage.freebsd.pl> References: <200708202327.03951.qpadla@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <200708202327.03951.qpadla@gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-current@freebsd.org Subject: Re: Crash in todays current (panic: bio_caller1 used by the provider ad0s4e) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Aug 2007 08:30:20 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 20, 2007 at 11:26:59PM +0300, Nikolay Pavlov wrote: > Another one panic caused by geom_journal journal initialization (sorry fo= r=20 > tautology) at the final stage of EVERY kernel booting process. >=20 > I am unable to get a full crashdump because my dump device is not ready a= t=20 > that moment. >=20 > I see the message: > panic: bio_caller1 used by the provider ad0s4e >=20 > And a backtrace like this one: > kdb_enter > panic > g_io_deliver > g_std_done > biodone > g_io_schedule_up > g_up_procbody > fork_exit > fork_trempoline >=20 > And the current thread is pid 3 "g_up" >=20 > The intresting thing is that i do not have this panic with GENERIC kernel. > My kernel is deffer from it by this lines: > #!commented! options WITNESS_SKIPSPIN > options DEBUG_LOCKS > options DEBUG_VFS_LOCKS > options DIAGNOSTIC=20 I know about this. The assertion I added some time ago is too strong in case of gjournal. Gjournal can modify bio_caller1 for in-flight bios from another thread, and the assertion doesn't and can't really take that into an account. The assertion should be removed, pity, because it's still useful for other GEOM classes. To make your system usable, remove DIAGNOSTIC from your kernel configuration. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFG0oY3ForvXbEpPzQRAh0TAJ9VJIQqbtL8M+g1sD1LQR2la1zE3ACeLW3s nNrrBVKOnEZWg3MREHiih7c= =QaVe -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--