Clover + ZFS boot.

We won't tell.

Clover + ZFS boot.

Postby realfolkblues12 » Wed Dec 07, 2016 7:00 am

Hello. I am attempting to follow the instructions here
https://openzfsonosx.org/wiki/ZFS_on_Boot
to boot using ZFS. However I am using clover as the OS is a hackintosh.

So far I figured out that I have to put

Code: Select all
keepsyms=y zfs_boot=rpool


into my clover config instead of /Volumes/Capitan/Library/Preferences/SystemConfiguration/com.apple.Boot.plist

the part i'm not sure about is where to put

Code: Select all
 <key>Root UUID</key>
  <string>00000000-0000-0000-0000-000000000000</string>

can that go into clover config and how?

when I'm booting I get stuck at the prohibitory logo. Has anyone tried zfs boot with clover? any advise for me? thanks!

my clover boot works with HFS just fine.

I've attached the output of the boot right before the system shows the prohibition logo.
IMG_0425.JPG
IMG_0425.JPG (2.13 MiB) Viewed 21511 times
realfolkblues12
 
Posts: 34
Joined: Thu Feb 12, 2015 10:41 pm

Re: Clover + ZFS boot.

Postby realfolkblues12 » Wed Dec 07, 2016 4:04 pm

so i've got a update I tried to install the compiled version on my hfs drive just to make sure it's compiled correctly and loading correctly. However when I try to load zfs i get

/Library/Extensions/zfs.kext failed to load - (libkern/kext) link error; check the system/kernel logs for errors or try kextutil(8).

where can I find this log? thanks!
realfolkblues12
 
Posts: 34
Joined: Thu Feb 12, 2015 10:41 pm

Re: Clover + ZFS boot.

Postby lundman » Thu Dec 08, 2016 10:24 pm

The log is /var/log/system.log, but you can also run kextutil, ie

kextutil -d /path/to/spl.kext /path/to/zfs.kext

which will spit out the problem with loading.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Clover + ZFS boot.

Postby realfolkblues12 » Fri Dec 23, 2016 3:59 pm

Hey sorry I took so long to get back to you. School has been crazy. Christmas vacation now :)

Here is what I get when I try to load the kext. Not sure whats up. I followed the instructions on the wiki to compile it.

Code: Select all
Diagnostics for /Library/Extensions/zfs.kext:
Code Signing Failure: not code signed
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Library/Extensions/zfs.kext"
kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Library/Extensions/spl.kext/Contents/PlugIns/KernelExports.kext"
kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Library/Extensions/spl.kext"
kext signature failure override allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext "/Library/Extensions/zfs.kext"
(kernel) kxld[net.lundman.zfs]: The following symbols were defined more than once:
(kernel) kxld[net.lundman.zfs]:    _EdonRFinal: 0xffffff7f82cc49b0 - 0xffffff7f80a869d0
(kernel) kxld[net.lundman.zfs]:    _EdonRHash: 0xffffff7f82cc4e00 - 0xffffff7f80a86e20
(kernel) kxld[net.lundman.zfs]:    _EdonRInit: 0xffffff7f82cbf460 - 0xffffff7f80a81480
(kernel) kxld[net.lundman.zfs]:    _EdonRUpdate: 0xffffff7f82cbf5f0 - 0xffffff7f80a81610
(kernel) kxld[net.lundman.zfs]:    _SHA2Final: 0xffffff7f82cd8350 - 0xffffff7f80a9fc30
(kernel) kxld[net.lundman.zfs]:    _SHA2Init: 0xffffff7f82ccc940 - 0xffffff7f80a94220
(kernel) kxld[net.lundman.zfs]:    _SHA2Update: 0xffffff7f82cccca0 - 0xffffff7f80a94580
(kernel) kxld[net.lundman.zfs]:    _SKEIN1024_IV_1024: 0xffffff7f82d60720 - 0xffffff7f80abcfd0
(kernel) kxld[net.lundman.zfs]:    _SKEIN1024_IV_384: 0xffffff7f82d60620 - 0xffffff7f80abced0
(kernel) kxld[net.lundman.zfs]:    _SKEIN1024_IV_512: 0xffffff7f82d606a0 - 0xffffff7f80abcf50
(kernel) kxld[net.lundman.zfs]:    _SKEIN_256_IV_128: 0xffffff7f82d60420 - 0xffffff7f80abccd0
(kernel) kxld[net.lundman.zfs]:    _SKEIN_256_IV_160: 0xffffff7f82d60440 - 0xffffff7f80abccf0
(kernel) kxld[net.lundman.zfs]:    _SKEIN_256_IV_224: 0xffffff7f82d60460 - 0xffffff7f80abcd10
(kernel) kxld[net.lundman.zfs]:    _SKEIN_256_IV_256: 0xffffff7f82d60480 - 0xffffff7f80abcd30
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_128: 0xffffff7f82d604a0 - 0xffffff7f80abcd50
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_160: 0xffffff7f82d604e0 - 0xffffff7f80abcd90
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_224: 0xffffff7f82d60520 - 0xffffff7f80abcdd0
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_256: 0xffffff7f82d60560 - 0xffffff7f80abce10
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_384: 0xffffff7f82d605a0 - 0xffffff7f80abce50
(kernel) kxld[net.lundman.zfs]:    _SKEIN_512_IV_512: 0xffffff7f82d605e0 - 0xffffff7f80abce90
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Final: 0xffffff7f82cda000 - 0xffffff7f80a88630
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Final_Pad: 0xffffff7f82cd9f40 - 0xffffff7f80a88570
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Init: 0xffffff7f82cd99e0 - 0xffffff7f80a88010
(kernel) kxld[net.lundman.zfs]:    _Skein1024_InitExt: 0xffffff7f82cd9bd0 - 0xffffff7f80a88200
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Output: 0xffffff7f82cda620 - 0xffffff7f80a88c50
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Process_Block: 0xffffff7f82ce3c90 - 0xffffff7f80a923e0
(kernel) kxld[net.lundman.zfs]:    _Skein1024_Update: 0xffffff7f82cd9dc0 - 0xffffff7f80a883f0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Final: 0xffffff7f82cd8f80 - 0xffffff7f80a875b0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Final_Pad: 0xffffff7f82cd8ed0 - 0xffffff7f80a87500
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Init: 0xffffff7f82cd8970 - 0xffffff7f80a86fa0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_InitExt: 0xffffff7f82cd8b80 - 0xffffff7f80a871b0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Output: 0xffffff7f82cda2c0 - 0xffffff7f80a888f0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Process_Block: 0xffffff7f82cda960 - 0xffffff7f80a890b0
(kernel) kxld[net.lundman.zfs]:    _Skein_256_Update: 0xffffff7f82cd8d50 - 0xffffff7f80a87380
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Final: 0xffffff7f82cd97b0 - 0xffffff7f80a87de0
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Final_Pad: 0xffffff7f82cd9700 - 0xffffff7f80a87d30
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Init: 0xffffff7f82cd91a0 - 0xffffff7f80a877d0
(kernel) kxld[net.lundman.zfs]:    _Skein_512_InitExt: 0xffffff7f82cd93b0 - 0xffffff7f80a879e0
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Output: 0xffffff7f82cda470 - 0xffffff7f80a88aa0
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Process_Block: 0xffffff7f82cddb00 - 0xffffff7f80a8c250
(kernel) kxld[net.lundman.zfs]:    _Skein_512_Update: 0xffffff7f82cd9580 - 0xffffff7f80a87bb0
(kernel) Can't load kext net.lundman.zfs - link failed.
(kernel) Failed to load executable for kext net.lundman.zfs.
(kernel) Kext net.lundman.zfs failed to load (0xdc008016).
(kernel) Failed to load kext net.lundman.zfs (error 0xdc008016).
Failed to load /Library/Extensions/zfs.kext - (libkern/kext) link error.
Check library declarations for your kext with kextlibs(8).
realfolkblues12
 
Posts: 34
Joined: Thu Feb 12, 2015 10:41 pm

Re: Clover + ZFS boot.

Postby Brendon » Fri Dec 23, 2016 5:39 pm

IIRC Lundman moved the crypto library between SPL and ZFS (not sure which direction). Make sure you are using a matched pair of kexts.

Cheers
Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: Clover + ZFS boot.

Postby lundman » Sat Dec 24, 2016 8:54 pm

from SPL to ZFS, since it is complaining you are defining them more than once, it means your SPL has them and shouldn't since they are now in ZFS
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Clover + ZFS boot.

Postby realfolkblues12 » Sun Dec 25, 2016 4:01 pm

Ok well I followed the info here to compile them
https://openzfsonosx.org/wiki/ZFS_on_Boot

what steps need to be changed to get the boot code patch but not the duplicate extra definitions? :)
realfolkblues12
 
Posts: 34
Joined: Thu Feb 12, 2015 10:41 pm

Re: Clover + ZFS boot.

Postby lundman » Mon Jan 09, 2017 5:10 pm

I think hmm, maybe SPL should be master now. The ldi-boot hacks are no longer needed. I shall check and update wiki if needed.
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to Hackintoshes

Who is online

Users browsing this forum: No registered users and 9 guests