zfs_20070303.patch on current

Andrei Kolu antik at bsd.ee
Tue Mar 6 12:20:46 UTC 2007


On Tuesday 06 March 2007 2:02 pm, Dennis Berger wrote:
> Andrei Kolu schrieb:
> > Now I found out why my kernel build failed. I followed directions found
> > in patch file:
> >
> > # patch -p0 < zfs_20070303.patch
> > # make kernel
> > # cd cddl
> > # make && make install
> > Build failed.
> >
> > Then I changed it to this:
> >
> > # patch -p0 < zfs_20070303.patch
> > # make buildkernel
> > # cd cddl
> > # make && make install
> > # make installkernel
> >
> > Now I got working kernel but ZFS is still not available:
> >
> > # zpool status
> > internal error: failed to initialize ZFS library
> > _______________________________________________
> > freebsd-geom at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> > To unsubscribe, send any mail to "freebsd-geom-unsubscribe at freebsd.org"
>
> this means zfs.ko isn't loaded at all.
> Try loading it via kldload zfs. Try to create a pool with zpool then, I
> would like to know if it worked for you.
> regards,
> -Dennis

supermicro# kldstat
Id Refs Address    Size     Name
 1   17 0xc0400000 7f4390   kernel
 3    2 0xc0c00000 23760    linux.ko
 4    1 0xc0c24000 aa1c     cpufreq.ko
 5    1 0xc0c2f000 5a074    acpi.ko
 6    1 0xc42a0000 6000     linprocfs.ko
 7    1 0xc46be000 6000     snd_emu10k1.ko
 8    2 0xc46c4000 32000    sound.ko
 9    1 0xc47ea000 4000     logo_saver.ko
10    1 0xc48c2000 11000    geom_journal.ko
supermicro# kldload zfs
supermicro# kldstat
Id Refs Address    Size     Name
 1   18 0xc0400000 7f4390   kernel
 3    2 0xc0c00000 23760    linux.ko
 4    1 0xc0c24000 aa1c     cpufreq.ko
 5    1 0xc0c2f000 5a074    acpi.ko
 6    1 0xc42a0000 6000     linprocfs.ko
 7    1 0xc46be000 6000     snd_emu10k1.ko
 8    2 0xc46c4000 32000    sound.ko
 9    1 0xc47ea000 4000     logo_saver.ko
10    1 0xc48c2000 11000    geom_journal.ko
11    1 0xc92a9000 86000    zfs.ko
supermicro# zpool status
no pools available

Thanks! So I have to enable ZFS from /boot/loader.conf with zfs_load="yes" or 
how?

Best.
Andrei


More information about the freebsd-geom mailing list