Re: Where to clone kernel from

2015-09-02 Thread Andy Whitcroft
On Wed, Sep 02, 2015 at 10:18:02AM -0400, Nicholas Skaggs wrote:
> On 09/01/2015 02:05 PM, Colin Law wrote:
> >On 1 September 2015 at 16:38, Colin Law  wrote:
> >>Hi,
> >>
> >>Hopefully this is an appropriate forum to ask this. Am helping to
> >>track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
> >>exhibits itself on my laptop running Wily.  By installing kernels from
> >>http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
> >>determined that it was introduced between 3.19.8-vivid and
> >>4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
> >>bisect to find the commit.  Since they are labelled vivid I cloned
> >>git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
> >>time on my 1.5Mb broadband) but the latest tag in there is
> >>3.19.0-28.30
> >>
> >>Is the right one to use
> >>https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?
> >That does not contain the tags I am looking for either.  Does anyone
> >know where there is a repository with tags for 3.19.8-vivid and
> >4.0-rc1-vivid?

I think Joe is helping you now, but for completness ...

The builds you are referring to are the mainline builds.  Strictly
there are no tags for those, you would reconstruct those by cloning
the linux-stable tree and checking out the commit listed in COMMIT in
the same directory as the downloaded binaries.  After that applying the
patches -* in the same directory will recreate the tree the builder
used to make the binaries.

Hope that helps.

-apw

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-02 Thread Colin Law
On 2 September 2015 at 15:18, Nicholas Skaggs
 wrote:
> On 09/01/2015 02:05 PM, Colin Law wrote:
>>
>> On 1 September 2015 at 16:38, Colin Law  wrote:
>>>
>>> Hi,
>>>
>>> Hopefully this is an appropriate forum to ask this. Am helping to
>>> track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
>>> exhibits itself on my laptop running Wily.  By installing kernels from
>>> http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
>>> determined that it was introduced between 3.19.8-vivid and
>>> 4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
>>> bisect to find the commit.  Since they are labelled vivid I cloned
>>> git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
>>> time on my 1.5Mb broadband) but the latest tag in there is
>>> 3.19.0-28.30
>>>
>>> Is the right one to use
>>> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?
>>
>> That does not contain the tags I am looking for either.  Does anyone
>> know where there is a repository with tags for 3.19.8-vivid and
>> 4.0-rc1-vivid?
>>
>> Colin
>>
>>> Cheers
>>>
>>> Colin Law
>
> Adding in the kernel team who might be able to help more. Colin, have you
> seen / read https://wiki.ubuntu.com/Kernel/KernelBisection?
>
> If I had to guess, I'd be looking in the mainline tree:
> http://kernel.ubuntu.com/git/ubuntu/linux.git, and the conversion table
> http://people.canonical.com/~kernel/info/kernel-version-map.html. Really,
> that wiki should have all the information you need to do the bisection.
>
> Thanks for making ubuntu better by tracking this down, and good luck!

Thanks Nicholas

I think those links refer mainly to getting as far as which released
ubuntu version exhibits the problem, I was intending (and have
achieved to some extent, as described in my other post) to build the
kernel and bisect it down to find the commit that introduced the
problem.  I was referring to
https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel for this.

Cheers

Colin

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-02 Thread Colin Law
On 2 September 2015 at 15:58, Joseph Salisbury
 wrote:
> On 09/02/2015 10:18 AM, Nicholas Skaggs wrote:
>> On 09/01/2015 02:05 PM, Colin Law wrote:
>>> On 1 September 2015 at 16:38, Colin Law  wrote:
 Hi,

 Hopefully this is an appropriate forum to ask this. Am helping to
 track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
 exhibits itself on my laptop running Wily.
> ...
> Hi Colin,
>
> Nicholas is correct with the location of the mainline tree.  You could
> also perform the bisect with the Wily tree, but it's usually more
> straight forward to use the mainline tree.
>
> One thing to note, 3.19.8 and 4.0-rc1 are not linear tags.  The kernel
> forks when 3.19.1 is released as the first 3.19 stable version.
> Mainline then continues along with 4.0-rc1.  This means that you can
> only bisect between v3.19 final and v4.0-rc1.  That is as long as you
> are sure that 3.19 final does not have the bug and 4.0-rc1 does.
>
> Did you happen to open a Launchpad bug for this?  If so, can you send
> the bug number?  I'd be more than happy to help you perform this
> bisect.  I can perform the bisect and build test kernels for you to
> test.  You would then just need to report back if the test kernel
> exhibits the bug ore not.

Hi Joe

Thanks for the offer. There was an existing bug
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/887793 but that
has become out of date I think so I have opened a new one
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1491467

I have determined that the last of the 3.19 kernels is ok but the
first version in the wily tree that will build using fakeroot
debian/rules binary-headers binary-generic, which is

commit 636cdd7b2930ca2cdaf90eedd04fdb9fc7a8d5ec
Author: Stefan Bader 
Date: Thu Feb 14 09:55:49 2008 -0500
UBUNTU: SAUCE: (no-up) ubuntu: dm-raid45

does have the problem, so I don't know where to go from there.

Cheers

Colin

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-02 Thread Colin Law
On 2 September 2015 at 18:12, Andy Whitcroft  wrote:
> On Wed, Sep 02, 2015 at 10:18:02AM -0400, Nicholas Skaggs wrote:
>> On 09/01/2015 02:05 PM, Colin Law wrote:
>> >On 1 September 2015 at 16:38, Colin Law  wrote:
>> >>Hi,
>> >>
>> >>Hopefully this is an appropriate forum to ask this. Am helping to
>> >>track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
>> >>exhibits itself on my laptop running Wily.  By installing kernels from
>> >>http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
>> >>determined that it was introduced between 3.19.8-vivid and
>> >>4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
>> >>bisect to find the commit.  Since they are labelled vivid I cloned
>> >>git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
>> >>time on my 1.5Mb broadband) but the latest tag in there is
>> >>3.19.0-28.30
>> >>
>> >>Is the right one to use
>> >>https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?
>> >That does not contain the tags I am looking for either.  Does anyone
>> >know where there is a repository with tags for 3.19.8-vivid and
>> >4.0-rc1-vivid?
>
> I think Joe is helping you now, but for completness ...
>
> The builds you are referring to are the mainline builds.  Strictly
> there are no tags for those, you would reconstruct those by cloning
> the linux-stable tree and checking out the commit listed in COMMIT in
> the same directory as the downloaded binaries.  After that applying the
> patches -* in the same directory will recreate the tree the builder
> used to make the binaries.
>
> Hope that helps.

I think it has, yes.
As you say, Joe is building the kernels and passing them to me for
testing so hopefully we will home in on the offending code over the
next few days.

Thanks

Colin

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-02 Thread Joseph Salisbury
On 09/02/2015 10:18 AM, Nicholas Skaggs wrote:
> On 09/01/2015 02:05 PM, Colin Law wrote:
>> On 1 September 2015 at 16:38, Colin Law  wrote:
>>> Hi,
>>>
>>> Hopefully this is an appropriate forum to ask this. Am helping to
>>> track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
>>> exhibits itself on my laptop running Wily.  By installing kernels from
>>> http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
>>> determined that it was introduced between 3.19.8-vivid and
>>> 4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
>>> bisect to find the commit.  Since they are labelled vivid I cloned
>>> git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
>>> time on my 1.5Mb broadband) but the latest tag in there is
>>> 3.19.0-28.30
>>>
>>> Is the right one to use
>>> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?
>>>
>> That does not contain the tags I am looking for either.  Does anyone
>> know where there is a repository with tags for 3.19.8-vivid and
>> 4.0-rc1-vivid?
>>
>> Colin
>>
>>> Cheers
>>>
>>> Colin Law
> Adding in the kernel team who might be able to help more. Colin, have
> you seen / read https://wiki.ubuntu.com/Kernel/KernelBisection?
>
> If I had to guess, I'd be looking in the mainline tree:
> http://kernel.ubuntu.com/git/ubuntu/linux.git, and the conversion
> table
> http://people.canonical.com/~kernel/info/kernel-version-map.html.
> Really, that wiki should have all the information you need to do the
> bisection.
>
> Thanks for making ubuntu better by tracking this down, and good luck!
>
> Nicholas
>

Hi Colin,

Nicholas is correct with the location of the mainline tree.  You could
also perform the bisect with the Wily tree, but it's usually more
straight forward to use the mainline tree.

One thing to note, 3.19.8 and 4.0-rc1 are not linear tags.  The kernel
forks when 3.19.1 is released as the first 3.19 stable version. 
Mainline then continues along with 4.0-rc1.  This means that you can
only bisect between v3.19 final and v4.0-rc1.  That is as long as you
are sure that 3.19 final does not have the bug and 4.0-rc1 does. 

Did you happen to open a Launchpad bug for this?  If so, can you send
the bug number?  I'd be more than happy to help you perform this
bisect.  I can perform the bisect and build test kernels for you to
test.  You would then just need to report back if the test kernel
exhibits the bug ore not.

Thanks,

Joe




-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-02 Thread Nicholas Skaggs

On 09/01/2015 02:05 PM, Colin Law wrote:

On 1 September 2015 at 16:38, Colin Law  wrote:

Hi,

Hopefully this is an appropriate forum to ask this. Am helping to
track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
exhibits itself on my laptop running Wily.  By installing kernels from
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
determined that it was introduced between 3.19.8-vivid and
4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
bisect to find the commit.  Since they are labelled vivid I cloned
git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
time on my 1.5Mb broadband) but the latest tag in there is
3.19.0-28.30

Is the right one to use
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?

That does not contain the tags I am looking for either.  Does anyone
know where there is a repository with tags for 3.19.8-vivid and
4.0-rc1-vivid?

Colin


Cheers

Colin Law
Adding in the kernel team who might be able to help more. Colin, have 
you seen / read https://wiki.ubuntu.com/Kernel/KernelBisection?


If I had to guess, I'd be looking in the mainline tree: 
http://kernel.ubuntu.com/git/ubuntu/linux.git, and the conversion table 
http://people.canonical.com/~kernel/info/kernel-version-map.html. 
Really, that wiki should have all the information you need to do the 
bisection.


Thanks for making ubuntu better by tracking this down, and good luck!

Nicholas

--
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Re: Where to clone kernel from

2015-09-01 Thread Colin Law
On 1 September 2015 at 16:38, Colin Law  wrote:
> Hi,
>
> Hopefully this is an appropriate forum to ask this. Am helping to
> track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
> exhibits itself on my laptop running Wily.  By installing kernels from
> http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
> determined that it was introduced between 3.19.8-vivid and
> 4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
> bisect to find the commit.  Since they are labelled vivid I cloned
> git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
> time on my 1.5Mb broadband) but the latest tag in there is
> 3.19.0-28.30
>
> Is the right one to use
> https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?

That does not contain the tags I am looking for either.  Does anyone
know where there is a repository with tags for 3.19.8-vivid and
4.0-rc1-vivid?

Colin

>
> Cheers
>
> Colin Law

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality


Where to clone kernel from

2015-09-01 Thread Colin Law
Hi,

Hopefully this is an appropriate forum to ask this. Am helping to
track down bug https://bugzilla.kernel.org/show_bug.cgi?id=53071 which
exhibits itself on my laptop running Wily.  By installing kernels from
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D I have
determined that it was introduced between 3.19.8-vivid and
4.0-rc1-vivid.  The plan is to clone the kernel git repo and git
bisect to find the commit.  Since they are labelled vivid I cloned
git://kernel.ubuntu.com/ubuntu/ubuntu-vivid.git (which took a long
time on my 1.5Mb broadband) but the latest tag in there is
3.19.0-28.30

Is the right one to use
https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/wily?

Cheers

Colin Law

-- 
Ubuntu-quality mailing list
Ubuntu-quality@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-quality