Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 1998 02:39:51 +0200 (CEST)
From:      "D. Rock" <rock@cs.uni-sb.de>
To:        current@FreeBSD.ORG
Subject:   NULLFS/vm panic
Message-ID:  <13695.9996.971131.666135@doom.ics>

next in thread | raw e-mail | index | archive | help
Hi,

cvsup'd just a few hours ago. Everything is compiled in the kernel
statically.

If I try to execute something over NULLFS my system panics:

#0  boot (howto=256) at ../../kern/kern_shutdown.c:282
#1  0xf012798f in panic (fmt=0xf010e828 "from debugger")
    at ../../kern/kern_shutdown.c:423
#2  0xf010e845 in db_panic (addr=-266556096, have_addr=0, count=-1, 
    modif=0xf53dea34 "") at ../../ddb/db_command.c:432
#3  0xf010e723 in db_command (last_cmdp=0xf023d884, cmd_table=0xf023d6e4, 
    aux_cmd_tablep=0xf0254204) at ../../ddb/db_command.c:332
#4  0xf010e8b2 in db_command_loop () at ../../ddb/db_command.c:454
#5  0xf0110f1b in db_trap (type=12, code=0) at ../../ddb/db_trap.c:71
#6  0xf01eb679 in kdb_trap (type=12, code=0, regs=0xf53deb78)
    at ../../i386/i386/db_interface.c:157
#7  0xf01f7367 in trap_fatal (frame=0xf53deb78) at ../../i386/i386/trap.c:874
#8  0xf01f6e18 in trap_pfault (frame=0xf53deb78, usermode=0)
    at ../../i386/i386/trap.c:772
#9  0xf01f6a5b in trap (frame={tf_es = 16, tf_ds = 16, tf_edi = 12288, 
      tf_esi = 0, tf_ebp = -180491120, tf_isp = -180491360, tf_ebx = 0, 
      tf_edx = -180610208, tf_ecx = -180490928, tf_eax = 0, tf_trapno = 12, 
      tf_err = 0, tf_eip = -266556096, tf_cs = 8, tf_eflags = 66118, 
      tf_esp = 1, tf_ss = 0}) at ../../i386/i386/trap.c:396
*bang*
#10 0xf01cad40 in ffs_getpages (ap=0xf53ded4c)
    at ../../ufs/ufs/ufs_readwrite.c:463
#11 0xf01544e2 in null_bypass (ap=0xf53ded4c)
    at ../../miscfs/nullfs/null_vnops.c:295
#12 0xf01e18c2 in vnode_pager_getpages (object=0xf0267e40, m=0xf53dedac, 
    count=3, reqpage=0) at vnode_if.h:1047
#13 0xf01e05d3 in vm_pager_get_pages (object=0xf0267e40, m=0xf53dedac, 
    count=3, reqpage=0) at ../../vm/vm_pager.c:256
#14 0xf011ffee in exec_map_first_page (imgp=0xf53dee84)
    at ../../kern/kern_exec.c:387
#15 0xf011fb23 in execve (p=0xf53c7880, uap=0xf53def84)
    at ../../kern/kern_exec.c:166
#16 0xf01f7628 in syscall (frame={tf_es = 39, tf_ds = 39, tf_edi = 344936, 
      tf_esi = 0, tf_ebp = -272638632, tf_isp = -180490284, tf_ebx = 344948, 
      tf_edx = 344948, tf_ecx = 348463, tf_eax = 59, tf_trapno = 12, 
      tf_err = 7, tf_eip = 166917, tf_cs = 31, tf_eflags = 518, 
      tf_esp = -272638660, tf_ss = 39}) at ../../i386/i386/trap.c:1031

I suspect, it will also happen if you use mmap(), but haven't tried.
The kernel doesn't have any "special" compiled in. No soft updates.

Daniel

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13695.9996.971131.666135>