From owner-freebsd-net@FreeBSD.ORG Thu Jun 19 15:16:33 2003 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 543B737B404; Thu, 19 Jun 2003 15:16:33 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F0E643F93; Thu, 19 Jun 2003 15:16:32 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5JMh9Mo025758; Thu, 19 Jun 2003 18:43:09 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5JMH3O8080327; Thu, 19 Jun 2003 15:17:03 -0700 (PDT) (envelope-from jmg) Date: Thu, 19 Jun 2003 15:17:03 -0700 From: John-Mark Gurney To: freebsd-net@FreeBSD.org, freebsd-current@FreeBSD.org Message-ID: <20030619221703.GD64061@funkthat.com> Mail-Followup-To: freebsd-net@FreeBSD.org, freebsd-current@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Subject: locking problems in IPv6 code X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 22:16:33 -0000 I am running FreeBSD 5.1-R on a sparc64 machine, and am getting warnings about mallocing data w/ a lock aquired. dmesg output: malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 malloc() of "32" with the following non-sleepablelocks held: exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 malloc() of "64" with the following non-sleepablelocks held: exclusive sleep mutex netisr lock r = 0 (0xc0271890) locked @ net/netisr.c:215 If I disable IPv6 in /etc/rc.conf, the above warnings don't appear. I tried to follow the code path in IPv6's source, but it's soooo long that I couldn't find where it might be allocating memory. Anyone have any ideas? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."