From owner-freebsd-current@FreeBSD.ORG Thu Sep 11 22:03:44 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B94C816A4BF for ; Thu, 11 Sep 2003 22:03:44 -0700 (PDT) Received: from vimes.aminor.no (vimes.aminor.no [213.187.177.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38C9843FF9 for ; Thu, 11 Sep 2003 22:03:43 -0700 (PDT) (envelope-from eivind@aminor.no) Received: from webmail.aminor.no (localhost [127.0.0.1]) by vimes.aminor.no (Postfix) with SMTP id 3932078E4D for ; Fri, 12 Sep 2003 07:03:37 +0200 (CEST) Received: from 192.168.0.3 (SquirrelMail authenticated user eivind) by webmail.aminor.no with HTTP; Fri, 12 Sep 2003 07:03:37 +0200 (CEST) Message-ID: <1037.192.168.0.3.1063343017.squirrel@webmail.aminor.no> Date: Fri, 12 Sep 2003 07:03:37 +0200 (CEST) From: "Eivind Olsen" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal Subject: Crash in swapgeom_strategy? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Sep 2003 05:03:44 -0000 Hello. My FreeBSD server has been getting panics for the last few days and the panics always refer to swapgeom_strategy. Here's a transcription of what I can see: vimes# uname -a FreeBSD vimes.eivind 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Wed Sep 10 09:36:05 CEST 2003 root@vimes.eivind:/usr/obj/src/sys/VIMES i386 The sources were cvsup'ed in the evening on the 9th of September (evening according to CET). I have not been able to produce a crash dump. Does anyone have any suggestions as to what might be wrong? Fatal trap 12: page fault while in kernel mode fault virtual address = 0x40 fault code = supervisor write, page not present instruction pointer = 0x8:0xc04a8f4c stack pointer = 0x10:0xcaf25a44 frame pointer = 0x10:0xcaf25a5c 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 = 6 (pagedaemon) kernel: type 12 trap, code=0 Stopped at swapgeom_strategy+0x3c: movl %edi,0x40(%eax) db> show reg cs 0x8 ds 0x10 es 0x10 fs 0x18 ss 0x10 eax 0 ecx 0 edx 0x4 ebx 0xc1f8eb80 esp 0xcaf25a44 ebp 0xcaf25a5c esi 0xc5ab87f8 edi 0xc5ab87f8 eip 0xc04a8f4c swapgeom_strategy+0x3c efl 0x10246 dr0 0 dr1 0 dr2 0 dr3 0 dr4 0xffff0ff0 dr5 0x400 dr6 0xffff0ff0 dr7 0x400 swapgeom_strategy+0x3c: movl %edi,0x40(%eax) db> trace swapgeom_strategy(c5ab87f8,c1f8eb80,0,0,0) at swapgeom_strategy+0x3c swp_pager_strategy(c5ab87f8,200,0,3a1,0) at swp_pager_strategy+0xc5 swap_pager_putpages(c27ba784,caf25b80,1,0,caf25af0) at swap_pager_putpages+0x452 vm_pageout_flush(caf25b80,1,0,1,0) at vm_pageout_flush+0x18b vm_pageout_clean(c098d268,0,0,0,0) at vm_pageout_clean+0x2cd vm_pageout_scan(0,c0632120,44,c0565bb1,1f4) at vm_pageout_scan+0x6ff vm_pageout(0,caf25d48,0,0,0) at vm_pageout+0x368 fork_exit(c04becc0,0,caf25d48) at fork_exit+0xb1 fork_trampoline() at fork_trampoline+0x8 --- trap 0x1, eip = 0, esp = 0xcaf25d7c, ebp = 0 --- db> panic panic: from debugger Debugger("panic") Fatal trap 3: breakpoint instruction fault while in kernel mode instruction pointer = 0x8:0xc04e9e64 stack pointer = 0x10:0xcaf257bc frame pointer = 0x10:0xcaf257c8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = IOPL = 0 currnet process = 6 (pagedaemon) Stopped at swapgeom_strategy+0x3c: movl %edi,0x40(%eax) db> panic panic: from debugger Uptime: 12h58m23s panic: free locked buf Uptime: 12h58m24s Dumping 191 MB ...and there it just hangs... -- Regards Eivind Olsen