Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Aug 2020 12:28:43 -0700
From:      John Kennedy <warlock@phouka.net>
To:        Matthew Macy <mmacy@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>, freebsd-fs <freebsd-fs@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: OpenZFS support merged
Message-ID:  <20200825192843.GA10816@phouka1.phouka.net>
In-Reply-To: <CAPrugNrgNUpaG3Wd=3crdsKV4iA83w%2B32hyzYbW0j_omOTo%2BwA@mail.gmail.com>
References:  <CAPrugNrgNUpaG3Wd=3crdsKV4iA83w%2B32hyzYbW0j_omOTo%2BwA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 24, 2020 at 07:38:53PM -0700, Matthew Macy wrote:
> r364746 merged OpenZFS support in to HEAD.
> 
> The change should be transparent unless you want to use new features.
> I caution against 'zpool upgrade' for the next few weeks.
> 
> https://svnweb.freebsd.org/base?view=revision&revision=364746
> 
> If you encounter problems please report them to me, Ryan Moeller, and -current.

  So I've compiled it twice so far but mixed success.

	FreeBSD bsd13 13.0-CURRENT FreeBSD 13.0-CURRENT #11 r364771+8ffcd478e5d5-c270900(master): Tue Aug 25 11:35:50 PDT 2020     warlock@bsd13:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

  This is pretty much stock (no extra openzfs ports added, in particular) since
you said "transparent".  The system boots up, but the zfs binary has some
issues.  Only my zroot/ROOT/default (root partition) gets mounted, not the
rest of the zfs filesystems.

	/sbin/zfs --version
		ld-elf.so.1: /lib/libzfs.so.4: Undefined symbol "mutex_init"

	strings -a < /sbin/zfs | grep mutex_init
		pthread_mutex_init

  That looks like it should be in lib pthread  or lib thr, which are below:

	ldd /sbin/zfs
	/sbin/zfs:
		libjail.so.1 => /lib/libjail.so.1 (0x801084000)
		libavl.so.2 => /lib/libavl.so.2 (0x80108c000)
		libnvpair.so.2 => /lib/libnvpair.so.2 (0x801091000)
		libgeom.so.5 => /lib/libgeom.so.5 (0x8010ab000)
		libuutil.so.2 => /lib/libuutil.so.2 (0x8010b3000)
		libzfs_core.so.2 => /lib/libzfs_core.so.2 (0x8010bf000)
		libspl.so.2 => /lib/libspl.so.2 (0x8010c8000)
		libtpool.so.2 => /lib/libtpool.so.2 (0x8010d1000)
		libzutil.so.2 => /lib/libzutil.so.2 (0x8010d7000)
		libzfs.so.4 => /lib/libzfs.so.4 (0x8010e4000)
		libm.so.5 => /lib/libm.so.5 (0x8011e7000)
		libcrypto.so.111 => /lib/libcrypto.so.111 (0x80121a000)
		libthr.so.3 => /lib/libthr.so.3 (0x8014ea000)
		libc.so.7 => /lib/libc.so.7 (0x801517000)
		libbsdxml.so.4 => /lib/libbsdxml.so.4 (0x801940000)
		libsbuf.so.6 => /lib/libsbuf.so.6 (0x80196d000)
		libmd.so.6 => /lib/libmd.so.6 (0x801973000)
		libumem.so.2 => /lib/libumem.so.2 (0x801996000)
		libutil.so.9 => /lib/libutil.so.9 (0x80199a000)
		libz.so.6 => /lib/libz.so.6 (0x8019b2000)

	/etc/src.conf
		WITHOUT_REPRODUCIBLE_BUILD=YES
		# WITH_KERNEL_RETPOLINE=YES
		# WITH_RETPOLINE=YES
		WITH_PIE=YES
		WITH_BIND_NOW=YES
		WITHOUT_SVNLITE=YES
		WITHOUT_PORTSNAP=YES

		WITHOUT_LLVM_TARGET_ALL=YES

		TMPDIR=/var/tmp
		POUDRIERE_TMPDIR=/var/tmp



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