From owner-freebsd-stable@FreeBSD.ORG Thu Feb 23 05:16:01 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 412F316A420 for ; Thu, 23 Feb 2006 05:16:01 +0000 (GMT) (envelope-from ask@develooper.com) Received: from x8.develooper.com (x8.develooper.com [216.52.237.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0E7843D6A for ; Thu, 23 Feb 2006 05:15:57 +0000 (GMT) (envelope-from ask@develooper.com) Received: (qmail 11259 invoked from network); 23 Feb 2006 05:15:57 -0000 Received: from miette.develooper.com (HELO ?10.0.201.101?) (ask@cleverpeople.org@64.81.84.162) by smtp.develooper.com with (RC4-SHA encrypted) SMTP; 23 Feb 2006 05:15:57 -0000 Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-stable@freebsd.org From: =?ISO-8859-1?Q?Ask_Bj=F8rn_Hansen?= Date: Wed, 22 Feb 2006 19:31:44 -0800 X-Mailer: Apple Mail (2.746.2) Subject: [panic] running tcpdump panics 6.0-p4 with "panic: mutex Giant not owned at /usr/src/sys/net/bpf.c:1407" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 05:16:01 -0000 Hi, If I run: tcpdump -n -i sis0 makes my kernel panic with panic: mutex Giant not owned at /usr/src/sys/net/bpf.c:1407" It doesn't happen if I tcpdump an inactive interface. FWIW there was a similar issue a couple years ago in the if_sis driver "panic: mutex Giant not owned at src/sys/security/mac/ mac_net.c" that was discussed at http://lists.freebsd.org/pipermail/freebsd-current/2004-April/ thread.html#26274 dmesg output below if that's helpful (it's a Soekris 4801). - ask Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-RELEASE-p4 #1: Wed Feb 22 16:35:24 PST 2006 root@gclock.bn.dev:/usr/obj/nanobsd.grundwall/usr/src/sys/ GRUNDCLOCK WARNING: debug.mpsafenet forced to 0 as ipsec requires Giant WARNING: MPSAFE network stack disabled, expect reduced performance. Timeco8254" frequency 1193182 ty 0 CPU: Geode(TM) Integrated Processor by National Semi (266.70-MHz 586- class CPU) Origin = "Geode by NSC" Id = 0x540 Stepping = 0 Fe111744 (120 MB) ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF51> on motherboard npx0: INT 16 iost to Potherboard pci0: on pcib0 sis0: po.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: on sis1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:c5:34:2d sis1: [GIANT-LOCKED] sis2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, net4801 comBIOSncy 27000000 Hz quality 1000 pci0: at device 18.5 (no driver attached) ohci0: mem 0xa0003000-0xa0003fff irq 11 at device 19.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI vers 0xc8000-0xd0fff on isa0sa0 sio0: type 16550A, console sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A Timecounters tick every 1.000 msec IPsec: Initialized Security Association Processing. ipfled ad0: 247MB < YUAN1026> at ata0-master PIO4 Trying to mount root from ufs:/dev/ad0s2a gw#