From owner-freebsd-questions@FreeBSD.ORG Sat Nov 11 22:31:33 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 8F45516A40F for ; Sat, 11 Nov 2006 22:31:33 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8E3443D7E for ; Sat, 11 Nov 2006 22:31:22 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.7]) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id kABMVM6S023121 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 11 Nov 2006 14:31:22 -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 kABMVHuE021328 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 11 Nov 2006 14:31:21 -0800 Message-ID: <45564F2F.4070609@u.washington.edu> Date: Sat, 11 Nov 2006 14:31:11 -0800 From: Garrett Cooper User-Agent: Thunderbird 1.5.0.7 (X11/20060929) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: 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.11.141933 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: Sat, 11 Nov 2006 22:31:33 -0000 -----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... - -Garrett -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFVk8v6CkrZkzMC68RAmxpAJ9V9Rlz5fCW190FSoWYB8ZjRtBYawCfVG6s QbadL9e1NLAbhtOunZLwrt0= =VYKr -----END PGP SIGNATURE-----