NetBSD-Users archive

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

find dir inode?



Getting a panic every night with NetBSD 9.99.64 due to a directory issue:

[ 84702.426131] panic: /opt2: bad dir ino 209700553 at offset 0: Bad dir (too big), reclen=0x5000, namlen=59, dirsiz=68 <= reclen=20480 <= maxsize=512, flags=0x2001000, entryoffsetinblock=0, dirblksiz=512

[ 84702.426131] cpu1: Begin traceback...
[ 84702.426131] vpanic() at netbsd:vpanic+0x152
[ 84702.426131] snprintf() at netbsd:snprintf
[ 84702.426131] ufs_lookup() at netbsd:ufs_lookup+0x518
[ 84702.426131] VOP_LOOKUP() at netbsd:VOP_LOOKUP+0x42
[ 84702.436131] lookup_once() at netbsd:lookup_once+0x1a1
[ 84702.436131] namei_tryemulroot() at netbsd:namei_tryemulroot+0xbd7
[ 84702.436131] namei() at netbsd:namei+0x29
[ 84702.436131] fd_nameiat.isra.2() at netbsd:fd_nameiat.isra.2+0x54
[ 84702.436131] do_sys_statat() at netbsd:do_sys_statat+0x87
[ 84702.436131] sys___lstat50() at netbsd:sys___lstat50+0x25
[ 84702.436131] syscall() at netbsd:syscall+0x26e
[ 84702.436131] --- syscall (number 441) ---
[ 84702.436131] netbsd:syscall+0x26e:
[ 84702.436131] cpu1: End traceback...

[ 84702.436131] dumping to dev 168,7 (offset=1645335, size=1044333):
[ 84702.436131] dump <4>coretemp0: workqueue busy: updates stopped
[ 84747.385657] coretemp1: workqueue busy: updates stopped

I tried plowing around using ls -id to find a directory inode which
matches but can't find it. Back in about '84 was the last time I
used fsdb to rebuild a filesystem but I can't remember what I used
to locate inode numbers back then. Any suggestions? Thx


Home | Main Index | Thread Index | Old Index