ZFS port to FreeBSD: 2nd patchset available.

FreeBSD usergroup freebsd at amadeus.demon.nl
Sun Mar 4 18:15:34 UTC 2007


On 4-mrt-2007, at 13:38, Pawel Jakub Dawidek wrote:

> Hi.
>
>
> The patch is available at:
>
> 	http://people.freebsd.org/~pjd/patches/zfs_20070303.patch.bz2
>
> To apply and compile the patch, enter your src directory and:
>
> 	# patch -p0 < /path/to/zfs_20070303.patch
> 	# make kernel   <-- compiles and install patched kernel and
> 	                    zfs module
> 	# cd cddl
> 	# make && make install   <-- compiles and install userland
> 	                             utilities and libraries
>
> Please report any problems ('it works without problems!' is nice too).

Hey Pawel,

Do I need to start with clean sources?

I patched the source with the new patch on top of the source that has  
been patched with the old patch.
I tried to compile the new kernel but it failed.

first errors at the beginning:

===> zfs (obj)
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 168: warning:  
duplicate script for target "zfs.ko" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 170: warning:  
duplicate script for target "zfs.ko.symbols" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 175: warning:  
duplicate script for target "zfs.ko.debug" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 191: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 195: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 202: warning:  
duplicate script for target "zfs.kld" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 247: warning:  
duplicate script for target "@" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 247: warning:  
duplicate script for target "machine" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 368: warning:  
duplicate script for target "vnode_if.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 370: warning:  
duplicate script for target "vnode_if_newproto.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 372: warning:  
duplicate script for target "vnode_if_typedef.h" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 435: warning:  
duplicate script for target "lint" ignored
"/usr/src/sys/modules/zfs/../../conf/kmod.mk", line 442: warning:  
duplicate script for target "cleanilinks" ignored
/usr/obj/usr/src/sys/AMAKERNEL_7/modules/usr/src/sys/modules/zfs  
created for /usr/src/sys/modules/zfs



then the fatal ones after a while:
...
<snip>
/usr/src/sys/modules/zfs/../../contrib/opensolaris/uts/common/fs/zfs/ 
vdev_geom.c
cc1: error: -I- specified twice
<snip>
cc1: error: -I- specified twice
cc1: error: -I- specified twice
mkdep: compile failed
*** Error code 1

Stop in /usr/src/sys/modules/zfs.
*** Error code 1

Stop in /usr/src/sys/modules.
*** Error code 1

Stop in /usr/obj/usr/src/sys/AMAKERNEL_7.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


thanks
Arno


More information about the freebsd-current mailing list