Subject: panic with obj dir on ext2 fs
To: None <current-users@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: current-users
Date: 02/04/2003 12:12:32
Hi,

I tried to compile -current, running a -current kernel. The object
directory (BSDOBJDIR) points to an ext2 partition. Somewhere in the
build I get a panic


mode = 0100640, nlinks 1, inum = 131072, fs = /usr/oth
panic: ext2fs_valloc: dup alloc
Stopped in pid 5561.1 (alpha--netbsd-ld) at     cpu_Debugger+0x4:       ret     z
ero,(ra)
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0x168
ext2fs_valloc() at ext2fs_valloc+0x178
VOP_VALLOC() at VOP_VALLOC+0x44
ext2fs_makeinode() at ext2fs_makeinode+0xb0
ext2fs_create() at ext2fs_create+0x48
VOP_CREATE() at VOP_CREATE+0x44
vn_open() at vn_open+0x110
sys_open() at sys_open+0x110
syscall_plain() at syscall_plain+0x154
XentSys() at XentSys+0x5c
--- syscall (5) ---
--- user mode ---
db> 


This is on alpha, but it also happened twice on i386, but there was no
serial console so I couldn't get the output easily.

regards,
chris