From owner-freebsd-questions@FreeBSD.ORG Thu Jan 15 10:07:37 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 822F02BB for ; Thu, 15 Jan 2015 10:07:37 +0000 (UTC) Received: from mail-yh0-x236.google.com (mail-yh0-x236.google.com [IPv6:2607:f8b0:4002:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C720966 for ; Thu, 15 Jan 2015 10:07:37 +0000 (UTC) Received: by mail-yh0-f54.google.com with SMTP id c41so6862567yho.13 for ; Thu, 15 Jan 2015 02:07:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tsoHxBlw63Bwl1oYUyJncCtGnwG0Lo9x370w76B3cfQ=; b=jSDGnwBl0EBTx9r2itFfRLKRgEBmUAzjSam3E9QDEJgPSdJLqD317D/6JMvIn4SEqi MWMrAdHGfWuR0p15R2GVNkP3rfs/dxwWUSkb+lOCMIqcV5OvLRHsRENKBApfC5IFFqKS T37JrJrUUox6pY+3/PAFuaGUSgDn8G7VKXZYK+gtIiYIFnbrCgMPc2UYmNq6EChc7lvX 3y1DBSBRGHWhg9CbCfGhz/Hvmj/jerfITC/DC2CNoydZM7J4UgeZV6+xtQWcp01uud3e 6EXc/Pg0XmZ/8s9TdoMYiZJ0mbYKk7RR0Ob7EUaWtiug1NCHY/kw5I1CCgi1AoVsK/Rv 29AQ== MIME-Version: 1.0 X-Received: by 10.236.231.240 with SMTP id l106mr5415846yhq.100.1421316456204; Thu, 15 Jan 2015 02:07:36 -0800 (PST) Received: by 10.170.188.144 with HTTP; Thu, 15 Jan 2015 02:07:36 -0800 (PST) In-Reply-To: <4DE6D94C-177B-471B-B537-F7853B83115A@lafn.org> References: <4DE6D94C-177B-471B-B537-F7853B83115A@lafn.org> Date: Thu, 15 Jan 2015 10:07:36 +0000 Message-ID: Subject: Re: Switching from custom kernel back to generic From: krad To: Doug Hardie Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-questions@freebsd.org Questions" 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 10:07:37 -0000 It depends on what was there before hand but the simplest way to revert to stock is to do the following backup /boot rename /boot/kernel to /boot/kernel.old fetch -o - http://mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/releases/amd64/9= .3-RELEASE/kernel.txz | tar xvzf - -C / you should now have a stock kernel in place. You of will want to check the url above as you might want to change it to a different arch, or geolocation to suit you On 15 January 2015 at 09:10, Doug Hardie wrote: > 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 an= d > rebuilt world. However, I just installed the generic kernel freebsd-upda= te > 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.k= o > 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 a= re > 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? > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org"