Boot success of FreeBSD 6.3-RELEASE XEN domU

Volker Jahns volker at thalreit.de
Thu Oct 23 14:06:53 UTC 2008


Volker Jahns wrote:
> there is boot success of FreeBSD 6.3-RELEASE XEN kernel.
> -- 
> root at xenon xen # sudo xm create -c freebsd
> Using config file "./freebsd".
> Started domain freebsd
>                      WARNING: loader(8) metadata is missing!
> GDB: no debug ports present
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2008 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>        The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 6.3-RELEASE #0: Tue Oct 21 11:22:27 CEST 2008
>    root at caspar.thalreit:/usr/obj/usr/src/sys/CASPARXEN
>
>
> Manual root filesystem specification:
>  <fstype>:<device>  Mount <device> using filesystem <fstype>
>                       eg. ufs:da0s1a
>  ?                  List valid disk boot devices
>  <empty line>       Abort manual input
>
> mountroot>
> -- 
>
> FreeBSD 6.3-RELEASE XEN running as domU on openSUSE 11.0 - 
> 2.6.25.16-0.1 XEN
>


In fact the kernel boots now into full multiuser mode, network working 
also fine, using this xen configuration file,
--
#
# FreeBSD 6.3 RELEASE XEN configuration
# Volker Jahns, volker at thalreit.de
#
name = 'nemo'
memory = '512'
disk = [ 'phy:/dev/sr0,cdrom,r', 'phy:/dev/sdc,hda,w' ]
vif = [ 'mac=aa:cc:00:00:00:02, bridge=xenbr0' ]
on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'
kernel = '/usr/lib/xen-freebsd/kernel-FreeBSD-6.3-releng'
on_crash = 'preserve'
extra = 'boot_verbose'
extra += ',boot_single'
extra += ',vfs.root.mountfrom=ufs:/dev/xbd1s1a'
extra += ',xencons=tty'
--

On domU the following files had to be adapted:
/etc/rc.conf - network config for xn0 and disable usbd
--
#ifconfig_fxp0="inet xx.yy.zz.tt  netmask 255.255.255.0"
ifconfig_xn0="inet xx.yy.zz.tt  netmask 255.255.255.0"
#usbd_enable="YES"
--

/etc/fstab - using hard drive /dev/sdc ( D:)
--
/dev/xbd1s1b        none        swap    sw        0    0
/dev/xbd1s1a        /        ufs    rw        1    1
/dev/xbd1s1e        /tmp        ufs    rw        2    2
/dev/xbd1s1f        /usr        ufs    rw        2    2
/dev/xbd1s1d        /var        ufs    rw        2    2
/dev/acd0        /cdrom        cd9660    ro,noauto    0    0
--

/etc/ttys - added the following line
--
xc0    "/usr/libexec/getty Pc"        cons25    on  secure
--

Please, I would like to take the opportunity and to express my full 
appreciation on what has been done on the FreeBSD XEN port thus far. 
Thank you very much, Kip!

-- 
Volker Jahns, volker at thalreit.de



More information about the freebsd-xen mailing list