panic: initiate_write_inodeblock_ufs1: already started

From: Brian Fundakowski Feldman <green_at_FreeBSD.org>
Date: Wed, 8 Sep 2004 19:58:50 -0400
The filesystem filled up in cvsup while bgfsck was occurring:

#10 0xc04fcdd7 in panic (fmt=0xc06902ac "initiate_write_inodeblock_ufs1: already started") at ../../../kern/kern_shutdown.c:538
	td = (struct thread *) 0xc1d3cb00
	bootopt = 256
	newpanic = 1
	ap = 0xde5db850 "x¤QÀ®QhÀ·\034hÀ\003"
	buf = "initiate_write_inodeblock_ufs1: already started", '\0' <repeats 208 times>
#11 0xc05ea254 in initiate_write_inodeblock_ufs1 (inodedep=0xc21ae380, bp=0x0) at ../../../ufs/ffs/ffs_softdep.c:3712
	adp = (struct allocdirect *) 0xc1c63c60
	lastadp = (struct allocdirect *) 0xde5db8ec
	dp = (struct ufs1_dinode *) 0xcbf2ee18
	fs = (struct fs *) 0x4
	i = -4517731581602823913
	prevlbn = 0
	deplist = -1044036444
#12 0xc05e9d2e in softdep_disk_io_initiation (bp=0xcbf2ee18) at ../../../ufs/ffs/ffs_softdep.c:3497
	wk = (struct worklist *) 0xc21ae380
	nextwk = (struct worklist *) 0xc21aea80
	indirdep = (struct indirdep *) 0xc1c63c60
	inodedep = (struct inodedep *) 0x0
#13 0xc05e9c78 in softdep_disk_prewrite (vp=0xc1c63c60, bp=0xcbf2ee18) at ../../../sys/buf.h:417
	error = 0
#14 0xc053a253 in ibwrite (bp=0xcbf2ee18) at ../../../sys/buf.h:408
	oldflags = 537002144
	newbp = (struct buf *) 0xce4f8080
#15 0xc0539eea in bwrite (bp=0x0) at ../../../kern/vfs_bio.c:771
No locals.
#16 0xc05de970 in ffs_update (vp=0xc1fbb420, waitfor=1) at ../../../ufs/ffs/ffs_inode.c:123
	fs = (struct fs *) 0xc1af8800
	bp = (struct buf *) 0xcbf2ee18
	ip = (struct inode *) 0xc23a4348
	error = 0
#17 0xc05ecb69 in softdep_request_cleanup (fs=0xc1af8800, vp=0x0) at machine/pcpu.h:156
	starttime = 1094685189
	needed = -2423580844619726841
#18 0xc05d8400 in ffs_realloccg (ip=0xc23a4348, lbprev=1, bprev=384176, bpref=381992, osize=8192, nsize=16384, cred=0xc21fce00, bpp=0xde5dbab0) at ../../../ufs/ffs/ffs_alloc.c:351
	vp = (struct vnode *) 0xc1fbb420
	fs = (struct fs *) 0xc1af8800
	bp = (struct buf *) 0xcbe517c0
	cg = 4
	request = 16384
	error = 0
	reclaimed = 1
	bno = 0
#19 0xc05dc37b in ffs_balloc_ufs1 (vp=0xc1fbb420, startoffset=0, size=16384, cred=0xc21fce00, flags=100728832, bpp=0xde5dbbdc) at ../../../ufs/ffs/ffs_balloc.c:159
	ip = (struct inode *) 0xc23a4348
	dp = (struct ufs1_dinode *) 0xc2335280
	lbn = 1
	lastlbn = -2423580841370220544
	fs = (struct fs *) 0xc1af8800
	nb = 384176
	bp = (struct buf *) 0x0
	nbp = (struct buf *) 0x0
	indirs = {{in_lbn = -4434136602667895684, in_off = 306, in_exists = -1066842530}, {in_lbn = -4589360328015496392, in_off = -1032402880, in_exists = 1}, {in_lbn = 1201523908181, in_off = -1036369080, in_exists = -564282232}, {in_lbn = -2423574931482163136, in_off = -1067368719, in_exists = -1032402880}, {in_lbn = -4582053776331898880, in_off = 306, in_exists = -1038621244}}
	deallocated = 384176
	osize = 8192
	nsize = 16384
	num = -564282688
	i = 0
	error = -1045460992
	newb = -4580418928163833968
	bap = (ufs1_daddr_t *) 0x3
	pref = -1066428896
	allocib = (ufs1_daddr_t *) 0xc06f2f20
	blkp = (ufs1_daddr_t *) 0x4000
	allocblk = (ufs1_daddr_t *) 0xc06f2ea8
	allociblk = {-564282604, -1068388847, 582, 582}
	unwindidx = -1
	td = (struct thread *) 0xc1d3cb00
#20 0xc05f0e43 in ffs_write (ap=0xde5dbc14) at ../../../ufs/ffs/ffs_vnops.c:650
	vp = (struct vnode *) 0xc1fbb420
	uio = (struct uio *) 0xde5dbc88
	ip = (struct inode *) 0xc23a4348
	fs = (struct fs *) 0xc1af8800
	bp = (struct buf *) 0x0
	td = (struct thread *) 0x2000
	lbn = 1
	osize = 24576
	seqcount = 6
	blkoffset = 8192
	error = 0
	extended = 0
	flags = 100728832
	ioflag = 393217
	resid = 8192
	size = 0
	xfersize = 8192
#21 0xc0553439 in vn_write (fp=0xc21f7088, uio=0xde5dbc88, active_cred=0xc21fce00, flags=0, td=0xc1d3cb00) at vnode_if.h:432
	vp = (struct vnode *) 0xc1fbb420
	mp = (struct mount *) 0xc1c0d000
	error = -1038126968
	ioflag = 393217
#22 0xc051c558 in dofilewrite (td=0xc1d3cb00, fp=0xc21f7088, fd=11, buf=0x84db00c, nbyte=8192, offset=0, flags=0) at ../../../sys/file.h:246
	auio = {uio_iov = 0xde5dbc80, uio_iovcnt = 1, uio_offset = 24576, uio_resid = 8192, uio_segflg = UIO_USERSPACE, uio_rw = UIO_WRITE, uio_td = 0xc1d3cb00}
	aiov = {iov_base = 0x84db00c, iov_len = 8192}
	cnt = 8192
	error = 8192
	ktruio = (struct uio *) 0x0
#23 0xc051c406 in write (td=0xc1d3cb00, uap=0xde5dbd14) at ../../../kern/sys_generic.c:282
	fp = (struct file *) 0xc21f7088
	error = 9
#24 0xc06407bb in syscall (frame={tf_fs = -1078001617, tf_es = -1078001617, tf_ds = 139001903, tf_edi = -1077940944, tf_esi = -1077940920, tf_ebp = 139031116, tf_isp = -564281996, tf_ebx = 8192, tf_edx = 139309068, tf_ecx = 138950904, tf_eax = 4, tf_trapno = 22, tf_err = 2, tf_eip = 675549863, tf_cs = 31, tf_eflags = 518, tf_esp = 139031072, tf_ss = 47}) at ../../../i386/i386/trap.c:1001
	params = 0x8497224---Can't read userspace from dump, or kernel process---

-- 
Brian Fundakowski Feldman                           \'[ FreeBSD ]''''''''''\
  <> green_at_FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Wed Sep 08 2004 - 21:58:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:11 UTC