2010-08-22 12:24:58

by Anca Emanuel

[permalink] [raw]
Subject: Ubuntu 10.10 Kernel compile error

Steps to reproduce on Ubuntu 10.10

1. sudo apt-get install git-core kernel-package fakeroot
build-essential ncurses-dev
2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
3. cd linux-2.6
4. cp /boot/config-`uname -r` .config
5. yes '' | make oldconfig
6. make nconfig
and select to not make the staging drivers
7. make-kpkg clean
8. CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg
--initrd --append-to-version=-c kernel_image kernel_headers

result:

dpkg-gencontrol: error: package linux-image-2.6.36-rc1-c+ not in control info
make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc1-c+] Error 255
make[2]: Leaving directory `/home/username/linux-2.6'
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc1-c+] Error 2
make[1]: Leaving directory `/home/username/linux-2.6'
make: *** [kernel_image] Error 2


2010-08-23 10:09:04

by Anca Emanuel

[permalink] [raw]
Subject: Re: Ubuntu 10.10 Kernel compile error

CC to [email protected], if there are orher people, let me know.

On Sun, Aug 22, 2010 at 3:24 PM, Anca Emanuel <[email protected]> wrote:
> Steps to reproduce on Ubuntu 10.10
>
> 1. sudo apt-get install git-core kernel-package fakeroot
> build-essential ncurses-dev
> 2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> 3. cd linux-2.6
> 4. cp /boot/config-`uname -r` .config
> 5. yes '' | make oldconfig
> 6. make nconfig
> and select to not make the staging drivers
> 7. make-kpkg clean
> 8. CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg
> --initrd --append-to-version=-c kernel_image kernel_headers
>
> result:
>
> dpkg-gencontrol: error: package linux-image-2.6.36-rc1-c+ not in control info
> make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc1-c+] Error 255
> make[2]: Leaving directory `/home/username/linux-2.6'
> make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc1-c+] Error 2
> make[1]: Leaving directory `/home/username/linux-2.6'
> make: *** [kernel_image] Error 2
>

yes you have some patches, why don't you upstream them ?
Gregh, what is so hard to publish some compiler paches ? only becouse
you are suse ?
It is rc2 time an you did not publish, or asked Linus to pull the
fixes in your tree

2010-08-23 15:40:24

by Greg KH

[permalink] [raw]
Subject: Re: Ubuntu 10.10 Kernel compile error

On Mon, Aug 23, 2010 at 01:09:01PM +0300, Anca Emanuel wrote:
> CC to [email protected], if there are orher people, let me know.
>
> On Sun, Aug 22, 2010 at 3:24 PM, Anca Emanuel <[email protected]> wrote:
> > Steps to reproduce on Ubuntu 10.10
> >
> > 1. sudo apt-get install git-core kernel-package fakeroot
> > build-essential ncurses-dev
> > 2. git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
> > 3. cd linux-2.6
> > 4. cp /boot/config-`uname -r` .config
> > 5. yes '' | make oldconfig
> > 6. make nconfig
> > and select to not make the staging drivers
> > 7. make-kpkg clean
> > 8. CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN` fakeroot make-kpkg
> > --initrd --append-to-version=-c kernel_image kernel_headers
> >
> > result:
> >
> > dpkg-gencontrol: error: package linux-image-2.6.36-rc1-c+ not in control info
> > make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc1-c+] Error 255
> > make[2]: Leaving directory `/home/username/linux-2.6'
> > make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc1-c+] Error 2
> > make[1]: Leaving directory `/home/username/linux-2.6'
> > make: *** [kernel_image] Error 2
> >
>
> yes you have some patches, why don't you upstream them ?
> Gregh, what is so hard to publish some compiler paches ? only becouse
> you are suse ?

Yes, that is exactly why. (where's the sarcasm key...)

> It is rc2 time an you did not publish, or asked Linus to pull the
> fixes in your tree

I was busy with other kernel work and didn't get a chance to do so. It
should happen later this week.

thanks,

greg k-h