Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong initramfs is created/updated by dkms #4342

Closed
yhaenggi opened this issue Feb 17, 2016 · 0 comments
Closed

wrong initramfs is created/updated by dkms #4342

yhaenggi opened this issue Feb 17, 2016 · 0 comments

Comments

@yhaenggi
Copy link

After building and installing spl/zfs for an older kernel, the scripts run update-initramfs -u without specifying the kernel, which results in the current running kernel's initramfs being updated. spl dosnt run update-iniramfs so it only affects zfs. Having just 1 kernel with zfs support seems wrong too, but thats another issue.

ie, it should be

update-initramfs -u -k 3.13.0-76-lowlatency

how i've build the modules:

sudo dkms build -m spl -v 0.6.5.4 -k 3.13.0-76-lowlatency && sudo dkms install -m spl -v 0.6.5.4  -k 3.13.0-76-lowlatency
sudo dkms build -m zfs -v 0.6.5.4 -k 3.13.0-76-lowlatency && sudo dkms install -m zfs -v 0.6.5.4  -k 3.13.0-76-lowlatency

Output:

...
zfs.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/3.13.0-76-lowlatency/updates/dkms/

do_depmod 3.13.0-76-lowlatency

Backing up initrd.img-3.13.0-76-lowlatency to /boot/initrd.img-3.13.0-76-lowlatency.old-dkms
Making new initrd.img-3.13.0-76-lowlatency
(If next boot fails, revert to initrd.img-3.13.0-76-lowlatency.old-dkms image)
update-initramfs -u
update-initramfs: Generating /boot/initrd.img-3.13.0-77-lowlatency


DKMS: install completed.
@yhaenggi yhaenggi changed the title wrong initramfs is created/updated wrong initramfs is created/updated by dkms scripts Feb 17, 2016
@yhaenggi yhaenggi changed the title wrong initramfs is created/updated by dkms scripts wrong initramfs is created/updated by dkms Feb 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@yhaenggi and others