WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen and madwifi

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xen and madwifi
From: "john maclean" <jayeola@xxxxxxxxx>
Date: Sun, 26 Nov 2006 15:30:17 +0000
Delivery-date: Sun, 26 Nov 2006 07:30:32 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A4Kspu1sarDceAZXkeUy6ENOc5Z2630h+pQ4pUqDysm2VlMVplcQOPi/bs5Kdjb2sZODnAeVsEMaJ6N7oc68o5lL5mRwSI0Tp47BJ/zLAUfnVgzyhYZB8sTsh2nazkIIUHqWS4iZnbsjwANHmuZEqTuofBSKZ2jcq+7iUGA0OaU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <dca824fc0611260404p68407793pd7ff2853324a95f2@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <dca824fc0611250537x4aad970cpf8a4c351f3a6b337@xxxxxxxxxxxxxx> <1164465483.14311.323.camel@tower> <dca824fc0611260404p68407793pd7ff2853324a95f2@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
For what it's worth madwifi works for me on 3.0.2. `make && make
install` built stuff within 3/4 minutes. I was able to slap the card
in and start using it. I build xen from source with `make world &&
make install` then I run

` make linux-2.6-xen-config CONFIGMODE=menuconfig && make
linux-2.6-xen-build && make linux-2.6-xen-install`.

Admitedly it takes a loooong time but it works for me on all of the
machines that I have

On 26/11/06, Jan Bernatik <jan.bernatik@xxxxxxxxx> wrote:
hi,

I am still confused by that case. I am still missing arch/xen
directory in my linux-2.6.16.29-xen kernel source tree. After I run
make world, it was not present, as I mentioned above. So after reading
your post, I did cd linux-2.6.16.29-xen, make menuconfig. I could see
"processor type and features" -> "subarchitecture type" -> "xen
compatible", so I guess SOME patches have to be applied in this stage.
But after make, nothing changed, directory arch/xen still not present.
I expeceted that, because I don't think that if arch/xen directory is
not present, it will be created by make. I studied root directory
makefile a bit, and tried make mkpatches. It created
linux-2.6-xen.patch file in xen root directory. Should I apply this
patch manually somehow, to modify vanilla linux kernel source tree ?
Could you please tell me when exactly is vanilla kernel (downloaded
from kernel.org) patched by xen patches ?

What I thought about make process, is that:
I download xen sources, which includes xen patches to appropriate
vailla kernel, xen daemod, tools, and docs.
I run make world, which downloads appropriate vanilla kernel, APPLY
XEN PATCHES to it, and compiles it with some pre-configured setup,
then compiles xend, tools, and creates docs.
The I run sh ./install.sh, which  copies content od dist directory to
appropriate system directories.

but obviously, I miss something, because that's not exactly what
happened, because I don't see xen architectur added to vanilla kernel
tree, so I cannot use ARCH=xen option to make command, to compile
madwifi driver for xen domain 0.

thanks, I really feel like an idiot, being unable to make any progress.

J.

On 11/25/06, Tim Post <tim.post@xxxxxxxxxxxxxxx> wrote:
> On Sat, 2006-11-25 at 14:37 +0100, Jan Bernatik wrote:
> > hi all,
>
> > I saw some posts saying that madwifi is working with xen, so I am
> > curious what am I doing wrong.
> >
> > thanks, have a nice day
> >
> > J.
> >
>
> If you go to /xen-3.0.3/linux-2.6.16.29-xen/ and run a make menuconfig
> you'll be on familiar territory. From there a make, make modules_install
> and make install will handle the rest. /lib/modules/2.6.16.29-xen will
> look as it should after you do that and you can build your modules. This
> should have already happened when you built from source, so double check
> to be sure you have needed packages installed. Something didn't go
> right :)
>
> With Xen, building from source is the best way to install, especially
> with all of the changes in dependency packages .. sometimes they take a
> while to perk their way through the binary packages on various distros.
>
> Just remember, 2.6.16.29-xen is just like any other kernel.org kernel,
> with the addition of the xen patches. You are encouraged to (and should)
> play with it :)
>
> HTH
>
> -Tim
>
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



--
John Maclean  - 07739 171 531
MSc (DIC)

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>