Madwifi-ng Recent Builds

Kel Modderman kelrin at tpg.com.au
Thu Mar 30 20:15:39 UTC 2006


Ian MacDonald wrote:
> Hey there,
>
> Recent kernels I am building are failing to install the madwifi-ng
> modules .deb due to some incorrect dependency information.
>
> My madwifi-ng kernel is a little unusual, in that it for a machine
> running Xen architecture.  Anyhow, it used to work fine, so I am
> assuming something recently changed.
>
> My make-kpkg command is 
>
> fakeroot make-kpkg --added_patches xen --arch=xen --config menuconfig
> --append-to-version=.6-xen kernel_image modules_image
>
> 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
>
> Previously, until my update of madwifi-ng-source today, the
> modules_image looked like:
>
> madwifi-ng-modules-2.6.12.6-xen_0.9.0+svn1401-2+12.6_i386.deb
>   


I changed the version number of the package, no big deal here . . .


> Normally a dpkg -i installs both the kernel_image and modules_image
> without problems, however somewhere between svn 1401 (which works fine)
> and svn1486 something broke.  Now I get the following error.
>
> 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# 
>
> I suppose my next step is to try and compare the new source to the old
> source to try and find the problem.  I believe Xen0 is the sub-arch
> (there is also xenu), however building with --sub-arch=xen0 makes no
> difference.
>
> Any help appreciated.
>   


Its because of the name of your kernel, 
(kernel-xen0-2.6.12.6-xen_12.6_i386.deb), madwifi-ng expects to see 
linux-image-_KVERS_ | kernel-image -_KVERS_ to install properly.  I do 
not know anything about these xen kernels, pehaps i should take a closer 
look at the names given to the various arch/flavours produced by the 
debian kernel source, or consider dropping the strict dependency (in 
control.modules.in) if there will be no consistency in naming.
> My source is 
> deb http://debian.tu-bs.de/project/kanotix/experimental/ experimental
> non-free
>
> cheers,
> Ian.
>
>   

Is that an official kernel? Or was it built using kernel-package? why 
isn't it named "kernel-image-xen0-2.6.12.6-xen_12.6_i386.deb" or 
"linux-image-*"?

Thanks, Kel.



More information about the Pkg-madwifi-maintainers mailing list