All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luis R. Rodriguez <lrodriguez@atheros.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] bisecting with wireless-testing
Date: Wed, 19 Aug 2009 11:34:16 -0700	[thread overview]
Message-ID: <20090819183416.GE7126@mosca> (raw)
In-Reply-To: <20090819175809.GD5905@tuxdriver.com>

Renaming subject and adding linux-wireless.

On Wed, Aug 19, 2009 at 10:58:09AM -0700, John W. Linville wrote:
> On Tue, Aug 18, 2009 at 02:57:48PM -0700, Luis R. Rodriguez wrote:
> > On Tue, Aug 18, 2009 at 02:45:00PM -0700, Pavel Roskin wrote:
> > > On Tue, 2009-08-18 at 14:24 -0700, Luis R. Rodriguez wrote:
> > >
> > > > > Anyway, why is it better for bisecting?

Just for reference for linux-wireles readers here I had indicated
wireless-next-2.6 was better for bisecting than wireless-testing.

> > > >
> > > > Because to help developers not have to do:
> > > >
> > > > git branch -m poo
> > > > git checkout -b master origin/master
> > > > # Then apply patches manually
> > > >
> > > > Instead of the better rebasing:
> > > >
> > > > git branch -m save-my-stuff
> > > > git checkout -b master origin/master
> > > > git checkout save-my-stuff
> > > > git rebase master
> > >
> > > I use STGit, so perhaps I miss all that fun.  I have never had any
> > > trouble tracking wireless-testing while keeping my patches.
> >
> > Oh this was a long time ago, pre ath5k I think.
> >
> > > > john reverts his patches on wireless-testing before rebasing to Linus'
> > > > tree. There may be some other added benefit other than helping us
> > > > rebase cleanly, not sure. But I do remember before that I never was
> > > > able to rebase my patches, and now rebasing works quite nicely.
> > >
> > > You mean it's better to track wireless-next-2.6 for those of us trying
> > > to stay on top of the wireless development?
> >
> > No, not at all, I meant wireless-next-2.6 is best for bisecting.
> >
> > wireless-testing is indeed the place to look at for development.
> >
> > > I must have missed the
> > > memo.
> >
> > I don't think we ever really publized this much, because technically
> > the reverting won't happen unless John rebases and typically between
> > rebases to a next RC kernel you *could* technically bisect an issue.
> > But not all the times.
> >
> > > Indeed, wireless-next-2.6 has a couple of commits that
> > > wireless-testing doesn't have yet.
> > >
> > > I agree that having to bisect through reverts is not fun, and it takes
> > > one or two extra iterations.
> >
> > Right, which is why I wanted to mention it, will extend the info on
> > the wiki on the development section once John ACKs/NACKs this.
> 
> It should not be necessary to bisect through reverts.  I maintain
> different tags for such purposes.
>
> Always use the lastest merge-* tag as the base for bisection.
> This should be equivalent to whichever -rc release from Linus is the
> current base for wireless-testing.  If you need to go any earlier
> than that, you should be using linux-2.6.
>
> So for example with current tree:
> 
>         git bisect start
>         git bisect bad master-2009-08-19
>         git bisect good merge-2009-08-14
> 
> This should include all of the current wireless patches in
> wireless-testing but not in the base linux-2.6 kernel.

This does indeed help alot. Just to be clear let me provide an
example. So say git tag -l | grep merge | tail -3 yields:

merge-2009-07-24
merge-2009-08-03
merge-2009-08-14

I believe what you are indicating if you are bisecting using to avoid
running into the reverts you'd have to ensure then that you bisect between
a bad commit and the next dated merge tag. So if you ran into a snag say
on master-2009-08-06, you should test if merge-2009-08-03 is good first,
and if its not then consider using linux-2.6.git ? If so wouldn't
the code on master-2009-08-06 not yet be available on linux-2.6.git?

> I haven't tracked-down this thread in the archives...am I addressing
> the issue correctly?

Indeed! Thanks a lot.

  Luis

WARNING: multiple messages have this Message-ID (diff)
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: "John W. Linville" <linville@tuxdriver.com>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
	Pavel Roskin <proski@gnu.org>,
	"Luis R. Rodriguez" <mcgrof@gmail.com>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>,
	<linux-wireless@vger.kernel.org>
Subject: Re: bisecting with wireless-testing
Date: Wed, 19 Aug 2009 11:34:16 -0700	[thread overview]
Message-ID: <20090819183416.GE7126@mosca> (raw)
In-Reply-To: <20090819175809.GD5905@tuxdriver.com>

Renaming subject and adding linux-wireless.

On Wed, Aug 19, 2009 at 10:58:09AM -0700, John W. Linville wrote:
> On Tue, Aug 18, 2009 at 02:57:48PM -0700, Luis R. Rodriguez wrote:
> > On Tue, Aug 18, 2009 at 02:45:00PM -0700, Pavel Roskin wrote:
> > > On Tue, 2009-08-18 at 14:24 -0700, Luis R. Rodriguez wrote:
> > >
> > > > > Anyway, why is it better for bisecting?

Just for reference for linux-wireles readers here I had indicated
wireless-next-2.6 was better for bisecting than wireless-testing.

> > > >
> > > > Because to help developers not have to do:
> > > >
> > > > git branch -m poo
> > > > git checkout -b master origin/master
> > > > # Then apply patches manually
> > > >
> > > > Instead of the better rebasing:
> > > >
> > > > git branch -m save-my-stuff
> > > > git checkout -b master origin/master
> > > > git checkout save-my-stuff
> > > > git rebase master
> > >
> > > I use STGit, so perhaps I miss all that fun.  I have never had any
> > > trouble tracking wireless-testing while keeping my patches.
> >
> > Oh this was a long time ago, pre ath5k I think.
> >
> > > > john reverts his patches on wireless-testing before rebasing to Linus'
> > > > tree. There may be some other added benefit other than helping us
> > > > rebase cleanly, not sure. But I do remember before that I never was
> > > > able to rebase my patches, and now rebasing works quite nicely.
> > >
> > > You mean it's better to track wireless-next-2.6 for those of us trying
> > > to stay on top of the wireless development?
> >
> > No, not at all, I meant wireless-next-2.6 is best for bisecting.
> >
> > wireless-testing is indeed the place to look at for development.
> >
> > > I must have missed the
> > > memo.
> >
> > I don't think we ever really publized this much, because technically
> > the reverting won't happen unless John rebases and typically between
> > rebases to a next RC kernel you *could* technically bisect an issue.
> > But not all the times.
> >
> > > Indeed, wireless-next-2.6 has a couple of commits that
> > > wireless-testing doesn't have yet.
> > >
> > > I agree that having to bisect through reverts is not fun, and it takes
> > > one or two extra iterations.
> >
> > Right, which is why I wanted to mention it, will extend the info on
> > the wiki on the development section once John ACKs/NACKs this.
> 
> It should not be necessary to bisect through reverts.  I maintain
> different tags for such purposes.
>
> Always use the lastest merge-* tag as the base for bisection.
> This should be equivalent to whichever -rc release from Linus is the
> current base for wireless-testing.  If you need to go any earlier
> than that, you should be using linux-2.6.
>
> So for example with current tree:
> 
>         git bisect start
>         git bisect bad master-2009-08-19
>         git bisect good merge-2009-08-14
> 
> This should include all of the current wireless patches in
> wireless-testing but not in the base linux-2.6 kernel.

This does indeed help alot. Just to be clear let me provide an
example. So say git tag -l | grep merge | tail -3 yields:

merge-2009-07-24
merge-2009-08-03
merge-2009-08-14

I believe what you are indicating if you are bisecting using to avoid
running into the reverts you'd have to ensure then that you bisect between
a bad commit and the next dated merge tag. So if you ran into a snag say
on master-2009-08-06, you should test if merge-2009-08-03 is good first,
and if its not then consider using linux-2.6.git ? If so wouldn't
the code on master-2009-08-06 not yet be available on linux-2.6.git?

> I haven't tracked-down this thread in the archives...am I addressing
> the issue correctly?

Indeed! Thanks a lot.

  Luis

  reply	other threads:[~2009-08-19 18:34 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13  1:16 [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms) Michael Gruber
2009-08-13  3:45 ` Pavel Roskin
2009-08-13  3:54   ` Sujith
2009-08-13  4:22     ` Pavel Roskin
2009-08-13  5:21       ` Sujith
2009-08-13  5:40         ` Pavel Roskin
2009-08-18 18:16           ` Kunal Gangakhedkar
2009-08-18 21:04             ` Pavel Roskin
2009-08-18 21:07               ` Luis R. Rodriguez
2009-08-18 21:15                 ` Pavel Roskin
2009-08-18 21:24                   ` Luis R. Rodriguez
2009-08-18 21:45                     ` Pavel Roskin
2009-08-18 21:57                       ` Luis R. Rodriguez
2009-08-19 17:58                         ` John W. Linville
2009-08-19 18:34                           ` Luis R. Rodriguez [this message]
2009-08-19 18:34                             ` bisecting with wireless-testing Luis R. Rodriguez
2009-08-19 18:44                             ` [ath9k-devel] " John W. Linville
2009-08-19 18:44                               ` John W. Linville
2009-08-20  7:13               ` [ath9k-devel] Disconnect problem (DMA failed to stop in 10 ms) Kunal Gangakhedkar
2009-08-19  3:51             ` Sujith
2009-08-20  7:14               ` Kunal Gangakhedkar
2009-08-24 20:58               ` Kunal Gangakhedkar
2009-09-11 15:42                 ` Kunal Gangakhedkar
2009-08-13  7:59         ` Kunal Gangakhedkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090819183416.GE7126@mosca \
    --to=lrodriguez@atheros.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.