Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 14:25:52 -0800
From:      Sean McNeil <sean@mcneil.com>
To:        current@freebsd.org
Subject:   crash in natd again
Message-ID:  <1101162352.4774.7.camel@server.mcneil.com>

next in thread | raw e-mail | index | archive | help

--=-gwhv2x8OxtN81Or9wkAY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

This is on an amd64 machine.  I though that setting

dumpdev=3D"AUTO"

in /etc/rc.conf was sufficient to get a crash dump, but it didn't work.
I'm adding

dumpon_enable=3D"YES"
savecore_enable=3D"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 mo=
de
Nov 22 13:47:27 server kernel: fault virtual address    =3D 0x18
Nov 22 13:47:27 server kernel: fault code               =3D supervisor read=
, page
not present
Nov 22 13:47:27 server kernel: instruction pointer      =3D 0x8:0xffffffff8=
0357980Nov 22 13:47:27 server kernel: stack pointer            =3D 0x10:0xf=
fffffffb41c5620
Nov 22 13:47:27 server kernel: frame pointer            =3D 0x10:0xffffffff=
b41c5680
Nov 22 13:47:27 server kernel: code segment             =3D base 0x0, limit=
 0xfffff, type 0x1b
Nov 22 13:47:27 server kernel: =3D DPL 0, pres 1, long 1, def32 0, gran 1
Nov 22 13:47:27 server kernel: processor eflags =3D interrupt enabled, resu=
me, IOPL =3D 0
Nov 22 13:47:27 server kernel: current process          =3D 215 (natd)
Nov 22 13:47:27 server kernel: trap number              =3D 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 =3D=3D 0 && m->m_flags & M_PKTHDR)
370                     copyhdr =3D 1;
371             while (off > 0) {
372                     KASSERT(m !=3D NULL, ("m_copym, offset > size of
mbuf chain"));
373                     if (off < m->m_len)
374                             break;
375                     off -=3D m->m_len;
376                     m =3D m->m_next;
377             }


--=-gwhv2x8OxtN81Or9wkAY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQBBomdwyQsGN30uGE4RAposAKC29NEtQsX1nhYQbKub29s/WT3E6gCffXhP
i8q07M6trwQVDNNUdjU5UZY=
=3xCz
-----END PGP SIGNATURE-----

--=-gwhv2x8OxtN81Or9wkAY--



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