Re: [Bug 10797] Battery is drained after poweroff

From: Rafael J. Wysocki
Date: Sat Oct 18 2008 - 16:08:32 EST


On Saturday, 18 of October 2008, Renato S. Yamane wrote:
> Rafael J. Wysocki wrote:
> > It follows from your reports that the problem is present in 2.6.22, although
> > it wasn't present in 2.6.21. If that's correct, you can do the following:
> > 1) Clone the Linus' -git repository (if you have a copy already, you can use
> > it)
> > 2) Go to the directory containing your copy of the Linus' repo and do
> > # git bisect start
> > # git bisect good v2.6.21
> > # git bisect bad v2.6.22
> > 3) Wait for git to select a commit to test, build the kernel and test it.
>
> $ git bisect good v2.6.22
> $ git bisect bad v2.6.23
> Bisecting: *3554* revisions left to test after this
>
> This means that I need compile kernel *3554* times?

No, you'll need to compile it approximately log_2(3554) times which is not
that bad. :-)

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/