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

From: Emanuel Strobl <Emanuel.strobl_at_gmx.net>
Date: Thu, 13 Oct 2005 01:41:50 +0200
Am Mittwoch, 12. Oktober 2005 20:33 CEST schrieb Andrew Gallatin:
> Can you start gdb on your kernel.debug, and
> show the output of: "list *vm_page_cowsetup+0x2e"
>
> Thanks,

Thank you for the hint, unfortunately I rebuilt my kernel (very_late 
BETA5->RC1) and forgot that kernel.debug won't be in /boot/kernel.old.
But from the new kernel.debug I get something (to me) senseful:

builder_cale:usr/src/sys/CALE#11: gdb kernel.debug
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...
(gdb) list *vm_page_cowsetup+0x2e
0xc06fd7be is in vm_page_cowsetup (/usr/src/sys/vm/vm_page.c:1699).
1694    void
1695    vm_page_cowsetup(vm_page_t m)
1696    {
1697
1698            mtx_assert(&vm_page_queue_mtx, MA_OWNED);
1699            m->cow++;
1700            pmap_page_protect(m, VM_PROT_READ);
1701    }
1702
1703    #include "opt_ddb.h"
(gdb)  

Thanks! And Robert Watson's assumption is correct: I'm using 
zero_copy_sockets.
My HW is really underdimensioned/oldfashioned so I tried to squeeze out the 
last thing possible ;)

-Harry

Received on Wed Oct 12 2005 - 21:42:06 UTC

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