> 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 [EMAIL PROTECTED]:/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 [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message