Re: Getting /usr/src to match specific git hash?

2021-01-25 Thread Warner Losh
On Mon, Jan 25, 2021 at 3:57 PM tech-lists wrote: > On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > >From: Steve Kargl > >Subject: Getting /usr/src to match specific git hash? > >Date: Sat, 23 Jan 2021 19:58:52 -0800 > > > >&g

Re: Getting /usr/src to match specific git hash?

2021-01-25 Thread tech-lists
On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: From: Steve Kargl Subject: Getting /usr/src to match specific git hash? Date: Sat, 23 Jan 2021 19:58:52 -0800 Suppose one has an empty /usr/src. Suppose further that one had to re-install a 32-bit i386-*-freebsd with the 24 Dec

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Mark Millard via freebsd-current
On 2021-Jan-24, at 23:37, Mark Millard wrote: > >> How cat one track multiple branches with git without keeping entirely >> separate trees? > > There are multiple possibilities here and it is not > clear which you are hoping for. > > A) You could be trying to avoid having two separate .git

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Mark Millard via freebsd-current
> How cat one track multiple branches with git without keeping entirely > separate trees? There are multiple possibilities here and it is not clear which you are hoping for. A) You could be trying to avoid having two separate .git copies around, each also with checked-out material. (2

Re: Getting /usr/src to match specific git hash? (just about out of swap space messages and tuning)

2021-01-24 Thread Mark Millard
> (4) processes being killed with out-of-swapspace messages > even though I have 4 GB of untouched swap space. Might > be associated with (3). [This is mostly a FYI in case the material is unfamiliar.] Only believe the detailed wording of messages of the form: "was killed: out of swap

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Philip Paeps
On 2021-01-25 10:57:19 (+0800), Thomas Mueller wrote: It is in the mini primer I wrote, along with how to bisect and other useful things. This will migrate into the handbook once the doc tree converts to asciidoc (happening this weekend).

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Thomas Mueller
> It is in the mini primer I wrote, along with how to bisect and other useful > things. This will migrate into the handbook once the doc tree converts to > asciidoc (happening this weekend). > https://github.com/bsdimp/freebsd-git-docs/blob/main/mini-primer.md > Warner I looked at your

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Warner Losh
On Sun, Jan 24, 2021 at 3:40 PM Steve Kargl < s...@troutmask.apl.washington.edu> wrote: > On Sun, Jan 24, 2021 at 03:22:18PM -0700, Warner Losh wrote: > > On Sun, Jan 24, 2021, 12:14 PM Steve Kargl < > s...@troutmask.apl.washington.edu> > > wrote: > > > >> > >> Any advice on how to jump, say, 4

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread monochrome
after looking in the git log for the hash I use: git -C /usr/src reset --hard you will lose any local changes On 1/24/21 5:40 PM, Steve Kargl wrote: On Sun, Jan 24, 2021 at 03:22:18PM -0700, Warner Losh wrote: On Sun, Jan 24, 2021, 12:14 PM Steve Kargl wrote: Any advice on how to jump,

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Steve Kargl
On Sun, Jan 24, 2021 at 03:22:18PM -0700, Warner Losh wrote: > On Sun, Jan 24, 2021, 12:14 PM Steve Kargl > wrote: > >> >> Any advice on how to jump, say, 4 days ahead of the current >> date of the src/ tree? That is, I have src/ that should >> correspond to 24 Dec 2020. How do I jump to 28

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Warner Losh
uquet < >> jbt...@iherebuywisely.com> >> > wrote: >> > >> > > >> > > >> > > On Sat, 23 Jan 2021 20:14:03 -0800, Steve Kargl < >> > > s...@troutmask.apl.washington.edu> wrote: >> > > >> > >

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Warner Losh
gl < > > > s...@troutmask.apl.washington.edu> wrote: > > > > > > > On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > > > > From: Steve Kargl > > > > > Subject: Getting /usr/src to match speci

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Simon J. Gerraty
Steve Kargl wrote: > Suppose further that one had to re-install a 32-bit > i386-*-freebsd with the 24 Dec 2020 image available > from freebsd.org. > > uname -a for the booted kernel shows > > % uname -a > FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT #0 \ > 3cc0c0d66a0-c255241(main)-dirty:

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread David Wolfskill
On Sun, Jan 24, 2021 at 11:14:45AM -0800, Steve Kargl wrote: > ... > Any advice on how to jump, say, 4 days ahead of the current > date of the src/ tree? That is, I have src/ that should > correspond to 24 Dec 2020. How do I jump to 28 Dec 2020? I (happen to) track FreeBSD head, stable/12 (and

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Yasuhiro Kimura
From: "Simon J. Gerraty" Subject: Re: Getting /usr/src to match specific git hash? Date: Sun, 24 Jan 2021 10:05:38 -0800 > As others have described, you can clone and 'git checkout 3cc0c0d66a0' > but that "-dirty" above implies the tree had changes, so you cannot >

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Steve Kargl
Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > > > From: Steve Kargl > > > > Subject: Getting /usr/src to match specific git hash? > > > > Date: Sat, 23 Jan 2021 19:58:52 -0800 > > > > > > > > > Suppose one ha

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Warner Losh
gl < > > > s...@troutmask.apl.washington.edu> wrote: > > > > > > > On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > > > > From: Steve Kargl > > > > > Subject: Getting /usr/src to match speci

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Shawn Webb
Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > > > From: Steve Kargl > > > > Subject: Getting /usr/src to match specific git hash? > > > > Date: Sat, 23 Jan 2021 19:58:52 -0800 > > > > > > > > > Suppose one ha

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Warner Losh
On Sun, Jan 24, 2021, 6:05 AM Jeffrey Bouquet wrote: > > > On Sat, 23 Jan 2021 20:14:03 -0800, Steve Kargl < > s...@troutmask.apl.washington.edu> wrote: > > > On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > > From: Steve Kargl >

Re: Getting /usr/src to match specific git hash?

2021-01-24 Thread Jeffrey Bouquet
On Sat, 23 Jan 2021 20:14:03 -0800, Steve Kargl wrote: > On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > > From: Steve Kargl > > Subject: Getting /usr/src to match specific git hash? > > Date: Sat, 23 Jan 2021 19:58:52 -0800 > > > > &g

Re: Getting /usr/src to match specific git hash?

2021-01-23 Thread Steve Kargl
On Sun, Jan 24, 2021 at 01:08:05PM +0900, Yasuhiro Kimura wrote: > From: Steve Kargl > Subject: Getting /usr/src to match specific git hash? > Date: Sat, 23 Jan 2021 19:58:52 -0800 > > > Suppose one has an empty /usr/src. > > > > Suppose further that one had t

Re: Getting /usr/src to match specific git hash?

2021-01-23 Thread Don Lewis
On 24 Jan, Yasuhiro Kimura wrote: > From: Steve Kargl > Subject: Getting /usr/src to match specific git hash? > Date: Sat, 23 Jan 2021 19:58:52 -0800 > >> Suppose one has an empty /usr/src. >> >> Suppose further that one had to re-install a 32-bit >> i386-

Re: Getting /usr/src to match specific git hash?

2021-01-23 Thread Yasuhiro Kimura
From: Steve Kargl Subject: Getting /usr/src to match specific git hash? Date: Sat, 23 Jan 2021 19:58:52 -0800 > Suppose one has an empty /usr/src. > > Suppose further that one had to re-install a 32-bit > i386-*-freebsd with the 24 Dec 2020 image available > from freebsd.

Getting /usr/src to match specific git hash?

2021-01-23 Thread Steve Kargl
Suppose one has an empty /usr/src. Suppose further that one had to re-install a 32-bit i386-*-freebsd with the 24 Dec 2020 image available from freebsd.org. uname -a for the booted kernel shows % uname -a FreeBSD mobile 13.0-CURRENT FreeBSD 13.0-CURRENT #0 \ 3cc0c0d66a0-c255241(main)-dirty: Thu