Ask Bjørn Hansen
2006-Feb-22 21:16 UTC
[panic] running tcpdump panics 6.0-p4 with "panic: mutex Giant not owned at /usr/src/sys/net/bpf.c:1407"
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: <PCI bus> on pcib0 sis0: <NatSemi DP8381[56] 10/100BaseTX> po.0 on pci0 sis1: Silicon Revision: DP83816A miibus1: <MII bus> on sis1 ukphy1: <Generic IEEE 802.3u media interface> on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis1: Ethernet address: 00:00:24:c5:34:2d sis1: [GIANT-LOCKED] sis2: <NatSemi DP838EE 802.3u media interface> on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, net4801 comBIOSncy 27000000 Hz quality 1000 pci0: <bridge> at device 18.5 (no driver attached) ohci0: <OHCI (generic) USB controller> 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#