-
-
Notifications
You must be signed in to change notification settings - Fork 25
ERROR (dkms apport): kernel package linux-headers-6.0.0-6.1-liquorix-amd64 is not supported #113
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
Comments
|
|
2.1.4 is too old, 2.1.6 got its initial support for Linux 6.0, but not complete support (plz wait for the next release: openzfs/zfs#14091). |
Should I install zfs-dkms 2.1.6 on ubuntu 22.04 ? can I get it from here ? ---> https://debian.pkgs.org/sid/debian-contrib-amd64/zfs-dkms_2.1.6-2_all.deb.html or from somewhere else place ? |
If you could install it successfully, it should work "as is", but there is no warranty. |
what to do now ? |
Ah uh, I am not very sure why the error occurred, try And your |
I suspect that it happens because in the liquorix kernel config file the parameter "CONFIG_ZFS=y" is not enabled. To be honest,there isn't any entry called "ZFS" inside of it. I've extracted the kernel config file with the command "zcat /proc/config.gz > .config" ; so,now I have added that parameter and I need to recompile the kernel,using these commands :
where I'm reading how to do it ---> https://ubuntuforums.org/archive/index.php/t-2136818.html |
Nope. The flag is to build ZFS support into the kernel, instead of DKMS support. In most cases, building ZFS support (licensed under CDDL) into the kernel (licensed under GPLv2) results in license conflict. As a result, liquorix could probably NOT do this. I believe liquorix has enabled DKMS support, this may be a wrong error prompt (and your problem may be toolchain related as you are installing a Debian package on Ubuntu).
That's what is right. ZFS is NOT a part of the Linux source tree. |
|
I know man. But I'm trying to follow the easiest route. Liquorix can't do that,ok,can I do that,under my responsability ? That's because I will not re-distribute anything,I'm not a developer. |
I suggest you just wait for the next release of |
I can't wait. I need to access the informations stored on my ZFS volume as soon as possible. And I can't use another kernel,because usually I make a strong use of virtualization and the liquorix kernel is good for that. |
@Rongronggg9 is correct, I legally cannot distribute ZFS with Liquorix. This is also why you don't see any stock or custom kernels with ZFS baked in as well. @Marietto2008 it's not good practice to mix Debian and Ubuntu packages since changes in package names or dependencies can leave your system in a unmaintainable state. With that said, there appears to be a PPA for Ubuntu Focal that backports the latest stable version of ZFS that may support kernel 6.0 with the proper name Ubuntu wants (zfs-linux): https://launchpad.net/~jonathonf/+archive/ubuntu/zfs?field.series_filter=focal If this doesn't work, my only recommendation is that you migrate to a rolling release distribution that does a good job keeping DKMS modules up to date. The most obvious choice is Arch Linux and any of its spins that reference the core repositories (Manjaro's unstable branch also works here). Otherwise, since you depend on ZFS for your day to day, you may want to stay on a stock kernel or move the ZFS storage over to a dedicated machine, like a NAS, where custom kernels really aren't necessary. |
I am not sure if this will help, but you could try: # apt install ./zfs-dkms_2.1.6-2_all.deb # or the PPA @damentz mentioned
...it should fail...
# sed -i 's/5.19/6.0/g' /usr/src/zfs-2.1.6/META
# apt install --fix-broken
You may downgrade liquorix kernel: # apt install linux-image-5.19.0-17.2-liquorix-amd64 linux-headers-5.19.0-17.2-liquorix-amd64
# apt remove linux-image-6.0.0-*-liquorix-amd64 linux-headers-6.0.0-*-liquorix-amd64
# apt remove zfs-dkms
# apt install zfs-dkms Then wait for the next release of
|
After the installation of this PPA : https://launchpad.net/~jonathonf/+archive/ubuntu/zfs?field.series_filter=focal this is what happened :
Regarding the license violation,you say that you cannot distribute ZFS with Liquorix. Ok. don't do that,just explain to me how to do it. |
I've modified the META file,but nothing,I've got the same error. No,I don't want to downgrade the liquorix kernel. I don't want to use old stuff. So,if @damentz wants to explain to me how to add the zfs support embedded inside the liquorix kernel,I will try,otherwise,I will give it up. Anyway,I've found what are the steps to follow,I just need to have the missing informations below :
where I'm reading how to do it ---> https://ubuntuforums.org/archive/index.php/t-2136818.html |
Alternatively, you can try building a snapshot of $ sudo apt install build-essential autoconf automake libtool gawk alien fakeroot dkms libblkid-dev uuid-dev libudev-dev libssl-dev zlib1g-dev libaio-dev libattr1-dev libelf-dev linux-headers-generic python3 python3-dev python3-setuptools python3-cffi libffi-dev python3-packaging
$ git clone https://github.com/openzfs/zfs.git
$ cd zfs
$ ./autogen.sh
$ ./configure --enable-systemd
$ make -j1 deb-utils deb-dkms
$ sudo apt-get install dkms
$ for file in *.deb; do sudo gdebi -q --non-interactive $file; done |
https://github.com/zen-kernel/zen-kernel/releases/tag/v6.0.6-lqx1
|
@Marietto2008 I'm going to close out this issue. The issue here is not Liquorix, but the distribution you're running and the available packages for ZFS. You have a few solutions:
Also last, it's disrespectful to multi post. I recommend you close out the issue you opened on the official project, as it's not their problem to solve (it's already fixed in master): openzfs/zfs#14114 [1]
|
It's not a good idea to close it,because I can try the other roads suggested by you. If you close the thread,I will do this for my own without sharing what I achieve. |
@Marietto2008 I just deleted your post at https://github.com/damentz/liquorix-package/issues/114 requesting tech support. If you need help with the ZFS module, you'll get more help posting to the forum for your distribution. Further posts asking for help unrelated to Liquorix will get deleted and/or reported for abusive behavior. |
On askubuntu they are not interested to help,you can see by yourself.... |
Hello.
I'm running ubuntu 22.04 with kernel version "6.0.0-6.1-liquorix-amd64" ; I would like to mount my zfs volume that usually I do with this command :
# sudo zpool import -f -R /mnt/freebsd-zfs zroot2
unfortunately it won't work if I'm running a liquorix kernel. The errors reported are the following :
how to fix this ?
The text was updated successfully, but these errors were encountered: