tech-kern archive

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

NetBSD 2.1.1: panic during cvs update



Hello,

One of my machines suddenly panic'ed during 'cvs update'. That hasn't ever
happened before. However, it's an old machine running NetBSD 2.1.1 GENERIC
kernel and I suspect the cause is either 1) softdeps or 2) bad blocks. I'm
inclined to think it's 2), but not long ago someone mentioned that softdeps
can silently corrupt a filesystem. The filesystem trashed was /usr/src so
it's not a big deal, I just ran newfs again. I've attached a file with ddb's
output. I'd be very grateful if someone would look into it and tell me what
the cause may be. If it happens to be 2), is there a tool to report bad
blocks? I only found bad144 and badsect but neither of them seems to be the
right thing to use.

Thank you in advance.
db> bt
cpu_Debugger(c4c29ed0,1,c0b030cc,c4f71e18,c5c7a794) at netbsd:cpu_Debugger+0x4
panic(c06fcf60,3a35,0,c4c037ec,0) at netbsd:panic+0x11d
softdep_update_inodeblock(c5c7a794,c0cbd300,0,0,c05aa680) at 
netbsd:softdep_update_inodeblock+0x8a
ffs_update(c4c03894,3a35,0,c4c038a8,c05aa580) at netbsd:ffs_update+0x397
VOP_UPDATE(c5d3742c,0,0,0,1) at netbsd:VOP_UPDATE+0x34
ffs_full_fsync(c4c039a4,0,0,0,1) at netbsd:ffs_full_fsync+0x17b
ffs_fsync(c4c039a4,c5d3742c,c4c039dc,c03951b8,c05a9ec0) at netbsd:ffs_fsync+0x4c
VOP_FSYNC(c5d3742c,ffffffff,5,0,0) at netbsd:VOP_FSYNC+0x4c
vinvalbuf(c5d3742c,1,ffffffff,c4bec19c,0) at netbsd:vinvalbuf+0x18e
vclean(c5d3742c,8,c4bec19c,0,c5d3742c) at netbsd:vclean+0x16c
vgonel(c5d3742c,c4bec19c,2,1fdb,c0c32c40) at netbsd:vgonel+0x42
getcleanvnode(c4bec19c,200000,0,c4bec19c,0) at netbsd:getcleanvnode+0xb6
getnewvnode(1,c0bffe00,c0ad2300,c4c03b68,c0cbddc8) at netbsd:getnewvnode+0xce
ffs_vget(c0bffe00,3a76,c4c03c30,3a76,c54291c0) at netbsd:ffs_vget+0x50
ffs_valloc(c4c03be4,c5927d48,c4c03c1c,c0bffc00,c05aa440) at 
netbsd:ffs_valloc+0xe5
VOP_VALLOC(c5927d48,81a4,c0bdac00,c4c03c30,c05a9c40) at netbsd:VOP_VALLOC+0x34
ufs_makeinode(81a4,c5927d48,c4c03ec4,c4c03ed8,0) at netbsd:ufs_makeinode+0x48
ufs_create(c4c03d94,4871df15,c4c03dcc,c03950f0,c05a9b00) at 
netbsd:ufs_create+0x26
VOP_CREATE(c5927d48,c4c03ec4,c4c03ed8,c4c03df4,c5927d48) at 
netbsd:VOP_CREATE+0x34         
vn_open(c4c03eb4,20a,1a4,c4bb75ac,c5158bbc) at netbsd:vn_open+0x151
sys_open(c4bb75ac,c4c03f64,c4c03f5c,0,c4c03fa4) at netbsd:sys_open+0xbc
syscall_plain() at netbsd:syscall_plain+0x7e
0x4828af37:

db> sync
syncing disks... panic: lockmgr: locking against myself
Stopped in pid 752.1 (cvs) at netbsd:cpu_Debugger+0x4: leave

db> sync
dumping to dev 0,1 offset 263047
127 126 125 ... 1 succeeded
rebooting...


Home | Main Index | Thread Index | Old Index