Re: ZFS patches for FreeBSD.

From: Doug Ambrisko <ambrisko_at_ambrisko.com>
Date: Thu, 16 Nov 2006 07:21:59 -0800 (PST)
Pawel Jakub Dawidek writes:
| This is a first set of patches, which allows to use ZFS file system from
| OpenSolaris on FreeBSD.
| 
| To apply the patch you need to have recent FreeBSD source (be sure you
| have rev. 1.284 of src/sys/kern/kern_synch.c).
| 
| To try it out you need i386 machine (this is what I tested) and kernel
| without WITNESS compiled in (there are probably some warnings still).
| 
| Currently it can only be compiled as a kernel module.
| 
| To apply the patch you need the following steps:
| 
| 	# cd /usr/src
| 	# fetch http://people.freebsd.org/~pjd/patches/zfs_20061117.patch.bz2
| 	# bzip2 -d zfs_20061117.patch.bz2
| 	# patch < zfs_20061117.patch
| 	# make buildworld
| 	# make kernel
| 	# make installworld
| 	# kldload zfs.ko
| 	(zfs and zpool command should work now)
| 
| 	Before reboot:
| 	# zfs export <your_pool>
| 
| 	After reboot:
| 	# kldload zfs.ko
| 	# zfs import <your_pool>

I skipped the mkdir and used patch -p0.  Everything looked to compile
okay but when I kldload zfs is fails since the kernel doesn't
have memset:
	%kldload zfs
	link_elf: symbol memset undefined
	kldload: can't load zfs: No such file or directory
	%
Is there another change required?

Thanks,

Doug A.
Received on Thu Nov 16 2006 - 14:22:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:02 UTC