Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD v70/amd64 and XEN v45 troubles



El 31/10/15 a les 9.15, Mayuresh ha escrit:
> On Wed, Oct 21, 2015 at 01:39:31PM +0200, Ib-Michael Martinsen wrote:
>> I was able to build and boot a kernel with the above configuration,
> 
> I am at much early stage. On NetBSD 7.0 i386 I am not able to compile
> xenkernel45:
> 
> Did you not face the below error?
> 
> /usr/pkg/bin/gmake -f
> /mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen/Rules.mk -C
> arch/x86 asm-offsets.s
> gmake[2]: Entering directory
> '/mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen/arch/x86'
> gmake[2]: *** No rule to make target 'x86_32/asm-offsets.c', needed by
> 'asm-offsets.s'.  Stop.
> gmake[2]: Leaving directory
> '/mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen/arch/x86'
> Makefile:100: recipe for target
> '/mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen/xen' failed
> gmake[1]: ***
> [/mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen/xen] Error 2
> gmake[1]: Leaving directory
> '/mnt/pkgsrc/pkgsrc/sysutils/xenkernel45/work/xen-4.5.1/xen'
> Makefile:26: recipe for target 'build' failed
> gmake: *** [build] Error 2
> *** Error code 2

The Xen microkernel (the hypervisor) dropped support for i386 after 4.2
IIRC. You will need to compile the hypervisor (kernel) with an amd64
target, and the tools using the native target (i386), so that you can
run an i386 Dom0.

TBH, unless you have any specific need to use an i386 Dom0 I would just
install NetBSD amd64, which should work without requiring all those tricks.

Roger.



Home | Main Index | Thread Index | Old Index