Kernel 'bisection'

Colin Law clanlaw at gmail.com
Sat Feb 14 17:09:01 UTC 2015


On 14 February 2015 at 16:50, Chris <cpollock at embarqmail.com> wrote:
> On Sat, 2015-02-14 at 15:29 +0000, Colin Law wrote:
>> On 14 February 2015 at 13:41, Chris <cpollock at embarqmail.com> wrote:
>> > On Sat, 2015-02-14 at 13:05 +0000, Peter Waller wrote:
>> >> Briefly, bisection is a way of taking a long list of 1000's of
>> >> changes, and arranging things so that you only have to test more like
>> >> 10 of them, because you test midpoints. (and 2^10 ~ 1000).
>> >>
>> >>
>> >> More detail:
>> >>
>> >>
>> >> http://alblue.bandlem.com/2011/07/git-tip-of-week-git-bisect.html
>> >>
>> > Here's the same bug reported at freedesktop.org -
>> > https://bugs.freedesktop.org/show_bug.cgi?id=75394 which shows it
>> > affects multiple 'flavors'.
>>
>> Since it seems it can sometimes be weeks between flavours I don't see
>> how you can do a git bisection on the kernel as you might have to run
>> it for weeks on each version.
>>
>> However can I first check that there is a known good version of the
>> kernel which does not show the problem?  If so can you not just stick
>> with that version in the hope the bug will get fixed at some point in
>> the future?
>>
>> Colin
>>
> That's what I was thinking about doing Colin, AFAIK 3.13.0-35 was the
> last kernel that did not show this problem. I guess what I'll do this
> weekend is download and regress to it for awhile and see what happens.
> I've been trying to find the three files I need to -35 but can't seem to
> find them. I looked here
> http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-trusty/ but really
> don't see what I'm looking for. Any advice?

You need to download linux-image-3......._amd64.deb for a 64 bit
Ubuntu or _i386.deb for 32 bit.  Then install using
sudo dpkg -i  linux-image... .deb
Then that version should appear in the list when you re-boot (possibly
under the additional options for Ubuntu selection, not sure).
You might also need to download and install the
linux-headers-..amd64.deb and _all.deb (or i386 and all for 32 bit) if
you need to compile any header modules.  Try it without first, I think
you will get rude messages if it is not happy

Then if you want to uninstall it boot into a different kernel and run
uname -a
to check you are definitely not using the one you are about to remove,
then run synaptic, select Installed in the left column, search for
linux-image, select the one to remove and Completely Remove, then
sudo update-grub

Colin




More information about the ubuntu-users mailing list