Install from source failed to load spl.kext and zfs.kext

New to OpenZFS on OS X (Or ZFS in general)? Ask your questions here!

Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sat Aug 01, 2015 11:57 am

Failed to load spl.kext & zfs.kext

however this has loads: 120 0 0xffffff7f80a75000 0x2ec 0x2ec net.lundman.kernel.dependencies.1.3.1 (12.5.0)

I uninstalled and attempted to install from source after having some issues with kernel panics and wanted to have most updated version and wound up stuck.

This is after I checked and tried to manually load and got the error:

failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).

Here's the console errors:

sudo[47102]: flipper : TTY=ttys000 ; PWD=/System/Library/Extensions ; USER=root ; COMMAND=/sbin/kextload spl.kext
[53]: ERROR: invalid signature for net.lundman.spl, will not load
[53]: ERROR: invalid signature for net.lundman.zfs, will not load
apple.xpc.launchd[1] (org.openzfsonosx.zed[47104]): Service exited with abnormal code: 1
.apple.xpc.launchd[1] (org.openzfsonosx.zed): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
.apple.kextd[53]: ERROR: invalid signature for net.lundman.zfs, will not load
.launchd[1] (org.openzfsonosx.zed[47109]): Service exited with abnormal code: 1
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sat Aug 01, 2015 12:09 pm

Output of sudo kextutil spl.kext:
Diagnostics for /System/Library/Extensions/spl.kext:
Code Signing Failure: not code signed
ERROR: invalid signature for net.lundman.spl, will not load
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sat Aug 01, 2015 12:12 pm

Also I have run this multiple times: sudo nvram boot-args="-v keepsyms=y kext-dev-mode=1" as lundman suggests in other posts, with no luck.
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby ilovezfs » Sun Aug 02, 2015 10:15 am

What version of OS X?
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Tue Aug 11, 2015 12:56 am

10.10.3
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby ilovezfs » Tue Aug 11, 2015 1:04 am

Did you reboot? How are you building? How are you installing?

What is the output of

Code: Select all
nvram boot-args
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sun Aug 23, 2015 6:04 pm

I followed the install from source guide precisely as its laid out in the OpenZFS documentation.

output is: nvram: Error getting variable - 'boot-args': (iokit/common) data was not found
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sun Aug 23, 2015 6:13 pm

https://openzfsonosx.org/wiki/Install <--- install, followed precisely

Everything seems to have installed fine up to the point of: kextstat | grep lundman, which is first sign of error

When I run zpool status my output is:

Failed to load ZFS module stack.
Load the module manually by running '/sbin/kextload /System/Library/Extensions/zfs.kext' as root.
The /dev/zfs device is missing and must be created.
Try running 'udevadm trigger' as root to create it.


Trying to load module manually results in:
/System/Library/Extensions/zfs.kext failed to load - (libkern/kext) not loadable (reason unspecified); check the system/kernel logs for errors or try kextutil(8).


zfs.kext is present in /System/Library/Extensions
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sun Aug 23, 2015 6:16 pm

and yes, I did reboot.
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm

Re: Install from source failed to load spl.kext and zfs.kext

Postby luminousdolphin » Sun Aug 23, 2015 6:20 pm

Well, after running the suggested nvram command lundman suggested, I rebooted once again and everything seems to have loaded fine.

Is there a way I can check to make sure everything is installed properly?

Curious as to why I ran into this issue in the first place.
luminousdolphin
 
Posts: 14
Joined: Sun May 03, 2015 12:30 pm


Return to Absolute Beginners Section

Who is online

Users browsing this forum: Google [Bot] and 7 guests