From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harper Subject: (no subject) Date: Fri, 20 Aug 2004 22:09:39 +1000 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: <90C1CD33-AC5B-41B7-AECF-69A520030CF3@mimectl> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_C673F27D-6288-4501-88E3-B47D3EB24355_" Return-path: content-class: urn:content-classes:message Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: "xen-devel@lists.sourceforge.net" List-Id: xen-devel@lists.xenproject.org --_C673F27D-6288-4501-88E3-B47D3EB24355_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 It's actually xenU I want to test it in (but compiling under xen0), and a m= ake says this: Note: using kernel source from /lib/modules/2.6.7-xen0/build containing kernel version 2.6.7 Note: using kernel config from /boot/config-2.6.7-xen0 So i set TOPDIR too, and also had to patch iscsi-id.c to fix these two erro= rs: iscsi-id.c:90: error: too few arguments to function `sysfs_open_class_devic= e' iscsi-id.c:94: error: too few arguments to function `sysfs_open_class_devic= e' by changing the calls to sysfs_open_class_device_path. hope that's the righ= t thing to do. I must have a different version of sysfs (debian version is = 1.1.0-1) 'make ARCH=3Dxen' seems to do the right thing, but 'make ARCH=3Dxen install= ' says: Installing iSCSI driver for Linux 2.6.7-xen0 doh! then I replaced all occurences of 'shell uname -r' in the makefile with 'sh= ell echo 2.6.7-xenU' and it compiles finally. The only problem is that I just did a bk pull and = enabled SCSI in xenU, and now the kernel won't compile. i've attached the o= utput of 'make linux26' (but it got rejected so i'm posting it without), th= e errors are to do with undefined references to 'direct_remap_area_pages'. = Do you think that it is to do with the latest bk pull or to do with me enab= ling device drivers in an unprivileged kernel? i'll get there eventually! thanks James --_C673F27D-6288-4501-88E3-B47D3EB24355_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 =20
It'= s actually xenU I want to test it in (but compiling under xen0), and a make= says this:
 
Note: using kernel source from /= lib/modules/2.6.7-xen0/build containing
kernel version 2.6.7
 
Note: using kernel config from /= boot/config-2.6.7-xen0
 
So i set TOPDIR too, and also had to patch iscsi-id.c to fix= these two errors:
 
iscsi-id.c:90: error: too few arguments to function `sysfs_o= pen_class_device'
iscsi-id.c:94: error: too few arguments to function `s= ysfs_open_class_device'
by changing the calls to sysfs_open_class_device_path. hope = that's the right thing to do. I must have a different version of sysfs (deb= ian version is 1.1.0-1)
 
'make ARCH=3Dxen' seems to do the right thing, but 'make ARC= H=3Dxen install' says:
 
Installing iSCSI driver for Linux 2.6.7-xen0
doh!
 
then I replaced all occurences of 'shell uname -r' in the ma= kefile with 'shell echo 2.6.7-xenU'
 
and it compiles finally. The only problem is that I just did= a bk pull and enabled SCSI in xenU, and now the kernel won't compile. i've= attached the output of 'make linux26' (but it got rejected so i'm posting = it without), the errors are to do with undefined references to 'direct_rema= p_area_pages'. Do you think that it is to do with the latest bk pull or to = do with me enabling device drivers in an unprivileged kernel?
 
i'll get there eventually!
 
thanks
 
James
 
--_C673F27D-6288-4501-88E3-B47D3EB24355_-- ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285