This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] Recompile for use as Xen host

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Recompile for use as Xen host
From: Hsing-Foo Wang <hsing-foo.wang@xxxxxxxxxxxxxxxx>
Date: Sun, 12 Jun 2005 10:53:15 +0200
Delivery-date: Sun, 12 Jun 2005 08:52:26 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

This is a nOOb question, I know, but still...

I know there are images out there, but I need to do this from scratch.

I have a CentOS3.5 server (modified) that I want to use as a Xen host. I have the kernel sources and compiling tools installed. I also have the original .config file for the CentOS machine.

According to the on-line Xen manual I can copy over the original .config file and issue: make ARCH=xen oldconfig. Then 'make dep' and 'make'. During the 'make ARCH...' command I get TONS of questions which by default are all set to no, but I do want Xen support :-) SO most of the questions I answered with 'm' (module).

Compilations aborts because smpboot.h can not be found. The symbolic link in the asm directory is missing, so I created it pointing to the i386 directory. Then compiling still halts at:

make[1]: Entering directory `/usr/src/xen-2.0/linux-2.4.30-xen0/arch/i386/kernel' gcc -D__KERNEL__ -I/usr/src/xen-2.0/linux-2.4.30-xen0/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=process -c -o process.o process.c
process.c: In function `machine_real_restart':
process.c:306: subscripted value is neither array nor pointer

And here is where I am stuck. I know that smp is not 'fully' supported yet or is it? Anyway my questions are:

- Am I following the right procedure, if not please advise with more detail.
- What does the above error mean and how to resolve it?
- Is there more info on creating a e.g. CentOS3.5 Xen-0 and Xen-U kernels?
- Should I quit trying ? ;-)

Just trying to get started with Xen and need some help/hints/tips.



Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>