Debian Bug report logs -
#551104
kernel-package: "make-kpkg (binary-arch|kernel_image)" generates xenu pkg
Reported by: Adrian Friedli <adi@koalatux.ch>
Date: Thu, 15 Oct 2009 17:36:02 UTC
Severity: normal
Found in version kernel-package/12.022
Done: Manoj Srivastava <srivasta@acm.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#551104; Package kernel-package.
(Thu, 15 Oct 2009 17:36:05 GMT) (full text, mbox, link).
Acknowledgement sent
to "Edward J. Shornock" <ed.shornock@gmail.com>:
New Bug report received and forwarded. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(Thu, 15 Oct 2009 17:36:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: kernel-package
Version: 12.022
Severity: normal
After the upgrade to v12.022, running make-kpkg binary-arch will not
create linux-image*. Instead linux-xenu* is created.
12.021 works normally.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-rc3 (SMP w/2 CPU cores)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kernel-package depends on:
ii binutils 2.19.91.20091006-1 The GNU assembler, linker and bina
ii build-essential 11.4 Informational list of build-essent
ii debianutils 3.2.1 Miscellaneous utilities specific t
ii file 5.03-2 Determines file type using "magic"
ii gettext 0.17-8 GNU Internationalization utilities
ii make 3.81-6 An utility for Directing compilati
ii module-init-tools 3.10-3 tools for managing Linux kernel mo
ii po-debconf 1.0.16 tool for managing templates file t
ii util-linux 2.16.1-4 Miscellaneous system utilities
Versions of packages kernel-package recommends:
ii cpio 2.10-1 GNU cpio -- a program to manage ar
Versions of packages kernel-package suggests:
ii bzip2 1.0.5-3 high-quality block-sorting file co
ii docbook-u 0.6.14-1.1 Convert Docbook files to other for
ii e2fsprogs 1.41.9-1 ext2/ext3/ext4 file system utiliti
ii initramfs 0.93.4 tools for generating an initramfs
pn libdb3-de <none> (no description available)
ii libncurse 5.7+20090803-2 developer's libraries and docs for
ii linux-sou 2.6.30.2-tuxonice-10.00.Custom Linux kernel source for version 2.
ii linux-sou 2.6.32-rc3-10.00.Custom Linux kernel source for version 2.
ii xmlto 0.0.23-2 XML-to-any converter
-- no debconf information
Reply sent
to Manoj Srivastava <srivasta@acm.org>:
You have taken responsibility.
(Thu, 15 Oct 2009 20:18:03 GMT) (full text, mbox, link).
Notification sent
to "Edward J. Shornock" <ed.shornock@gmail.com>:
Bug acknowledged by developer.
(Thu, 15 Oct 2009 20:18:03 GMT) (full text, mbox, link).
Message #10 received at 551104-done@bugs.debian.org (full text, mbox, reply):
On Thu, Oct 15 2009, Edward J. Shornock wrote:
> After the upgrade to v12.022, running make-kpkg binary-arch will not
> create linux-image*. Instead linux-xenu* is created.
>
> 12.021 works normally.
It only does that if you have configured Xen in your .config
file. You probably have CONFIG_XEN or CONFIG_X86_64_XEN set in the
.config, but not CONFIG_XEN_PRIVILEGED_GUEST. This is part of the new
support for Xen in make-kpkg.
Without that, it works normally:
,----
| exec make kpkg_version=12.022 -f
| /usr/share/kernel-package/ruleset/minimal.mk debian
| APPEND_TO_VERSION=-anzu ROOT_CMD=fakeroot
| ====== making target debian/stamp/conf/minimal_debian [new prereqs: ]======
| This is kernel package version 12.022.
|
| …
|
| dpkg --build /usr/local/src/kernel/linux-2.6/debian/linux-image-2.6.31.4-anzu ..
| dpkg-deb: building package `linux-image-2.6.31.4-anzu' in
| `../linux-image-2.6.31.4-anzu_2.6.31.4-anzu-10.00.Custom_amd64.deb'.
`----
So just adjust your .config, and you'll see normal kernel images.
manoj
--
Death didn't answer. He was looking at Spold in the same way as a dog
looks ata bone, only in this case things were more or less the other way
around. -- Terry Pratchett
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Information forwarded
to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#551104; Package kernel-package.
(Thu, 29 Oct 2009 23:55:11 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Friedli <adi@koalatux.ch>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(Thu, 29 Oct 2009 23:55:12 GMT) (full text, mbox, link).
Message #15 received at 551104@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hallo
On Thursday 15 October 2009 21:57:27 Manoj Srivastava wrote:
> It only does that if you have configured Xen in your .config
> file. You probably have CONFIG_XEN or CONFIG_X86_64_XEN set in the
> .config, but not CONFIG_XEN_PRIVILEGED_GUEST. This is part of the new
> support for Xen in make-kpkg.
Debian kernels (at least amd64 ones) have CONFIG_XEN but don't have
CONFIG_XEN_PRIVILEGED_GUEST in /boot/config-*. Users get really confused, when
using that config and make-kpkg results in a xenu package.
CONFIG_XEN_PRIVILEGED_GUEST seems to have been entirely removed, grep finds
files containing this only in the debian subdir.
Cheers, Adi
[signature.asc (application/pgp-signature, inline)]
Changed Bug submitter to 'Adrian Friedli <adi@koalatux.ch>' from '"Edward J. Shornock" <ed.shornock@gmail.com>'
Request was from Adrian Friedli <adi@koalatux.ch>
to control@bugs.debian.org.
(Sat, 31 Oct 2009 15:36:05 GMT) (full text, mbox, link).
Did not alter fixed versions and reopened.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 31 Oct 2009 15:36:07 GMT) (full text, mbox, link).
Reply sent
to Manoj Srivastava <srivasta@acm.org>:
You have taken responsibility.
(Sat, 31 Oct 2009 16:39:04 GMT) (full text, mbox, link).
Notification sent
to Adrian Friedli <adi@koalatux.ch>:
Bug acknowledged by developer.
(Sat, 31 Oct 2009 16:39:05 GMT) (full text, mbox, link).
Message #24 received at 551104-done@bugs.debian.org (full text, mbox, reply):
On Thu, Oct 29 2009, Adrian Friedli wrote:
> Hallo
>
> On Thursday 15 October 2009 21:57:27 Manoj Srivastava wrote:
>> It only does that if you have configured Xen in your .config
>> file. You probably have CONFIG_XEN or CONFIG_X86_64_XEN set in the
>> .config, but not CONFIG_XEN_PRIVILEGED_GUEST. This is part of the new
>> support for Xen in make-kpkg.
>
> Debian kernels (at least amd64 ones) have CONFIG_XEN but don't have
> CONFIG_XEN_PRIVILEGED_GUEST in /boot/config-*. Users get really
> confused, when using that config and make-kpkg results in a xenu
> package.
You think that users will be less confused with the image called
xen0-image? Because as soon as you have CONFIG_XEN or
CONFIG_X86_64_XEN set, you no longer get a linux-image.
>
> CONFIG_XEN_PRIVILEGED_GUEST seems to have been entirely removed, grep
> finds files containing this only in the debian subdir.
That will only be available if you have the XEN Dom0 patches
installed in your kernel source. You may create a DomU image fro
mainline kernel, but not a Dom0 image.
Please do not reopen this without explicitly stating what you
think the kernel-package problem is.
manoj
--
Jones' Motto: Friends come and go, but enemies accumulate.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Message #25 received at 551104-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hallo
On Saturday 31 October 2009 17:16:09 Manoj Srivastava wrote:
> > Debian kernels (at least amd64 ones) have CONFIG_XEN but don't have
> > CONFIG_XEN_PRIVILEGED_GUEST in /boot/config-*. Users get really
> > confused, when using that config and make-kpkg results in a xenu
> > package.
>
> You think that users will be less confused with the image called
> xen0-image? Because as soon as you have CONFIG_XEN or
> CONFIG_X86_64_XEN set, you no longer get a linux-image.
Ok. I just discovered that linux-image-* ships config in /boot/config-* which
don't match the kernel. I thought it was the config the kernel was actually
built with, so that is what caused my problem.
Cheers, Adrian
[signature.asc (application/pgp-signature, inline)]
Message #26 received at 551104-done@bugs.debian.org (full text, mbox, reply):
On Sun, Nov 01 2009, Adrian Friedli wrote:
> Hallo
>
> On Saturday 31 October 2009 17:16:09 Manoj Srivastava wrote:
>> > Debian kernels (at least amd64 ones) have CONFIG_XEN but don't have
>> > CONFIG_XEN_PRIVILEGED_GUEST in /boot/config-*. Users get really
>> > confused, when using that config and make-kpkg results in a xenu
>> > package.
>>
>> You think that users will be less confused with the image called
>> xen0-image? Because as soon as you have CONFIG_XEN or
>> CONFIG_X86_64_XEN set, you no longer get a linux-image.
>
> Ok. I just discovered that linux-image-* ships config in
> /boot/config-* which don't match the kernel. I thought it was the
> config the kernel was actually built with, so that is what caused my
> problem.
Hmm? Why does the config not match what the kernel was uil with?
This does seem like a bug. Can you provide some details, please?
manoj
--
"Everyone is entitled to an *informed* opinion." Harlan Ellison
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Message #27 received at 551104-done@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hallo
On Monday 02 November 2009 02:42:09 Manoj Srivastava wrote:
> Hmm? Why does the config not match what the kernel was uil with?
> This does seem like a bug. Can you provide some details, please?
I'm not sure anymore, is it possible to have CONFIG_XEN=y and be able to boot
it as a normal kernel?
Because my amd64 machine (but not my i386 one; both with default Debian
kernels) has CONFIG_XEN=y in /boot/config-*:
$ grep CONFIG_XEN= /boot/config-*
/boot/config-2.6.29-1-amd64:CONFIG_XEN=y
/boot/config-2.6.29-2-amd64:CONFIG_XEN=y
/boot/config-2.6.30-1-amd64:CONFIG_XEN=y
/boot/config-2.6.30-2-amd64:CONFIG_XEN=y
/boot/config-2.6.31-1-amd64:CONFIG_XEN=y
Cheers, Adi
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#551104; Package kernel-package.
(Fri, 06 Nov 2009 18:21:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Alan BRASLAU <alan.braslau@cea.fr>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(Fri, 06 Nov 2009 18:21:04 GMT) (full text, mbox, link).
Message #32 received at 551104@bugs.debian.org (full text, mbox, reply):
Yes, I am confused, too.
cp /boot/config-2.6.31-1-amd64 .config
make-kpkg --initrd --revision=custom.1.0 kernel_image
now generates linux-xenu-2.6.31_custom.1.0_amd64.deb
rather than linux-image-2.6.31_custom.1.0_amd64.deb
There is a bug somewhere, and most likely in the "new support for Xen in make-
kpkg" (unless linux-image-2.6.31-1-amd64 provides a wrong config file).
Thanks
Alan
Information forwarded
to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#551104; Package kernel-package.
(Thu, 12 Nov 2009 06:21:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Manoj Srivastava <srivasta@acm.org>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(Thu, 12 Nov 2009 06:21:02 GMT) (full text, mbox, link).
Message #37 received at 551104@bugs.debian.org (full text, mbox, reply):
Hi,
On Fri, Nov 06 2009, Alan BRASLAU wrote:
> Yes, I am confused, too.
>
> cp /boot/config-2.6.31-1-amd64 .config
> make-kpkg --initrd --revision=custom.1.0 kernel_image
>
> now generates linux-xenu-2.6.31_custom.1.0_amd64.deb rather than
> linux-image-2.6.31_custom.1.0_amd64.deb There is a bug somewhere, and
> most likely in the "new support for Xen in make- kpkg" (unless
> linux-image-2.6.31-1-amd64 provides a wrong config file).
The latter, I think. It adds in support for Xen DomU, and
kernel-package obliges. The only difference, at this point, is in the
name of the kernel image, it can be installed and used as a normal
kernel as well.
manoj
--
New crypt. See /usr/news/crypt.
Manoj Srivastava <srivasta@acm.org> <http://www.golden-gryphon.com/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Information forwarded
to debian-bugs-dist@lists.debian.org, Manoj Srivastava <srivasta@debian.org>:
Bug#551104; Package kernel-package.
(Thu, 12 Nov 2009 08:33:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Alan BRASLAU <alan.braslau@cea.fr>:
Extra info received and forwarded to list. Copy sent to Manoj Srivastava <srivasta@debian.org>.
(Thu, 12 Nov 2009 08:33:10 GMT) (full text, mbox, link).
Message #42 received at 551104@bugs.debian.org (full text, mbox, reply):
On Thursday 12 November 2009 06:56:24 Manoj Srivastava wrote:
> Hi,
>
> On Fri, Nov 06 2009, Alan BRASLAU wrote:
> > Yes, I am confused, too.
> >
> > cp /boot/config-2.6.31-1-amd64 .config
> > make-kpkg --initrd --revision=custom.1.0 kernel_image
> >
> > now generates linux-xenu-2.6.31_custom.1.0_amd64.deb rather than
> > linux-image-2.6.31_custom.1.0_amd64.deb There is a bug somewhere, and
> > most likely in the "new support for Xen in make- kpkg" (unless
> > linux-image-2.6.31-1-amd64 provides a wrong config file).
>
> The latter, I think. It adds in support for Xen DomU, and
> kernel-package obliges. The only difference, at this point, is in the
> name of the kernel image, it can be installed and used as a normal
> kernel as well.
>
Maybe... but how to do?
dpkg -i linux-xenu-2.6.31_custom.1.0_amd64.deb
installs /boot/xenu-linux-2.6.31
and this does not get included by grub.
Something has to be fixed so that a user following the standard instructions
installing a "custom" kernel does not run into trouble.
Alan
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 11 Dec 2009 07:28:09 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Mon Jun 5 00:47:44 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.