From owner-freebsd-hackers@freebsd.org Tue Aug 4 16:43:43 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A7FC03794BB for ; Tue, 4 Aug 2020 16:43:43 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BLgYp5s17z4ZTx for ; Tue, 4 Aug 2020 16:43:42 +0000 (UTC) (envelope-from freebsd-hackers@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1k302N-0005i3-Og for freebsd-hackers@freebsd.org; Tue, 04 Aug 2020 18:43:39 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hackers@freebsd.org From: Ottavio Caruso Subject: Re: [xpost,repost] VGA false positive in dmesg? Date: Tue, 4 Aug 2020 17:43:33 +0100 Message-ID: References: <8aa25a20-58c7-f3d2-0826-3341c1acc134@grosbein.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.1.0 In-Reply-To: Content-Language: en-GB X-Rspamd-Queue-Id: 4BLgYp5s17z4ZTx X-Spamd-Bar: +++++++ X-Spamd-Result: default: False [7.17 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-0.52)[-0.525]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_MEDIUM(-0.72)[-0.723]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.58)[-0.579]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-hackers@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-hackers@m.gmane-mx.org]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; RCVD_COUNT_TWO(0.00)[2] X-Spam: Yes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2020 16:43:43 -0000 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? > 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. 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 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