Date: Tue, 26 Sep 2006 16:34:09 +0800 From: "Yuan, Jue" <yuanjue02@gmail.com> To: "Ari Suutari" <ari@suutari.iki.fi> Cc: Kip Macy <kip.macy@gmail.com>, freebsd-current@freebsd.org Subject: Re: [Fwd: Will Xen 3.0 support (at least domU) be available ?] Message-ID: <51584f840609260134v1c2dbcd4y23ab0830a198c43d@mail.gmail.com> In-Reply-To: <4518E0D1.2030903@suutari.iki.fi> References: <4518D321.8050604@delphij.net> <51584f840609260101m7dc0a1e1iffaccc8621df3783@mail.gmail.com> <4518E0D1.2030903@suutari.iki.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ari, On 9/26/06, Ari Suutari <ari@suutari.iki.fi> wrote: > 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 > I tested freebsd-XENU_INSTALL under kubuntu 6.0.6 as dom0. don't know why this happens. I will check this issue later :-) > 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 ? > the magic number here is due to the major and minor device number of Linux. maybe this is not the case while you are using NetBSD. Anyway, the first thing you should check is the fstab file in your file-backed image. More details could be found at http://www.yuanjue.net/xen/howto.html HTH -- Best Regards Yuan, Jue @ http://www.yuanjue.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51584f840609260134v1c2dbcd4y23ab0830a198c43d>