Subject: ext2fs broken in -current?
To: None <tech-kern@netbsd.org>
From: Karl Janmar <karlj@mdstud.chalmers.se>
List: tech-kern
Date: 04/08/2003 02:15:51
When I mount and create a file under a ext2 fs the kernel panic. It is a
-current kernel from anoncvs 2003-04-07. The machine is an i686 having the
up-to-date userlands.

the kernel panic and leave the backtrace:

#0  0x1 in ?? ()
#1  0xc031057a in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:874
#2  0xc02973a4 in log ()
#3  0xc02813a5 in lockmgr ()
#4  0xc02be3cd in genfs_lock ()
#5  0xc02bd142 in VOP_LOCK ()
#6  0xc02bc881 in vn_lock ()
#7  0xc02b5d14 in vget (vp=0xd82367a8, flags=65554)
    at ../../../../kern/vfs_subr.c:1193
#8  0xc0231921 in ext2fs_sync (mp=0xc0acfe00, waitfor=2, cred=0xc0afa200,
    p=0xd818b4e8) at ../../../../ufs/ext2fs/ext2fs_vfsops.c:818
#9  0xc02b841b in sys_sync (l=0xd7dc5a80, v=0x0, retval=0x0)
    at ../../../../kern/vfs_syscalls.c:591
#10 0xc02b737d in vfs_shutdown () at ../../../../kern/vfs_subr.c:2521
#11 0xc031054f in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/i386/i386/machdep.c:861
#12 0xc02973a4 in log ()
#13 0xc0318a27 in trap ()
#14 0xc0102ae2 in calltrap ()
#15 0xc02bd337 in VOP_VALLOC ()
#16 0xc0233b91 in ext2fs_makeinode ()
#17 0xc023201d in ext2fs_create ()
---Type <return> to continue, or q <return> to quit---
#18 0xc02bc9df in VOP_CREATE ()
#19 0xc02bbdb8 in vn_open ()
#20 0xc02b8c0b in sys_open (l=0xd7dc5a80, v=0xd81c1f80, retval=0xd81c1f78)
    at ../../../../kern/vfs_syscalls.c:1034
#21 0xc03183ef in syscall_plain (frame={tf_gs = 43, tf_fs = 1210384427,
      tf_es = -1078001621, tf_ds = 1210384427, tf_edi = -1077943652,
      tf_esi = -1077942624, tf_ebp = -1077941596, tf_ebx = -1077943652,
      tf_edx = -1, tf_ecx = 1210377232, tf_eax = 5, tf_trapno = 3, tf_err
= 2,
      tf_eip = 1209882743, tf_cs = 35, tf_eflags = 663, tf_esp =
-1077943800,
      tf_ss = 43, tf_vm86_es = 0, tf_vm86_ds = 0, tf_vm86_fs = 0,
      tf_vm86_gs = 0}) at ../../../../arch/i386/i386/syscall.c:156
#22 0xc0100a57 in syscall1 ()
can not access 0xbfbfeaa4, invalid translation (invalid PDE)
can not access 0xbfbfeaa4, invalid translation (invalid PDE)
Cannot access memory at address 0xbfbfeaa4

Regards,

Karl