Port-xen archive

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

Re: issue compilation XEN3_DOM0/netbsd



Hi,
sorry for th wait (i have mutch work), i read this link :
https://wiki.netbsd.org/tutorials/how_to_set_up_a_xen_dom0/
all past fine, also i create a grub's boot, for choise Xen or usualy menu.
i have this issue :
----------------------------------------------------------------------------------------------
booting 'xen / NetBSD'
kernel (hd,a)/xen.gz dom_mem:65535
error 15  : file not found
press any.....
----------------------------------------------------------------------------------------------

what do you think ?

Regards
Philippe
============================================


On 10/22/15 23:55, Manuel Bouyer wrote:
On Thu, Oct 22, 2015 at 09:17:21PM +0200, phipo wrote:
Hi,
I've installed NetBSD 7.0 RC3 on bi quad core opteron (amd64), 8 cores.
I want to install Dom0 via XEN but have got issues while compilation !
I read this link it's a french blog but you can translate automatickely
......
I do this commands :
************************************************************************************************
# cd /root
# ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2011Q2/pkgsrc.tar.gz
If the instructions points to 2011Q2, they're quite outdated.
You'd better start with the NetBSD Xen howto:
http://wiki.netbsd.org/ports/xen/howto/

# tar -xzf pkgsrc.tar.gz -C /usr
# rm pkgsrc.tar.gz
# cd /root
# ftp -i ftp://ftp.NetBSD.org/pub/NetBSD/NetBSD-7.0/source/sets/
....
ftp> mget syssrc.tgz


ftp> exit
# mkdir /usr/src
# tar -xzf ./syssrc.tgz -C /
# rm syssrc.tgz
# config XEN3_DOM0
# cd ../compile/XEN3_DOM0
# make depend
# make >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>(1) the error of compilation is here <<<<<<<<<<<<<<<<<<<
# cp netbsd /netbsd-dom0
************************************************************************************************

this is my output of (1) :
mon/lib/libc/arch/x86_64/string -D_FORTIFY_SOURCE=2
-I../../../../external/bsd/ipf -I../../../../external/isc/atheros_hal/dist
-I../../../../external/isc/atheros_hal/ic
-I../../../../external/bsd/acpica/dist/include  -c vers.c
:
#      link  XEN3_DOM0/netbsd
ld -Map netbsd.map --cref -T ../../../../arch/amd64/conf/kern.ldscript.Xen
-Ttext 0xffffffff80100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ}
vers.o
kern_lwp.o: In function `sysctl_kern_maxlwp':
kern_lwp.c:(.text+0x43): undefined reference to `maxlwp'
kern_lwp.c:(.text+0xfd): undefined reference to `maxlwp'
This should be in param.c in the build directory.
Are you building from a NetBSD 7.0/amd64 host ?
Did you change anything in the kenrel config file ?

BTW, you have prebuild Xen kernels in the distribution ...




Home | Main Index | Thread Index | Old Index