From owner-freebsd-current@FreeBSD.ORG Sun Nov 6 10:39:05 2005 Return-Path: X-Original-To: current@freebsd.org 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 09CCA16A41F for ; Sun, 6 Nov 2005 10:39:05 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from efacilitas.de (smtp.efacilitas.de [85.10.196.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9536A43D45 for ; Sun, 6 Nov 2005 10:39:04 +0000 (GMT) (envelope-from bkoenig@cs.tu-berlin.de) Received: from eurystheus.local (port-212-202-37-245.dynamic.qsc.de [212.202.37.245]) by efacilitas.de (Postfix) with ESMTP id 3212B4B01F; Sun, 6 Nov 2005 11:46:38 +0100 (CET) Received: from [192.168.1.4] (syn.local [192.168.1.4]) by eurystheus.local (Postfix) with ESMTP id 36901332E4D; Sun, 6 Nov 2005 11:37:58 +0100 (CET) Message-ID: <436DDCFE.6050808@cs.tu-berlin.de> Date: Sun, 06 Nov 2005 11:37:50 +0100 From: Bjoern Koenig User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.10) Gecko/20050824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Kennaway References: <435F2BCE.1040704@cs.tu-berlin.de> <20051026073915.GA77249@xor.obsecurity.org> <4360B263.1070802@cs.tu-berlin.de> <20051027173550.GA81309@xor.obsecurity.org> In-Reply-To: <20051027173550.GA81309@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: current@freebsd.org Subject: Re: deadlocks with SMP and Pentium 3 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 06 Nov 2005 10:39:05 -0000 Kris Kennaway wrote: > On Thu, Oct 27, 2005 at 12:56:35PM +0200, Bjoern Koenig wrote: > >>Kris Kennaway wrote: >> >> >>>You need to break to DDB, trace processes and examine lock state with >>>commands like 'show alllocks' and 'show lockedvnods' to see what is >>>going on. >> >>Unfortunately the machine freezes completely and I can't break to the >>debugger anymore. > > > Try with KDB_STOP_NMI (called STOP_NMI) in 7.0. This didn't help either, but finally I found a solution. The server worked fine for a while; the only difference was that I used a PCI ATA controller at that time. So I thought that it must have something to do with the system BIOS or the onboard ATA controller. In a discussion forum someone gave the hint to change the hard disk drive settings in the BIOS setup from "Auto" to a user defined value. I can't really understand why FreeBSD with SMPng stumble on this, but surprisingly it seems like that it works now. It must be a weird BIOS or hardware bug. Many thanks for your assistance. Björn