From owner-freebsd-questions@FreeBSD.ORG Tue Apr 12 21:19:16 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2123916A4CE for ; Tue, 12 Apr 2005 21:19:16 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0EE843D58 for ; Tue, 12 Apr 2005 21:19:10 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [192.168.0.32] (charm.daemonsecurity.com [192.168.0.32]) by top.daemonsecurity.com (Postfix) with ESMTP id 6BBDBFD01D for ; Tue, 12 Apr 2005 23:19:04 +0200 (CEST) Message-ID: <425C3B46.3090006@locolomo.org> Date: Tue, 12 Apr 2005 23:19:02 +0200 From: =?ISO-8859-1?Q?Erik_N=F8rgaard?= Organization: Locolomo.ORG User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050314 X-Accept-Language: en, en-us, en-gb, da, fr, de, it, es MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Don't Panic - how do I investigate a kernel panic? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2005 21:19:16 -0000 Hi, I have a 5.3-STABLE which was stable untill last friday. Since then I experience irregular panics, with uptimes between 25 secs and 16 hours. In most cases I got a fatal trap 12, the last panic was simply "panic: sbdrop". I had 5.3p5 but upgraded to 5.3p8 after the first panics. After the last trap 12, I replaced my custom kernel with a fresh built GENERIC, as I thought it might be easier to investigate. I have experienced trap 12 before startup completed and after shutdown unmounted all disks. So, it seems not to be triggered by network events. However, about the same time as the first panic and since then, I have experienced an unusually high amount of ilicit mail delivery attempts to adresses like @mydomain.com - not the amount I would expect could cause a crash though, my connection is far to thin for that. Following the kernel panic faq: Fatal trap 12: Page fault while in kernel mode Fault virtual address = 0xc Fault code = supervisor read, page not present instruction pointer = 0x8:0xc053d638 stack pointer = 0x10:0xcb4ddaec frame pointer = 0x10:0xcb4ddaf8 code segment = base 0x0, limit 0xffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL=0 current process = 28 (swi1:net) trap number = 12 panic: page fault # nm -n /boot/kernel/kernel | grep c053d6 c053d610 T m_copydata c053d670 T m_dup Note: This was the same error for both the custom p5 and p8 kernels. The sbdrop panic happened with the GENERIC kernel. What does sbdrop mean? Is this a simple disk I/O or hardware error? How do I get on from here? How do I keep my system at least at minimum service without crashing? Thanks! Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2