Hello maillist,

I've try to test latest vimage on 8.0-CURRENT FreeBSD. Upgrade to latest HEAD
version FreeBSD is succesfull (using i386 arch):

--- (my steps) ---
1) svn checkout svn://svn.freebsd.org/base/head /usr/src
2) cd /usr/src; 
3) make buildworld; make kernel KERNCONF="GENERIC";
5) nextboot -k kernel -o "-s"; reboot
 (in single mode): 
6) cd /usr/src 
7) make installworld
8) yes |make delete-old
9) yes| make delete-old-libs
10) mergemaster
11) /sbin/reboot

So, i get what i want:
%sysctl -a | grep kern.osr\*
kern.ostype: FreeBSD
kern.osrelease: 8.0-CURRENT
kern.osrevision: 199506
kern.osreldate: 800074

Next, i've fetch latest vimage patch for HEAD:

fetch http://imunes.tel.fer.hr/virtnet/vimage-20081015.tgz
tar xfz vimage-20081015.tgz
cp -R vimage/src/usr.sbin/vimage /usr/src/usr.sbin/
mv /usr/src/sys /usr/src/sys-orig (for backup original)
mv vimage/src/sys /usr/src

and running make buildworld but it unsuccessful with messages in stdout:
>>> stage 3.2: building everything
cd /usr/obj/usr/src/sys/VIMAGE; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  
MACHINE=i386  CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
_SHLIBDIRPREFIX=/usr/obj/usr/src/tmp  VERSION="FreeBSD 8.0-CURRENT i386 
800062"  INSTALL="sh /usr/src/tools/install.sh"  
NO_CTF=1 make KERNEL=kernel all -DNO_MODULES_OBJ
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls -
Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -
Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -
DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-
limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -
mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror  
/usr/src/sys/netinet/tcp_timewait.c: In function 'tcp_twstart':
/usr/src/sys/netinet/tcp_timewait.c:219: error: 'vnet_inet' undeclared (first 
use in this function)
/usr/src/sys/netinet/tcp_timewait.c:219: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/netinet/tcp_timewait.c:219: error: for each function it appears 
*** Error code 1

Stop in /usr/obj/usr/src/sys/VIMAGE.
*** Error code 1


And.. I could not understand how to use update.sh ;(
I install (/usr/ports/devel/perforce) p4 utility , then have copied contents 
vimage in/usr/src and have started update.sh

bs0# sh update.sh
Current working directory is: /usr/src
confirm you have cd'd to the base of the correct tree. (^C to exit)
========= printing open files ==========
Perforce client error:
        Connect to server failed; check $P4PORT.
        TCP connect to perforce failed.
        perforce: host unknown.
confirm you have no open files that would conflict. (^C to exit)

Tracking of update.sh did not give me a clear answer what values should I use 
for the p4 repository for environment. Where i can some readme for usage 
update.sh scripts? Thanks a lot for any helps

freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to