WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] help on FreeBSD using hvm

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] help on FreeBSD using hvm
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Tue, 27 Feb 2007 13:33:03 +0000
Cc: Sergi Seira <s.seira@xxxxxxxxx>
Delivery-date: Tue, 27 Feb 2007 05:32:44 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45E4270D.3060103@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <45E40198.4040404@xxxxxxxxx> <200702271154.04550.mark.williamson@xxxxxxxxxxxx> <45E4270D.3060103@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> CPU time doesn't go up.

Weird.  It's strange given the guest also isn't paused...

> I've checked /var/log/xen/qemu-dm.19594.log (I missed this files before
> posting):

I noticed that you had the physical CD-ROM drive mapped as the guests virtual 
CDROM.  Could you try taking that out, please?  I'm not at all convinced 
that's the source of the problem but I do remember having problems when I 
tried to do that myself (that was for an installation of Windows - I ended up 
ripping the CD to an ISO and using that as the virtual CD drive!)

Cheers,
Mark

> domid: 3
> qemu: the number of cpus is 1
> warning: could not open /dev/net/tun: no virtual network emulation
> Could not initialize device 'tap'
>
> After searching a little I found that maybe:
>
> modprobe tun
>
> would work, but I get the same error.
>
> Do I have to recompile xen with some tun/tap option?
>
> Thanks for your quick answer.
> Regards,
> Sergi
>
> Mark Williamson wrote:
> >> I'm trying to install FreeBSD 6.0 from cdrom to a fully virtualized
> >> machine. I've already run domU using xen patched kernels without a
> >> problem, but can't create a fully virtualized domU.
> >>
> >> I am running :
> >>
> >>  - AMD dual opteron with SVM Code option enabled (BIOS)
> >>  - xen 3.0.4 compiled from sources
> >
> > OK.  It *should* work - my own test machine is an AMD-V box running
> > 3.0.4-testing
> >
> >> When issuing :
> >>
> >> # xm create xm_fbsd.hvm
> >> Using config file "./xm_fbsd.hvm".
> >> Started domain FreeBSD60_01
> >>
> >>
> >> It starts (apparently) my fbsd domU:
> >>
> >> # xm list
> >> Name                      ID   Mem VCPUs      State   Time(s)
> >> Domain-0                   0   125     4     r-----    168.5
> >> FreeBSD60_01              18   256     1     ------      0.0
> >>
> >> nothing happens, nothing really starts. It will do the same, if I remove
> >> all entries abount disks ... I don't know where to look for errors, for
> >> xend.log doesn't really tell me anything interesting.
> >
> > Does the CPU time go up?
> >
> >> I have tried both sdl=1 and vnc=1, but no console access.
> >
> > The SDL needs there to be an accessible X server (e.g. via SSH
> > forwarding, or you're running from a terminal on the local X server).  Do
> > you have this?
> >
> > Have you tried connecting a VNC viewer manually to port 5900 +
> > vncdisplay?
> >
> > Are you running 64-bit Xen on the host?
> >
> > Cheers,
> > Mark
> >
> >> Long output from xm list:
> >>
> >> # xm list --long
> >> (domain
> >>     (domid 0)
> >>     (on_crash restart)
> >>     (memory 125)
> >>     (uuid 00000000-0000-0000-0000-000000000000)
> >>     (bootloader_args )
> >>     (name Domain-0)
> >>     (maxmem 125)
> >>     (on_reboot restart)
> >>     (on_poweroff destroy)
> >>     (vcpus 4)
> >>     (bootloader )
> >>     (shadow_memory 0)
> >>     (cpu_weight 256)
> >>     (cpu_cap 0)
> >>     (features )
> >>     (on_xend_start ignore)
> >>     (on_xend_stop ignore)
> >>     (cpu_time 171.188784501)
> >>     (online_vcpus 4)
> >>     (status 2)
> >>     (memory_dynamic_min 125)
> >>     (memory_dynamic_max 0)
> >>     (state r-----)
> >> )
> >> (domain
> >>     (domid 19)
> >>     (on_crash destroy)
> >>     (memory 256)
> >>     (uuid 64b0c736-4736-a29b-3425-21f90f137eae)
> >>     (bootloader_args )
> >>     (name FreeBSD60_01)
> >>     (maxmem 264)
> >>     (on_reboot destroy)
> >>     (on_poweroff destroy)
> >>     (localtime 0)
> >>     (vcpus 1)
> >>     (bootloader )
> >>     (shadow_memory 8)
> >>     (cpu_weight 256)
> >>     (cpu_cap 0)
> >>     (features )
> >>     (on_xend_start ignore)
> >>     (on_xend_stop ignore)
> >>     (start_time 1172570145.59)
> >>     (cpu_time 6.4349e-05)
> >>     (online_vcpus 1)
> >>     (image
> >>         (hvm
> >>             (kernel /usr/lib/xen/boot/hvmloader)
> >>             (nographic 0)
> >>             (vnc 0)
> >>             (sdl 1)
> >>             (vncunused 1)
> >>             (device_model /usr/lib/xen/bin/qemu-dm)
> >>             (xauthority /root/.Xauthority)
> >>             (vncconsole 1)
> >>             (pae 1)
> >>             (apic 1)
> >>             (acpi 1)
> >>             (boot d)
> >>             (isa 0)
> >>             (localtime 0)
> >>             (serial pty)
> >>             (usb 0)
> >>             (vcpus 1)
> >>         )
> >>     )
> >>     (status 2)
> >>     (memory_dynamic_min 256)
> >>     (memory_dynamic_max 264)
> >>     (state ------)
> >>     (store_mfn 65534)
> >>     (device
> >>         (vif
> >>             (bridge xenbr0)
> >>             (uuid 10950eec-5eb7-94a8-b297-faa18264460d)
> >>             (script vif-bridge)
> >>             (mac 00:16:3e:00:dd:c1)
> >>             (type ioemu)
> >>             (backend 0)
> >>         )
> >>     )
> >>     (device
> >>         (vbd
> >>             (uname file:/xenvm/fbsd/freebsd_xen_INSTALL.img)
> >>             (uuid 9f100ba5-4cae-0c05-7d76-09c9c4a24c4d)
> >>             (mode w)
> >>             (dev hda:disk)
> >>             (backend 0)
> >>         )
> >>     )
> >>     (device
> >>         (vbd
> >>             (uname phy:/dev/cdrom)
> >>             (uuid 71c65447-84b2-8168-fdf4-8e4f3d795adc)
> >>             (mode r)
> >>             (dev hdc:cdrom)
> >>             (backend 0)
> >>         )
> >>     )
> >> )
> >>
> >>
> >> Thanks in advance,
> >> regards,
> >> Sergi
> >>
> >> _______________________________________________
> >> Xen-users mailing list
> >> Xen-users@xxxxxxxxxxxxxxxxxxx
> >> http://lists.xensource.com/xen-users
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users