Subject: kern/9576: lfs_writeseg: avoiding potential data summary corruption for ino 9093, lbn 11
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.no>
List: netbsd-bugs
Date: 03/08/2000 11:21:40
>Number:         9576
>Category:       kern
>Synopsis:       lfs_writeseg: avoiding potential data summary corruption for ino 9093, lbn 11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar  8 11:21:00 2000
>Last-Modified:
>Originator:     Jarle Greipsland
>Organization:
RUNIT
>Release:        <NetBSD-current source date>2000-03-03
>Environment:
	
System: NetBSD honey.runit.sintef.no 1.4U NetBSD 1.4U (HONEY) #16: Fri Mar 3 15:14:44 CET 2000 jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY alpha

>Description:
Another crash on the LFS partition.  I think this one occured during the
nightly run of the daily script.

login: lfs_writeseg: avoiding potential data summary corruption for ino 9093, lbn 11
offset is 10987156 (seg 5364)
block is 10986660 (seg 5364)
panic: lfs_ifind: dinode 854 not found
Stopped in find at      cpu_Debugger+0x4:       ret     zero,(ra)
db> 
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0xe4
lfs_ifind() at lfs_ifind+0x120
lfs_vget() at lfs_vget+0x294
ufs_lookup() at ufs_lookup+0xd48
layer_lookup() at layer_lookup+0xb0
lookup() at lookup+0x40c
namei() at namei+0x424
vn_open() at vn_open+0x228
sys_open() at sys_open+0xf0
syscall() at syscall+0x1c8
XentSys() at XentSys+0x50
--- syscall (5, netbsd.sys_open) ---
--- user mode ---
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
>How-To-Repeat:
unknown
	
>Fix:
unknown
	
>Audit-Trail:
>Unformatted:
>5360            5350       5349          0 2  0x4004             find
 5353            5349       5349          0 3  0x4184         sendmail   netio
 5352            5349       5349          0 3  0x4084              tee   netio
 5350            5349       5349          0 3  0x4084               sh    wait
 5349            5348       5349          0 3  0x4084               sh    wait
 5348             214        214          0 3   0x184             cron   netio
 249              240        249          0 4  0x5006              csh
 240              239        240      16073 3  0x4086             bash   ttyin
 239              236        236      16073 3  0x4184            xterm  select
 236              234        236      16073 3  0x4084              csh   pause
 234              231        231          0 3    0x84            sshd1  select
 233                1        233          0 3  0x4086            getty   ttyin
 231                1        231          0 3    0x84            sshd1  select
 219                1        219          0 3    0x84            inetd  select
 216                1        216          0 3    0x84            xntpd   pause
 214                1        214          0 3   0x184             cron nanosle
 183              182        182          0 3    0x84     lfs_cleanerd segment
 182                1        182          0 3    0x84     lfs_cleanerd    wait
 179                1        179          0 3    0x84        mount_mfs  mfsidl
 173                1        173          0 3    0x84          portmap  select
 166                1        166          0 2     0x4          syslogd
 4                  0          0          0 2 0x20204          ioflush
 3                  0          0          0 3 0x20204           reaper  reaper
 2                  0          0          0 3 0x20204       pagedaemon daemon_
 1                  0          1          0 3  0x4084             init    wait
 0                 -1          0          0 3 0x20204          swapper schedul