Re: Ugly BETA5 crashes, VM fault (with trace)

From: Robert Watson <rwatson_at_FreeBSD.org>
Date: Wed, 12 Oct 2005 15:34:30 +0100 (BST)
On Wed, 12 Oct 2005, Emanuel Strobl wrote:

> my desktop box crashed for severla weeks every few days and since beta5 
> was withoug kdb I had to rebuild a debugging kernel to get this recorded 
> (no dump was written, so nothing in /var/crash) Like mentioned, I see 
> the crash every view days, I think when having simultaniously NFS and 
> local disk load. Please tell me if I can provide more info!

I take it you have zero-copy sockets enabled?  Do the panics happen if you 
don't have it enabled?

Robert N M Watson

>
> -Harry
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address   = 0x5a
> fault code              = supervisor read, page not present
> instruction pointer     = 0x20:0xc06ec5a9
> stack pointer           = 0x28:0xdad2c99c
> frame pointer           = 0x28:0xdad2ca88
> code segment            = base 0x0, limit 0xfffff, type 0x1b
>                        = DPL 0, pres 1, def32 1, gran 1
> processor eflags        = interrupt enabled, resume, IOPL = 0
> current process         = 741 (kdeinit)
> [thread pid 741 tid 100102 ]
> Stopped at      vm_fault+0x239: cmpw    $0,0x5a(%eax)
> db> trace
> Tracing pid 741 tid 100102 td 0xc2470a80
> vm_fault(c1443000,c144f000,2,0,c2470a80) at vm_fault+0x239
> trap_pfault(dad2cb14,0,c144fff4,dad2cae8,c144fff4) at trap_pfault+0x156
> trap(c0790008,28,c0850028,dad2ccb4,2000) at trap+0x38e
> calltrap() at calltrap+0x5
> --- trap 0xc, eip = 0xc06fd0ce, esp = 0xdad2cb54, ebp = 0xdad2cb68 ---
> vm_page_cowsetup(c144ffb8,0,c079615b,82,dad2cbf4) at vm_page_cowsetup+0x2e
> socow_setup(c1ef2300,dad2ccb4,2,2c4,1) at socow_setup+0x98
> sosend(c29f4858,0,dad2ccb4,0,0) at sosend+0x56b
> soo_write(c284d090,dad2ccb4,c26f5980,0,c2470a80) at soo_write+0x87
> dofilewrite(c2470a80,f,c284d090,dad2ccb4,ffffffff) at dofilewrite+0x85
> kern_writev(c2470a80,f,dad2ccb4,8100ff4,de10) at kern_writev+0x65
> write(c2470a80,dad2cd04,c,422,3) at write+0x4f
> syscall(805003b,3b,bfbf003b,805c000,f) at syscall+0x2c0
> Xint0x80_syscall() at Xint0x80_syscall+0x1f
> --- syscall (4, FreeBSD ELF32, write), eip = 0x293791ab, esp = 0xbfbfe15c,
> ebp =
> 0xbfbfe178 ---
> db>
>
Received on Wed Oct 12 2005 - 12:34:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:45 UTC