Re: panic: page fault

From: Ivan Klymenko <fidaj_at_ukr.net>
Date: Fri, 21 Dec 2012 12:47:26 +0200
В 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

> 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?

[root_at_rt02 /var/crash]# exit
root_at_rt02:/var/crash # csh
You have mail.
root_at_rt02:/var/crash # source gdb6
osrelease: Undefined variable.
root_at_rt02:/var/crash # exit
root_at_rt02:/var/crash # bash
[root_at_rt02 /var/crash]# source gdb6
bash: gdb6: line 29: syntax error near unexpected token `('
bash: gdb6: line 29: `set $P_STOPPED = ($P_STOPPED_SIG |
$P_STOPPED_TRACE | $P_STOPPED_SINGLE)' [root_at_rt02 /var/crash]# exit
root_at_rt02:/var/crash # tcsh
You have mail.
root_at_rt02:/var/crash # so
sockstat soelim   sort     source   
root_at_rt02:/var/crash # source gdb6
osrelease: Undefined variable.
root_at_rt02:/var/crash # ls
bounds                  core.txt.3              dot.gdbinit.paths
info.1                  info.5                  vmcore.2
core.txt.0              core.txt.4              gdb6
info.2                  minfree                 vmcore.3
core.txt.1              core.txt.5              gdb6.amd64
info.3                  vmcore.0                vmcore.4
core.txt.2              dot.gdbinit.kernel      info.0
info.4                  vmcore.1                vmcore.5


Thanks.

Received on Fri Dec 21 2012 - 09:47:37 UTC

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