Date: Thu, 15 Jan 2015 10:07:36 +0000 From: krad <kraduk@gmail.com> To: Doug Hardie <bc979@lafn.org> Cc: "freebsd-questions@freebsd.org Questions" <freebsd-questions@freebsd.org> Subject: Re: Switching from custom kernel back to generic Message-ID: <CALfReyeUKPPFna8f8vBvW9qwiUrjSfJiFCs3dDD8Mv3iG%2BX4zw@mail.gmail.com> In-Reply-To: <4DE6D94C-177B-471B-B537-F7853B83115A@lafn.org> References: <4DE6D94C-177B-471B-B537-F7853B83115A@lafn.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <bc979@lafn.org> 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReyeUKPPFna8f8vBvW9qwiUrjSfJiFCs3dDD8Mv3iG%2BX4zw>