From: Peter Xu <peterx@redhat.com>
To: Warner Losh <imp@bsdimp.com>
Cc: philmd@redhat.com, Peter Maydell <peter.maydell@linaro.org>,
QEMU Developers <qemu-devel@nongnu.org>,
armbru@redhat.com, Ilya Maximets <i.maximets@samsung.com>
Subject: Re: [Qemu-devel] Are FreeBSD guest images working?
Date: Fri, 16 Nov 2018 13:01:34 +0800 [thread overview]
Message-ID: <20181116050134.GA16550@xz-x1> (raw)
In-Reply-To: <CANCZdfrozw4f+ntOyUuX+N1Ny1j+BBEqhuowPXk2sRTSBzCGEw@mail.gmail.com>
On Thu, Nov 15, 2018 at 08:24:23PM -0700, Warner Losh wrote:
> On Thu, Nov 15, 2018 at 7:54 PM Peter Xu <peterx@redhat.com> wrote:
>
> > On Thu, Nov 15, 2018 at 11:05:33AM +0100, Philippe Mathieu-Daudé wrote:
> > > On 15/11/18 9:58, Peter Xu 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,
> > >
> > > I use 'make vm-build-freebsd' which works, but the image comes
> > > pre-installed.
> >
> > It's because I'm always with no-gui mode and FreeBSD images has no
> > serial enabled by default. I was possibly spoiled by the nice
> > virt-builder before with consoles setup already for all Linux guest
> > images. Thanks for answering!
> >
>
> I'm coming to the game late...
>
> I run FreeBSD in qemu all the time, but I build images from source to test
> the boot loader and it's all serial and my test scripts are tuned to that.
> I rarely use the pre-built images, however.
>
> If there's ways that we can build images that work better than we're doing
> right now to make the experience better, like making sure we enable the
> dual console support for them... We're late in our release cycle, but if
> what we need to change is what I think we need to change, we still have
> time for it.
>
> In the mean time I'll read through wiki and see if there's anything
> obviously wrong...
I would guess there aren't many people like me to prefer booting a VM
using console, though I agree that it'll be nice if we put something
into the prebuilt images like what's suggested by Ilya (and so far I
don't see anything bad with that):
[root@freebsd ~]# cat /boot/loader.conf
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="115200"
console="comconsole,vidconsole"
Anyway, thanks for your work on either the wiki or the images, they
are really helpful to people like me.
Regards,
--
Peter Xu
next prev parent reply other threads:[~2018-11-16 5:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 8:58 [Qemu-devel] Are FreeBSD guest images working? Peter Xu
2018-11-15 10:05 ` Philippe Mathieu-Daudé
2018-11-16 2:53 ` Peter Xu
2018-11-16 3:24 ` Warner Losh
2018-11-16 5:01 ` Peter Xu [this message]
2018-11-16 9:47 ` Peter Maydell
2018-11-16 12:30 ` Gerd Hoffmann
2018-11-16 14:25 ` Warner Losh
2018-11-16 10:45 ` Andrea Bolognani
[not found] <CGME20181115110637eucas1p29916ac0e321b6379d44270b87257a0b2@eucas1p2.samsung.com>
2018-11-15 11:06 ` Ilya Maximets
2018-11-16 2:50 ` Peter Xu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181116050134.GA16550@xz-x1 \
--to=peterx@redhat.com \
--cc=armbru@redhat.com \
--cc=i.maximets@samsung.com \
--cc=imp@bsdimp.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).