From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: Re: KVM for Linux 2.6.16? Date: Thu, 09 Jul 2009 20:49:18 +0300 Message-ID: <1247161758.28820.40.camel@localhost.localdomain> References: <0199E0D51A61344794750DC57738F58E67D4F30729@GVW1118EXC.americas.hpqcorp.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-X13ZqzWkbqtxcXJ6SgM+" Cc: "kvm@vger.kernel.org" To: "Fischer, Anna" Return-path: Received: from bavaria.utcluj.ro ([193.226.5.35]:51026 "EHLO bavaria.utcluj.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752779AbZGIRth (ORCPT ); Thu, 9 Jul 2009 13:49:37 -0400 In-Reply-To: <0199E0D51A61344794750DC57738F58E67D4F30729@GVW1118EXC.americas.hpqcorp.net> Sender: kvm-owner@vger.kernel.org List-ID: --=-X13ZqzWkbqtxcXJ6SgM+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2009-07-09 at 16:49 +0000, Fischer, Anna wrote: > Hi, I am trying to compile the kvm-87 module for Linux 2.6.16. I thought = that it has been back-ported to such an old kernel. However, I don't seem t= o be able to compile the module on my kernel. I get the following error: >=20 > CC tsc2005.o > CC scsi-disk.o > CC cdrom.o > CC scsi-generic.o > CC usb.o > CC usb-hub.o > CC usb-linux.o > In file included from usb-linux.c:41: > /usr/include/linux/usbdevice_fs.h:49: error: expected ':', ',', ';', '}' = or '__attribute__' before '*' token > /usr/include/linux/usbdevice_fs.h:56: error: expected ':', ',', ';', '}' = or '__attribute__' before '*' token > /usr/include/linux/usbdevice_fs.h:66: error: expected ':', ',', ';', '}' = or '__attribute__' before '*' token > /usr/include/linux/usbdevice_fs.h:100: error: expected ':', ',', ';', '}'= or '__attribute__' before '*' token > /usr/include/linux/usbdevice_fs.h:116: error: expected ':', ',', ';', '}'= or '__attribute__' before '*' token > usb-linux.c: In function 'async_complete': > usb-linux.c:271: error: 'struct usbdevfs_urb' has no member named 'actual= _length' > usb-linux.c: In function 'usb_host_handle_data': > usb-linux.c:464: error: 'struct usbdevfs_urb' has no member named 'buffer= ' > usb-linux.c:465: error: 'struct usbdevfs_urb' has no member named 'buffer= _length' > usb-linux.c:471: error: 'struct usbdevfs_urb' has no member named 'number= _of_packets' > usb-linux.c:472: error: 'struct usbdevfs_urb' has no member named 'iso_fr= ame_desc' > usb-linux.c:478: error: 'struct usbdevfs_urb' has no member named 'userco= ntext' > usb-linux.c: In function 'usb_host_handle_control': > usb-linux.c:598: error: 'struct usbdevfs_urb' has no member named 'buffer= ' >=20 >=20 > Is KVM not supposed to work on 2.6.16? Hi Anna, I'm afraid that I have some bad news for you. Usually KVM versions are tailored to kernel versions contemporary with them. Version 87 is supposed to need 2.6.26 kernels and newer, IIRC. So for your 2.6.16 you should try some of the incipient KVM versions, and if you are lucky enough, they might work. Anyway, are you so tied to that specific kernel version? Regards, Cristi --=20 Ing. Cristi M=C4=83gheru=C8=99an, System/Network Engineer Technical University of Cluj-Napoca, Romania http://cc.utcluj.ro +40264 401247 --=-X13ZqzWkbqtxcXJ6SgM+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpWLZ4ACgkQfwrBISYVZFV+AgCfcyTymddlWgOZKbcUTMZ+BEy2 rpUAn3O2Aydi5DXOQrmk8MYUnkaO2euC =dIwf -----END PGP SIGNATURE----- --=-X13ZqzWkbqtxcXJ6SgM+--