From owner-freebsd-hackers@freebsd.org Mon Aug 31 16:49:04 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 192EB9C7350 for ; Mon, 31 Aug 2015 16:49:04 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) 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 02F5C77 for ; Mon, 31 Aug 2015 16:49:04 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: by mailman.ysv.freebsd.org (Postfix) id 002759C734F; Mon, 31 Aug 2015 16:49:04 +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 F3EA09C734D for ; Mon, 31 Aug 2015 16:49:03 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: from elektropost.org (elektropost.org [217.115.13.198]) (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 4408675 for ; Mon, 31 Aug 2015 16:49:02 +0000 (UTC) (envelope-from erdgeist@erdgeist.org) Received: (qmail 18139 invoked from network); 31 Aug 2015 16:42:17 -0000 Received: from elektropost.org (HELO elektropost.org) (erdgeist@erdgeist.org) by elektropost.org with ESMTPS (DHE-RSA-AES256-SHA encrypted); 31 Aug 2015 16:42:17 -0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: BlackBerry Email (10.3.1.2576) Message-ID: <20150831164211.5611597.78437.7008@erdgeist.org> Date: Mon, 31 Aug 2015 18:42:11 +0200 Subject: Re: Puzzle involving serial console and ...??!? From: Dirk Engling In-Reply-To: <9D30425C-CFBF-4502-BA04-6F6B0352610F@xcllnt.net> References: <20150831030639.GH1153@albert.catwhisker.org> <9D30425C-CFBF-4502-BA04-6F6B0352610F@xcllnt.net> To: Marcel Moolenaar , hackers@freebsd.org 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:49:04 -0000 =C2=A0 Original Message =C2=A0 From: Marcel Moolenaar Sent: Montag, 31. August 2015 18:20 To: hackers@freebsd.org Subject: Re: Puzzle involving serial console and ...??!? > 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.con= fig (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