Date: Mon, 17 Mar 2003 12:57:31 -0500 (EST) From: IAccounts <iaccounts@northnetworks.ca> To: Andrea Venturoli <ml.ventu@flashnet.it> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: bpf -> kernel panic Message-ID: <20030317125600.G27870-100000@diana.northnetworks.ca> In-Reply-To: <200303171750.h2HHo6Ku001382@soth.ventu>
next in thread | previous in thread | raw e-mail | index | archive | help
> I have a FreeBSD machine that tended to hang in the recent past. After a few tests I managed to clearly isolate one > condition that causes this kernel panics. > > If I do a "tcpdump -l -i fxp0" I'm sure the machine will lock in less than 3 second. > The same happens (in a more or less short time) if I run ntop, snort or any other thing that opens a bpf. > There is a dhcp server running, which is isc version 3.0.1.r11_1 and, on startup, says: > > >Listening on BPF/fxp0/00:07:e9:0b:78:d9/192.168.101.0/24 > >Sending on BPF/fxp0/00:07:e9:0b:78:d9/192.168.101.0/24 > > So, basically one bpf seems to work. A second one is, however, almost sure death: I didn't have the chance to write > down the full exact message yet, but basically it's like "page fault while in kernel mode". > > uname -a gives: > > >FreeBSD xxx 4.7-RELEASE-p6 FreeBSD 4.7-RELEASE-p6 #1: Thu Feb 27 1 > >2:40:24 CET 2003 root@xxx:/usr/src/sys/compile/XXX i386 > > As it looks like you have compiled yourself a custom kernel, you didn't accidently set 'device bpf 1' did you? I think by default in 4.7 it's 4. Don't know if this will help, but it may be worth a look. Steve > Any hint on what I might try to solve this? > Has anyone had this problem before? > Any way to better debug this? > > bye & Thanks > av. > > P.S. In case it matters, the machine has two fxp interfaces. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030317125600.G27870-100000>