From owner-freebsd-current@FreeBSD.ORG Fri Jan 11 20:42:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 06F1D949 for ; Fri, 11 Jan 2013 20:42:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id D7837F78 for ; Fri, 11 Jan 2013 20:42:07 +0000 (UTC) Received: from ralph.baldwin.cx (c-68-39-198-164.hsd1.de.comcast.net [68.39.198.164]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 31BBDB9BE; Fri, 11 Jan 2013 15:42:07 -0500 (EST) From: John Baldwin To: freebsd-current@freebsd.org Subject: Re: panic: page fault Date: Fri, 11 Jan 2013 15:26:57 -0500 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <20120814122909.4a3213ee@nonamehost> <201208141404.07743.jhb@freebsd.org> <20121221124726.7e678e11@nonamehost> In-Reply-To: <20121221124726.7e678e11@nonamehost> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201301111526.57416.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 11 Jan 2013 15:42:07 -0500 (EST) Cc: Ivan Klymenko X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 11 Jan 2013 20:42:08 -0000 On Friday, December 21, 2012 05:47:26 AM Ivan Klymenko wrote: > =D0=92 Tue, 14 Aug 2012 14:04:07 -0400 >=20 > John Baldwin =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > On Tuesday, August 14, 2012 05:29:09 AM Ivan Klymenko wrote: > > > http://privatepaste.com/147286442b > >=20 > > It is easier to reply if the messages are inline (for future > > reference). The panic and relevant bit of backtrace are below. > > Sadly, trying to cut and paste this destroyed the formatting, so I've > > tried to fix it by hand. :( > >=20 > > Fatal trap 12: page fault while in kernel mode > > cpuid =3D 0; apic id =3D 00 > > fault virtual address =3D 0x18 > > fault code =3D supervisor read data, page not present > > instruction pointer =3D 0x20:0xffffffff80933e07 > > stack pointer =3D 0x28:0xffffff823025b660 > > frame pointer =3D 0x28:0xffffff823025b6c0 > > code segment =3D base 0x0, limit 0xfffff, type 0x1b > >=20 > > =3D DPL 0, pres 1, long 1, def32 0, gran 1 > >=20 > > processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > > current process =3D 12 (irq256: bce0) > > trap number =3D 12 > > panic: page fault > >=20 > > #6 0xffffffff80bb5e53 in calltrap () > >=20 > > at /usr/src/sys/amd64/amd64/exception.S:228 > >=20 > > #7 0xffffffff80933e07 in m_copym (m=3D0x0, off0=3D1500, len=3D1480, wa= it=3D1) > >=20 > > at /usr/src/sys/kern/uipc_mbuf.c:542 > >=20 > > #8 0xffffffff809f8b76 in ip_fragment (ip=3D0xfffffe004b2f3980, > > m_frag=3D0xffffff823025b7c8, mtu=3DVariable "mtu" is not available. ) > >=20 > > at /usr/src/sys/netinet/ip_output.c:822 > >=20 > > #9 0xffffffff809f948a in ip_output (m=3D0xfffffe004b2f3900, > > opt=3DVariable "opt" is not available. ) > >=20 > > at /usr/src/sys/netinet/ip_output.c:654 > >=20 > > #10 0xffffffff809f59fa in ip_forward (m=3D0xfffffe004b2f3900, > > srcrt=3DVariable "srcrt" is not available. ) > >=20 > > at /usr/src/sys/netinet/ip_input.c:1494 > >=20 > > #11 0xffffffff809f6dc6 in ip_input (m=3D0xfffffe004b2f3900) > >=20 > > at /usr/src/sys/netinet/ip_input.c:702 >=20 > I apologize for not having answered - no more required files... > At that time it was not possible to fulfill your request ... > Now I have gained a number of similar panic's and i ready to provide > the results. >=20 > > Can you run kgdb again and do 'frame 8' followed by 'p *m_frag', 'p > > m0', and 'p *m0'? >=20 > kgdb.log in attach Looks like this attachment was lost unfortunately. Can you reply with the output inline (and include the output from the other kgdb commands below)? > > Can you also grab my gdb scripts at www.freebsd.org/~jhb/gdb/ and run > > 'cd /path/to/scripts', 'source gdb6', 'mbuf m0' as well? >=20 > What kind of shell should I use for this? Ah, those are meant to be run while you are in kgdb. =2D-=20 John Baldwin