From owner-freebsd-current@FreeBSD.ORG Wed Mar 16 21:44:20 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C093106564A for ; Wed, 16 Mar 2011 21:44:20 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0233D8FC08 for ; Wed, 16 Mar 2011 21:44:19 +0000 (UTC) Received: by yxl31 with SMTP id 31so969699yxl.13 for ; Wed, 16 Mar 2011 14:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9JO6UwQO33lo2HLLl4J0TzH6OWnuDQEELsSBmmVdj98=; b=YoNssgA9xbg2R07Y4nPwV0ULMRvkPl6z6GYHXUULVyZ8piuYZoltgRz5l3chiO2dmJ os5e+VYYddxr6tdqS4lDYy2s2VPnyiu6/t1CsU1MmVxiMZF3NPlRO2+ZTrf4J4CTdx8V rEjbr3lAYmbtWcPo4Qw5Y9a5QmXhTQ88iTw+I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gTXX0iP3xt2gpl1Gqt8CfOnhTi+xnOVht3xqJqsJX52uvoH1wit5P2NXTGgCQz3w2M vc4BRzsdzNFsfyRSiT+ljK72GsjSfXttZ16TK5HPlYIK25yz/4Vmq0yhkAn1TZ0rguJ9 0bhfZpEYREdl54sFsYt+O0jKVXjHKEum9JPEk= MIME-Version: 1.0 Received: by 10.90.126.19 with SMTP id y19mr600983agc.114.1300311858990; Wed, 16 Mar 2011 14:44:18 -0700 (PDT) Received: by 10.90.83.18 with HTTP; Wed, 16 Mar 2011 14:44:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 16 Mar 2011 14:44:18 -0700 Message-ID: From: Freddie Cash To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-Current Subject: Re: How does one get a working serial console with gptboot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2011 21:44:20 -0000 On Wed, Mar 16, 2011 at 2:20 PM, Garrett Cooper wrote: > On Wed, Mar 16, 2011 at 10:20 AM, Freddie Cash wrote: >> On Wed, Mar 16, 2011 at 9:49 AM, Freddie Cash wrote: >>> I feel like an idiot right now because I can just not figure out how >>> to make $subject work on a -CURRENT system. =C2=A0:( >>> >>> I've read through the Handbook chapter on this. =C2=A0I've done the pro= cess >>> I've used with 8.x systems. =C2=A0But once the kernel loads, the serial >>> console stops working. =C2=A0I'm obviously missing a step somewhere. >>> >>> Here's what I've done. =C2=A0Please point out my error(s): >>> >>> /boot/loader.conf: >>> =C2=A0 =C2=A0hint.uart.0.disabled=3D"0" >>> =C2=A0 =C2=A0hint.uart.0.flags=3D"0x30" >>> =C2=A0 =C2=A0console=3D"comconsole vidconsole" >>> =C2=A0 =C2=A0comconsole_speed=3D"115200" >>> =C2=A0 =C2=A0boot_multicons=3D"yes" >>> >>> /etc/make.conf: >>> =C2=A0 =C2=A0BOOT_COMCONSOLE_PORT=3D0x3F8 >>> =C2=A0 =C2=A0BOOT_COMCONSOLE_SPEED=3D115200 >> >> Nevermind. =C2=A0PEBCAK error. =C2=A0Adding the right port address would= work. >> Amazing how easy it is to mixup a 3 and an E. =C2=A0:( > > Are you referring to the .flags value or the BOOT_COMCONSOLE_PORT value? > Thanks, Both. The BIOS is configured to use COM3 for the remote access support, with an address of 3E8. The kernel sees COM3 as uart0 with an address of 0x3e8. Me, in my infinite copy/paste wisdom set loader.conf and make.conf to use 3= F8. Figured that one out by dropping to a loader prompt and reading through the output of "show" and manually setting the hint.uart.0.port correctly. Then setting it in loader.conf and make.conf correctly afterward. --=20 Freddie Cash fjwcash@gmail.com