Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 12:41:08 +0100
From:      Ottavio Caruso <ottavio2006-usenet2012@yahoo.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   VGA false positive in dmesg?
Message-ID:  <CAEJNuHxMoF2k9txsE34j_acSFMOjGds%2BahrwcP0XcF7H-RsLJQ@mail.gmail.com>
References:  <CAEJNuHxMoF2k9txsE34j_acSFMOjGds%2BahrwcP0XcF7H-RsLJQ.ref@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I've launched a FreeBSD 12.1 instance in qemu (pay attention to "-vga
none"). Host is Linux:

qemu-system-x86_64 \
-drive if=virtio,file=/home/oc/VM/img/freebsd.image,index=0,media=disk \
-M q35,accel=kvm -m 250M -cpu host -smp $(nproc) \
-nic user,hostfwd=tcp:127.0.0.1:5554-:22,model=virtio-net-pci \
-daemonize -display none -vga none \
-serial mon:telnet:127.0.0.1:6664,server,nowait \

In the guest:

oc@FreeBSD:~ % pciconf -vl
hostb0@pci0:0:0:0:      class=0x060000 card=0x11001af4 chip=0x29c08086
rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82G33/G31/P35/P31 Express DRAM Controller'
    class      = bridge
    subclass   = HOST-PCI
virtio_pci0@pci0:0:1:0: class=0x020000 card=0x00011af4 chip=0x10001af4
rev=0x00 hdr=0x00
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio network device'
    class      = network
    subclass   = ethernet
virtio_pci1@pci0:0:2:0: class=0x010000 card=0x00021af4 chip=0x10011af4
rev=0x00 hdr=0x00
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio block device'
    class      = mass storage
    subclass   = SCSI
virtio_pci2@pci0:0:3:0: class=0x010000 card=0x00021af4 chip=0x10011af4
rev=0x00 hdr=0x00
    vendor     = 'Red Hat, Inc.'
    device     = 'Virtio block device'
    class      = mass storage
    subclass   = SCSI
isab0@pci0:0:31:0:      class=0x060100 card=0x11001af4 chip=0x29188086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IB (ICH9) LPC Interface Controller'
    class      = bridge
    subclass   = PCI-ISA
ahci0@pci0:0:31:2:      class=0x010601 card=0x11001af4 chip=0x29228086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA Controller
[AHCI mode]'
    class      = mass storage
    subclass   = SATA
none0@pci0:0:31:3:      class=0x0c0500 card=0x11001af4 chip=0x29308086
rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82801I (ICH9 Family) SMBus Controller'
    class      = serial bus
    subclass   = SMBus

However, in dmesg:

oc@FreeBSD:~ % dmesg | grep -i vga
VT(vga): text 80x25
vtvga0: <VT VGA driver> on motherboard
vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff
pnpid PNP0900 on isa0

I don't know how to interpret this output. I don't think it's a qemu
issue, because I've done the same with NetBSD and OpenBSD guests and
there's no trace of vga in their dmesg.

Does FreeBSD use the VGA driver also for the serial console?

Thanks


-- 
Ottavio Caruso

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJNuHxMoF2k9txsE34j_acSFMOjGds%2BahrwcP0XcF7H-RsLJQ>