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' (but it got rejected so i'm posting it without), 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