my command line was: CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN`
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
kernel_headers
I think there is a problem with --append-to-version
I'm using Ubuntu 10.10 upgraded from 10.04
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
09-25-2010, 11:26 AM
Anca Emanuel
Mainline Build v2.6.36-rc5
just search for 's/=V/2.6.36-rc5-custom/g'
you will see the rest is 's/=V/2.6.36-rc5-custom/g+'
I think that is a bug.
And why the + ?
Some history: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/16447
> just search for 's/=V/2.6.36-rc5-custom/g'
> you will see the rest is 's/=V/2.6.36-rc5-custom/g+'
>
> I think that is a bug.
> And why the + ?
>
> Some history: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/16447
The '+' is appended by the kernel build subsystem when it detects (via
git) that the kernel source has been changed.
I use this patch to workaround the build bug, though it does need fixing:
debian_TOPDIR:
# 2.6 kernels declared TOPDIR obsolete, so use srctree if it exists
--
Daniel J Blueman
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
09-26-2010, 07:14 PM
Anca Emanuel
Mainline Build v2.6.36-rc5
On Sun, Sep 26, 2010 at 4:53 PM, Daniel J Blueman
<daniel.blueman@gmail.com> wrote:
> Hi Anca,
>
>[...]
>
> The '+' is appended by the kernel build subsystem when it detects (via
> git) that the kernel source has been changed.
>
> I use this patch to workaround the build bug, though it does need fixing:
>
> --- /usr/share/kernel-package/ruleset/kernel_version.mk.orig * *2008-05-02
> 07:06:28.000000000 +0200
> +++ /usr/share/kernel-package/ruleset/kernel_version.mk 2010-07-08
> 00:02:45.316669641 +0200
> @@ -62,7 +62,7 @@
> * * * *@echo "$(strip $(EXTRAVERSION))"
>
> *debian_LOCALVERSION:
> - * * * @echo $(if $(strip $(localver-full)),"$(strip $(localver-full))",
> "$(strip $(LOCALVERSION))")
> + * * * @./scripts/setlocalversion
>
> *debian_TOPDIR:
> *# 2.6 kernels declared TOPDIR obsolete, so use srctree if it exists
> --
> Daniel J Blueman
>
The patch solved the problem.
Thank you.
zzz@ubuntu:~$ uname -a
Linux ubuntu 2.6.36-rc5-custom+ #3 SMP Sun Sep 26 21:54:19 EEST 2010
i686 GNU/Linux
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
09-26-2010, 10:15 PM
Anca Emanuel
Mainline Build v2.6.36-rc5
What does it mean:
ureadahead main process (283 (or other numbers)) terminated with status 5
it is posible to be related to:
sudo cfdisk
FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylind
Press any key to exit cfdisk
?
p.s. I'm booting fine.
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
09-27-2010, 09:33 AM
Daniel J Blueman
Mainline Build v2.6.36-rc5
On 26 September 2010 23:15, Anca Emanuel <anca.emanuel@gmail.com> wrote:
> What does it mean:
> ureadahead main process (283 (or other numbers)) terminated with status 5
>
> http://www.google.ro/search?as_q=ureadahead+main+process+terminated+wit h+status+5&hl=ro&num=10&btnG=C%C4%83utare+Google&a s_epq=&as_oq=&as_eq=&lr=&cr=&as_ft=i&as_filetype=& as_qdr=all&as_occt=any&as_dt=i&as_sitesearch=bugs. launchpad.net/ubuntu&as_rights=&safe=images
>
> or:
> http://bit.ly/anns1N
ureadahead prefetches files which will be used, in an efficient manner
to reduce boot time. 'process 283' refers to the pid number is had,
and it exited with value 5 to indicate normal operation (presumably).
This message does seem unnecessary though. Anyone know why it's still
printed and have any objections to a patch to quiesce it when booting
without the splash screen?
> it is posible to be related to:
> sudo cfdisk
> FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylind
> Press any key to exit cfdisk
> ?
It's not related.
> p.s. I'm booting fine.
--
Daniel J Blueman
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
09-30-2010, 10:43 AM
Eric Miao
Mainline Build v2.6.36-rc5
Sent from my iPad
On 2010-9-26, at 21:53, Daniel J Blueman <daniel.blueman@gmail.com> wrote:
> Hi Anca,
>
> (top-post moved to bottom)
>
> On 25 September 2010 12:26, Anca Emanuel <anca.emanuel@gmail.com> wrote:
>> On Sat, Sep 25, 2010 at 7:22 AM, Anca Emanuel <anca.emanuel@gmail.com> wrote:
>>> Hi.
>>>
>>> I'm trying to compile the kernel, using this tutorial:
>>> https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
>>>
>>> I get an error:
>>>
>>> ====== making target
>>> debian/stamp/binary/linux-image-2.6.36-rc5-custom+ [new prereqs:
>>> ]======
>>>
>>> This is kernel package version 12.033.
>>> install -p -d -o root -g root -m 755
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN
>>> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's@=A@i386@g'
>>> -e 's@=B@i386@g'
>>> ./debian/pkg/image/postinst >
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postinst
>>> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postinst
>>> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's@=A@i386@g'
>>> -e 's@=B@i386@g'
>>> ./debian/pkg/image/config >
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/config
>>> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/config
>>> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's/=MD//g'
>>> -e 's@=MK@@g' -e 's@=A@i386@g'
>>> -e 's@=M@@g' -e 's/=OF//g'
>>> -e 's/=S//g' -e 's@=B@i386@g'
>>> ./debian/pkg/image/postrm >
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postrm
>>> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/postrm
>>> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's/=MD//g'
>>> -e 's@=MK@@g' -e 's@=A@i386@g'
>>> -e 's@=M@@g' -e 's/=OF//g'
>>> -e 's/=S//g' -e 's@=B@i386@g'
>>> ./debian/pkg/image/preinst >
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/preinst
>>> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/preinst
>>> sed -e 's/=V/2.6.36-rc5-custom+/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's/=MD//g'
>>> -e 's@=MK@@g' -e 's@=A@i386@g'
>>> -e 's@=M@@g' -e 's/=OF//g'
>>> -e 's/=S//g' -e 's@=B@i386@g'
>>> ./debian/pkg/image/prerm >
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/prerm
>>> chmod 755 /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/prerm
>>> po2debconf debian/templates.in > debian/templates.l10n
>>> sed -e 's/=V/2.6.36-rc5-custom/g' -e 's/=IB//g'
>>> -e 's/=ST/linux/g' -e 's/=R//g'
>>> -e 's/=KPV/12.033/g'
>>> -e 's/=K/vmlinuz/g'
>>> -e 's@=MK@@g' -e 's@=A@i386@g'
>>> -e 's/=I/YES/g' -e 's,=D,/boot,g'
>>> -e 's/=MD//g'
>>> -e 's@=M@@g' -e 's/=OF//g'
>>> -e 's/=S//g' -e 's@=B@i386@g'
>>> ./debian/templates.l10n > ./debian/templates.master
>>> install -p -o root -g root -m 644 ./debian/templates.master
>>> /home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/DEBIAN/templates
>>> dpkg-gencontrol -DArchitecture=i386 -isp
>>> -plinux-image-2.6.36-rc5-custom+
>>> -P/home/zzz/linux-2.6/debian/linux-image-2.6.36-rc5-custom+/
>>> dpkg-gencontrol: error: package linux-image-2.6.36-rc5-custom+ not in
>>> control info
>>> make[2]: *** [debian/stamp/binary/linux-image-2.6.36-rc5-custom+] Error 255
>>> make[2]: Leaving directory `/home/zzz/linux-2.6'
>>> make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.36-rc5-custom+] Error 2
>>> make[1]: Leaving directory `/home/zzz/linux-2.6'
>>> make: *** [kernel_image] Error 2
>>>
>>> ================================================== ==
>>>
>>> my command line was: CONCURRENCY_LEVEL=`getconf _NPROCESSORS_ONLN`
>>> fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image
>>> kernel_headers
>>> I think there is a problem with --append-to-version
>>> I'm using Ubuntu 10.10 upgraded from 10.04
>
>> just search for 's/=V/2.6.36-rc5-custom/g'
>> you will see the rest is 's/=V/2.6.36-rc5-custom/g+'
>>
>> I think that is a bug.
>> And why the + ?
>>
>> Some history: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.15/+bug/16447
>
> The '+' is appended by the kernel build subsystem when it detects (via
> git) that the kernel source has been changed.
>
> I use this patch to workaround the build bug, though it does need fixing:
>
> --- /usr/share/kernel-package/ruleset/kernel_version.mk.orig 2008-05-02
> 07:06:28.000000000 +0200
> +++ /usr/share/kernel-package/ruleset/kernel_version.mk 2010-07-08
> 00:02:45.316669641 +0200
> @@ -62,7 +62,7 @@
> @echo "$(strip $(EXTRAVERSION))"
>
> debian_LOCALVERSION:
> - @echo $(if $(strip $(localver-full)),"$(strip $(localver-full))",
> "$(strip $(LOCALVERSION))")
> + @./scripts/setlocalversion
>
> debian_TOPDIR:
> # 2.6 kernels declared TOPDIR obsolete, so use srctree if it exists
> --
> Daniel J Blueman
>
> --
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team