From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 09:34:29 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 039F56ED for ; Thu, 15 Jan 2015 09:34:29 +0000 (UTC) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id D12E85E9 for ; Thu, 15 Jan 2015 09:34:28 +0000 (UTC) Received: from [10.0.1.2] (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) (authenticated bits=0) by zoom.lafn.org (8.14.7/8.14.7) with ESMTP id t0F9AnTO018056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 15 Jan 2015 01:10:50 -0800 (PST) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Switching from custom kernel back to generic Message-Id: <4DE6D94C-177B-471B-B537-F7853B83115A@lafn.org> Date: Thu, 15 Jan 2015 01:10:49 -0800 To: "freebsd-questions@freebsd.org Questions" Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) X-Mailer: Apple Mail (2.1993) X-Virus-Scanned: clamav-milter 0.98 at zoom.lafn.org X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jan 2015 09:34:29 -0000 I believe I will be able to get rid of using quotas here in the near = future. That would enable me to use generic kernels all around. = However, I ran into an issue when updating 9.3. I used freebsd-update = to bring everything up to speed. Then I went ahead and built the custom = kernel and rebuilt world. However, I just installed the generic kernel = freebsd-update gave me. The generic kernel kldstat showed the kernel = and fdescfs.ko. However, pf.ko and pflog.ko would not load. It said it = couldn=E2=80=99t find them. Running ktrace on service pf start shows it = was looking for /boot/kernel/pf.ko and getting file not found. A ls -l = /boot/kernel/pf.ko shows the file is there with the right owner and = permissions. I tried manually loading other modules and get the same = error. All the modules are there in the right place. I ended up = installing the custom kernel and world and everything now works again. Is there some magic that is needed to switch from a custom kernel to = generic? Why would the kernel not find the modules when ls can?