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

[Xen-devel] FreeBSD/Xen kernel



All,

Due to interest in the company I work for regarding offering Virtual Private Servers based on Xen (by the way, I've been playing with it, and have been very pleased), I'd been seeking information on the port of the FreeBSD to the Xen hypervisor. I've successfully run various Linux distributions (FC2, FC3, Debian, Gentoo) and NetBSD on top of it, so far. I finally did find a reference to FreeBSD guests in the list archive; unfortunately, so far I've not had any luck trying to boot one. So far, the log messages I see when I do 'xm create -c FreeBSDTest' are as follows:

Using config file "/etc/xen/FreeBSDTest".
Started domain FreeBSDTest, console on port 9623
************ REMOTE CONSOLE: CTRL-] TO QUIT ********
WARNING: loader(8) metadata is missing!
start_info 0xc02c3000
start_info->nr_pages 32768
Copyright (c) 1992-2004 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 5.2.1-RELEASE #338: Sat Oct 30 21:56:31 PDT 2004

kmacy@xxxxxxxxxxxxxxxxxxxxxxx:/t/niners/users/xen/bsd/sys/i386-xeno.tot/compile/XENCONF
Timecounter "ixen" frequency 2393261000 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.40GHz (2393.26-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf34  Stepping = 4

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 131129344 (125 MB)
Physical memory chunk(s):
0x00000000002e9000 - 0x0000000007ac9fff, 125702144 bytes (30689 pages)
avail memory = 123846656 (118 MB)
random: <entropy source>
null: <null device, zero device>
mem: <memory & I/O>
Device configuration finished.
procfs registered
Timecounters tick every 10.000 msec
xc0: <Xen Console> on motherboard
xn0: bpf attached
GEOM: create disk xbd0 dp=0xc1e70e84
GEOM: new disk xbd0
[0] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/254/63 s:0 l:50000
GEOM: Configure xbd0a, start 0 length 4423680 end 4423679
GEOM: Configure xbd0c, start 0 length 4423680 end 4423679
lo0: bpf

So far, this is only using the binary kernel that's at http://www.bsdclusters.com/xenofreebsd/ ; I'm going to try building the kernel on my FreeBSD 5.2.1 install in VMware, but I was hoping someone might have some insight as to what is happening. I am running it on top of the Xen 2.0.1 hypervisor, with Debian 3.1 (sarge) as the domain0 instance, using a 2.6.9 kernel (with Xen support added, of course). The configuration file for the domain is as follows:

kernel = "/boot/freebsd-5.2.1-xenU"
memory = 128
name = "FreeBSDTest"
disk = [ 'file:/tmp/mfsroot,hda1,w' ]
hostname = "FreeBSDTest"
extra = "vfs.root.mountfrom=ufs:/dev/xbd0c,boot_verbose=yes"
restart = "onreboot"

If anyone has any thoughts or suggestions, they'd be much appreciated.

--
Derrik Pates
dpates@xxxxxxxxxx


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.