From owner-freebsd-amd64@FreeBSD.ORG Wed Jan 18 18:03:01 2006 Return-Path: X-Original-To: amd64@freebsd.org Delivered-To: freebsd-amd64@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3E6A516A420; Wed, 18 Jan 2006 18:03:01 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E97A43D46; Wed, 18 Jan 2006 18:03:00 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 6374122 for multiple; Wed, 18 Jan 2006 13:03:59 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k0II2vZ6056163; Wed, 18 Jan 2006 13:02:58 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Wed, 18 Jan 2006 12:40:01 -0500 User-Agent: KMail/1.9.1 References: <20060118071323.GB795@bertik.tns.cz> In-Reply-To: <20060118071323.GB795@bertik.tns.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200601181240.03366.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1245/Wed Jan 18 11:57:44 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: amd64@freebsd.org, Josef Pojsl Subject: Re: 5.4/amd64 not stable X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 18:03:01 -0000 On Wednesday 18 January 2006 02:13, Josef Pojsl wrote: > Hello list, > > I am observing panics of FreeBSD 5.4/amd64 > on a web server. We tested it heavily with > Apache bench. Load was over 250, without problems. > However, when we put the server in production, > it crashes time after time. It takes some time > between 1 and 8 hours. The panics look like this: > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x48 > fault code = supervisor read, page not present > instruction pointer = 0x8:0xffffffff80271a83 > stack pointer = 0x10:0xffffffffc1043990 > frame pointer = 0x10:0x0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = resume, IOPL = 0 > current process = 10567 (httpd) > trap number = 12 > panic: page fault > cpuid = 0 > boot() called on cpu#0 > > The instruction pointer is always the same, and process is always httpd. > Does it mean anything? It can. :) Can you compile DDB into your kernel to get a stack trace when it panics? Also, if you have a kernel.debug, you can run gdb on it and do a list of the instruction pointer to get the corresponding file:line. i.e.: # gdb kernel.debug gdb> l *0xffffffff80271a83 -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org