Olav Gjerde
2012-Jun-18 21:53 UTC
Kernel modules are broken after updating to the latest FreeBSD 9-STABLE
Yesterday I updated to the latest version of FreeBSD 9-STABLE. I always follow the procedure in the manual -> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html And I use the GENERIC config with no modifications. The system boots fine, however quite a few important kernel modules no longer works. Specifically nullfs, fdescfs, zfs, zlib, xfs, while some other modules like geom_mirror and geom_raid works. I get the following error messages: KLD nullfs.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type KLD fdescfs.ko: depends on kernel - not available or version mismatch linker_load_file: Unsupported file type What could have gone wrong? What can I do to fix this?
Warren Block
2012-Jun-18 22:37 UTC
Kernel modules are broken after updating to the latest FreeBSD 9-STABLE
On Mon, 18 Jun 2012, Olav Gjerde wrote:> Yesterday I updated to the latest version of FreeBSD 9-STABLE. I > always follow the procedure in the manual -> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html > And I use the GENERIC config with no modifications. > > The system boots fine, however quite a few important kernel modules no > longer works. Specifically nullfs, fdescfs, zfs, zlib, xfs, while some > other modules like geom_mirror and geom_raid works. > > I get the following error messages: > KLD nullfs.ko: depends on kernel - not available or version mismatch > linker_load_file: Unsupported file type > KLD fdescfs.ko: depends on kernel - not available or version mismatch > linker_load_file: Unsupported file type > > What could have gone wrong? What can I do to fix this?Did you miss the buildkernel/installkernel steps?
Olav Gjerde
2012-Jun-19 19:15 UTC
Kernel modules are broken after updating to the latest FreeBSD9-STABLE
No I didn't miss the buildkernel/installkernel steps :) I've tried everything from deleting /usr/obj /usr/src, csup'ing a new source to make build/kernel/world without -j I see with uname -a that the kernel date is in february (last time updated this server). Why doesn't it update to june? /boot/kernel is created in june. Is it something wrong with my source files? Should I try updating with cvsup instead of csup?
Olav Gjerde
2012-Jun-20 15:56 UTC
Kernel modules are broken after updating to the latestFreeBSD9-STABLE
On Tue, Jun 19, 2012 at 9:45 PM, Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au> wrote:> Hi Olav, > It seems that you're doing the same as I would, in that you start from a > fresh base. > > I'd stay with csup, it is reliable and avoids the modula2 installation. > > Over the last 5 years, I have experienced the same weirdness on 2 > occasions, and out of desperation (no time), I've removed the source, > /usr/obj, removed ccache (that's been a few problems), removed -j > $((`sysctl -n hw.ncpu`+1)) and changed my source origin. ?Because I'm in > Australia, I use: > > *default host=cvsup3.au.freebsd.org > #*default host=cvsup2.jp.freebsd.org > #*default host=cvsup2.freebsd.org ?# Only when updates are < 1hour old > > There's a page in the Handbook for urls that are close to you. I'd suggest > that course. > Good luck. > > Regards, Dewayne. > PS If successful, please post to the list, so the cause may be > shared/reviewed. >I got the right kernel to load after doing a make installkernel in single user mode. However I still have a problem starting my jails. I get the following error message for each jail I start. /lib/libc.so.7: version FBSD_1.3 required by /bin/sh not found I use ezjail, are there some other way to update it than just using ezjail-admin update -i?