Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2012 11:33:07 +0200
From:      Johan Hendriks <joh.hendriks@gmail.com>
To:        Martin Matuska <mm@FreeBSD.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: [CFT][PREVIEW] ZFS new SPA
Message-ID:  <4FCC80D3.8000605@gmail.com>
In-Reply-To: <4FC366D0.6030206@FreeBSD.org>
References:  <CAOfEmZgap58XkgaxtW=vDcMLgzYqkGDe23m4Lz=3e5K5qB7jAg@mail.gmail.com> <4FC366D0.6030206@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Matuska schreef:
> Hello all,
>
> I have ported the ZFS features support (SPA version 5000) from Illumos
> to FreeBSD-current.
> What is still missing is boot support - needs to be implemented.
>
> Patch against CURRENT:
> http://www.vx.sk/download/patches/freebsd/zfs/head-zfs-features.patch
>
> Amd64 ISO images for testing (bootable, work well in VirtualBox):
> Basic: http://www.vx.sk/download/ISO-images/mfsbsd/head-zfs-features.iso
> (86MB)
> With full installworld:
> http://www.vx.sk/download/ISO-images/mfsbsd/head-se-zfs-features.iso (239MB)
>
> TODO: boot support (check feature availability from ZFS boot code)
>
> References:
> https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/2889e2596bd6
> https://hg.openindiana.org/upstream/illumos/illumos-gate/rev/1949b688d5fb
>
hello.

I saw this announcement, and decided to try the patch.
I just did a csup today and patched the tree.

# cd /usr/src
# patch < /root/patch/head-zfs-features.patch

then after doing a make cleanworld i get the following.

# make cleanworld
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"clean" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"cleandepend" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"distribute" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"lint" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"obj" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"objlink" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"tags" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"files" ignored
"/usr/src/Makefile", line 242: warning: duplicate script for target 
"includes" ignored
rm -rf /usr/obj/usr/src/*
chflags -R 0 /usr/obj/usr/src
rm -rf /usr/obj/usr/src/*

# make buildworld starts the with the same messages, but fails.

===> cddl/usr.sbin/lockstat (cleandir)
rm -f lockstat lockstat.o sym.o
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> cddl/usr.sbin/zdb (cleandir)
rm -f zdb zdb.o zdb_il.o zdb.8.gz zdb.8.cat.gz
rm -f .depend GPATH GRTAGS GSYMS GTAGS
===> cddl/usr.sbin/zhack (cleandir)
cd: /usr/src/cddl/usr.sbin/zhack: No such file or directory
*** [cleandir] Error code 2

Stop in /usr/src/cddl/usr.sbin.
*** [cleandir] Error code 1

Stop in /usr/src/cddl.
*** [cddl.cleandir__D] Error code 1

Stop in /usr/src.
*** [_cleanobj] Error code 1

Stop in /usr/src.
*** [buildworld] Error code 1

Stop in /usr/src.

Here is my make.conf

CPUTYPE?=nocona

#CLANG
CC=clang
CXX=clang++
CPP=clang-cpp

KERNCONF=KRNL

BATCH_DELETE_OLD_FILES= yes
CUPS_OVERWRITE_BASE=yes

WITHOUT_X11=yes
WITHOUT_GUI=yes

#### END MAKE.CONF FILE ###

regards.
Johan Hendriks




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FCC80D3.8000605>