From owner-freebsd-questions@FreeBSD.ORG Sat Nov 11 22:23:47 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 236D116A403 for ; Sat, 11 Nov 2006 22:23:47 +0000 (UTC) (envelope-from gurdiga@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8FD9043D70 for ; Sat, 11 Nov 2006 22:23:46 +0000 (GMT) (envelope-from gurdiga@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so749448wxc for ; Sat, 11 Nov 2006 14:23:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HKQwdNYeVTkocn8EA5P/5X00ryDugkyrsb1sO9tzceGQoOoekO4fu90ahOZWwOUPSP79wUgaqvfsOhslXyByIXolesl783zvD3xZSltbIjQUApav231iR+ejhDwOKqOPvrkdXpQRgVBY/5tddq4/mxwXLKzFO/a5A+miPNcJdBM= Received: by 10.90.71.12 with SMTP id t12mr2503213aga.1163283825738; Sat, 11 Nov 2006 14:23:45 -0800 (PST) Received: by 10.90.120.15 with HTTP; Sat, 11 Nov 2006 14:23:45 -0800 (PST) Message-ID: Date: Sun, 12 Nov 2006 00:23:45 +0200 From: "Vlad GURDIGA" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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:23:47 -0000 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?