From owner-freebsd-current Thu Sep 19 1:40:11 2002 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 4DC9137B401; Thu, 19 Sep 2002 01:40:09 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id E084843E6E; Thu, 19 Sep 2002 01:40:08 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020919084008.JFLE5081.rwcrmhc52.attbi.com@InterJet.elischer.org>; Thu, 19 Sep 2002 08:40:08 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id BAA11625; Thu, 19 Sep 2002 01:35:33 -0700 (PDT) Date: Thu, 19 Sep 2002 01:35:32 -0700 (PDT) From: Julian Elischer To: David Xu Cc: freebsd-current@freebsd.org Subject: Re: kernel crash at boot time In-Reply-To: <01be01c25fb1$8b92a990$ef01a8c0@davidwnt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG try now On Thu, 19 Sep 2002, David Xu wrote: > Fatal trap 12: page fault while in kernel mode > fault virtual address = 0x10 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xc0227c89 > stack pointer = 0x10:0xcd3029c4 > frame pointer = 0x10:0xcd3029c4 > 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 = 182 (route) > panic: from debugger > > #0 doadump () at ../../../kern/kern_shutdown.c:213 > #1 0xc01f0819 in boot (howto=260) at ../../../kern/kern_shutdown.c:345 > #2 0xc01f0a48 in panic () at ../../../kern/kern_shutdown.c:493 > #3 0xc0142692 in db_panic () at ../../../ddb/db_command.c:449 > #4 0xc0142612 in db_command (last_cmdp=0xc0373820, cmd_table=0xc03299a8, aux_cmd_tablep=0x104, > aux_cmd_tablep_end=0xc0f04840) at ../../../ddb/db_command.c:345 > #5 0xc0142726 in db_command_loop () at ../../../ddb/db_command.c:471 > #6 0xc014538a in db_trap (type=12, code=0) at ../../../ddb/db_trap.c:72 > #7 0xc02fb2f2 in kdb_trap (type=12, code=0, regs=0xcd302984) at ../../../i386/i386/db_interface.c:160 > #8 0xc030b982 in trap_fatal (frame=0xcd302984, eva=0) at ../../../i386/i386/trap.c:837 > #9 0xc030b692 in trap_pfault (frame=0xcd302984, usermode=0, eva=16) at ../../../i386/i386/trap.c:756 > #10 0xc030b20d in trap (frame= > {tf_fs = -1070333928, tf_es = 16, tf_ds = -1057947632, tf_edi = -1057927680, tf_esi = -1032651796, tf_ebp = -852481596, tf_isp = -852481616, tf_ebx = 238, tf_edx = 0, tf_ecx = -852481576, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = -1071481719, tf_cs = 8, tf_eflags = 66054, tf_esp = -852481560, tf_ss = -1071466855}) at ../../../i386/i386/trap.c:444 > #11 0xc02fca38 in calltrap () at {standard input}:98 > #12 0xc022b699 in sbappendaddr (sb=0xc272fbec, asa=0xc038c9f8, m0=0xc0f14e00, control=0x0) > at ../../../kern/uipc_socket2.c:624 > #13 0xc025de6f in raw_input (m0=0xc0f14e00, proto=0xc038ca18, src=0xc038c9f8, dst=0xc038c9e8) > at ../../../net/raw_usrreq.c:116 > #14 0xc026032b in rt_missmsg (type=0, rtinfo=0xcd302a58, flags=132101, error=0) at ../../../net/rtsock.c:735 > #15 0xc025e3eb in rtalloc1 (dst=0xc272c900, report=1, ignflags=0) at ../../../net/route.c:196 > #16 0xc025f228 in rt_setgate (rt0=0xc2729500, dst=0xc272c9dc, gate=0xc272c9ec) at ../../../net/route.c:998 > #17 0xc025ec45 in rtrequest1 (req=1, info=0xcd302b44, ret_nrt=0xcd302b3c) at ../../../net/route.c:659 > #18 0xc025f9d6 in route_output (m=0xc0f14d00, so=0xc272fba0) at ../../../net/rtsock.c:344 > #19 0xc025e0cd in raw_usend (so=0x0, flags=0, m=0x0, nam=0x0, control=0x0, td=0xc0f04840) at ../../../net/raw_usrreq.c:260 > #20 0xc025f745 in rts_send (so=0x0, flags=0, m=0x0, nam=0x0, control=0x0, td=0x0) at ../../../net/rtsock.c:239 > #21 0xc0228fe3 in sosend (so=0xc272fba0, addr=0x0, uio=0xcd302c7c, top=0xc0f14d00, control=0x0, flags=0, td=0xc0f04840) > at ../../../kern/uipc_socket.c:707 > #22 0xc0219300 in soo_write (fp=0x0, uio=0xcd302c7c, active_cred=0xc0f01200, flags=0, td=0xc0f04840) > at ../../../kern/sys_socket.c:89 > #23 0xc0213455 in dofilewrite (td=0xc0f04840, fp=0xc26b1d5c, fd=0, buf=0x80aa300, nbyte=0, offset=0, flags=0) at file.h:214 > #24 0xc0213299 in write (td=0xc0f04840, uap=0xcd302d10) at ../../../kern/sys_generic.c:332 > #25 0xc030bcee in syscall (frame= > {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 134914908, tf_esi = 128, tf_ebp = -1077936872, tf_isp = -852480652, tf_ebx = 134914944, tf_edx = 134915680, tf_ecx = 0, tf_eax = 4, tf_trapno = 12, tf_err = 2, tf_eip = 134526191, tf_cs = 31, tf_eflags = 662, tf_esp = -1077936916, tf_ss = 47}) at ../../../i386/i386/trap.c:1046 > #26 0xc02fca8d in Xint0x80_syscall () at {standard input}:140 > > note that when kernel ran into DDB, the fault instruction was at m_length+9, > but core dump did not record the fact. > > David Xu > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message