Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Nov 2004 09:49:33 +1030
From:      "Wilkinson, Alex" <alex.wilkinson@dsto.defence.gov.au>
To:        current@freebsd.org
Subject:   Re: crash in natd again
Message-ID:  <20041122231933.GC14425@squash.dsto.defence.gov.au>
In-Reply-To: <1101162352.4774.7.camel@server.mcneil.com>
References:  <1101162352.4774.7.camel@server.mcneil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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             }
> 



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