If you're booting the XEN kernel, it's going to need to be running in
paravirtualized mode. It lacks drivers for non-XEN devices. Also, I have
found the XEN kernel running in paravirtualized mode to be nowhere near
stable enough for production use. I have used 8.0 with the GENERIC kernel in
several domUs (running on Xen 3.4.2 and 4.0) successfully.

This config file will work for an 8.0 box:

# Name of the domU
name = "freebsd-01"
# HVM options
kernel = "/usr/lib/xen/boot/hvmloader"
device_model = "/usr/lib64/xen/bin/qemu-dm"
builder = 'hvm'
# Virtual hardware configuration
vcpus = 1
memory = 512
disk = [ 'phy:/dev/SystemDisks/freebsd-01.root,hda,w' ]
vif = [ 'type=ioemu,bridge=eth0' ]
# Console and other options
serial = 'pty'
vfb = [ 'vnc=1,vncdisplay=1' ]


On Tue, Jul 20, 2010 at 7:45 AM, G VM <drums_...@hotmail.com> wrote:

>
>
> > From: a...@nirgal.de
> > To: got.and...@deployis.eu
> > Date: Tue, 20 Jul 2010 13:31:48 +0200
> > CC: freebsd-xen@freebsd.org
> > Subject: Re: FreeBSD DomU: Upgrade from 7.2 to 8.0
> >
> > Hello,
> >
> > Am 20.07.2010 um 12:52 schrieb Gót András:
> >
> > > How's your domU config file for xen?
> >
> > Up until 7.2 i have used the GENERIC Kernel and never built one of my
> > own, because there was no need. But as 7.3 or 8.0 will not boot up
> > with their GENERIC Kernels (tested with the Live-DVD, error described
> > in my first mail), i think i have to built a custom kernel.
> >
> > I plan to use the config from
> >
> >    /usr/src/sys/i386/conf/XEN
> >
> > You can find it there:
> >
> >
> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/conf/XEN?rev=1.9.2.1;content-type=text%2Fplain;only_with_tag=RELENG_8_0
> >
> > Note: i just want to use hvm-virtualization, paravirtualization is not
> > necessary.
> >
> > Alex_______________________________________________
> > freebsd-xen@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> > To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
>
> I had/have the exact same issue. I always used hvm with FreeBSD 7.2
> >From the moment I upgraded to 7.3 or 8.0, I get a kernel panic.
>
> Even the install cd does not boot for 7.3 or 8.0.
>
> I did not fixed this yet. I would think that this is happening since there
> is some virtual stuff included in the kernel by default now and this was not
> there in 7.2
> Maybe you can just disable hvm or something in the kernel config. As IIRC
> with HVM the OS is not aware that it is virtualised.
>
> Please let me know if you find a solution!
>
> Greetings!
>
>  _______________________________________________
> freebsd-xen@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-xen
> To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"
>
_______________________________________________
freebsd-xen@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-xen
To unsubscribe, send any mail to "freebsd-xen-unsubscr...@freebsd.org"

Reply via email to