Jean Daniel
2007-Jul-29 21:15 UTC
[Pkg-xen-devel] xen kernel headers, new kernel modules with a-i
Hello Pkg-xen-devel list, I am running lenny with xen-linux-system-2.6.18-4-xen-686 (xen 3.0.3) installed. I'd like to put this server in the cupboard and access it via wifi. To build the wifi kernel module, it should hopefully go like this : apt-get install madwifi-source madwifi-tools m-a a-i madwifi modprobe ath_pci ... Except that I do not have the sources nor the headers of my kernel. "apt-get source xen-linux-system-$(uname -r)" copied linux-2.6-2.6.21{,6.diff.gz,6.dsc,orig.tar.gz} in my home dir, but "m-a a-i madwifi -k linux-2.6-2.6.21" would not work any better... I read (ok, grepped) the last year of the mailing list archive without much results. How can one do to install the madwifi kernel modules on a debian xen kernel? Thank you
Henning Sprang
2007-Jul-30 09:01 UTC
[Pkg-xen-devel] xen kernel headers, new kernel modules with a-i
Jean Daniel wrote:> [...] > apt-get install madwifi-source madwifi-tools > m-a a-i madwifi > modprobe ath_pci ... > > Except that I do not have the sources nor the headers of my kernel. > > "apt-get source xen-linux-system-$(uname -r)" copied > linux-2.6-2.6.21{,6.diff.gz,6.dsc,orig.tar.gz} in my home dir, but > "m-a a-i madwifi -k linux-2.6-2.6.21" would not work any better...I have troubles to follow the last paragraph - you should not need to do any apt-get source and whatever when using m-i, or did I get something wrong? Still, _normally_ it should work with just m-a a-i madwifi, right. But you run a kernel that's hopelessly outdeated in lenny, and currently, as there exist no Kernel patches for Kernels > 2.6.20, there is in fact no Xen kernel in Debian lenny and unstable at the moment. So, you are out of luck.> I read (ok, grepped) the last year of the mailing list archive without > much results. > > How can one do to install the madwifi kernel modules on a debian xen kernel?Maybe wait until the Xen developers have their (hopefully sometimes complete, currently there is only domU support, and many important features missing) stuff in upstream finally, and then use this kernel with the "normal", included wifi drivers? Henning
Henning Sprang
2007-Jul-30 11:15 UTC
[Pkg-xen-devel] xen kernel headers, new kernel modules with a-i
Jean Daniel wrote:>>> "apt-get source xen-linux-system-$(uname -r)" > >> you should not need to do >> any apt-get source and whatever when using m-i, > > The "m-a a-i" part needs the kernel sources or kernel headers. Since I > installed the debian xen binary package, the sources are not > installed.But m-a takes care of that himself, no need tfor you to call apt-get spurce, AFAIK.> > The kernel headers exist for vserver, but there seems to be no kernel > headers for xen ... It seems incomplete that the debian xen kernel > package exists without the sources, though! It is unexpected to > request the 2.6.18 sources but obtain the sources of 2.6.21.Yes, maybe - I don't know why that happened. Maybe also because there just isn't any 2.6.18 kernel, neither in lenny, nor in unstable, nor in sarge:> > I put the following in my sources.list > deb http://ftp.fr.debian.org/debian/ sarge main non-free contrib > deb-src http://ftp.fr.debian.org/debian/ sarge main non-free contrib > > "aptitude search xen | grep header" returns nothingYes, because you use sarge - you want Etch!> PS: why my message do not appear in the alioth mailing list archive? > Do I need to get approved first?Your messages come through to the list (and please keep including the list in your mails). Henning
Jean Daniel
2007-Jul-31 10:18 UTC
[Pkg-xen-devel] xen kernel headers, new kernel modules with a-i
> But m-a takes care of that himself, no need tfor you to call apt-get > spurce, AFAIK.My sources.list were pointing to lenny while I had an etch installed. Once fixed: - m-a takes care of the kernel headers transparently, - madwifi compiles and loads fine, - wpasupplicant is a breeze to configure thans to the debian wiki. Thank you, I am a happy camper.