Are FreeBSD guest images working?
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:
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,
Signature · 1 line
Peter Xu
Quoted 18 lines · Peter Xu
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:
Quoted 7 lines
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.
Quoted 21 lines · Philippe Mathieu-Daudé
Quoted 20 lines · Peter Xu
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:
but it's having the same problem as 11.0.
Quoted 8 lines
Quoted 5 lines
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!
Regards,
Signature · 1 line
Peter Xu
Quoted 30 lines · Peter Xu
Quoted 7 lines · Philippe Mathieu-Daudé
Quoted 6 lines · Peter Xu
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
Quoted 11 lines
Quoted 11 lines
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:
Quoted 9 lines
Quoted 8 lines
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,
Quoted 8 lines
Quoted 2 lines
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...
Warner
Quoted 47 lines · Warner Losh
Quoted 30 lines · Peter Xu
Quoted 7 lines · Philippe Mathieu-Daudé
Quoted 6 lines · Peter Xu
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
Quoted 11 lines
Quoted 11 lines
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:
Quoted 9 lines
Quoted 8 lines
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,
Quoted 8 lines
Quoted 2 lines
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.
Quoted 8 lines
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,
Signature · 1 line
Peter Xu
Quoted 4 lines · Peter Xu
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):
As it happens I would have preferred the instructions on the QEMU wiki to work with a pure serial console but was unable to get that working so defaulted to graphics. (I didn't try very
hard: x86 in general is much worse for getting serial boot working than other architectures, partly because of the BIOS.)
thanks
-- PMM
Quoted 21 lines · Peter Xu
Quoted 6 lines · Warner Losh
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.
Quoted 8 lines
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):
Quoted 8 lines
[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.
We use the official qcow2 images for FreeBSD for libvirt/virt-tools CI[1] and not having serial console/ssh access by default is a bit annoying, as it requires the administrator/developer to log in using the graphical console, configure the guest OS according to [2], run an Ansible playbook which, among other things, will enable serial console access[3], and finally remove the graphical console.
If official qcow2 images could have serial console access turned on by default, that would make the process a lot more convenient for us.
Just another data point :)
[1] https://ci.centos.org/view/libvirt/
[2] https://github.com/libvirt/libvirt-jenkins-ci/blob/master/guests/README.markdown#freebsd
[3] https://github.com/libvirt/libvirt-jenkins-ci/blob/master/guests/playbooks/update/tasks/bootloader.yml#L41-L51
Signature · 1 line
Andrea Bolognani / Red Hat / Virtualization
Quoted 11 lines · Peter Maydell
Quoted 4 lines · Peter Xu
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):
As it happens I would have preferred the instructions on the QEMU wiki to work with a pure serial console but was unable to get that working so defaulted to graphics. (I didn't try very
hard: x86 in general is much worse for getting serial boot working than other architectures, partly because of the BIOS.)
qemu-system-x86_64 -machine graphics=off should work reasonable well these days.
cheers,
Gerd
Quoted 7 lines · On Fri, Nov 16, 2018, 5:30 AM Gerd Hoffmann <[email protected] wrote:
Quoted 6 lines · Peter Maydell
Quoted 4 lines · Peter Xu
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):
Quoted 9 lines
Quoted 5 lines
As it happens I would have preferred the instructions on the QEMU wiki to work with a pure serial console but was unable to get that working so defaulted to graphics. (I didn't try very
hard: x86 in general is much worse for getting serial boot working than other architectures, partly because of the BIOS.)qemu-system-x86_64 -machine graphics=off should work reasonable well these days.
That's what I use to test the boot blocks / boot loader :)
Warner