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/
Home Products Support Community News


[Xen-users] Compiling unmodified_drivers on debian 4.0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Compiling unmodified_drivers on debian 4.0
From: Joakim Jalakas <joakim.jalakas@xxxxxxxxx>
Date: Mon, 23 Feb 2009 18:22:52 +0100
Delivery-date: Mon, 23 Feb 2009 09:23:39 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ro9OEZj3N31mhr3HZ9T97IrEXFOWjG9Bh4zbMLk+EpY=; b=a3/TUwMCKZGy4tig+IsX7sFASzD8lmgE5mfkPDffw078VKW+mwHWXEBj0xYF3hU6lJ 6A/LlxYsw1IVjOWWslTRD8/ujvwthJdE89lrj9K149d1VBDzQJe6OUkZqvjhgBKspYDS eMXqtHjMblHnZ7kfvV0ULEVp2q5WwamOpWq14=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ft4NBmsJqUYVbx9cFgv9KLfLhs/cUFVPl6ebVMHWXEzR8r7RzlAf0dGZmZJuMNLl2E FQljg3DVCnuS86pmk3ymEL5t2Rg+i7DH3fXU69mDXLB43wDKXbf/gnP7KQWLu4j3UKdq gSfy6yRhVvgx+MuWSN2yQCN5/XXJwW97B7hAU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

I'm trying to compile the unmodified_drivers from the xen source archive (and this to be able to use the paravirtualized drivers on a HVM-machine (really only need the network-driver)) and no matter what i try it fails...

This is what i'm trying to do:
~/xen-3.3.1/unmodified_drivers/linux-2.6# XL=/usr/src/linux-headers-2.6.18-6-xen/ ./mkbuildtree
~/xen-3.3.1/unmodified_drivers/linux-2.6# make -C /usr/src/linux-headers-2.6.18-6-686/ M=$PWD modules

And this is how it breaks:

Defaulting to this machine's architecture, i686, for linking.
This may be overridden on the command line (i386,x86_64,ia64).
Xen tree: /root/xen-3.3.1/xen
Linux tree: /usr/src/linux-headers-2.6.18-6-xen-686

make: Entering directory `/usr/src/linux-headers-2.6.18-6-686'
make[2]: *** No rule to make target `/root/xen-3.3.1/unmodified_drivers/linux-2.6/balloon/balloon.o', needed by `/root/xen-3.3.1/unmodified_drivers/linux-2.6/balloon/xen-balloon.o'.  Stop.
make[1]: *** [/root/xen-3.3.1/unmodified_drivers/linux-2.6/balloon] Error 2
make: *** [_module_/root/xen-3.3.1/unmodified_drivers/linux-2.6] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.18-6-686'

Im compiling this on the HVM domU running debian 2.6.18-6-686 #1 SMP but i get the same errors if i try compiling on dom0. I have also tried older versions of xen source (3.0.3 and 3.0.4_1) and some older versions of the kernel-headers. I get a different breakage but it still breaks.

Anyone know what i'm doing wrong?

Thanks (i'm tired and english is not my native language - so please exuse me there :)

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Compiling unmodified_drivers on debian 4.0, Joakim Jalakas <=