Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2012 14:04:07 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Ivan Klymenko <fidaj@ukr.net>, mav@freebsd.org
Subject:   Re: panic: page fault
Message-ID:  <201208141404.07743.jhb@freebsd.org>
In-Reply-To: <20120814122909.4a3213ee@nonamehost>
References:  <20120814122909.4a3213ee@nonamehost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday, August 14, 2012 05:29:09 AM Ivan Klymenko wrote:
> http://privatepaste.com/147286442b

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. :(

Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x18
fault code              = supervisor read data, page not present
instruction pointer     = 0x20:0xffffffff80933e07
stack pointer           = 0x28:0xffffff823025b660
frame pointer           = 0x28:0xffffff823025b6c0 
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 12 (irq256: bce0)
trap number             = 12
panic: page fault 

#6  0xffffffff80bb5e53 in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:228
#7  0xffffffff80933e07 in m_copym (m=0x0, off0=1500, len=1480, wait=1)
    at /usr/src/sys/kern/uipc_mbuf.c:542
#8  0xffffffff809f8b76 in ip_fragment (ip=0xfffffe004b2f3980, m_frag=0xffffff823025b7c8, mtu=Variable "mtu" is not available.
)
    at /usr/src/sys/netinet/ip_output.c:822
#9  0xffffffff809f948a in ip_output (m=0xfffffe004b2f3900, opt=Variable "opt" is not available.
)
    at /usr/src/sys/netinet/ip_output.c:654
#10 0xffffffff809f59fa in ip_forward (m=0xfffffe004b2f3900, srcrt=Variable "srcrt" is not available.
)
    at /usr/src/sys/netinet/ip_input.c:1494 
#11 0xffffffff809f6dc6 in ip_input (m=0xfffffe004b2f3900)
    at /usr/src/sys/netinet/ip_input.c:702

Can you run kgdb again and do 'frame 8' followed by 'p *m_frag', 'p m0',
and 'p *m0'?

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?

-- 
John Baldwin



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