Your message dated Tue, 13 Oct 2009 06:17:10 +0000
with message-id <[email protected]>
and subject line Bug#508487: fixed in kernel-package 12.022
has caused the Debian Bug report #508487,
regarding kernel-package: Fails to build Xen kernel packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
508487: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508487
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 11.015
Severity: normal

I am trying to compile a custom Xen enabled kernel using the Debian
kernel sources (linux-source-2.6.26) and the Debian patches
(linux-patch-debian-2.6.26). The patches are applied using the command
/usr/src/kernel-patches/all/2.6.26/apply/debian -a i386 -f xen. After
that the kernel is configured for Xen (i.e. CONFIG_X86_XEN=y). Trying to
build the kernel_image target with make-kpkg does not work, apparently
make-kpkg tries to use the bzImage target for the kernel which does not
work for Xen.

I modified the i386.mk makefile a bit:

--- ruleset/arches/i386.mk.orig 2008-10-09 21:20:00.000000000 +0200
+++ ruleset/arches/i386.mk      2008-12-11 17:33:09.000000000 +0100
@@ -64,10 +64,14 @@
     kelfimagesrc = vmlinux
     kelfimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(KERNELRELEASE)
   else
+    target = vmlinux
+    kimagesrc = vmlinux
     kelfimagesrc = vmlinux
     ifeq ($(strip $(CONFIG_XEN_PRIVILEGED_GUEST)),)
+      kimagedest = $(INT_IMAGE_DESTDIR)/xenu-linux-$(KERNELRELEASE)
       kelfimagedest = $(INT_IMAGE_DESTDIR)/xenu-linux-$(KERNELRELEASE)
     else
+      kimagedest = $(INT_IMAGE_DESTDIR)/xen0-linux-$(KERNELRELEASE)
       kelfimagedest = $(INT_IMAGE_DESTDIR)/xen0-linux-$(KERNELRELEASE)
     endif
     int_install_vmlinux:=YES

(This is probably not the most elegant solution, I did not look into any other
files, so maybe this is horribly wrong and breaks something else. Also, I set
the kimagedest variable to the same as kelfimagedest, without I ended up with
two kernel images in the package. However, setting the target to vmlinux is
required.)

With these changes xenu and xen0 kernel packages are built successfully, as
well as unpatched kernels (even unpatched kernels with Xen domU support). Note,
however, that I have not been able to actually run the kernels, the packages do
look ok though. Also, I did not check if it works with other kernel sources
(e.g. upstream ones).

Regards,
Stefan Goebel

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-lenny.2.6.26-vmware.minimal.0 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  bcc [c-compiler]    0.16.17-3            16-bit x86 C compiler
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  debianutils         2.30                 Miscellaneous utilities specific t
ii  dpkg                1.14.23              Debian package management system
ii  dpkg-dev            1.14.23              Debian package development tools
ii  file                4.26-1               Determines file type using "magic"
ii  gcc [c-compiler]    4:4.3.2-2            The GNU C compiler
ii  gcc-4.3 [c-compiler 4.3.2-1              The GNU C compiler
ii  gettext             0.17-4               GNU Internationalization utilities
ii  make                3.81-5               The GNU version of the "make" util
ii  module-init-tools   3.4-1                tools for managing Linux kernel mo
ii  perl                5.10.0-18            Larry Wall's Practical Extraction 
ii  po-debconf          1.0.15               manage translated Debconf template
ii  util-linux          2.13.1.1-1           Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.7-16     GNU C Library: Development Librari

Versions of packages kernel-package suggests:
pn  docbook-utils             <none>         (no description available)
ii  e2fsprogs                 1.41.3-1       ext2/ext3/ext4 file system utiliti
pn  libdb3-dev                <none>         (no description available)
ii  libncurses5-dev [libncurs 5.6+20080830-2 developer's libraries and docs for
pn  linux-initramfs-tool      <none>         (no description available)
ii  linux-source-2.6.26 [linu 2.6.26-11      Linux kernel source for version 2.
pn  xmlto                     <none>         (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: kernel-package
Source-Version: 12.022

We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:

kernel-package_12.022.dsc
  to pool/main/k/kernel-package/kernel-package_12.022.dsc
kernel-package_12.022.tar.gz
  to pool/main/k/kernel-package/kernel-package_12.022.tar.gz
kernel-package_12.022_all.deb
  to pool/main/k/kernel-package/kernel-package_12.022_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Manoj Srivastava <[email protected]> (supplier of updated kernel-package 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Tue, 13 Oct 2009 00:58:12 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 12.022
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Description: 
 kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 508487 548058
Changes: 
 kernel-package (12.022) unstable; urgency=low
 .
   *
   * [c526081]: Fix problems with building Xen kernel image packages
     Simplify the arch rules for Xen packages, and make sure that the
     names of the packages are sane as well.
     Bug fix: "Fails to build Xen kernel packages", thanks to Stefan Goebel
                                                          (Closes: #508487).
     Bug fix: "amd64.mk contains obvious typo &quot;kelfimagesrc&quot; in
     place of &quot;kelfimagedest&quot;", thanks to John Hughes
                                                          (Closes: #548058).
Checksums-Sha1: 
 f6bb3b21f7b63f9c7618cfc5b946adc51aac20fe 911 kernel-package_12.022.dsc
 c9cd197541660375a75de3f37ba323b511101a90 535252 kernel-package_12.022.tar.gz
 e6a9d5269a2a57f9c0c87170dac6fe84996630e8 484610 kernel-package_12.022_all.deb
Checksums-Sha256: 
 3a77da656fefb50755c1550be989b3970430c1f2710e0d6862b5f605549a7fb9 911 
kernel-package_12.022.dsc
 d21ce878330c2ff5949e72721b405aba0fcc516fa731b3d79ccacf933d6e5ceb 535252 
kernel-package_12.022.tar.gz
 4e30b2ec14108e7380d0441c6b5c0e6affffdad05e3690da6213cffbab005c32 484610 
kernel-package_12.022_all.deb
Files: 
 37568435aac4173efb702c51d48920a4 911 kernel optional kernel-package_12.022.dsc
 b143e6c8de7febd0ae35f95bb9e2a048 535252 kernel optional 
kernel-package_12.022.tar.gz
 9d26cb349f076e07ba9ad818ab033ede 484610 kernel optional 
kernel-package_12.022_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14-svn0 (GNU/Linux)

iEYEAREDAAYFAkrUGpwACgkQIbrau78kQkxvAgCg3gjHnFDMZQt6HwqdC/V5bBrt
LUsAn1zky23yX3OoJ9BAjSZv0irXiVSp
=9qOy
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to