NetBSD-Bugs archive

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

kern/46088: Diagnostic assertion failed in sys/fs/tmpfs/tmpfs_vnops.c



>Number:         46088
>Category:       kern
>Synopsis:       Diagnostic assertion failed in sys/fs/tmpfs/tmpfs_vnops.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 24 16:35:00 +0000 2012
>Originator:     Uwe Klaus
>Release:        6.0_BETA
>Organization:
>Environment:
NetBSD t410s 6.0_BETA NetBSD 6.0_BETA (GENERIC) #1: Fri Feb 24 10:25:25 MET 
2012  root@t410s:/t410/inteldrm/obj.i386/sys/arch/i386/compile/GENERIC i386

>Description:
This is a follow-up of PR/46038.

make test in /usr/pkgsrc/devel/m4 causes kernel panic

savecore: kvm_read: invalid translation (invalid PTE)
savecore: reboot after panic: kernel diagnostic assertion 
"node->tn_spec.tn_dir.tn_parent == dnode" failed: file 
"/usr/src/sys/fs/tmpfs/tmpfs_vnops.c", line 2093 

make test succeeds for WRKOBJDIR on ffs file systems, but not for WRKOBJDIR on 
tmpfs.

cpu2: Begin traceback...
kern_assert() at netbsd:kern_assert+0x48
tmpfs_rmdir() at netbsd:tmpfs_rmdir+0x5ea
VOP_RMDIR() at netbsd:VOP_RMDIR+0x37
sys_rmdir() at netbsd:sys_rmdir+0xf2
syscall() at netbsd:syscall+0xca
cpu2: End traceback...
>How-To-Repeat:
mk.conf:    WRKOBJDIR=/tmp/pkgsrc
/etc/fstab: tmpfs /tmp tmpfs rw,-s=4G,nodev,nosuid

cd /usr/pkgsrc/devel/m4
make
make test

>Fix:



Home | Main Index | Thread Index | Old Index