You are not logged in.
I built a kernel, as per https://wiki.archlinux.org/index.php/Cu … n_with_ABS . It seemed pretty straight forward.
The goal was to set CONFIG_PREEMPT=n so I could compile and native install ZFS. I managed to get the kernel compiled and installed with the modification.
Now, when I run configure on the SPL, I get the following error:
checking kernel source version... Not found
configure: error: *** Cannot find UTS_RELEASE definition.It looks like I've done something wrong on the kernel build but I don't know what.
Offline
not sure what SPL is, but you might want to try moving your kernel source to /usr/src/kernel-your-version and then symlinking /usr/src/linux to it too
# cd /usr/src
# mv /path/to/your/abs/kernel26/src/linux* ./linux-your-version
# ln -s linux-your-version linux
I had a similar problem with a custom kernel and getting the virtualbox modules to compile
Offline
Thanks, oliver. ![]()
I believe SPL stands for Sun Portability Library. It needs to be built and installed to install ZFS.
Moving the source to /usr/src was already done by ABS. It shows up as "/usr/src/linux-2.6.37-zfs". I added the symbolic link you suggest but it didn't help. It was worth a try, though.
I'd really like to get zfs working. It's in the AUR but that version isn't complete and can't mount. I don't know how it is useful beyond being a technology demonstration without being able to mount. The latest version can mount, though. I guess I can hope someone who understand the intricacies of Arch packaging puts an updated package in the AUR.
Offline
I'm sorry I didn't see this before, but anyway I'm leaving this here in case someone else finds this through a search.
I encountered this error while configuring spl as well, though I had not built my own kernel. The definitions are provided by the kernel26-headers package.
For those interested in trying out zfs, there is as of 2011-05-31 an issue with zfs-0.6.0-rc4 + the Archlinux kernel (2.6.37 and 2.6.38 confirmed), that causes a deadlock when writing to a zfs pool, effectively making zfs unusable. There seems to be a way of configuring oneself out of this by recompiling the kernel. I shall update if I manage to get it to work.
More info here: https://github.com/behlendorf/zfs/issues/167
Offline