Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: vfs_bio panic



Manuel Bouyer wrote:
> Hi,
> I got on
> NetBSD 4.99.64 (XEN3_DOM0) #192: Sat Jun  7 21:59:08 CEST 2008
>  
> bouyer@rock:/dsk/l1/misc/bouyer/tmp/amd64/obj/dsk/l1/misc/bouyer/current/src/sys/arch/amd64/compile/XEN3_DOM0
> 
> this panic:
> panic: kernel diagnostic assertion "!ISSET(bp->b_cflags, BC_BUSY)" failed: 
> file "/dsk/l1/misc/bouyer/current/src/sys/kern/vfs_bio.c", line 1313
> fatal breakpoint trap in supervisor mode
> trap type 1 code 0 rip ffffffff804abd7d cs e030 rflags 246 cr2  7f7ffdfec000 
> cpl 0 rsp ffffa0000cfdb8f0
> Stopped in pid 0.37 (system) at netbsd:breakpoint+0x5:  leave
> breakpoint() at netbsd:breakpoint+0x5
> panic() at netbsd:panic+0x255
> __kernassert() at netbsd:__kernassert+0x2d
> getnewbuf() at netbsd:getnewbuf+0x2b0
> getblk() at netbsd:getblk+0x91
> ffs_getblk() at netbsd:ffs_getblk+0x4f
> ffs_sbupdate() at netbsd:ffs_sbupdate+0x54
> ffs_cgupdate() at netbsd:ffs_cgupdate+0x21
> ffs_sync() at netbsd:ffs_sync+0x345
> sync_fsync() at netbsd:sync_fsync+0x76
> VOP_FSYNC() at netbsd:VOP_FSYNC+0x34
> sched_sync() at netbsd:sched_sync+0x14d
> 
> Does it ring a bell for someone ? May it be fixed in more recent sources ?
> 

Is this an MP system?

do you have any processes in biowait (possibly one in biolock and some
in tstile)?  I'm wondering if it's a different symptom of an MP condvar
issue that I think I might have got to the bottom of.  It was causing
fun in biowait & biodone interaction.

Thanks,
Chris


Home | Main Index | Thread Index | Old Index