Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Oct 2002 09:38:58 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        current@freebsd.org
Subject:   panic in getnewvnode
Message-ID:  <E17wzdS-0008GH-00@cse.cs.huji.ac.il>

next in thread | raw e-mail | index | archive | help
there is something fishy going on :-)
with latest current,
the tests are run on a diskless host, and just after booting,
this is what i do:
	newfs /dev/ad0s2a
	mount /dev/ad0s2a /mnt-root
	cd  /mnt-root
	rsh dev -n dump 0f - /c/4| restore rf -

panic: vn_finished_write: neg cnt

zeroing vnmp in getnewvnode, i get:

panic: getnewvnode: free vnode isn't
Debugger("panic")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> t
Debugger(c04b615c,c056a400,c04bfa5a,cc8117e4,1) at Debugger+0x54
panic(c04bfa5a,0,c04bfa00,39a,c03e038b) at panic+0xab
getnewvnode(c04d19e9,c2761a00,c2301700,cc811884,c75810ae) at getnewvnode+0x3c6
ffs_vget(c2761a00,46cd,2,cc8118f4,8180) at ffs_vget+0x93
ffs_valloc(c23cc128,8180,c2744a00,cc8118f4,cc8118f8) at ffs_valloc+0x100
ufs_makeinode(8180,c23cc128,cc811bec,cc811c00,602) at ufs_makeinode+0x69
ufs_create(cc811a48,cc811a68,c0334a59,cc811a48,c04e78a0) at ufs_create+0x39
ufs_vnoperate(cc811a48,c04e78a0,c23cc128,cc811bec,cc811c00) at 
ufs_vnoperate+0x18
VOP_CREATE(c23cc128,cc811bec,cc811c00,cc811aac,2) at VOP_CREATE+0x39
vn_open_cred(cc811bd8,cc811cd8,180,c2744a00,cc811cc4) at vn_open_cred+0x179
vn_open(cc811bd8,cc811cd8,180,28f,0) at vn_open+0x29
kern_open(c22a1270,80b32e1,0,602,1b6) at kern_open+0x183
open(c22a1270,cc811d10,c04de5a0,418,3) at open+0x30
syscall(2f,2f,2f,80b32e1,0) at syscall+0x2be
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (5, FreeBSD ELF32, open), eip = 0x8054953, esp = 0xbfbff3ec, ebp = 
0xbfbff438 ---


BTW, I'm compiling on a 4.6 stable (cc version: gcc version 2.95.4)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E17wzdS-0008GH-00>