From owner-freebsd-current Thu Sep 19 0:55:26 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 B674F37B401 for ; Thu, 19 Sep 2002 00:55:22 -0700 (PDT) Received: from mail.viasoft.com.cn (ip-167-164-97-218.anlai.com [218.97.164.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A7F43E4A for ; Thu, 19 Sep 2002 00:55:20 -0700 (PDT) (envelope-from davidxu@freebsd.org) Received: from davidwnt (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id QAA31402 for ; Thu, 19 Sep 2002 16:14:15 +0800 Message-ID: <01be01c25fb1$8b92a990$ef01a8c0@davidwnt> From: "David Xu" To: References: <20020918200221.I266-100000@femme.sapphite.org> <00b401c25f87$38e460f0$ef01a8c0@davidwnt> Subject: kernel crash at boot time Date: Thu, 19 Sep 2002 15:52:46 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Fatal trap 12: page fault while in kernel mode fault virtual address =3D 0x10 fault code =3D supervisor read, page not present instruction pointer =3D 0x8:0xc0227c89 stack pointer =3D 0x10:0xcd3029c4 frame pointer =3D 0x10:0xcd3029c4 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 182 (route) panic: from debugger #0 doadump () at ../../../kern/kern_shutdown.c:213 #1 0xc01f0819 in boot (howto=3D260) 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=3D0xc0373820, = cmd_table=3D0xc03299a8, aux_cmd_tablep=3D0x104,=20 aux_cmd_tablep_end=3D0xc0f04840) at ../../../ddb/db_command.c:345 #5 0xc0142726 in db_command_loop () at ../../../ddb/db_command.c:471 #6 0xc014538a in db_trap (type=3D12, code=3D0) at = ../../../ddb/db_trap.c:72 #7 0xc02fb2f2 in kdb_trap (type=3D12, code=3D0, regs=3D0xcd302984) at = ../../../i386/i386/db_interface.c:160 #8 0xc030b982 in trap_fatal (frame=3D0xcd302984, eva=3D0) at = ../../../i386/i386/trap.c:837 #9 0xc030b692 in trap_pfault (frame=3D0xcd302984, usermode=3D0, = eva=3D16) at ../../../i386/i386/trap.c:756 #10 0xc030b20d in trap (frame=3D {tf_fs =3D -1070333928, tf_es =3D 16, tf_ds =3D -1057947632, = tf_edi =3D -1057927680, tf_esi =3D -1032651796, tf_ebp =3D -852481596, = tf_isp =3D -852481616, tf_ebx =3D 238, tf_edx =3D 0, tf_ecx =3D = -852481576, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D = -1071481719, tf_cs =3D 8, tf_eflags =3D 66054, tf_esp =3D -852481560, = tf_ss =3D -1071466855}) at ../../../i386/i386/trap.c:444 #11 0xc02fca38 in calltrap () at {standard input}:98 #12 0xc022b699 in sbappendaddr (sb=3D0xc272fbec, asa=3D0xc038c9f8, = m0=3D0xc0f14e00, control=3D0x0) at ../../../kern/uipc_socket2.c:624 #13 0xc025de6f in raw_input (m0=3D0xc0f14e00, proto=3D0xc038ca18, = src=3D0xc038c9f8, dst=3D0xc038c9e8) at ../../../net/raw_usrreq.c:116 #14 0xc026032b in rt_missmsg (type=3D0, rtinfo=3D0xcd302a58, = flags=3D132101, error=3D0) at ../../../net/rtsock.c:735 #15 0xc025e3eb in rtalloc1 (dst=3D0xc272c900, report=3D1, ignflags=3D0) = at ../../../net/route.c:196 #16 0xc025f228 in rt_setgate (rt0=3D0xc2729500, dst=3D0xc272c9dc, = gate=3D0xc272c9ec) at ../../../net/route.c:998 #17 0xc025ec45 in rtrequest1 (req=3D1, info=3D0xcd302b44, = ret_nrt=3D0xcd302b3c) at ../../../net/route.c:659 #18 0xc025f9d6 in route_output (m=3D0xc0f14d00, so=3D0xc272fba0) at = ../../../net/rtsock.c:344 #19 0xc025e0cd in raw_usend (so=3D0x0, flags=3D0, m=3D0x0, nam=3D0x0, = control=3D0x0, td=3D0xc0f04840) at ../../../net/raw_usrreq.c:260 #20 0xc025f745 in rts_send (so=3D0x0, flags=3D0, m=3D0x0, nam=3D0x0, = control=3D0x0, td=3D0x0) at ../../../net/rtsock.c:239 #21 0xc0228fe3 in sosend (so=3D0xc272fba0, addr=3D0x0, uio=3D0xcd302c7c, = top=3D0xc0f14d00, control=3D0x0, flags=3D0, td=3D0xc0f04840) at ../../../kern/uipc_socket.c:707 #22 0xc0219300 in soo_write (fp=3D0x0, uio=3D0xcd302c7c, = active_cred=3D0xc0f01200, flags=3D0, td=3D0xc0f04840) at ../../../kern/sys_socket.c:89 #23 0xc0213455 in dofilewrite (td=3D0xc0f04840, fp=3D0xc26b1d5c, fd=3D0, = buf=3D0x80aa300, nbyte=3D0, offset=3D0, flags=3D0) at file.h:214 #24 0xc0213299 in write (td=3D0xc0f04840, uap=3D0xcd302d10) at = ../../../kern/sys_generic.c:332 #25 0xc030bcee in syscall (frame=3D {tf_fs =3D 47, tf_es =3D 47, tf_ds =3D 47, tf_edi =3D 134914908, = tf_esi =3D 128, tf_ebp =3D -1077936872, tf_isp =3D -852480652, tf_ebx = =3D 134914944, tf_edx =3D 134915680, tf_ecx =3D 0, tf_eax =3D 4, = tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 134526191, tf_cs =3D 31, = tf_eflags =3D 662, tf_esp =3D -1077936916, tf_ss =3D 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,=20 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