Date: Tue, 14 Nov 2006 15:35:52 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-hackers@FreeBSD.ORG, gurdiga@gmail.com Subject: Re: bpf kernel module Message-ID: <200611141435.kAEEZqFr036308@lurza.secnetix.de> In-Reply-To: <da7069940611132322u1fc10b37i89f16533e836831c@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Vlad GURDIGA wrote: > I'm trying to keep very close touch with 6.1_STABLE cvsupping sources > once a week or even more often. You mean RELENG_6_1? I don't think that makes sense, because not many changes happen to that branch. You should only cvsup if necessary, i.e. when a security fix (or otherwise critical fix) has been committed to that branch. > I'm thinking of removing as much as > possible devices from the kernel loading them from /boot/loader.conf > instead, Personally I don't think it's worth the effort. I keep most stuff static inside a big kernel. > 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. :) When you update your sources, the recommended and official way is to rebuild everything (kernel, modules, world) and reboot. Omitting any of these steps _might_ work under certain circumstances, but it can also break in various ways (either horribly or subtly, whichever creates the most damage, according to Murphy's law). > 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 [which, I found on the questions > list that is not what I need], the pflogd fails to start with this > error: There's currently no kernel module for the bpf(4) device, so you have to put it statically in your kernel if you need it. ng_bpf is a netgraph node driver, it doesn't implement /dev/bpf* devices, so it's not what you're looking for. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611141435.kAEEZqFr036308>