Subject: kern/11908: panic: ffs_valloc: dup alloc
To: None <gnats-bugs@gnats.netbsd.org>
From: Martin J. Laubach <mjl@emsi.priv.at>
List: netbsd-bugs
Date: 01/07/2001 08:20:13
>Number:         11908
>Category:       kern
>Synopsis:       panic: ffs_valloc: dup alloc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 07 08:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Martin J. Laubach
>Release:        1.5.1_ALPHA
>Organization:
>Environment:
	
System: NetBSD cactus.emsi.priv.at 1.5.1_ALPHA NetBSD 1.5.1_ALPHA (CACTUS1) #0: Sat Jan 6 04:39:44 CET 2001 mjl@asparagus:/home/temp/release/src/sys/arch/i386/compile/CACTUS1 i386


>Description:

  While restoring a backup from tape, the machine panicked
with panic: ffs_valloc: dup alloc.

	asparagus:40 [...arch/i386/compile/CACTUS1] % gdb netbsd
	GNU gdb 4.17
	...
	(gdb) target kcore ~mjl/netbsd.0.core
	panic: ffs_valloc: dup alloc
	#0  0xc0263ae0 in copyright ()
	(gdb) bt
	#0  0xc0263ae0 in copyright ()
	#1  0x1789000 in ?? ()
	#2  0xc021c1af in cpu_reboot ()
	#3  0xc0181493 in panic ()
	#4  0xc01736a2 in lockmgr ()
	#5  0xc01a1aa3 in genfs_lock ()
	#6  0xc01a0f03 in vn_lock ()
	#7  0xc0199d3e in vget ()
	#8  0xc02020c2 in ffs_sync ()
	#9  0xc019bf90 in sys_sync ()
	#10 0xc019b150 in vfs_shutdown ()
	#11 0xc021c187 in cpu_reboot ()
	#12 0xc0181493 in panic ()
	#13 0xc01f65f4 in ffs_valloc ()
	#14 0xc0208a9c in ufs_makeinode ()
	#15 0xc0205dc2 in ufs_create ()
	#16 0xc01a0378 in vn_open ()
	#17 0xc019c78e in sys_open ()
	#18 0xc02208f3 in syscall ()
	#19 0xc0100d39 in syscall1 ()
	can not access 0xbfbfdc90, invalid translation (invalid PDE)
	can not access 0xbfbfdc90, invalid translation (invalid PDE)
	Cannot access memory at address 0xbfbfdc90.

  That filesystem /var/tmp is not mounted softdep, but nfs exported.

>How-To-Repeat:

  No idea, but this has happened yesterday too while installing
a binary package, also using the /var/tmp filesystem.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: