From owner-freebsd-questions@FreeBSD.ORG Mon Nov 13 09:34:19 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88D6E16AE9E for ; Mon, 13 Nov 2006 09:34:19 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4AD143D5F for ; Mon, 13 Nov 2006 09:34:16 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAD9YGto019938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Nov 2006 01:34:16 -0800 X-Auth-Received: from [192.168.0.101] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kAD9YD1M014759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 13 Nov 2006 01:34:15 -0800 Message-ID: <45583C05.3090000@u.washington.edu> Date: Mon, 13 Nov 2006 01:33:57 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.7 (X11/20060929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <45564F2F.4070609@u.washington.edu> In-Reply-To: X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-PMX-Version: 5.2.1.279297, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2006.11.13.11933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __LINES_OF_YELLING 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: bpf kernel module X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 09:34:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vlad GURDIGA wrote: > On 12/11/06, Vlad GURDIGA wrote: >> On 12/11/06, Garrett Cooper 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-----