Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2025 17:42:24 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        David Wolfskill <david@catwhisker.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: drm panic after new world
Message-ID:  <CANCZdfq%2Bp-hnvuBh8EU5HCtTSch7MWT8pHy-PMjVL88CDD6myw@mail.gmail.com>
In-Reply-To: <aD4xG4OMBxBQqmBZ@troutmask.apl.washington.edu>
References:  <aDi-PhLtvicg9Bbz@troutmask.apl.washington.edu> <aDjThAnfAfJB4KE7@troutmask.apl.washington.edu> <aD4nRhiexw1m7iUS@troutmask.apl.washington.edu> <aD4pVUfbiaDDh9q5@albert.catwhisker.org> <aD4xG4OMBxBQqmBZ@troutmask.apl.washington.edu>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, Jun 2, 2025, 5:18 PM Steve Kargl <sgk@troutmask.apl.washington.edu>
wrote:

> On Mon, Jun 02, 2025 at 03:44:37PM -0700, David Wolfskill wrote:
> > On Mon, Jun 02, 2025 at 03:35:50PM -0700, Steve Kargl wrote:
> > > ...
> > > How does one use dates to checkout a particular head?
> > > If I'm at the top of HEAD and need to got back to
> > > mid-february, what's the easiest option for performing
> > > a bisection by hand?
> > >
> >
> > Maybe someone else will have a better idea, but you could:
> >
> > * Examine (say)
> >
> https://lists.freebsd.org/archives/dev-commits-src-main/2025-February/date.html
> ,
> >  filtering out the "replies" to find git commit hashes.
> >
>
> Thanks for the suggestion.
>
> Unfortunately, this is what I feared.  Suppose I find
> commit hash abcdef for 20250215 and hash ghijkl for
> 20250315, i.e, the 2 commits roughly a month apart.
> I can do
>
> % git checkout abcdef
>
> Now, I do the usual buildworld/installworld including
> the etcupdate steps.  I need to rebuild drm-515-kmod
> port.  Test to see if drm works again,
>
> % git checkout main   (to recover the main branch).
> % git checkout ghijkl
>
> Repeat the world dance.
>

Yes. That will work. It will create a detached tree, but that's fine. You
can also do git bisect too.

Warner


-- 
> Steve
>
>

[-- Attachment #2 --]
<div dir="auto"><div><br><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Mon, Jun 2, 2025, 5:18 PM Steve Kargl &lt;<a href="mailto:sgk@troutmask.apl.washington.edu">sgk@troutmask.apl.washington.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Jun 02, 2025 at 03:44:37PM -0700, David Wolfskill wrote:<br>
&gt; On Mon, Jun 02, 2025 at 03:35:50PM -0700, Steve Kargl wrote:<br>
&gt; &gt; ...<br>
&gt; &gt; How does one use dates to checkout a particular head?<br>
&gt; &gt; If I&#39;m at the top of HEAD and need to got back to<br>
&gt; &gt; mid-february, what&#39;s the easiest option for performing<br>
&gt; &gt; a bisection by hand?<br>
&gt; &gt; <br>
&gt; <br>
&gt; Maybe someone else will have a better idea, but you could:<br>
&gt; <br>
&gt; * Examine (say)<br>
&gt; <a href="https://lists.freebsd.org/archives/dev-commits-src-main/2025-February/date.html" rel="noreferrer noreferrer" target="_blank">https://lists.freebsd.org/archives/dev-commits-src-main/2025-February/date.html</a>,<br>;
&gt;  filtering out the &quot;replies&quot; to find git commit hashes.<br>
&gt; <br>
<br>
Thanks for the suggestion.<br>
<br>
Unfortunately, this is what I feared.  Suppose I find <br>
commit hash abcdef for 20250215 and hash ghijkl for<br>
20250315, i.e, the 2 commits roughly a month apart.<br>
I can do<br>
<br>
% git checkout abcdef<br>
<br>
Now, I do the usual buildworld/installworld including <br>
the etcupdate steps.  I need to rebuild drm-515-kmod<br>
port.  Test to see if drm works again,<br>
<br>
% git checkout main   (to recover the main branch).<br>
% git checkout ghijkl  <br>
<br>
Repeat the world dance.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Yes. That will work. It will create a detached tree, but that&#39;s fine. You can also do git bisect too.</div><div dir="auto"><br></div><div dir="auto">Warner</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Steve<br>
<br>
</blockquote></div></div></div>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfq%2Bp-hnvuBh8EU5HCtTSch7MWT8pHy-PMjVL88CDD6myw>