Subject: Re: kern/30094 (lfs panic: lfs_vget: dinode not found)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-bugs
Date: 04/29/2006 15:20:04
The following reply was made to PR kern/30094; it has been noted by GNATS.

From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/30094 (lfs panic: lfs_vget: dinode not found) 
Date: Sat, 29 Apr 2006 09:19:42 -0600

 xtraeme@netbsd.org writes:
 > Synopsis: lfs panic: lfs_vget: dinode not found
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: xtraeme@netbsd.org
 > State-Changed-When: Sat, 29 Apr 2006 08:06:40 +0000
 > State-Changed-Why:
 > Do you still see this panic with a recent -current system?
 
 I saw this one in testing just the other day:
 
 
 lfs_cleanerd[6780]: /mnt: wrote 2108160 dirty + 40960 supporting indirect + 73728 supporting Ifile = 2222848 bytes to clean 9 segs (77% recovery)
 lfs_cleanerd[6780]: /mnt: bfree = 517543, avail = -4144, clean = 362/14648
 lfs_cleanerd[6780]: /mnt: cleaning with goal 4194304 bytes (362 segs clean)
 lfs_cleanerd[6780]: /mnt: cleaning with goal 4194304 bytes (362 segs clean)
 lfs_cleanerd[6780]: /mnt: add seg 1676 prio 53115 containing 8192 bytes
 lfs_cleanerd[6780]: /mnt: add seg 8110 prio 52760 containing 408064 bytes
 lfs_cleanerd[6780]: /mnt: add seg 2334 prio 52650 containing 512896 bytes
 lfs_cleanerd[6780]: /mnt: add seg 1536 prio 52535 containing 16384 bytes
 lfs_cleanerd[6780]: /mnt: add seg 4237 prio 52526 containing 349696 bytes
 lfs_cleanerd[6780]: sending blocks 0-770
 lfs_cleanerd[6780]: /mnt: wrote 1295232 dirty + 8192 supporting indirect + 40960 supporting Ifile = 1344384 bytes to clean 5 segs (75% recovery)
 lfs_cleanerd[6780]: /mnt: bfree = 518311, avail = 913, clean = 367/14648
 lfs_cleanerd[6780]: /mnt: cleaning with goal 4194304 bytes (367 segs clean)
 lfs_cleanerd[6780]: /mnt: cleaning with goal 4194304 bytes (367 segs clean)
 lfs_cleanerd[6780]: /mnt: add seg 334 prio 52612 containing 65280 bytes
 lfs_cleanerd[6780]: /mnt: add seg 1740 prio 52602 containing 8192 bytes
 lfs_cleanerd[6780]: /mnt: add seg 9725 prio 52442 containing 90112 bytes
 lfs_cleanerd[6780]: /mnt: add seg 1778 prio 52405 containing 8192 bytes
 lfs_cleanerd[6780]: /mnt: add seg 4485 prio 52386 containing 762624 bytes
 lfs_cleanerd[6780]: /mnt: add seg 1642 prio 52378 containing 16384 bytes
 lfs_cleanerd[6780]: /mnt: add seg 14425 prio 52339 containing 406912 bytes
 lfs_cleanerd[6780]: /mnt: add seg 14534 prio 52274 containing 335744 bytes
 lfs_cleanerd[6780]: /mnt: add seg 4424 prio 52207 containing 268416 bytes
 lfs_cleanerd[6780]: /mnt: add seg 2062 prio 52112 containing 8192 bytes
 lfs_cleanerd[6780]: /mnt: add seg 665 prio 52077 containing 395520 bytes
 lfs_cleanerd[6780]: sending blocks 0-595
 *died*
 
 /dev/raid0f  13393849  12896273   -844653   107%    /mnt
 
 searched 8 entries
 offset is 0x57326e (seg 5580)
 block is 0x7ed4a3 (seg 8117)
 searched 8 entries
 offset is 0x57326e (seg 5580)
 block is 0x7ed4a3 (seg 8117)
 panic: lfs_vget: dinode not found
 Stopped in pid 18791.1 (rm) at  netbsd:cpu_Debugger+0x5:        leave
 db{3}> tr
 cpu_Debugger() at netbsd:cpu_Debugger+0x5
 panic() at netbsd:panic+0x1c9
 lfs_vget() at netbsd:lfs_vget+0x545
 ufs_lookup() at netbsd:ufs_lookup+0x954
 VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x2e
 lookup() at netbsd:lookup+0x229
 namei() at netbsd:namei+0x12c
 sys_unlink() at netbsd:sys_unlink+0x63
 syscall_plain() at netbsd:syscall_plain+0xfb
 --- syscall (number 844424930852873) ---
 0x547500:
 db{3}>
 
 
 Later...
 
 Greg Oster