From owner-freebsd-stable@FreeBSD.ORG Wed Jan 5 17:26:28 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1BC116A4CE for ; Wed, 5 Jan 2005 17:26:28 +0000 (GMT) Received: from brugere.aub.dk (fw.aub.dk [195.24.1.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id F089543D2F for ; Wed, 5 Jan 2005 17:26:17 +0000 (GMT) (envelope-from techlists@motrix.dk) Received: by brugere.aub.dk (Postfix, from userid 1693) id 0535EC428; Wed, 5 Jan 2005 18:26:16 +0100 (CET) Received: from glitter (jmp.aub.dk [10.1.4.50]) by brugere.aub.dk (Postfix) with ESMTP id CF820C32C for ; Wed, 5 Jan 2005 18:26:15 +0100 (CET) From: "J. Martin Petersen" To: Date: Wed, 5 Jan 2005 18:26:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: Thread-Index: AcThQGfe5eN3XEf7SqybObVkMGwJUwCLxXhAA/btYiA= Message-Id: <20050105172615.CF820C32C@brugere.aub.dk> Subject: RE: netstat fails with memory allocation error and error in kvm_read X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2005 17:26:28 -0000 > I just got another "netstat: kvm_read: Bad address". > vm.kvm_free was 675278848 two seconds earlier and a couple of > seconds later (and also currently). We just had another hard hang, and this time I managed to break to the debugger on the serial console. I got this stack trace , which seems to indicate that pf is messing up somehow. I of course didn't have the ddb man or the handbook section on kernel debugging at hand, so I've just printed it for the next time it happens. Both 'show witness' and 'show locks' came up empty. What's the most effective way to hunt down these deadlocks with the online kernel debugger? Best regards Martin