From owner-freebsd-questions@FreeBSD.ORG Wed Sep 13 12:02:14 2006 Return-Path: X-Original-To: questions@freebsd.org 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 1B89416A412 for ; Wed, 13 Sep 2006 12:02:14 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [194.126.106.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E6EA43D60 for ; Wed, 13 Sep 2006 12:02:06 +0000 (GMT) (envelope-from toomas.aas@raad.tartu.ee) Received: from localhost (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id E6ABFB816 for ; Wed, 13 Sep 2006 15:02:04 +0300 (EEST) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by localhost (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OTAmfd2ue2pJ for ; Wed, 13 Sep 2006 15:02:00 +0300 (EEST) Received: from raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 81828B812 for ; Wed, 13 Sep 2006 15:02:00 +0300 (EEST) Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 13 Sep 06 15:02:00 +0200 Received: from SpoolDir by INFO (Mercury 1.48); 13 Sep 06 15:01:34 +0200 Received: from [172.26.1.3] (172.26.1.3) by raad.tartu.ee (Mercury 1.48) with ESMTP; 13 Sep 06 15:01:27 +0200 Message-ID: <4507F318.80405@raad.tartu.ee> Date: Wed, 13 Sep 2006 15:01:28 +0300 From: Toomas Aas User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Kernel panic with 5.5, possibly in propagate_priority X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Sep 2006 12:02:14 -0000 Hello! Last October, after I upgraded the OS on my IBM x225 from RELENG_5_3 to RELENG_5_4, I experienced a kernel panic: http://makeashorterlink.com/?S167211CD As noted in the article referenced above, I disabled debug.mpsafenet and debug.mpsafevm. This was really just a guess. Seems like the guess was lucky, because I never had another kernel panic after that. Yesterday I upgraded this server from RELENG_5_4 to RELENG_5_5 and decided to try to re-enable debug.mpsafenet and debug.mpsafevm. Today in the middle of the day I got a kernel panic. As also promised in the article above, I had built the debug kernel and enabled kernel crash dumps. However, the machine just seems to freeze when it panics and doesn't really generate a crash dump into the location that I specified in /etc/rc.conf. So I still don't have much very useful debug information. The panic message is pretty similar to the one in the message above: -------------------------------------------------------------------------- kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid=1; apic id = 06 fault virtual address: 0x24 fault code = supervisor read, page not present instruction pointer = 0x8:0xc05276ae stack pointer = 0x10:0xe83aab20 frame pointer = 0x10: 0xe83aab48 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 12064 (httpd) trap number = 12 panic: page fault cpuid = 1 spin lock sched lock held by 0xc279c480 for >5 seconds -------------------------------------------------------------------------- Closest... um... thing to the instruction pointer 0xc05276ae seems to be propagate_priority: [heerold] ~> nm -n /boot/kernel/kernel | grep c05276 c052762c t propagate_priority I found another thread discussing an issue which seems vaguely similar, but I'm not enough of a FreeBSD kernel expert to be sure: http://makeashorterlink.com/?G457131CD After reading this thread - should I, perhaps, add NO_ADAPTIVE_MUTEXES to my kernel config (and remove ADAPTIVE_GIANT)? What are other people's experiences running FreeBSD 5.x on dual-processor IBM xSeries 225 box? Am I the only one doing this? For now, I just disabled debug.mpsafenet and debug.mpsafevm again and I hope it works out as well as it did last time. -- Toomas Aas