[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-devel] compile problem
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_open_class_device'
iscsi-id.c:94: error: too few arguments to function `sysfs_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 (debian version is 1.1.0-1)
'make ARCH=xen' seems to do the right thing, but 'make ARCH=xen 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 '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', the 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 enabling device drivers in an unprivileged kernel?
i'll get there eventually!
thanks
James
From: Ian Pratt Sent: Fri 20/08/2004 4:34 PM To: James Harper Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx; Ian.Pratt@xxxxxxxxxxxx Subject: Re: [Xen-devel] compile problem > I'm just trying to compile linux-iscsi-4.0.1 and it complains that it can't find arch/i686/Makefile within the linux kernel tree. The makefile defines the architecture as: > > ARCH:=$(shell uname -m) > > which on my system gives i686, not xen. > > Is xen or linux-iscsi not doing the right thing here? It's you that's not doing the right thing ;-) Edit the KDIR entry in the iscsi Makefile to point at the top of your linux-2.6.7-xen0 source tree and then issue "make ARCH=xen". You'll need to enable CRYPTO, MD5 and CRC32C in your xen0 config file first. Ian -=- MIME -=- --_32C78F61-E48A-4108-A6B0-646DCE7DA88F_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I'm just trying to compile linux-iscsi-4.0.1 and it complains that it can't= find arch/i686/Makefile within the linux kernel tree. The makefile defines= the architecture as: ARCH:=3D$(shell uname -m) which on my system gives i686, not xen. Is xen or linux-iscsi not doing the right thing here? I think probably the = ARCH test should be skipped if I have specified it as an environment variab= le... James --_32C78F61-E48A-4108-A6B0-646DCE7DA88F_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <HTML dir=3Dltr><HEAD></HEAD> <BODY> <DIV><FONT face=3DArial color=3D#000000 size=3D2>I'm just trying to compile= linux-iscsi-4.0.1 and it complains that it can't find arch/i686/Makefile w= ithin the linux kernel tree. The makefile defines the architecture as:</FON= T></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>ARCH:=3D$(shell uname -m)</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>which on my system gives i686, not xen.</F= ONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Is xen or linux-iscsi not doing the right = thing here? I think probably the ARCH test should be skipped if I have spec= ified it as an environment variable...</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>James</FONT></DIV></BODY></HTML> --_32C78F61-E48A-4108-A6B0-646DCE7DA88F_-- ------------------------------------------------------- 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel Attachment:
nohup.out
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |