From owner-freebsd-current@FreeBSD.ORG Tue Feb 24 02:11:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E80F716A4CE; Tue, 24 Feb 2004 02:11:35 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C17DC43D1D; Tue, 24 Feb 2004 02:11:35 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (f5c8c2dee8846d1ae3e816ac7ff1ac10@adsl-67-119-53-203.dsl.lsan03.pacbell.net [67.119.53.203])i1OABYQ0008669; Tue, 24 Feb 2004 02:11:35 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EE56D66CAF; Tue, 24 Feb 2004 02:11:33 -0800 (PST) Date: Tue, 24 Feb 2004 02:11:33 -0800 From: Kris Kennaway To: freebsd-current@FreeBSD.org Message-ID: <20040224101133.GA43127@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline User-Agent: Mutt/1.4.1i cc: phk@FreeBSD.org Subject: Fatal trap 12 in open() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2004 10:11:36 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I updated the i386 package machines to -current tonight and they all panicked shortly thereafter with this trace (including all while running ldconfig, which may be significant): Fatal trap 12: page fault while in kernel mode fault virtual address = 0x60 fault code = supervisor read, page not present instruction pointer = 0x8:0xc054d906 stack pointer = 0x10:0xd98e09e4 frame pointer = 0x10:0xd98e09e4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4611 (ldconfig) kernel: type 12 trap, code=0 Stopped at devsw+0x6: cmpl $0,0x60(%eax) db> trace devsw(0,d98e0a0c,c05d2642,7a69,c4670480) at devsw+0x6 spec_open(d98e0a64,d98e0a44,c06b6e48,d98e0a64,d98e0b20) at spec_open+0x4a spec_vnoperate(d98e0a64,d98e0b20,c05dad92,d98e0a64,c056729d) at spec_vnoperate+0x18 ufs_vnoperatespec(d98e0a64,c056729d,c07d01e0,c4e96930,c580571c) at ufs_vnoperatespec+0x18 vn_open_cred(d98e0bdc,d98e0cdc,0,c4670480,3) at vn_open_cred+0x432 vn_open(d98e0bdc,d98e0cdc,0,3,d98e0b78) at vn_open+0x33 kern_open(c4e96930,2812633f,0,1,0) at kern_open+0xce open(c4e96930,d98e0d14,c077eee3,3e6,3) at open+0x30 syscall(2f,2f,2f,3e,804f01e) at syscall+0x2a0 Xint0x80_syscall() at Xint0x80_syscall+0x1d --- syscall (5, FreeBSD ELF32, open), eip = 0x280b9f67, esp = 0xbfbfe56c, ebp = 0xbfbfe638 --- (kgdb) bt #0 doadump () at /a/asami/portbuild/i386/src-client/sys/kern/kern_shutdown.c:240 #1 0xc046e435 in db_fncall (dummy1=1016, dummy2=0, dummy3=1016, dummy4=0xcee4b7ec "\f") at /a/asami/portbuild/i386/src-client/sys/ddb/db_command.c:548 #2 0xc046e172 in db_command (last_cmdp=0xc07c1f60, cmd_table=0x0, aux_cmd_tablep=0xc0783b54, aux_cmd_tablep_end=0xc0783b58) at /a/asami/portbuild/i386/src-client/sys/ddb/db_command.c:346 #3 0xc046e2c5 in db_command_loop () at /a/asami/portbuild/i386/src-client/sys/ddb/db_command.c:472 #4 0xc0471325 in db_trap (type=12, code=0) at /a/asami/portbuild/i386/src-client/sys/ddb/db_trap.c:73 #5 0xc0704f3c in kdb_trap (type=12, code=0, regs=0xcee4b9a4) at /a/asami/portbuild/i386/src-client/sys/i386/i386/db_interface.c:171 #6 0xc07153e6 in trap_fatal (frame=0xcee4b9a4, eva=0) at /a/asami/portbuild/i386/src-client/sys/i386/i386/trap.c:814 #7 0xc07150b2 in trap_pfault (frame=0xcee4b9a4, usermode=0, eva=96) at /a/asami/portbuild/i386/src-client/sys/i386/i386/trap.c:733 #8 0xc0714c93 in trap (frame= {tf_fs = -1021706216, tf_es = -1056833520, tf_ds = -1056833520, tf_edi = 256, tf_esi = -1012982216, tf_ebp = -823871004, tf_isp = -823871024, tf_ebx = 1, tf_edx = 0, tf_ecx = 15, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1068181242, tf_cs = 8, tf_eflags = 66118, tf_esp = -823870932, tf_ss = -1068288070}) at /a/asami/portbuild/i386/src-client/sys/i386/i386/trap.c:420 #9 0xc0706908 in calltrap () at {standard input}:94 #10 0xc05337ba in spec_open (ap=0xcee4ba64) at /a/asami/portbuild/i386/src-client/sys/fs/specfs/spec_vnops.c:151 #11 0xc0533768 in spec_vnoperate (ap=0x0) at /a/asami/portbuild/i386/src-client/sys/fs/specfs/spec_vnops.c:122 #12 0xc06b6e48 in ufs_vnoperatespec (ap=0x0) at /a/asami/portbuild/i386/src-client/sys/ufs/ufs/ufs_vnops.c:2840 #13 0xc05dad92 in vn_open_cred (ndp=0xcee4bbdc, flagp=0xcee4bcdc, cmode=0, cred=0xc2e31900, fdidx=0) at vnode_if.h:228 #14 0xc05da953 in vn_open (ndp=0x0, flagp=0x0, cmode=0, fdidx=0) at /a/asami/portbuild/i386/src-client/sys/kern/vfs_vnops.c:93 #15 0xc05d3dce in kern_open (td=0xc31743f0, path=0x0, pathseg=UIO_USERSPACE, flags=1, mode=0) at /a/asami/portbuild/i386/src-client/sys/kern/vfs_syscalls.c:971 #16 0xc05d3cf0 in open (td=0x0, uap=0x0) at /a/asami/portbuild/i386/src-client/sys/kern/vfs_syscalls.c:941 #17 0xc0715760 in syscall (frame= {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 62, tf_esi = 134541342, tf_ebp = -1077942728, tf_isp = -823870092, tf_ebx = 672309644, tf_edx = 2676, tf_ecx = 0, tf_eax = 5, tf_trapno = 12, tf_err = 2, tf_eip = 671850343, tf_cs = 31, tf_eflags = 642, tf_esp = -1077942932, tf_ss = 47}) at /a/asami/portbuild/i386/src-client/sys/i386/i386/trap.c:1008 #18 0xc070695d in Xint0x80_syscall () at {standard input}:136 ---Can't read userspace from dump, or kernel process--- Kris --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAOyNVWry0BWjoQKURAqNNAKDT0/gR+ICIeZzNK68Jku6Bsv/8VACgrVRJ hULogB2YBY82Ex56oriYeTs= =FDLT -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--