|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Probs compiling open-iscsi and on xen-3.2.1 fedora-core8
Hi,
i try to compile open-iscsi on a system running a self-compiled xen3.2.1, but
it failed.
I think the problem is that xen3.2.1 uses two directories for building the xen-
and linux kernel.
The first directory contains only the vanilla linux-2.6.18.8 sources -
the other one (xen-3.2.1/build-linux-2.6.18-xen_x86_64) the objectfiles and
(copied ?) c-files ...
If i try to install open-iscsi like
wget http://www.open-iscsi.org/bits/open-iscsi-2.0-869.tar.gz
#
tar xfvz open-iscsi-2.0-869.tar.gz
cd open-iscsi-2.0-869
make KSRC=/root/xen-3.2.1/xen3.2.1/build-linux-2.6.18-xen_x86_64
# or make
# or make install
# or make KSRC=/root/xen-3.2.1/linux-2.6.18-xen.hg
i got something like
make[1]: Leaving directory `/root/open-iscsi-2.0-869/usr'
make -C kernel
make[1]: Entering directory `/root/open-iscsi-2.0-869/kernel'
make[1]: *** No rule to make target `linux_2_6_', needed by `kernel_check'.
Stop.
make[1]: Leaving directory `/root/open-iscsi-2.0-869/kernel'
make: *** [all] Error 2
If i manually correct this problem by changing kernel/Makefile, i got the next
error:
make[1]: Entering directory `/root/open-iscsi-2.0-869/kernel'
make -C /root/xen-3.2.1/xen-3.2.1/build-linux-2.6.18-xen_x86_64/ M=`pwd`
KBUILD_OUTPUT= V=0 modules
make[2]: Entering directory
`/root/xen-3.2.1/xen-3.2.1/build-linux-2.6.18-xen_x86_64'
make -C /root/xen-3.2.1/linux-2.6.18-xen.hg
O=/root/xen-3.2.1/xen-3.2.1/build-linux-2.6.18-xen_x86_64 modules
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
WARNING: Symbol version dump
/root/xen-3.2.1/linux-2.6.18-xen.hg/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /root/open-iscsi-2.0-869/kernel/scsi_transport_iscsi.o
cc1: error: include/linux/autoconf.h: No such file or directory
In file included from include/linux/sched.h:4,
from include/linux/module.h:9,
from /root/open-iscsi-2.0-869/kernel/scsi_transport_iscsi.c:23:
The problem is, that the new xen-3.2.x directory structure does not match the
directory-structure requirements
for open-iscsi...
Is there a way to compile it anyway ?
Here is the HOWTO to compile xen-3.2.1 (inherited from
http://lists.xensource.com/archives/html/xen-users/2008-01/msg00699.html). Maybe
someone who has more knowledge can try to compile open-iscsi against xen3.2.x:
yum install hgsvn
mkdir tmp
cd tmp
hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg
wget http://bits.xensource.com/oss-xen/release/3.2.1/xen-3.2.1.tar.gz
tar xfvz xen-3.2.1.tar.gz
cd xen-3.2.1
make prep-kernels
cp -av /boot/config-my-old-config build-linux-2.6.18-xen_x86_64/.config
make -j7 dist
make -j7 linux-2.6-xen-build
make -j7 install
make linux-2.6-xen-install
depmod 2.6.18.8-xen
mkinitrd /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen
# and modifiy /boot/grub/menu.lst like described in the xen-3.2.1/README
# and now ? compile open-iscsi (-: ...
regards
Danny
-------------------------------------------------------------------
DT Netsolution GmbH - Taläckerstr. 30 - D-70437 Stuttgart
Geschäftsführer: Daniel Schwager, Stefan Hörz - HRB Stuttgart 19870
Tel: +49-711-849910-32, Fax: -932 - Mailto:daniel.schwager@xxxxxxxx
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] Probs compiling open-iscsi and on xen-3.2.1 fedora-core8,
Daniel Schwager <=
|
|
|
|
|