Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Aug 2007 10:07:19 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Nikolay Pavlov <qpadla@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Crash in todays current (panic: bio_caller1 used by the provider ad0s4e)
Message-ID:  <20070827080719.GA29854@garage.freebsd.pl>
In-Reply-To: <200708202327.03951.qpadla@gmail.com>
References:  <200708202327.03951.qpadla@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070827080719.GA29854>