Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2022 09:18:37 -0800
From:      Jeff Gibbons <jgibbons@protogate.com>
To:        stable@freebsd.org
Cc:        Per olof Ljungmark <peo@nethead.se>
Subject:   Re: Help with git - fetch earlier src version
Message-ID:  <Y6M/7fqLhFiZu9O7@gw.protogate.com>
In-Reply-To: <3eae7bee-d0e2-da47-bd15-cf9f72d583ff@nethead.se>
References:  <3eae7bee-d0e2-da47-bd15-cf9f72d583ff@nethead.se>

next in thread | previous in thread | raw e-mail | index | archive | help
I had that problem with my T490 laptop too, but it is fixed now
for me in the latest 13/stable.  I think this commit fixed it:

root@thinker:/usr/src/sys/compat/linuxkpi/common/include/linux # git log rbtree.h 
commit 9d4303dbe2c4a901418657ed09c9f7096756e8b3
Author: Doug Moore <dougm@FreeBSD.org>
Date:   Mon Dec 19 16:03:13 2022 -0600

    rb_tree: fix stable/13 linux/rbtree.h post ABI fix
    
    Rearranging the left, right, and parent pointers for backward
    compatibility with stable/13 in
    d8a88ec381498f5942403088d28ee325b92e9a78 is incomplete because it does
    not change linux/rbtree.h so that it too knows how rb_left and
    rb_right are redefined. So complete it.
    
    Reported by:    jon_xyinn.org, jgibbons@protogate.org
    Tested by:      manu, jon_xyinn.org
    Differential Revision:  https://reviews.freebsd.org/D37743

I did a "cd /usr/src; git pull --rebase" at Dec 21 08:47 UTC
to update my /usr/src, and that pulled in the above commit.
I then rebuilt and installed the world and kernel with that
sourcecode, then rebooted and rebuilt /usr/ports/graphics/drm-510-kmod/,
(and rebooted again, just to make sure) -- and now I can
kldload i915kms again without problems, and everything works
again.  So I am now again on the latest 13/stable, and
everything works.

A big Thank You to Doug and Emmanuel for fixing this, and to
Jonathan for reporting it!

Jeff


On Wed, Dec 21, 2022 at 01:56:31PM +0100, Per olof Ljungmark wrote:
> I am facing the same issue as in
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268492
> or possibly
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267421
> with a T490 laptop.
> 
> Can someone please help with the git command to fetch an earlier 
> version, for example the one for the amd64 December 9th. snapshot?
> 
> Instead of
> git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git /usr/src
> 
> (this of course if the issue is not already fixed with current 13-STABLE)
> 
> Thanks,
> Per



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Y6M/7fqLhFiZu9O7>