Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen after modesetting - i915 and fbcon seem fine
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
sublogic
Apprentice
Apprentice


Joined: 21 Mar 2022
Posts: 269
Location: Pennsylvania, USA

PostPosted: Sat Jun 01, 2024 12:50 am    Post subject: Reply with quote

gord wrote:
pietinger wrote:
but be aware they want surely that you bisect it.


What's the recomended approach for doing that in Gentoo? I see there aren't any gentoo-sources or vanilla-sources package versions between 6.1 and 6.6. Should I just clone the Git repository directly and compile from that?

That's what I did when I hit a regression. Start with https://wiki.gentoo.org/wiki/Kernel_git-bisect .
Back to top
View user's profile Send private message
gord
n00b
n00b


Joined: 25 May 2024
Posts: 17

PostPosted: Mon Jun 03, 2024 12:56 am    Post subject: Reply with quote

sublogic wrote:

That's what I did when I hit a regression. Start with https://wiki.gentoo.org/wiki/Kernel_git-bisect .


Thanks, will do! I'll be away from this machine for a while, but will report back in when I return and am able to spend some time on this.
Back to top
View user's profile Send private message
gord
n00b
n00b


Joined: 25 May 2024
Posts: 17

PostPosted: Tue Jul 02, 2024 6:53 am    Post subject: Reply with quote

Hi all, I'm back and have had some more time to investigate this. With some "manual" bisection of the Linux repo history I've determined that the v6.2 tagged commit works as expected while the v6.3-rc1 commit doesn't. I also tried v6.9.7 which also doesn't work (so the issue presumably hasn't been fixed in the past month).

I can start a "proper" git bisect between v6.2 and v6.3-rc1. But before I do I'm curious about the relationship between release candidate tags (e.g. v6.3-rc1) and the v6.2.1+ releases, especially in the context of a non-LTS release which isn't receiving backports? The code at the v6.2 commit is labelled as v6.2.0. So do the subsequent commits between that and v6.3-rc1 map to 6.2.y releases (with y>0), or do they all introduce "new" code/features for v6.3? Or some mix of both?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22624

PostPosted: Tue Jul 02, 2024 12:15 pm    Post subject: Reply with quote

v6.3-rc1 contains all commits from v6.2, plus the first part of the v6.3 merge window. v6.2.1 contains all commits from v6.2, plus some selected set of backports that, by policy, should have appeared in a Linus release (including v6.3 release candidates). Barring exceptional circumstances, every commit in v6.2.y (for y > 0) should be a backport of a commit from a later kernel. Sometimes these backports were modified by hand due to patch conflicts, but they should at least logically descend from a later release. There should be no original development in v6.2.y.

The commits in v6.2.y are some mixture of bugfixes and, where believed safe and desirable, feature enablements (such as adding new hardware IDs to lists of devices the kernel can handle, if the v6.2 code was adequate aside from it not knowing it could handle that device successfully). In general, v6.2..v6.2.y (for y > 0) will have far fewer commits than v6.2..v6.3-rc1. For example:
Code:
$ git rev-list v6.2..v6.2.1 | wc
     13      13     533
$ git rev-list v6.2..v6.3-rc1 | wc
  13565   13565  556165
Since you write that v6.2 is good and v6.3-rc1 is bad, we know some commit added in the v6.3 merge window is bad for you. If you are very lucky, you will find that some v6.2.y is also bad because someone backported the bad commit into v6.2.y. This is good for you, since the search space of v6.2..v6.2.y is small, and contains believed safe changes, so the bad commit will be easy to find. If you are not lucky, then the latest v6.2.y is still good, and the bad commit was never backported. At that point, you will need to find it among the thousands of other commits added in v6.3-rc1, some of which may exhibit unrelated bugs that make testing this harder.
Back to top
View user's profile Send private message
gord
n00b
n00b


Joined: 25 May 2024
Posts: 17

PostPosted: Wed Jul 03, 2024 1:24 am    Post subject: Reply with quote

Thanks, that's a really helpful explanation! Unfortunately 6.2.16 works as expected, so I'll have to start bisecting the gap between 6.2 and 6.3-rc1. Each compile takes an hour or more, so this could take a while...
Back to top
View user's profile Send private message
gord
n00b
n00b


Joined: 25 May 2024
Posts: 17

PostPosted: Thu Jul 04, 2024 1:28 am    Post subject: Reply with quote

Ok, I was able to bisect the start of the issue to https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.9.7&id=d2559299d339a2dfa4d1f14978e629669cf4b1d7 - it's a drm/i915 patch, so that sanity checks.

What next? Submit a bug report to https://bugs.gentoo.org/ ? Do I need anything other than the patch and problem description?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5094
Location: Bavaria

PostPosted: Thu Jul 04, 2024 12:03 pm    Post subject: Reply with quote

gord wrote:
What next? Submit a bug report to https://bugs.gentoo.org/ ? Do I need anything other than the patch and problem description?

I would submit it in https://bugzilla.kernel.org/ (because it is a kernel bug).
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
sublogic
Apprentice
Apprentice


Joined: 21 Mar 2022
Posts: 269
Location: Pennsylvania, USA

PostPosted: Thu Jul 04, 2024 10:14 pm    Post subject: Reply with quote

pietinger wrote:
gord wrote:
What next? Submit a bug report to https://bugs.gentoo.org/ ? Do I need anything other than the patch and problem description?

I would submit it in https://bugzilla.kernel.org/ (because it is a kernel bug).

Or reply to the intel-gfx mailing list. For my regressions I got no activity in the bugzilla, but the mailing lists rocked.

The commit message has a Link: footer just above the start of the patch, that takes you into the message proposing the patch. In the message there is a download mbox link that pulls a plain text version of the message, with email headers.

Hmph. Seems every kernel tribe has a different workflow. In my case, there were detailed replying instruction at the bottom of the list display. I don't see that in intel-gfx. Try replying to both the From: and To: addresses and include the X-Patchwork-Id: and Message-Id: in your message body (unless your email client already references them in its email headers). Describe your issue and include a link to this forum topic. (That way they can blame me if they think you are rude :) )

It helps if you can test patches. Plus, you'll get your name in a Tested-by: commit header.

EDIT: Additional reading:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/admin-guide/reporting-regressions.rst?h=v6.9.8
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/admin-guide/reporting-issues.rst?h=v6.9.8
Overwhelming at first sight, but you already did most of the work with your bisection.
Back to top
View user's profile Send private message
gord
n00b
n00b


Joined: 25 May 2024
Posts: 17

PostPosted: Sat Jul 06, 2024 9:00 pm    Post subject: Reply with quote

Thanks both! After following links in MAINTAINERS I ended up at the freedesktop.org GitLab, where I filed an issue: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/11608 We'll see where things go...

For what it's worth, I also tried the latest commit in https://gitlab.freedesktop.org/drm/tip - no change.
Back to top
View user's profile Send private message
sublogic
Apprentice
Apprentice


Joined: 21 Mar 2022
Posts: 269
Location: Pennsylvania, USA

PostPosted: Sat Jul 06, 2024 11:58 pm    Post subject: Reply with quote

That looks like the right place.

If nothing happens in the gitlab, the correct link into the mailing list is:
https://lore.kernel.org/intel-gfx/20221114153732.11773-13-ville.syrjala@linux.intel.com/.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum