Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Unable to install ZFS (Ubuntu 13.10)

  1. #1
    Join Date
    Oct 2013
    Beans
    5

    Exclamation Unable to install ZFS (Ubuntu 13.10)

    I'm fairly new to Ubuntu and wanted to setup a server running ZFS/XBMC - Te XBMC install went fine, however I ran into trouble getting ZFS working.

    Configuration : Ubuntu 13.10 (GNU/Linux 3.12.0-rc7+ x86_64)

    I attempted to install ZFS native using :

    • sudo add-apt-repository ppa:zfs-native/stable
    • sudo apt-get update
    • sudo apt-get install ubuntu-zfs

    This failed to install due to "Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed."

    Trying sudo modprobe zfs - shows FATAL error : module not found.

    Looking at ZFS package (zfs-ubuntu) does not create zfs module? - they mentioned it was to do with lacking build dependences- I followed the answer which was to "apt-get remove --purge ubuntu-zfs zfs-dkms zfsutils spl spl-dkms libzfs1 dkms Then, REBOOT. Then, do: apt-get install linux-headers-generic build-essential Then, do: apt-get install ubuntu-zfs "

    This leaves me in the same situation with "Building only for 3.12.0-rc7+ Module build for the currently running kernel was skipped since the kernel source for this kernel does not seem to be installed." when trying to install ubuntu-zfs.

    Trying apt-get install --reinstall zfs-dkms also does not work.

    I'm sure I am missing something obvious - but if anyone could give me any help I would greatly appreciate it !
    Last edited by oli.washbrook; October 31st, 2013 at 09:51 PM. Reason: Mixing up ZSH with ZFS!

  2. #2
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Unable to install ZFS (Ubuntu 13.10)

    linux-headers-generic may not be sufficient. To get your exact kernel, do:
    Code:
    uname -a
    This will return something like
    Code:
    Linux MyComputer 3.5.0-42-generic #65~precise1-Ubuntu SMP Wed Oct 30 20:57:18 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
    It's the part after "3.5.0" that you need. In my case, this is "3.5.0-42". In your case it will be "3.12.0-xx" where "xx" is a number. Then do:
    Code:
    sudo apt-get install linux-headers-3.12.0-xx-generic
    ...replacing "xx" with your specific version. Then try re-installing ZFS.

  3. #3
    Join Date
    Oct 2013
    Beans
    5

    Re: Unable to install ZFS (Ubuntu 13.10)

    Thanks for getting back to me DuckHook - I appreciate it!

    uname -a get's me :

    Code:
    Linux MicroServer 3.12.0-rc7+ #1 SMP Mon Oct 28 08:31:59 CET 2013 x86_64 x86_64 x86_64 GNU/Linux


    Then putting in : ( As adding generic to the end of the line doesn't find any packages)
    Code:
    sudo apt-get install linux-headers-3.12.0-rc7+


    Gets me :
    Code:
    0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.


    Trying to reinstall ZFS gives me the same problem - I tried to force a reinstall of the headers with
    Code:
    sudo apt-get install --reinstall linux-headers-3.12.0-rc7+


    However that gave me no joy either , as it just listed 20 not upgraded as well. It seems that the headers are not installed but listed in the system as being installed. I was told to attempt to purge the headers using
    Code:
    sudo apt-get purge linux-headers-3.12.0-rc7
    This removed them, however when i rebooted and ran the install again it just lists 20 not upgraded again. I'm at a bit of a loss now, any ideas?
    Last edited by oli.washbrook; October 31st, 2013 at 09:52 PM.

  4. #4
    Join Date
    Jun 2007
    Beans
    14,793

    Re: Unable to install ZFS (Ubuntu 13.10)

    Where did you obtain the kernel? Mainline Kernel?

    What happens when you run:
    Code:
    sudo apt-get dist-upgrade

  5. #5
    Join Date
    Oct 2013
    Beans
    5

    Re: Unable to install ZFS (Ubuntu 13.10)

    Tried "sudo apt-get dist-upgrade " it just lists 2 not upgraded.

    The Kernel was taken from a link on the XBMC forums http://forum.xbmc.org/showthread.php?tid=174854 - it's the RC 7 for 3.12 - needed to support the OSS Radeon drivers to allow full vpadu support (hardware acceleration for radeon GPU's and fixes issues such as no sound over HDMI ) so HD video will work with my ATI 5450 (its moonlighting as a HTPC/File Server)

    It installs without a hitch - however when trying to install ZFS then fails.



    I attempted to try this the other way round , so erased and reinstalled Ubuntu 13.10 - and using the default 3.11 kernel installed ZFS - that worked and I was able to create the data pools with ZFS - however when I subsequently installed the 3.12 kernel using
    Code:
    mkdir ~/kernel
    cd ~/kernel
    wget https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.12.0-rc7%2B_0.1_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-image-3.12.0-rc7%2B_0.1_amd64.deb
    sudo dpkg -i *rc7*deb
    It failed with
    Code:
    ERROR (dkms apport): kernel package linux-headers-3.12.0-rc7+ is not supported
    Error! Bad return status for module build on kernel: 3.12.0-rc7+ (x86_64)
    So there appears to be an issue with 3.12 kernel and the release of ubuntu-zfs - does anyone know any way I could solve this and run ZFS on a 3.12 kernel to keep the hardware acceleration?
    Last edited by oli.washbrook; October 31st, 2013 at 09:53 PM.

  6. #6
    Join Date
    Jun 2007
    Beans
    14,793

    Re: Unable to install ZFS (Ubuntu 13.10)

    it's the RC 7 for 3.12 - needed to support the OSS Radeon drivers to allow full vpadu support (hardware acceleration for radeon GPU's and fixes issues such as no sound over HDMI
    3.11 will work just fine for that, though you may need to manually enable HDMI audio: https://bugs.launchpad.net/ubuntu/+s...er/+bug/864735
    Use this ppa to get vdpau and such: https://launchpad.net/~oibaf/+archive/graphics-drivers/

  7. #7
    Join Date
    Mar 2011
    Location
    19th Hole
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Unable to install ZFS (Ubuntu 13.10)

    I should have picked up on the fact that your kernel was non-standard. In your case, of course you would not get the kernel headers--you did not install a standard repository kernel. You cannot expect the repositories to work on a customized engine because the warehouse simply doesn't stock those parts.

    You can and should follow Temujin's advice to enable HDMI sound using the standard kernel.

    On a related note, as a fairly new user, do you really want to go installing kernels that you download from somebody's dropbox account??? What if it comes complete with a rootkit or keylogger? Your bank account could be cleaned out by now.

    <Sigh> Please read this thread that was just recently posted. No point in my repeating myself.

  8. #8
    Join Date
    Oct 2013
    Beans
    5

    Re: Unable to install ZFS (Ubuntu 13.10)

    Thanks for the links Temujin, I had previously tried the oibaf drivers but found a problem with video not playing and only displaying a white screen when accelerated using VDPAU - For those that are interested - I ended up with XBMC using VDPAU properly on a clean install of 13.10 (default kernel) by using the xbmc-fernetmenta-master build with the default drivers and the workaround for HDMI audio that Temujin kindly posted, which has also allowed me to install/use ZFS without issue (so far!)

    I appreciate the advice DuckHook, contrary to my previous actions I generally do take measure's to protect myself/my computers. The machine doesn't/won't be used either to contain or access important data and was on a separate network from my main computers. I admit however that the custom kernel wasn't the wisest choice, I had just reached a point of frustration trying to find a stable/fast implementation of VDAPU whilst using XBMC/ZFS

    Nevertheless, I've read through the thread you've linked and taken measures to buff up my security where appropriate, and thank you both for your help.
    Last edited by oli.washbrook; October 31st, 2013 at 09:56 PM. Reason: Mixing up ZSH with ZFS!

  9. #9
    Join Date
    Jun 2007
    Beans
    14,793

    Re: Unable to install ZFS (Ubuntu 13.10)

    You're welcome. Also note that you have some sort of mental block and keep typing 'ZSH' instead of 'ZFS'. I have some sort of mental block about typing the word 'install'. It usually comes out as 'isntall', which isn't good when I'm always instructing people to apt-get install stuff. I'm determined to overcome it, though. I've been through tougher typing issues (such as capitalizing the second letter of a word and typing 'teh' instead of 'the').

  10. #10
    Join Date
    Oct 2013
    Beans
    5

    Re: Unable to install ZFS (Ubuntu 13.10)

    Heh, I hadn't noticed that until now - thanks for pointing that one out!

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •