Crash in todays current (panic: bio_caller1 used by the provider ad0s4e)

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Aug 27 01:30:20 PDT 2007


On Mon, Aug 20, 2007 at 11:26:59PM +0300, Nikolay Pavlov wrote:
> Another one panic caused by geom_journal journal initialization (sorry for 
> tautology) at the final stage of EVERY kernel booting process.
> 
> I am unable to get a full crashdump because my dump device is not ready at 
> that moment.
> 
> I see the message:
> panic: bio_caller1 used by the provider ad0s4e
> 
> 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
> 
> And the current thread is pid 3 "g_up"
> 
> 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 

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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070827/e4e52bca/attachment.pgp


More information about the freebsd-current mailing list