I have a few systems setup w/ zfs root file systems running ubuntu 14.04. I've tried numerous times w/ different approaches but can't get zfs-dkms 0.6.4 to install although it builds without issue. The systems were installed w/ ZoL 0.6.3.
With the latest attempt, I held zfs and spl related packages using apt-mark and let everything else upgrade using apt-get upgrade. I then released the held packages and tried the upgrade to zfs 0.6.4.
So my starting point is a zfs cloned root ubuntu 14.04 that I've chroot'd into to attempt the install.
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
dracut
The following packages will be upgraded:
libzfs2 spl spl-dkms zfs-dkms zfs-doc zfs-initramfs zfsutils
7 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 1,829 kB of archives.
After this operation, 96.3 kB disk space will be freed.
Do you want to continue? [Y/n]
...
Setting up zfs-doc (0.6.4-3~trusty) ...
Setting up zfs-dkms (0.6.4-3~trusty) ...
Loading new zfs-0.6.4 DKMS files...
Building for 3.13.0-48-generic and 3.13.0-49-generic
Building initial module for 3.13.0-48-generic
Done.
zavl:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
zcommon.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
znvpair.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
zpios.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
zpios.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
zunicode.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
zfs.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.13.0-48-generic/updates/dkms/
depmod....
Backing up initramfs-3.13.0-48-generic.img to /boot/initramfs-3.13.0-48-generic.img.old-dkms
Making new initramfs-3.13.0-48-generic.img
(If next boot fails, revert to initramfs-3.13.0-48-generic.img.old-dkms image)
dracut....(bad exit status: 1)
-------- Uninstall Beginning --------
Module: zfs
Version: 0.6.4
Kernel: 3.13.0-48-generic (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
zavl.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
zcommon.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
znvpair.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
zpios.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
zunicode.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
zfs.ko:
- Uninstallation
- Deleting from: /lib/modules/3.13.0-48-generic/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod....
Backing up initramfs-3.13.0-48-generic.img to /boot/initramfs-3.13.0-48-generic.img.old-dkms
Making new initramfs-3.13.0-48-generic.img
(If next boot fails, revert to initramfs-3.13.0-48-generic.img.old-dkms image)
dracut....(bad exit status: 1)
: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.
DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
dpkg: error processing package zfs-dkms (--configure):
subprocess installed post-installation script returned error exit status 7
Setting up libzfs2 (0.6.4-3~trusty) ...
Setting up spl (0.6.4-2~trusty) ...
Setting up zfsutils (0.6.4-3~trusty) ...
/bin/df: ‘/sys/fs/cgroup/cpuset’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/cpu’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/cpuacct’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/memory’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/devices’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/freezer’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/blkio’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/perf_event’: No such file or directory
/bin/df: ‘/sys/fs/cgroup/hugetlb’: No such file or directory
/bin/df: ‘/rpool/ROOT’: No such file or directory
/bin/df: ‘/rpool/ROOT/iso’: No such file or directory
/bin/df: ‘/rpool/grub’: No such file or directory
Processing triggers for dracut (013-2) ...
dracut: Generating /boot/initramfs-3.13.0-48-generic.img
E: Directories consolefonts, consoletrans, keymaps, unimaps not found. Please inform us about the issue including your OS name and version.
depmod: WARNING: could not open /var/tmp/initramfs.GFyMNr/lib/modules/3.13.0-48-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/initramfs.GFyMNr/lib/modules/3.13.0-48-generic/modules.builtin: No such file or directory
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Setting up zfs-initramfs (0.6.4-3~trusty) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for dracut (013-2) ...
dracut: Generating /boot/initramfs-3.13.0-48-generic.img
E: Directories consolefonts, consoletrans, keymaps, unimaps not found. Please inform us about the issue including your OS name and version.
depmod: WARNING: could not open /var/tmp/initramfs.ehZ48x/lib/modules/3.13.0-48-generic/modules.order: No such file or directory
depmod: WARNING: could not open /var/tmp/initramfs.ehZ48x/lib/modules/3.13.0-48-generic/modules.builtin: No such file or directory
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic
cryptsetup: WARNING: could not determine root device from /etc/fstab
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
Errors were encountered while processing:
zfs-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried removing kernel 3.13.0-48-generic thinking the issue may be specific to that but I landed at the same spot.
I've also tried dkms install -m zfs/0.6.4 and get the same results.
dkms install -m zfs/0.6.4
...
Backing up initramfs-3.13.0-48-generic.img to /boot/initramfs-3.13.0-48-generic.img.old-dkms
Making new initramfs-3.13.0-48-generic.img
(If next boot fails, revert to initramfs-3.13.0-48-generic.img.old-dkms image)
dracut....(bad exit status: 1)
-------- Uninstall Beginning --------
...
Backing up initramfs-3.13.0-48-generic.img to /boot/initramfs-3.13.0-48-generic.img.old-dkms
Making new initramfs-3.13.0-48-generic.img
(If next boot fails, revert to initramfs-3.13.0-48-generic.img.old-dkms image)
dracut....(bad exit status: 1)
: There was a problem remaking your initrd. You must manually remake it
before booting into this kernel.
DKMS: uninstall completed.
Error! Problems with mkinitrd detected. Automatically uninstalling this module.
DKMS: Install Failed (mkinitrd problems). Module rolled back to built state.
I have a few systems setup w/ zfs root file systems running ubuntu 14.04. I've tried numerous times w/ different approaches but can't get zfs-dkms 0.6.4 to install although it builds without issue. The systems were installed w/ ZoL 0.6.3.
With the latest attempt, I held zfs and spl related packages using apt-mark and let everything else upgrade using apt-get upgrade. I then released the held packages and tried the upgrade to zfs 0.6.4.
So my starting point is a zfs cloned root ubuntu 14.04 that I've chroot'd into to attempt the install.
So this leaves dkms in the following state.
I've tried removing kernel 3.13.0-48-generic thinking the issue may be specific to that but I landed at the same spot.
I've also tried dkms install -m zfs/0.6.4 and get the same results.
What should I do to diagnose this further?