Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 11:12:01 +0300
From:      Ari Suutari <ari@suutari.iki.fi>
To:        "Yuan, Jue" <yuanjue02@gmail.com>
Cc:        freebsd-current@freebsd.org, LI Xin <delphij@delphij.net>
Subject:   Re: [Fwd: Will Xen 3.0 support (at least domU) be available ?]
Message-ID:  <4518E0D1.2030903@suutari.iki.fi>
In-Reply-To: <51584f840609260101m7dc0a1e1iffaccc8621df3783@mail.gmail.com>
References:  <4518D321.8050604@delphij.net> <51584f840609260101m7dc0a1e1iffaccc8621df3783@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

Yuan, Jue wrote:
> Hi there,
> 
> I am the Summer of Code student who is responsible for porting Xen to
> FreeBSD. Currently we have got two domU kernels, one for installation,
> the other for running. And the dom0 support is on its way :-)

	Yes, I tried these kernels under NetBSD-current running as
	dom0, using Xen 3.0.2-2. I couldn't get freebsd-XENU_INSTALL
	kernel to boot, it crashes like this:

(XEN) domain_crash_sync called from entry.S (ff149655)
(XEN) Domain 16 (vcpu#0) crashed on cpu#0:
(XEN) ----[ Xen-3.0.2-2    Not tainted ]----
(XEN) CPU:    0
(XEN) EIP:    e019:[<c01f8d77>]
(XEN) EFLAGS: 00000206   CONTEXT: guest
(XEN) eax: 00000000   ebx: 00000000   ecx: 00100000   edx: c0759000
(XEN) esi: 00000003   edi: c0800000   ebp: c075fff4   esp: c075ff5c
(XEN) cr0: 8005003b   cr3: 06763000
(XEN) ds: e021   es: e021   fs: e021   gs: e021   ss: e021   cs: e019
(XEN) Guest stack trace from esp=c075ff5c:
(XEN)    00000002 c01f8d77 0001e019 00010006 00000000 c0205923 c0766000 0049a000
(XEN)    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(XEN)    00000000 c0766000 00000766 00000000 00000000 00000000 00000000 00000000
(XEN)    00000000 00000000 00000000 00000000 c0759000 00000000 00000000 c00314c6
(XEN)    c0759000

	The freebsd-XENU kernel boots, but I cannot mount root:

Using config file "freebsd1".
Started domain freebsd1
WARNING: loader(8) metadata is missing!
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2006 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 7.0-CURRENT #2: Sat Aug 26 00:02:36 CST 2006
     YuanJue@www.yuanjue.org:/usr/home/YuanJue/Develop/SVN_work/xen3/sys/i386-xen/compile/XENCONF-STD
WARNING: DIAGNOSTIC option enabled, expect reduced performance.
Xen reported: 863.864 MHz processor.
Timecounter "ixen" frequency 1000000000 Hz quality 0
CPU: Intel Pentium III (863.86-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 63266816 (60 MB)
avail memory = 57602048 (54 MB)
xc0: <Xen Console> on motherboard
cpu0 on motherboard
Timecounters tick every 10.000 msec
[XEN] Initialising virtual ethernet driver.
xn0: Ethernet address: aa:00:00:50:03:e1
[XEN]
Trying to mount root from ufs:/dev/xbd769a
Mount point / had 1 dangling refs

Manual root filesystem specification:
   <fstype>:<device>  Mount <device> using filesystem <fstype>
                        eg. ufs:da0s1a
   ?                  List valid disk boot devices
   <empty line>       Abort manual input


	The root filesystem is file based and has been created on another
	FreeBSD machine, so it should be ok. What is that number "769" in
	xbd device ? Is it same for all installations ?

	If there are any suggestions I could try please let me know.

	Ari S.

> 
> 
> On 9/26/06, LI Xin <delphij@delphij.net> wrote:
>> FYI,
>>
>> -- 
>> Xin LI <delphij@delphij.net>    http://www.delphij.net/
>> FreeBSD - The Power to Serve!
>>
>>
>>
>> ---------- Forwarded message ----------
>> From: Ari Suutari <ari@suutari.iki.fi>
>> To: freebsd-current@freebsd.org
>> Date: Tue, 26 Sep 2006 10:04:10 +0300
>> Subject: Will Xen 3.0 support (at least domU) be available ?
>> Hi,
>>
>> I have been playing with Xen 3.0 lately (with NetBSD & debian), but
>> as FreeBSD user, I would like to use FreeBSD with Xen. I found
>> web page which shows some results from google SoC project, there are
>> two DomU kernels downloadable from there.
>>
>> Currently, I would be perfectly happy with just DomU support, but
>> the the Xen changes are not available in FreeBSD cvs yet, I think ?
>> This would mean that I'm stuck with the versions provided on SoC page.
>>
>> It would be nice if someone could give more information about
>> future of FreeBSD's xen, are there plans to put the code into
>> some future version.
>>
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4518E0D1.2030903>