Software > Operating Systems and Porting

Linux kernel packages 5.9.6 for Debian buster with 4k page size available

(1/5) > >>

pocock:
As promised, the packaged version of the kernel is now available for people who want to test the 4k page size.  There is another thread tracking problems related to the 64k page size, in other words, reasons you might want to try the kernel here with 4k

Debian kernel packaging tools allow me to build multiple flavours of the kernel as separate packages and you can install all of them concurrently.  Therefore, you can install the default kernel with 64k page size and also the kernel with 4k page size at the same time.  When you boot, the grub menu will let you choose between these different kernels.

If you didn't already use any of the packages from the Debify repository then you need to enable the repository with this command:


--- Code: ---$ wget -O - http://apt.debify.org/add-apt-debify | bash

--- End code ---

After enabling the repository, you can get the new kernel with these two apt commands:


--- Code: ---$ sudo apt update
$ sudo apt install -t debify-buster-backports linux-image-powerpc64le-4k
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  linux-image-5.9.0-0.bpo.2-powerpc64le-4k
Suggested packages:
  linux-doc-5.9 debian-kernel-handbook mkvmlinuz
The following NEW packages will be installed:
  linux-image-5.9.0-0.bpo.2-powerpc64le-4k linux-image-powerpc64le-4k
0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded.
Need to get 40.3 MB of archives.
After this operation, 240 MB of additional disk space will be used.
Do you want to continue? [Y/n]


--- End code ---


Please share any feedback about using the package

MauryG5:
Hi Pocock, I did the tests with this variant with 4k pages that you entered today. After installing the Kernel, I placed the usual GPU enable file in the usr / share / X11 / xorg.conf folder. The file just to be precise in everything has this content:
# AST2500
Section "Device"
    Identifier "GPU0"
    "Modesetting" driver
    BusID "PCI: 2 @ 5: 0: 0"
    VendorName "ASpeed ​​Corporation"
EndSection

# RX5700 XT
Section "Device"
    Identifier "GPU1"
    Driver "modesetting" # or amdgpu if you have xf86-video-amdgpu installed
    BusID "PCI: 3 @ 0: 0: 0"
    VendorName "AMD Corporation"
EndSection

# this is absolutely necessary, it tells xorg which GPU to use for the screen
Section "Screen"
    Identifier "Screen0"
    Device "GPU1"
EndSection

I use it regularly on Fedora too so I don't think there are any variables when working under Xorg.
After this I restart the computer, I start the kernel you posted, when the operating system loads, it first gave me that output that I posted earlier, that error that was seen during loading and consequently it blocked everything, now instead it no longer gives that error output, it also seems to want to activate the Radeon as it does a sort of restart by turning off and restarting, I see it from the Radeon writing that turns off and then after a few seconds it turns on again. It gets to the gray screen that usually appears before the mouse pointer and login but instead of making all these things appear it stays in that screen and everything crashes irreversibly. So unfortunately even if it seems that we have taken a step forward, we still can't get everything to work with the Navi 10. It seems as if that famous bug that continues to persist in the Fedora Kernel from version 5.7 onwards, is also present in this Debian Kernel. I don't know if there are files that the various Kernel of the various distros share in the same way, obviously apart from the GPU drivers, the fact is that even here we have a very similar problem. Having said that I keep pointing out that even when you load this kernel 5.9, during system loading, in the output list that Debian does when it is loading, it always keeps giving me that error of failure to load the Kernel modules. It does this with both the standard 4.19 and this 5.9. I do assume that Debian installed it more than once to always improve installation details, like some options I forgot or whatever, but in general the main installation has always been the standard one that everyone does. I don't know if it's a 10.7 issue or something else, I just know that that output has always been, so there are obvious Kernel problems as a whole on Debian ...

pocock:

Thanks for this detailed feedback

The next step may be to try updating the packages for mesa.  This is definitely required for the new RX 6800 family.

Notice that Debian buster (currently stable) only has mesa 18.3.6 but bullseye (the next release, testing) has 20.2.6

Phoronix wrote that mesa 20.2 is the minimum for RX 6000

This article also suggests mesa 19.2 is needed for RX 5700

If I can provide a new mesa package for you, do you want to try it?

To summarize, I think that the combination of these three things might be the solution on Debian:


* recent kernel
* 4k page size
* mesa 19.2 or greater
As Fedora releases are more frequent they already have some coverage for this but not the 4k page size.

You could manually copy the kernel with 4k page size into Fedora and see if it boots or you could try to build a Fedora custom kernel with 4k page size: based on your partial progress with the 4k page size on Debian, this might get you over the line in Fedora.

MauryG5:
Yes, if I'm not mistaken it takes mesa 19.2 minimum, I think I've read it around.  Yes, you can provide me with this package as long as you usually give me the exact procedure to install it.  Use this Kernel for Fedora?  I don't know how to install it though, to install a kernel on Fedora I usually use the "rpm" command and install the kernel package and the kernel core package which then carries its dependencies.  Here on Debian I have seen that it doesn't work like that and I don't know how to do it and I'm not able to create a custom Kernel, I'm not a developer like you unfortunately ...

MauryG5:
Pocock, however, I also need to know how to remove a Kernel of these that is not in the list of kernels used by Debian.  If I query the system, it tells me it only has the standard 4.19 kernel and that's it.  How do I remove the 5.9 version I installed at the beginning, the one not posted by you?  And how should I try to install your Kernel on Fedora to do the test?  Is the procedure the same as in Debian?  Thanks

Navigation

[0] Message Index

[#] Next page

Go to full version