Qemu and serial uart drivers

Olivier Cochard-Labbé olivier at freenas.org
Tue Sep 8 13:11:00 UTC 2009


Hi,

I meet a problem with the new serial driver "uart" used in FreeBSD
8.0-Beta and Qemu.
Hi all,

Under Qemu, my "serial-console-only" FreeBSD 7.2 image (sio drivers)
works great,
but my "serial-console-only" FreeBSD 8.0-Beta4 image (uart drivers)
doesn't works.

I try to replace Qemu 0.10.6 with an "up-to-date" qemu-devel using this patch:
http://people.freebsd.org/~nox/qemu/qemu-devel-20090829.patch

But I've still the same problem (I start qemu with no-graphic).
The startup log under FreeBSD 8.0-Beta4 stop here:

(...)
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
uart0: <Non-standard ns8250 class UART with FIFOs> port 0x3f8-0x3ff
irq 4 flags 0x10 on acpi0
uart0: [FILTER]
uart0: console (9600,n,8,1)
cpu0: <ACPI CPU> on acpi0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 1995170970 Hz quality 800
Timecounters tick every 1.000 msec
IPsec: Initialized Security Association Processing.
ad0: 476MB <QEMU HARDDISK 0.10.6> at ata0-master WDMA2
GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).
Trying to mount root from ufs:/dev/ufs/BSDRP1
cp:

I've found this old message that report the same problem, but no solution here:
http://lists.freebsd.org/pipermail/freebsd-current/2009-February/003222.html

Anyone have an idea about this problem ?
Is a FreeBSD bug or a Qemu bug ?
What information can I give to you for troubleshoot this problem ?

Thanks,

Olivier


More information about the freebsd-virtualization mailing list