From owner-freebsd-hackers@freebsd.org Mon Aug 31 16:20:20 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6E3E39C674F for ; Mon, 31 Aug 2015 16:20:20 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 53B6E11CC for ; Mon, 31 Aug 2015 16:20:20 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: by mailman.ysv.freebsd.org (Postfix) id 5106A9C674D; Mon, 31 Aug 2015 16:20:20 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5099F9C674B for ; Mon, 31 Aug 2015 16:20:20 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14CF211CB for ; Mon, 31 Aug 2015 16:20:19 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from [192.168.2.22] (atc.xcllnt.net [50.0.150.213]) (authenticated bits=0) by mail.xcllnt.net (8.15.2/8.15.2) with ESMTPSA id t7VGKIsP036298 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 31 Aug 2015 09:20:18 -0700 (PDT) (envelope-from marcel@xcllnt.net) Content-Type: multipart/signed; boundary="Apple-Mail=_90E5D105-8CA5-486D-80BE-213D97F973D2"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: Puzzle involving serial console and ...??!? X-Pgp-Agent: GPGMail 2.5.1 From: Marcel Moolenaar In-Reply-To: <20150831030639.GH1153@albert.catwhisker.org> Date: Mon, 31 Aug 2015 09:20:17 -0700 Message-Id: <9D30425C-CFBF-4502-BA04-6F6B0352610F@xcllnt.net> References: <20150831030639.GH1153@albert.catwhisker.org> To: hackers@freebsd.org X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Aug 2015 16:20:20 -0000 --Apple-Mail=_90E5D105-8CA5-486D-80BE-213D97F973D2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 30, 2015, at 8:06 PM, David Wolfskill = wrote: >=20 > By doing so, I have a working serial console (once the FreeBSD > loader gains control from the BIOS, at least)... half the time. >=20 > I have determined that whether or not I have a functioning serial > console for freebeast depends on whether I boot albert from slice > 1 or slice 2: if from slice 1, it doesn't work; if from slice 2, > it does. Check your boot sectors. boot0 is shared between the slices, so that=E2=80=99s less of a concern, but boot2 is specific to each slice. You can force a serial console by writing =E2=80=9C-P=E2=80=9C to = /boot.config (if not already done). It helps if you tell the kernel specifically to use a serial console (as well): boot_serial=3Dyes hw.uart.console=3D=E2=80=9Cio:0x3f8=E2=80=9D boot_multicons=3Dyes I have found that with vt(4) it=E2=80=99s pretty much impossible to not have it claim the console. I haven=E2=80=99t figured out why... -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_90E5D105-8CA5-486D-80BE-213D97F973D2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV5H7CAAoJEIda8t8f0tjjgn0P/jZ2Y2XsNQVuvRtKTwOijSMN gyqmoVpYeJKVIz88i5RXaNFaM5R+I4fUXSqkGHnzzCl59RTM6q1xkkfFL52ArEsP Er9Dw00WVPJzBQSeKzfe1+t1AxAlZEnH/U2FIQBDjb4T8CWN3lNuTeyHjzp+TBV/ u2uOT/N9atToKPLAWpmC5WseVW37frpAsubBb9xMsG4bUDSY+wLYcJENbcAx+3X3 7WRpmcXgIY6uiFITbNUmu6SBgsJqIAaAcSZkS9JFhTX6WiOtL2fMJlYedNnZzKMf 8flQE3wEt7csSjIHOzrEo4yA6rTqhVmnH8hEuTdymrTCOuUXi3hdZkqaXrLCxBDg k3JqpGYPG0nQvN48ST0+dm4ykd4W1uPyaeX2KkbRqTQaFq3Vdf4KYjuulxqtwwri KnxLNOpd++/yquhCq+a6QZ9/u7vgnMIO0U0zQm39xr3CWizJ7B2md4OTEQ6XNSaV GSpZM8OKJNCXewhp9BFZ+ZXGQoO5xS+KnmB6GKq4F1saYw+kziiSZ2DtDFxIBBAq KAB9ZtRv6XMsVhj1MW8vlXaovnIg7q9zrvUwhXv54f/rapG4HhnfRbKDJW9O768z F1FTIYOHzXPpqxmOw6kJfw3vUExH2Qih6DCaxx2WxYwV79SB2f7rp4MlCEgC4+8t URqI26ZCfCoDwoaMBr0+ =o1aB -----END PGP SIGNATURE----- --Apple-Mail=_90E5D105-8CA5-486D-80BE-213D97F973D2--