Author Topic: Fedora 33 LTS 5.10.x kernel RPMs  (Read 389 times)

tle

  • Full Member
  • ***
  • Posts: 201
  • Karma: +28/-0
    • View Profile
    • Ruby Journal
Fedora 33 LTS 5.10.x kernel RPMs
« on: March 20, 2021, 05:52:03 pm »
Fedora 33 kernel team decides to skip 5.10.24 and jump straight to 5.11.7. For x86_64, I do not think there would be much huge impact because the community could give feedback when the kernel is in testing. However with ppc64le, especially with the amdgpu driver, it is still a big unknown when / how new version would break.

For my case the AMD R9 Nano continues to crash on 5.11.x (64k Pages size) so I do not have any choice but to continue to stick with 5.10.x. So if you are in the similar situation,

For my case AMD R9 Nano would crash on 5.11.7 to 5.11.11 (64K pages sizes), so if you are into LTS kernel or simply don't want to upgrade, you could check out my fedora kernel fork at https://github.com/runlevel5/fedora-linux-kernel where I add support for 5.10.24 and future minor versions. The RPMs are also available in Release section on the repository (use it as your own risk, I highly recommend you build the RPMs from scratch on your side). I hope it would be handy for some of us.
« Last Edit: April 15, 2021, 08:32:05 pm by tle »
Faithful Linux enthusiast

MauryG5

  • Sr. Member
  • ****
  • Posts: 460
  • Karma: +9/-1
    • View Profile
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #1 on: March 21, 2021, 04:30:37 am »
Hi friend TLE, I stopped using the Fedora team Kernel, I realized that by compiling it I can personally make it to measure for me, not only for the size of the pages but also for other components that they must leave by default and I do not need them and also I compile specific for Power 9 and not generic or Power 8 that even if it will not affect much in the end, always more specific and tailored to me. I have been using the 5.12 version for a long time now and I'm enjoying it very much so amen, it's ok then when they will decide to use different pages I will see but I think I will hardly go back at this point. Obviously a special thanks goes to you that made me understand how compilation worked in Fedora!   :)

tle

  • Full Member
  • ***
  • Posts: 201
  • Karma: +28/-0
    • View Profile
    • Ruby Journal
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #2 on: March 21, 2021, 06:23:14 am »
Another tips for further optimisation for POWER9 is to update optflags rpm macro by modifying /usr/lib/rpm/redhat/rpmrc (line 32)

from:

Code: [Select]
optflags: ppc64le %{__global_compiler_flags} -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection
to:

Code: [Select]
optflags: ppc64le %{__global_compiler_flags} -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection
the only drawback is that the change would be overriden by `redhat-rpm-macros` RPM updation
Faithful Linux enthusiast

MauryG5

  • Sr. Member
  • ****
  • Posts: 460
  • Karma: +9/-1
    • View Profile
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #3 on: March 21, 2021, 08:32:16 am »
Done, great report as always, thanks man! When it updates it'll mean we'll redo the change procedure, in the end it's only 2 numbers to change!

tle

  • Full Member
  • ***
  • Posts: 201
  • Karma: +28/-0
    • View Profile
    • Ruby Journal
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #4 on: April 15, 2021, 08:32:49 pm »
Good news 5.11.12 and 5.11.13 has fixed the amdgpu, I could now upgrade :D
Faithful Linux enthusiast

MauryG5

  • Sr. Member
  • ****
  • Posts: 460
  • Karma: +9/-1
    • View Profile
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #5 on: April 16, 2021, 06:49:48 am »
You mean that now the Fedora Kernel has started using 4k pages like we do when we compile the Kernel ourselves?

tle

  • Full Member
  • ***
  • Posts: 201
  • Karma: +28/-0
    • View Profile
    • Ruby Journal
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #6 on: April 16, 2021, 08:55:04 pm »
No, still 64K pagesize
Faithful Linux enthusiast

sharkcz

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Fedora 33 LTS 5.10.x kernel RPMs
« Reply #7 on: April 21, 2021, 04:10:39 am »
So at least some good news after the recent fixes :-)

tle

  • Full Member
  • ***
  • Posts: 201
  • Karma: +28/-0
    • View Profile
    • Ruby Journal
Faithful Linux enthusiast