Results 1 to 10 of 22

Thread: zfs.ko missing after update to 12.10

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    In a church
    Beans
    62
    Distro
    Ubuntu 12.10 Quantal Quetzal

    zfs.ko missing after update to 12.10 [SOLVED]

    I updated to 12.10 from 12.04 and the zfs module for the new version is missing.

    Code:
    # zpool list
    Failed to load ZFS module stack.
    Load the module manually by running 'insmod <location>/zfs.ko' as root.
    So I looked for it...

    Code:
    # uname -a
    Linux Gollum 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    # find /lib/modules -name zfs.ko
    /lib/modules/3.5.0-20-generic/updates/dkms/zfs.ko
    /lib/modules/3.5.0-19-generic/updates/dkms/zfs.ko


    So I tried removing and re-installing zfs,

    apt-get remove ubuntu-zfs
    apt-get autoclean
    ...reboot...
    apt-get install ubuntu-zfs

    (That's a summation....it was successful but same result)

    Does anyone have 3.5.0-21-generic ... /zfs.ko ?
    Last edited by RealityMaster; December 17th, 2012 at 10:11 PM. Reason: Solved

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: zfs.ko missing after update to 12.10

    i have no clue about that zfs module, but have you tried modprobe ?

    http://www.google.fr/#hl=fr&gs_nf=3&...w=1485&bih=909

  3. #3
    Join Date
    Apr 2007
    Location
    In a church
    Beans
    62
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: zfs.ko missing after update to 12.10

    Unfortunately yes, but it fails as the file is not present..

    Code:
     modprobe zfs
    FATAL: Module zfs not found.

  4. #4
    Join Date
    Feb 2007
    Beans
    95

    Re: zfs.ko missing after update to 12.10

    I don't use ZFS but have watching its progress with Ubuntu.

    Read this blog thread on ZFS with Ubuntu 12.04

    Pay attention to the NOTE:
    Note: The necessary GRUB package will not be published for Ubuntu 12.10 Quantal Quetzal. This issue will be revisited for the next release series.

    You might want to ask the author of that Blog "why" that Note says what it says as he doesn't go into any details beyond the above.

  5. #5
    Join Date
    Apr 2007
    Location
    In a church
    Beans
    62
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: zfs.ko missing after update to 12.10

    Pay attention to the NOTE:
    Note: The necessary GRUB package will not be published for Ubuntu 12.10 Quantal Quetzal. This issue will be revisited for the next release series.
    Unfortunately I'm not booting zfs, I'm just using it to house an array, so I don't really need grub-zfs

  6. #6
    Join Date
    Apr 2007
    Location
    In a church
    Beans
    62
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: zfs.ko missing after update to 12.10



    bump ?

  7. #7
    Join Date
    Apr 2007
    Location
    In a church
    Beans
    62
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: zfs.ko missing after update to 12.10



    Ran updates today and it's working again!!!!


    Code:
    # find /lib/modules -name zfs.ko
    /lib/modules/3.5.0-21-generic/updates/dkms/zfs.ko

  8. #8
    Join Date
    Dec 2012
    Beans
    2

    Unhappy Re: zfs.ko missing after update to 12.10

    I'm having the same problem.

    I've been running ZFS on 12.10 for a few weeks with no issues, today I rebooted as apt had upgraded the kernel and now ZFS is broken.

    This is the PPA I'm using: https://launchpad.net/~zfs-native/+archive/stable

    Here's what I've tried so far:

    Code:
    $ uname -a
    Linux Goon 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:51:59 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    $ sudo zpool list
    Failed to load ZFS module stack.
    Load the module manually by running 'insmod <location>/zfs.ko' as root.
    Code:
    $ find /lib/modules -name zfs.ko
    /lib/modules/3.5.0-19-generic/updates/dkms/zfs.ko
    Code:
    $ sudo insmod /lib/modules/3.5.0-19-generic/updates/dkms/zfs.ko
    insmod: error inserting '/lib/modules/3.5.0-19-generic/updates/dkms/zfs.ko': -1 Unknown symbol in module
    Code:
    $ sudo modprobe zfs
    FATAL: Module zfs not found.
    Code:
    $ sudo dmesg | grep zfs:
    [ 1380.577459] zfs: Unknown symbol __taskq_destroy (err 0)
    [ 1380.577472] zfs: Unknown symbol spl_cleanup (err 0)
    [ 1380.577480] zfs: Unknown symbol nvpair_value_uint8 (err 0)
    [ 1380.577487] zfs: Unknown symbol kmem_debugging (err 0)
    [ 1380.577501] zfs: Unknown symbol vn_openat (err 0)
    
    - this continues for hundreds of lines -
    Now it seems to me that the zfs.ko module should be in
    Code:
    /lib/modules/3.5.0-21-generic/updates/dkms/zfs.ko
    instead of
    Code:
    /lib/modules/3.5.0-19-generic/updates/dkms/zfs.ko
    but I've no idea how to solve this.

    Any ideas?

    Update: I've added the daily PPA and upgraded which seems to have solved the problem. Though I don't feel too comfortable using the unstable branch on my production filesystem, so still looking for solutions on this! I guess if it comes to it I'll just wait for stable to be updated again and switch back.
    Last edited by jameswyse; December 22nd, 2012 at 01:37 PM. Reason: Added update

  9. #9
    Join Date
    Apr 2009
    Beans
    11

    Re: zfs.ko missing after update to 12.10

    EDIT: The approach advised at the post below resolves this version of the problem:
    https://github.com/zfsonlinux/zfs/is...mment-11499841


    I have encountered this error on 12.04.2 LTS after removing a bunch of old kernel modules.

    Attempting the final stage in stephenvaningen's post #19 gives
    Code:
    # sudo apt-get install zfs-dkms ubuntu-zfs
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Suggested packages:
      zfs-auto-snapshot
    The following NEW packages will be installed
      ubuntu-zfs zfs-dkms
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/2,092 kB of archives.
    After this operation, 10.5 MB of additional disk space will be used.
    Selecting previously unselected package zfs-dkms.
    (Reading database ... 426944 files and directories currently installed.)
    Unpacking zfs-dkms (from .../zfs-dkms_0.6.1-1~precise_amd64.deb) ...
    Selecting previously unselected package ubuntu-zfs.
    Unpacking ubuntu-zfs (from .../ubuntu-zfs_7~precise_amd64.deb) ...
    Setting up zfs-dkms (0.6.1-1~precise) ...
    Loading new zfs-0.6.1 DKMS files...
    First Installation: checking all kernels...
    Building only for 3.2.0-43-generic
    Building initial module for 3.2.0-43-generic
    configure: error: 
    	*** Please make sure the kmod spl devel <kernel> package for your
    	*** distribution is installed then try again.  If that fails you
    	*** can specify the location of the spl objects with the
    	*** '--with-spl-obj=PATH' option.
    Error! Bad return status for module build on kernel: 3.2.0-43-generic (x86_64)
    Consult /var/lib/dkms/zfs/0.6.1/build/make.log for more information.
    Setting up ubuntu-zfs (7~precise) ...
    /var/lib/dkms/zfs/0.6.1/build/make.log shows:
    Code:
    DKMS make.log for zfs-0.6.1 for kernel 3.2.0-43-generic (x86_64)
    Sun May 19 13:42:25 BST 2013
    make: *** No targets specified and no makefile found. Stop.
    Kernel packages are installed on my system as follows:
    Code:
    # dpkg --get-selections | grep linux-image
    linux-image-3.2.0-43-generic			install
    linux-image-server				install
    I continue to get this error:
    Code:
    # zpool status
    Failed to load ZFS module stack.
    Load the module manually by running 'insmod <location>/zfs.ko' as root.
    Failed to load ZFS module stack.
    Load the module manually by running 'insmod <location>/zfs.ko' as root.
    Very grateful indeed for any advice on resolving this.
    Last edited by 13eastie; May 19th, 2013 at 02:21 PM.

  10. #10
    Join Date
    Jun 2010
    Beans
    1

    Re: zfs.ko missing after update to 12.10

    I wish things worked seamlessly, but the following worked for me after my last update (I'm on 12.04, but I doubt the Ubuntu version matters here) and seems a little simpler than the earlier workarounds proposed:

    Code:
    apt-get install --reinstall zfs-dkms
    zfs mount -a
    Hope this works for others and maybe someone can eventually recommend a true fix.

    Regards,
    David

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
  •