FreeBSD-7.0 on ZFS

Kris Kennaway kris at obsecurity.org
Mon Dec 11 21:39:21 PST 2006


On Tue, Dec 12, 2006 at 03:29:07PM +1000, basteon wrote:
> Kind time of day. I had a problem of loading of the module....
> 
> BSDsystem# kldload zfs.ko
> kldload: can't load zfs.ko: No such file or directory
> BSDsystem# locate zfs.ko
> /boot/kernel/zfs.ko
> /boot/kernel/zfs.ko.symbols
> /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko
> /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko.debug
> /usr/obj/usr/src/sys/GENERIC/modules/usr/src/sys/modules/zfs/zfs.ko.symbols
> BSDsystem# kldload /boot/kernel/zfs.ko
> kldload: can't load /boot/kernel/zfs.ko: No such file or directory
> BSDsystem# ls -al /boot/kernel/zfs.ko
> -r-xr-xr-x 1 root wheel 577771 Dec 8 12:15 /boot/kernel/zfs.ko
> 
> 
> All pregoing operations are executed consistently and without erroneous.

Review the console log, it probably failed to load because of missing
symbols.  Make sure your kernel + module were both built with -O (not
-O2).  You may need to also enable some of the -D options depending on
what is in your kernel.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20061212/7a12ba9d/attachment.pgp


More information about the freebsd-fs mailing list