Rudd-O / zfs-fedora-installer

Fedora on ZFS root installer
35 stars 6 forks source link

Doesn't work under F24 #19

Closed fbruetting closed 6 years ago

fbruetting commented 7 years ago

Now it's the second time I try this and still there's an error which prevents using this. My Fedora is up to date. First I had to install device-mapper-devel for getting around a dependency error, then I get the following output:

Installiert:
  ksh.x86_64 20120801-29.fc24              libnvpair1.x86_64 0.7.0-rc1.fc24     
  libuutil1.x86_64 0.7.0-rc1.fc24          libzfs2.x86_64 0.7.0-rc1.fc24        
  libzfs2-devel.x86_64 0.7.0-rc1.fc24      libzpool2.x86_64 0.7.0-rc1.fc24      
  zfs.x86_64 0.7.0-rc1.fc24                zfs-dkms.noarch 0.7.0-rc1.fc24       
  zfs-dracut.x86_64 0.7.0-rc1.fc24        

Komplett!
   ERROR:          root:          deploy_zfs@1231   Unexpected error
Traceback (most recent call last):
  File "./src/installfedoraonzfs/__init__.py", line 1229, in deploy_zfs
    to_unmount=to_unmount,)
  File "./src/installfedoraonzfs/__init__.py", line 1196, in deploy_zfs_in_machine
    raise ZFSBuildFailure("expected to find but could not find module zfs.ko in %s.  Perhaps the ZFS source you used is too old to work with the kernel this program installed?" % modules_dir)
ZFSBuildFailure: expected to find but could not find module zfs.ko in /usr/lib/modules/*/*/zfs.ko.  Perhaps the ZFS source you used is too old to work with the kernel this program installed?
    INFO:          root:          deploy_zfs@1233   Cleaning up now
Traceback (most recent call last):
  File "./deploy-zfs", line 10, in <module>
    sys.exit(installfedoraonzfs.deploy_zfs())
  File "./src/installfedoraonzfs/__init__.py", line 1229, in deploy_zfs
    to_unmount=to_unmount,)
  File "./src/installfedoraonzfs/__init__.py", line 1196, in deploy_zfs_in_machine
    raise ZFSBuildFailure("expected to find but could not find module zfs.ko in %s.  Perhaps the ZFS source you used is too old to work with the kernel this program installed?" % modules_dir)
installfedoraonzfs.ZFSBuildFailure: expected to find but could not find module zfs.ko in /usr/lib/modules/*/*/zfs.ko.  Perhaps the ZFS source you used is too old to work with the kernel this program installed?

First I got an error due to missing package "device-mapper-devel" (please add this to your README page or even better: Let it be installed, too, or throw an error at the beginning of the script). Then I ran the part producing the error manually: $ sudo bash -c 'cd /usr/src/zfs && ./autogen.sh && ./configure --with-config=user && make -j8 rpm-utils && make -j8 rpm-dkms' Maybe this deviation led to the error above? I even deleted /usr/src/zfs* but it is not trying to compile again, so you should consider cleaning this data, too, when an error occurs. So that we can rerun it again with everything being redone instead of skipped.

Rudd-O commented 7 years ago

On 11/27/2016 02:57 AM, Frank wrote:

Now it's the second time I try this and still there's an error which prevents using this. My Fedora is up to date. First I had to install device-mapper-devel for getting around a dependency error, then I get the following output:

Thanks for the bug report. I will take a look at this. Which command line did you use? Thank you in advance for the answer.

-- Rudd-O http://rudd-o.com/

fbruetting commented 7 years ago

Hi Rudd. I use Terminix with standard Bash under Fedora.

Rudd-O commented 7 years ago

On 11/28/2016 09:48 PM, Frank wrote:

Hi Rudd. I use Terminix with standard Bash under Fedora.

I need the command line you used. Thanks.

-- Rudd-O http://rudd-o.com/

Rudd-O commented 6 years ago

Is this still a problem? Comment if it is.

fbruetting commented 6 years ago

Never tried since, that was two years ago…