LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   uname -r doesn't match the linux-headers package, because of "pae" (https://www.linuxquestions.org/questions/debian-26/uname-r-doesnt-match-the-linux-headers-package-because-of-pae-4175724198/)

shachter 04-18-2023 04:23 PM

uname -r doesn't match the linux-headers package, because of "pae"
 
Why is Debian Linux so bloody difficult to work with?

On my system, the output of "uname -r" is "5.10.0-20-686". But the linux-headers package is not "linux-headers-5.10.0-20-606". That would be too obvious. The linux-headers package is "linux-headers-5.10.0-20-606-pae". There is no linux-headers-5.10.0-20-686 package to be installed, neither for love nor money.

Which means that when I build and install zfsonlinux, I cannot modprobe the zfs module. That would be a nonexistent problem, if Debian, like ALL of the recent distributions derived from Debian, came with zfsonlinux already installed. But Debian is so insanely fanatical about free software, that it won't do that. It isn't that zfsonlinux isn't open-source. It is bloody open-source. But it doesn't come with the bloody right kind of license, so the insane fanatics at Debian won't let it in their bloody distribution.

(I am slightly annoyed, I don't know whether you can tell.)

Well okay, insane fanatics, if you don't want to include zfsonlinux in your distribution, then let me download the source code, and build it, and install it. I know how to do that. I've done it more times than I can count, and I've been doing it for years. This is the first time in my life when I have not been able to do it, because the output of "uname -r" does not correspond to the installed version of linux-headers, because of that bloody "pae", and a version of linux-headers without the bloody "pae" that does correspond to the output of "uname -r" cannot be installed, because it does not exist.

As always, thank you in advance for any and all replies.

TB0ne 04-18-2023 04:41 PM

Quote:

Originally Posted by shachter (Post 6425521)
Why is Debian Linux so bloody difficult to work with?

On my system, the output of "uname -r" is "5.10.0-20-686". But the linux-headers package is not "linux-headers-5.10.0-20-606". That would be too obvious. The linux-headers package is "linux-headers-5.10.0-20-606-pae". There is no linux-headers-5.10.0-20-686 package to be installed, neither for love nor money.

Which means that when I build and install zfsonlinux, I cannot modprobe the zfs module. That would be a nonexistent problem, if Debian, like ALL of the recent distributions derived from Debian, came with zfsonlinux already installed. But Debian is so insanely fanatical about free software, that it won't do that. It isn't that zfsonlinux isn't open-source. It is bloody open-source. But it doesn't come with the bloody right kind of license, so the insane fanatics at Debian won't let it in their bloody distribution.

(I am slightly annoyed, I don't know whether you can tell.)

Well okay, insane fanatics, if you don't want to include zfsonlinux in your distribution, then let me download the source code, and build it, and install it. I know how to do that. I've done it more times than I can count, and I've been doing it for years. This is the first time in my life when I have not been able to do it, because the output of "uname -r" does not correspond to the installed version of linux-headers, because of that bloody "pae", and a version of linux-headers without the bloody "pae" that does correspond to the output of "uname -r" cannot be installed, because it does not exist.

As always, thank you in advance for any and all replies.

Replies to what?? You haven't actually asked a question, just complained about not being able to do something.

If you want to install ZFS, did you try looking up how, or looking on the Debian wiki??
https://wiki.debian.org/ZFS#Installation
https://packages.debian.org/source/buster/zfs-linux

You don't tell us what version of Debian, just the kernel version...are you using Buster?

uteck 04-18-2023 07:49 PM

From the Debian wiki https://wiki.debian.org/ZFS#Installation it says to install linux-headers-amd64 which is a meta package.
Not sure what error you are getting, so hard to find anything more relevant. Are you building it from source or installing with apt?

shachter 04-19-2023 11:31 AM

uname -r doesn't match the linux-headers package, because of "pae"
 
I did not know of a Debian wiki; thank you for informing me of its existence.

What is Buster?

I question whether installing "linux-headers-amd64" will enable me to build and successfully install zfsonlinux, because my computer, as you can tell from the output of "uname -r", is a 32-bit computer. But I will do as you recommend, and then re-attempt to build and install zfsonlinux.

TB0ne 04-19-2023 11:57 AM

Quote:

Originally Posted by shachter (Post 6425688)
I did not know of a Debian wiki; thank you for informing me of its existence.

Did you do any research before posting? Have you read the "Question Guidelines"??
Quote:

What is Buster?
A version of Debian...did you look at what you downloaded??
https://www.debian.org/releases/
Quote:

I question whether installing "linux-headers-amd64" will enable me to build and successfully install zfsonlinux, because my computer, as you can tell from the output of "uname -r", is a 32-bit computer. But I will do as you recommend, and then re-attempt to build and install zfsonlinux.
...or you could read the Debian wiki (as given to you previously), and note this (bolded for emphasis):
Quote:

Originally Posted by Debian Wiki
64-bit hardware and kernel is recommended. ZFS wants a lot of memory (so as address space) to work best, also it was developed with an assumption of being 64-bit only from the beginning. It is possible to use ZFS under 32-bit environments but a lot of care must be taken by the user.

..and there is a LOT of discussion about ZFS on 32 bit Debian (and Linux in general):
https://www.reddit.com/r/zfs/comment...zfs_for_32bit/
https://zfs-discuss.zfsonlinux.narki...t-linux-system


All times are GMT -5. The time now is 05:51 AM.