Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Aug 2020 20:59:51 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Ottavio Caruso <ottavio2006-usenet2012@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: [xpost,repost] VGA false positive in dmesg?
Message-ID:  <20200804175951.GX2551@kib.kiev.ua>
In-Reply-To: <rgc37m$kvj$1@ciao.gmane.io>
References:  <rgb51b$10i4$1@ciao.gmane.io> <a2a4cd6a-1889-86f1-49e4-4be1fb0bb7fa@grosbein.net> <rgbdnd$546$1@ciao.gmane.io> <8aa25a20-58c7-f3d2-0826-3341c1acc134@grosbein.net> <rgbha1$2ua$1@ciao.gmane.io> <eb4f2167-e750-c699-147a-128ce5050dac@grosbein.net> <rgbp2u$11b5$1@ciao.gmane.io> <e4802317-b375-0014-7a3b-515dc6ab33ea@grosbein.net> <rgc37m$kvj$1@ciao.gmane.io>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 04, 2020 at 05:43:33PM +0100, Ottavio Caruso via freebsd-hackers wrote:
> On 04/08/2020 16:46, Eugene Grosbein wrote:
> > 04.08.2020 20:50, Ottavio Caruso via freebsd-hackers wrote:
> > 
> > > On 04/08/2020 13:08, Eugene Grosbein wrote:
> > > > 04.08.2020 18:37, Ottavio Caruso via freebsd-hackers wrote:
> > > > 
> > > > > I'm a bit confused here. Do both ttyu0 and ttyv0 refer to the serial console? Do I need ttyv0? Is it safe to comment ttyv0 in /etc/ttys?
> > > > 
> > > > Note that /etc/ttys serves multi-user mode only. For earlier stages, you may find useful
> > > > to put these settings to /boot/loader.conf
> > > > 
> > > > console="comconsole"
> > > > comconsole_speed=115200
> > > > comconsole_port="0x3f8"
> > > > boot_multicons="NO"
> > > > 
> > > > Check out conscontrol output after applying these.
> > > 
> > > 
> > > That doesn't seem to work either:
> > 
> > In fact, it works,
> 
> Does it?
In fact, why do you fight with the ghost VGA device ?  Does it break
anything to you ?

> 
> 
> > If ISA PNP VGA device is probed successfully, then qemu emulates it.
> 
> But I don't understand how why it is probed successfully. the "-vga none"
> option should remove any vga capability in the host. 
There is not much to probe for legacy ISA device.  As far as your hints
file does not disable the attachment, system assumes that the device is
present.

Then there are framebuffer console drivers, vt and sc.  I do not want to
confirm that by reading code, but I highly suspect that if vt(4) cannot
attach, sc(4) would.  I remember that only vt(4) pays attention to the
ACPI FADT flag NO_VGA, sc(4) does not.

But the FADT reporting of missed ISA devices is usually buggy.

> I have tried this
> successfully on an OpenBSD guest and part-successfully on a NetBSD guest (I
> had to comment all references to /usr/libexec/getty Pc). Why this is not the
You tried what ?  How did you checked that OpenBSD and NetBSD did not claimed
presence of VGA ?

And again, what it changes ?

> case on a FreeBSD guest puzzles me. Is it a qemu bug? A FreeBSD bug?
> 
> > Why do you want to get rid of VGA device in first place?
> 
> 1) because I don't need it and 2) to test if qemu works as intended.
> 
> 
> -- 
> Ottavio Caruso
> 
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200804175951.GX2551>