Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 01:33:57 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: bpf kernel module
Message-ID:  <45583C05.3090000@u.washington.edu>
In-Reply-To: <da7069940611120649y1c86dd0flbda4952377df4b66@mail.gmail.com>
References:  <da7069940611111423i1084800bh560e161e870b3826@mail.gmail.com>	 <45564F2F.4070609@u.washington.edu>	 <da7069940611111556h20f4a916uf3f886007cc51726@mail.gmail.com> <da7069940611120649y1c86dd0flbda4952377df4b66@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Vlad GURDIGA wrote:
> On 12/11/06, Vlad GURDIGA <gurdiga@gmail.com> wrote:
>> On 12/11/06, Garrett Cooper <youshi10@u.washington.edu> wrote:
>> > -----BEGIN PGP SIGNED MESSAGE-----
>> > Hash: SHA1
>> >
>> > Vlad GURDIGA wrote:
>> > > Hello,
>> > >
>> > > I'm trying to keep very close touch with 6.1_STABLE cvsupping sources
>> > > once a week or even more often. I'm thinking of removing as much as
>> > > possible devices from the kernel loading them from /boot/loader.conf
>> > > instead, so I could rebuild and install them without a whole
>> > > kernel/world rebuild and reboot when sources change. I'm not sure
>> this
>> > > is a correct way, any piece of advice regarding this would be highly
>> > > appreciated. :)
>> > >
>> > > So, I've successfully done that with sound and network card drivers,
>> > > but did not succeed with removing bpf from the kernel. Booting a
>> > > kernel with no bpf support, and with
>> > > ng_bpf_load="YES" in my loader.conf, the pflogd fails to start
>> with this
>> > > error:
>> > >
>> > > Nov 11 20:22:33 uxterm pflogd[10251]: Failed to initialize: (no
>> > > devices found) /dev/bpf0: No such file or directory
>> > > Nov 11 20:22:33 uxterm pflogd[10251]: Exiting, init failure
>> > >
>> > > And, tcpdump also fails saying that "no suitable device found". Of
>> > > course there is no /dev/bpf0.
>> > >
>> > > Is there any way to have the bpf0 device without booting a kernel
>> with
>> > > bpf device included?
>> >
>> > Berkeley packet filter (bpf) is required for a lot of net related
>> > things, such as dhcpcd, tcpdump (as you've discovered), amongst many
>> > other things. Don't know if you want to go disabling that...
> 
> I do not intend to disable it, just have it apart, so I could update it
> easyer.
> So, is it possible to have bpf apart from kernel?

Not sure if it's possible or not, but someone is bound to know on one of
the freebsd lists..
- -Garrett
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFWDwF6CkrZkzMC68RAmaJAJ43une+fFzquDmpVUkxCRwPvnv2gQCZARJr
BqgPcyUDJyA1Uk4dlaXxJIs=
=TU5H
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45583C05.3090000>