Re: panic: page fault

From: Ivan Klymenko <fidaj_at_ukr.net>
Date: Fri, 11 Jan 2013 23:43:35 +0200
В Fri, 11 Jan 2013 15:26:57 -0500
John Baldwin <jhb_at_freebsd.org> пишет:

> On Friday, December 21, 2012 05:47:26 AM Ivan Klymenko wrote:
> > В Tue, 14 Aug 2012 14:04:07 -0400
> > 
> > John Baldwin <jhb_at_freebsd.org> пишет:
> > > 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
> > 
> > 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.
> > 
> > > Can you run kgdb again and do 'frame 8' followed by 'p *m_frag',
> > > 'p m0', and 'p *m0'?
> > 
> > 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)?

I sent a letter with an attached log of privately.
kgdb.log again in attach

> 
> > > 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?
> > 
> > What kind of shell should I use for this?
> 
> Ah, those are meant to be run while you are in kgdb.
> 

(kgdb) source gdb6
Warning: /sys/amd64/compile/GENERIC: No such file or directory.
(kgdb) mbuf m0
0xfffffe00255aa200: 60 bytes packet: 576 bytes received via bce0
0xfffffe0011a53c00: 516 bytes ext 0xfffffe0011a92000
0xfffffe0011bf1500: 0 bytes ext 0xfffffe0011c00800
(kgdb) 


Received on Sat Jan 12 2013 - 02:44:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC