NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/60746: kernel diagnostic assertion "ino >= LFS_IFILE_INUM" failed: file "../../../../ufs/lfs/lfs_vfsops.c", line 1800
>Number: 60746
>Category: kern
>Synopsis: kernel diagnostic assertion "ino >= LFS_IFILE_INUM" failed: file "../../../../ufs/lfs/lfs_vfsops.c", line 1800
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 19 07:50:00 +0000 2026
>Originator: Shinichi Doyashiki
>Release: 11.99.8 around 2026-09-12
>Organization:
at home
>Environment:
NetBSD kanade2.hq.csel.org 11.99.8 NetBSD 11.99.8 (KANADE2_12) #9: Sat Sep 12 20:38:51 JST 2026 clare%kanade2.hq.csel.org@localhost:/export/netbsd/debuglfs/src/sys/arch/amd64/compile/KANADE2_12 amd64
>Description:
a panic was observed while test.
[ 526883.5217532] panic: kernel diagnostic assertion "ino >= LFS_IFILE_INUM" failed: file "../../../../ufs/lfs/lfs_vfsops.c", line 1800
[ 526883.5408887] cpu0: Begin traceback...
[ 526883.5447717] vpanic() at netbsd:vpanic+0x171
[ 526883.5447717] kern_assert() at netbsd:kern_assert+0x4b
[ 526883.5537123] lfs_loadvnode() at netbsd:lfs_loadvnode+0x60d
[ 526883.5625589] vcache_get() at netbsd:vcache_get+0x1cf
[ 526883.5625589] lfs_vget() at netbsd:lfs_vget+0x23
[ 526883.5724008] finfo_func_checkempty() at netbsd:finfo_func_checkempty+0x58
[ 526883.5824602] lfs_parse_pseg() at netbsd:lfs_parse_pseg+0x398
[ 526883.5824602] lfs_checkempty() at netbsd:lfs_checkempty+0xec
[ 526883.5934519] lfs_markclean() at netbsd:lfs_markclean+0x3e
[ 526883.6023696] lfs_auto_segclean() at netbsd:lfs_auto_segclean+0x22a
[ 526883.6023696] lfs_segunlock() at netbsd:lfs_segunlock+0x760
[ 526883.6140694] lfs_segwrite() at netbsd:lfs_segwrite+0x531
[ 526883.6227953] lfs_sync() at netbsd:lfs_sync+0xc6
[ 526883.6227953] VFS_SYNC() at netbsd:VFS_SYNC+0x22
[ 526883.6322588] do_sys_sync() at netbsd:do_sys_sync+0x65
[ 526883.6417495] sys_sync() at netbsd:sys_sync+0x9
[ 526883.6417495] syscall() at netbsd:syscall+0x9d
[ 526883.6520158] --- syscall (number 36) ---
[ 526883.6520158] netbsd:syscall+0x9d:
[ 526883.6520158] cpu0: End traceback...
>How-To-Repeat:
1. create a small (32MB or so) of LFS partition
2. run following test script
#!/bin/sh
#
# LFS umount while cleaner test
#
mkdir -p /testlfs
count=0
while [ true ]; do
count=`expr $count + 1`
echo "===> MOUNT $count"
mount_lfs -u /dev/dk5 /testlfs
{
cd /testlfs
dd if=/dev/zero of=testfile.bin bs=1m count=1
sync
rm testfile.bin
cd ..
}
if umount /testlfs; then
echo "===> GOOD umount"
else
echo "===> BAD umount"
exit 1
fi
if fsck_lfs -nf /dev/rdk5; then
echo "===> GOOD fsck_lfs"
else
echo "===> BAD fsck_lfs"
exit 1
fi
done
>Fix:
unknown.
Home |
Main Index |
Thread Index |
Old Index