[Pkg-xen-devel] kernel-image naming with Xen

Ian MacDonald imac at netstatz.com
Thu Mar 30 21:41:08 UTC 2006


Hey there,

Earlier today I went to rebuild a Xen0 kernel and my modules_image
failed with an error based on the fact that my Xen0 image did not have
the standard kernel-image-XXX/linux-image-XXX name format. The error
output is at the bottom of this email. Previously it had worked fine,
only recently the maintainer (Kel) of the module source added some
restrictions to modules.control.in to look for a valid 'image'.

I use the following make-kpkg for my Xen0 kernel:

fakeroot make-kpkg --added_patches xen --sub-arch=xen0 --arch=xen \
--config oldconfig --append-to-version=.6-xen kernel_image modules_image

My kernel-pkg.cfg is now at 12.6, so today it produced:

     kernel-xen0-2.6.12.6-xen_12.6_i386.deb
     madwifi-ng-modules-2.6.12.6-xen_0.svnr1486.20060328-1+12.6_i386.deb

Recently the madwifif-ng-source package maintainer added some additional
validation for a kernel-image-XXX or linux-image-XXX dependency, hence
the new error.

It raises the question, should Xen kernels not be in the format
kernel-image-xen0-XXX
kernel-image-xenu-XXX

(Or linux-image for Etch+)

Perhaps, I am not using make-kpkg correctly here; Or there is a good
explanation why the 'image' is left out.

According to the maintainer, it looks like I can just relax the
control.modules.in for madwifi-ng, however I am not sure that the name
for the Xen kernel should not change to reflect that it is indeed the
'image'.

thanks,
iMac

-- Error Output from dpkg -i:

root@/usr/src# dpkg -i
madwifi-ng-modules-2.6.12.6-xen_0.svnr1486.20060328-1+12.6_i386.deb 
(Reading database ... 62830 files and directories currently installed.)
Preparing to replace madwifi-ng-modules-2.6.12.6-xen
0.svnr1486.20060328-1+12.6 (using
madwifi-ng-modules-2.6.12.6-xen_0.svnr1486.20060328-1+12.6_i386.deb) ...
Unpacking replacement madwifi-ng-modules-2.6.12.6-xen ...
dpkg: dependency problems prevent configuration of
madwifi-ng-modules-2.6.12.6-xen:
 madwifi-ng-modules-2.6.12.6-xen depends on linux-image-2.6.12.6-xen |
kernel-image-2.6.12.6-xen; however:
  Package linux-image-2.6.12.6-xen is not installed.
  Package kernel-image-2.6.12.6-xen is not installed.
dpkg: error processing madwifi-ng-modules-2.6.12.6-xen (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 madwifi-ng-modules-2.6.12.6-xen
root@/usr/src# 

-- Xen Package Information:
Debian Sarge / Vanilla 2.6.12 with Xen Patches

ii  libxen-python               3.0.1-0tha6          
ii  libxen3.0                   3.0.1-0tha6          
ii  linux-patch-xen             3.0.1-0tha6          
ii  xen                         3.0.1-0tha6          
ii  xen-docs                    3.0.1-0tha6          
ii  xen-hypervisor-3.0          3.0.1-0tha6          
ii  xen-utils-3.0               3.0.1-0tha6 




More information about the Pkg-xen-devel mailing list