From owner-freebsd-current@FreeBSD.ORG Mon Nov 22 23:23:29 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 0CF7D16A4CE for ; Mon, 22 Nov 2004 23:23:29 +0000 (GMT) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1491D43D54 for ; Mon, 22 Nov 2004 23:23:27 +0000 (GMT) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: from ednmsw503.dsto.defence.gov.au (ednmsw503.dsto.defence.gov.au [131.185.2.150]) by digger1.defence.gov.au with ESMTP id iAMNMKZg013128 for ; Tue, 23 Nov 2004 09:52:20 +1030 (CST) Received: from muttley.dsto.defence.gov.au (unverified) by ednmsw503.dsto.defence.gov.au (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Tue, 23 Nov 2004 09:53:13 +1030 Received: from ednex501.dsto.defence.gov.au (ednex501.dsto.defence.gov.au [131.185.2.81]) by muttley.dsto.defence.gov.au (8.11.3/8.11.3) with ESMTP id iAMNJJh14219 for ; Tue, 23 Nov 2004 09:49:19 +1030 (CST) Received: from squash.dsto.defence.gov.au ([131.185.40.212]) by ednex501.dsto.defence.gov.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id XM1D78MQ; Tue, 23 Nov 2004 09:49:17 +1030 Received: from squash.dsto.defence.gov.au (localhost [127.0.0.1]) by squash.dsto.defence.gov.au (8.12.11/8.12.11) with ESMTP id iAMNJXpU014529 for ; Tue, 23 Nov 2004 09:49:33 +1030 (CST) (envelope-from wilkinsa@squash.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by squash.dsto.defence.gov.au (8.12.11/8.12.11/Submit) id iAMNJX0j014528 for current@freebsd.org; Tue, 23 Nov 2004 09:49:33 +1030 (CST) (envelope-from wilkinsa) Date: Tue, 23 Nov 2004 09:49:33 +1030 From: "Wilkinson, Alex" To: current@freebsd.org Message-ID: <20041122231933.GC14425@squash.dsto.defence.gov.au> Mail-Followup-To: current@freebsd.org References: <1101162352.4774.7.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1101162352.4774.7.camel@server.mcneil.com> User-Agent: Mutt/1.5.6i Subject: Re: crash in natd again 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: Mon, 22 Nov 2004 23:23:29 -0000 I've always used something like: dumpdev="/dev/ad0s3b" i.e. s3b being swap. -aW 0n Tue, Nov 23, 2004 at 08:55:52AM +1030, Sean McNeil wrote: > This is on an amd64 machine. I though that setting > > dumpdev="AUTO" > > in /etc/rc.conf was sufficient to get a crash dump, but it didn't work. > I'm adding > > dumpon_enable="YES" > savecore_enable="YES" > > now. Please let me know if there is anything else I need to set. > > The information I can get is: > > Nov 22 13:47:27 server kernel: Fatal trap 12: page fault while in kernel > mode > Nov 22 13:47:27 server kernel: fault virtual address = 0x18 > Nov 22 13:47:27 server kernel: fault code = supervisor > read, page > not present > Nov 22 13:47:27 server kernel: instruction pointer = > 0x8:0xffffffff80357980Nov 22 13:47:27 server kernel: stack pointer > = 0x10:0xffffffffb41c5620 > Nov 22 13:47:27 server kernel: frame pointer = > 0x10:0xffffffffb41c5680 > Nov 22 13:47:27 server kernel: code segment = base 0x0, > limit 0xfffff, type 0x1b > Nov 22 13:47:27 server kernel: = DPL 0, pres 1, long 1, def32 0, gran 1 > Nov 22 13:47:27 server kernel: processor eflags = interrupt enabled, > resume, IOPL = 0 > Nov 22 13:47:27 server kernel: current process = 215 (natd) > Nov 22 13:47:27 server kernel: trap number = 12 > Nov 22 13:47:27 server kernel: panic: page fault > Nov 22 13:47:27 server kernel: KDB: enter: panic > > uname is > > FreeBSD server.mcneil.com 6.0-CURRENT FreeBSD 6.0-CURRENT #5: Sun Nov 21 > 00:33:27 PST 2004 root@server.mcneil.com:/usr/obj/usr/src/sys/AMD64 > amd64 > > (gdb) l *0xffffffff80357980 > 0xffffffff80357980 is in m_copym (/usr/src/sys/kern/uipc_mbuf.c:373). > 368 MBUF_CHECKSLEEP(wait); > 369 if (off == 0 && m->m_flags & M_PKTHDR) > 370 copyhdr = 1; > 371 while (off > 0) { > 372 KASSERT(m != NULL, ("m_copym, offset > size of > mbuf chain")); > 373 if (off < m->m_len) > 374 break; > 375 off -= m->m_len; > 376 m = m->m_next; > 377 } >