[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Are FreeBSD guest images working?
From: |
Peter Xu |
Subject: |
Re: [Qemu-devel] Are FreeBSD guest images working? |
Date: |
Fri, 16 Nov 2018 10:50:43 +0800 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Nov 15, 2018 at 02:06:36PM +0300, Ilya Maximets wrote:
> > Hi, the list,
> >
> > I am trying to boot a FreeBSD guest but failed. It hangs at the
> > kernel booting phase:
> >
> > /boot/ker]el/kernel text=0x14ed860 data=0x132538+0x4baa68
> > syms=[0x8+0x159ee8+0x8
> > Booting...
> > (nothing more)
> >
> > It's just as simple as downloading the image and boot so I can't think
> > of anything strange within my procedures so far:
> >
> > https://wiki.qemu.org/Hosts/BSD#FreeBSD
> >
> > I also tried the latest image here:
> >
> > https://download.freebsd.org/ftp/releases/VM-IMAGES/11.2-RELEASE/amd64/Latest/FreeBSD-11.2-RELEASE-amd64.qcow2.xz
> >
> > but it's having the same problem as 11.0.
> >
> > Am downloading an fresh ISO, but before I continue I'm just curious on
> > whether anyone is using these images and whether there's quick answers
> > to what I have encountered.
> >
> > Thanks in advance,
> >
> > --
> > Peter Xu
>
> Hi,
> I have one VM with FreeBSD-11.2-RELEASE-amd64.qcow2 image and it works
> fine under qemu 2.12.1. But it's controlled by libvirt + virt-manager,
> so it has a bit more cmdline arguments than in wiki.
>
> In general, those images has serial console disabled by default.
Well... I never expected this. :)
>
> Creating the following file in VM fs:
> address@hidden ~]# cat /boot/loader.conf
> boot_multicons="YES"
> boot_serial="YES"
> comconsole_speed="115200"
> console="comconsole,vidconsole"
>
> allows me to successfully boot with:
> # qemu-system-x86_64 -machine accel=kvm -m 2048 \
> -cpu host -enable-kvm -nographic -smp 2 \
> -drive if=virtio,file=./FreeBSD-11.2-RELEASE-amd64.qcow2,format=qcow2
>
> Best regards, Ilya Maximets.
SPICE worked for me now, and I tested your serial configuration, it
works as well! (though there'll be some display issue with the boot
logo before the kernel starts, but it's not a big problem)
Thanks!
--
Peter Xu