You are not logged in.

#1 2024-03-26 07:20:32

callmejoe
Member
Registered: 2019-03-06
Posts: 75

git bisect help choosing the correct good and bad versions

hello, doing my first git bisect on the kernel and need some help.

i found an issue that started with kernel 6.8.1 but was not present in 6.7.9.

after building linux-git from the aur, these are the versions from git tag that I think I should choose from.  which one would correspond to 6.7.9 and 6.8.1?  Would 6.8-rc1 = 6.8.1 and so on?  thanks for the help
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9-rc1

oh and any tips for speeding up the compile times?  i have 8 cores going now and takes about 50 mins to finish.

Last edited by callmejoe (2024-03-26 07:22:00)

Offline

#2 2024-03-26 08:28:29

jl2
Member
From: 47° 18' N 8° 34' E
Registered: 2022-06-01
Posts: 275
Website

Re: git bisect help choosing the correct good and bad versions

i found an issue that started with kernel 6.8.1 but was not present in 6.7.9.

First test 6.8. saves you at least 1 compile.

oh and any tips for speeding up the compile times?  i have 8 cores going now and takes about 50 mins to finish.

You're looking for 'make localmodconfig'. Apply it according to here


Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...

Offline

#3 2024-03-26 15:18:55

Nebulosa
Member
Registered: 2009-08-24
Posts: 48

Re: git bisect help choosing the correct good and bad versions

Did the bisection of kernel a couple months ago and wrote a note with all useful info about it.

Main points:
1. You should use AUR package linux-mainline
2. To speed up build time you should use:

  • mold

  • ccache

  • modprobed-db

callmejoe wrote:

i found an issue that started with kernel 6.8.1 but was not present in 6.7.9.

You should bisect kernel between 6.7 and 6.8-rc1 I think

Last edited by Nebulosa (2024-03-26 15:23:34)

Offline

#4 2024-03-26 18:26:20

loqs
Member
Registered: 2014-03-06
Posts: 17,427

Re: git bisect help choosing the correct good and bad versions

Have you tried linux-6.8.arch1-1-x86_64.pkg.tar.zst to see if the issue was introduced between 6.7 and 6.8 or 6.8 and 6.8.1?  You could also try linux-mainline 6.9-rc1 prebuilt from miffe to see if the issue has already been fixed.

Offline

#5 2024-03-26 20:51:57

callmejoe
Member
Registered: 2019-03-06
Posts: 75

Re: git bisect help choosing the correct good and bad versions

loqs wrote:

Have you tried linux-6.8.arch1-1-x86_64.pkg.tar.zst to see if the issue was introduced between 6.7 and 6.8 or 6.8 and 6.8.1?  You could also try linux-mainline 6.9-rc1 prebuilt from miffe to see if the issue has already been fixed.

good ideas.  i'll try. thanks

Offline

Board footer

Powered by FluxBB