FreeBSD 7(DomU) on XEN 3.
I have compiled a FreeBSD-current XEN kernel(386/PAE) from the sources on cvsup10, I have also built an image which is a pristine image of FreeBSD which has been customised for the XEN kernel, uncompressed the filesystem layout is as follows:
pristine# df -m
Filesystem 1M-blocks Used Avail Capacity Mounted on
/dev/xbd833s1a 421 36 350 9% /
devfs 0 0 0 100% /dev
/dev/xbd833s1e 383 0 352 0% /tmp
/dev/xbd833s1f 6059 1917 3657 34% /usr
/dev/xbd833s1d 726 7 660 1% /var
procfs 0 0 0 100% /proc
The root password is “password”
This is not a stable kernel in the slightest, there is a known bug which segfaults the kernel, do not use for anything but experimentation.
This is an example XEN configuration:
name = ‘freebsd’
memory = ‘256′
vif = [ 'bridge=br0' ]
disk = [ 'file:/path/to/freebsd7.pristine,hdb1,w' ]
on_shutdown = ‘destroy’
on_reboot = ‘restart’
on_crash = ‘destroy’
kernel = ‘/path/to/kernel’
extra = “,vfs.root.mountfrom=ufs:/dev/xbd833s1a”
extra += “,kern.hz=250″
July 3rd, 2008 at 1:44 pm
Just a heads up, I have had issues with the amount of memory and this kernel. If you give it more than 388mb RAM, the domU will not start up and pagefault
November 3rd, 2008 at 8:08 pm
You can tell what flags need to build source to xen ?