-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
zfs-dkms 2.1.13 doesn't build and install module automatically #15328
Comments
Same, I already encountered this bug on 2.2.0 RC 3/4. see my comment at #15253 Built debs from source with make deb, and zfs-dkms deb install does not trigger compilation of module. Subsequent reboot reverts to old zfs kernel module from Ubuntu kernel. zfs-2.1.13-1 Workaround mentioned above does indeed make it compile, and a reboot succeeds with proper kernel modules loaded for zfs. |
on other note: example: I guess, related to #15145 (comment) Update: Updated patch from previously linked comment in other issue #15145 (comment). As far I can see - it fixes all errors in syslog. No idea why AUTOINSTALL=yes doesn't work. |
Same here, the |
I have the same issue. This workaround works for me. Thanks! |
Same here. Thanks for the workaround. |
I am testing a build with c5bbd80 reverted... This has resolved the problem for me, /var/lib/dpkg/info/zfs-dkms.postinst exists and the kernel module is built during the package install. My build environment is based on Ubuntu 20.04. |
Tried 2.2.0-rc5, but same issue. However, when triggering postinst manually, there are only 2 modules build and inserted into the kernel. Not sure why. I miss zzstd for example. Weren't there normally like 5 modules? (edit: it does seem to work ok, but not completely sure if this is a intended change in 2.2.0)
|
Also encountering this issue. Tagging @behlendorf |
No, that's incorrect. The actual root cause is this: |
Experiencing the same issue on Linux Mint 21.2 with custom kernel 5.15.135 and dkms version 2.8.7. |
I tried to work that out and came up with this: #15415 |
System information
Describe the problem you're observing
Built packages according to docs but zfs-dkms doesn't seem to build/install modules automatically anymore.
Describe how to reproduce the problem
Installed zfs-dkms along with other built zfs packages
sudo dpkg -i zfs-dkms_2.1.13-1_amd64.deb .. other debs
Result: everything is installed correctly, old dkms modules gets uninstalled. New modules are not getting automatically built and installed.
Fix/workaround: install manually:
sudo dkms install zfs/2.1.13 -k 6.5.5
Include any warning/errors/backtraces from the system logs
I don't see any warnings/errors in logs.
The text was updated successfully, but these errors were encountered: