Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Mar 2007 13:26:59 +0100
From:      Dennis Berger <db@nipsi.de>
To:        Andrei Kolu <antik@bsd.ee>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: zfs_20070303.patch on current
Message-ID:  <45ED5E13.9090407@nipsi.de>
In-Reply-To: <200703061420.36980.antik@bsd.ee>
References:  <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee>	<45ED5850.6050506@nipsi.de> <200703061420.36980.antik@bsd.ee>

next in thread | previous in thread | raw e-mail | index | archive | help
May you try to create a pool?
maybe with an filebased device.


dd if=/dev/zero of=/home/zfstest bs=1m count=100
mdconfig -f /home/zfstest -u 0
bsdlabel -w md0 auto
zpool create home /dev/md0c

regards,
Dennis


Andrei Kolu schrieb:
> 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@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
>>> To unsubscribe, send any mail to "freebsd-geom-unsubscribe@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
> _______________________________________________
> freebsd-geom@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-geom
> To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org"
>   




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45ED5E13.9090407>