From owner-freebsd-stable@freebsd.org Fri Jul 19 19:58:59 2019 Return-Path: Delivered-To: freebsd-stable@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 AEF11AA6FE for ; Fri, 19 Jul 2019 19:58:59 +0000 (UTC) (envelope-from mike@sentex.net) Received: from pyroxene.sentex.ca (unknown [IPv6:2607:f3e0:0:3::18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "pyroxene.sentex.ca", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 031C383FE9 for ; Fri, 19 Jul 2019 19:58:58 +0000 (UTC) (envelope-from mike@sentex.net) Received: from [IPv6:2607:f3e0:0:4:d949:9e7b:595e:8cc9] ([IPv6:2607:f3e0:0:4:d949:9e7b:595e:8cc9]) by pyroxene.sentex.ca (8.15.2/8.15.2) with ESMTPS id x6JJwuTS022241 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO); Fri, 19 Jul 2019 15:58:56 -0400 (EDT) (envelope-from mike@sentex.net) To: freebsd-stable@freebsd.org From: mike tancsa Subject: efi and serial console Message-ID: <35977a5a-a7ca-9511-fdab-d4b2e4d091a2@sentex.net> Date: Fri, 19 Jul 2019 15:58:57 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 031C383FE9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:3::18 as permitted sender) smtp.mailfrom=mike@sentex.net X-Spamd-Result: default: False [-1.45 / 15.00]; ARC_NA(0.00)[]; RDNS_NONE(1.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sentex.net]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; IP_SCORE(-1.72)[ipnet: 2607:f3e0::/32(-4.94), asn: 11647(-3.58), country: CA(-0.09)]; MX_GOOD(-0.01)[cached: smtp.sentex.ca]; NEURAL_HAM_SHORT(-0.92)[-0.925,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; HFILTER_HOSTNAME_UNKNOWN(2.50)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jul 2019 19:58:59 -0000 I installed a RELENG12 snapshot from July 11th and having a hard time getting serial console to work. In the past, I would have something simple like ttyu0   "/usr/libexec/getty std.115200  vt100   on secure in /etc/ttys and in /boot/loader.conf console="comconsole,vidconsole" comconsole_speed="115200"       # Set the current serial console speed With some googling, I did find I now have to use  in /boot/loader.conf boot_multicons="YES" boot_serial="YES" console="comconsole,efi" comconsole_speed="115200"   However, I can never get getty to automatically start up. I have # grep u0 /etc/ttys ttyu0   "/usr/libexec/getty std.115200  vt100   on secure # but at boot up time, I can see on my serial connection the boot loader etc and everything prints out to Configuring vt: blanktime. Performing sanity check on sshd configuration. Starting sshd. Starting sendmail_submit. igb0: link state changed to UP Starting sendmail_msp_queue. Starting cron. Starting backgrou and then nothing.  No login prompt and I dont see getty running on the serial port. If I ssh in and then do a /usr/libexec/getty std.115200 ttyu0 up pops the login prompt and I can login over serial. However, I have to login as a non root user first.  Any idea what I am missing ?     ---Mike