From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 17:04:57 2008 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 048E0106566C for ; Fri, 12 Sep 2008 17:04:57 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outL.internet-mail-service.net (outl.internet-mail-service.net [216.240.47.235]) by mx1.freebsd.org (Postfix) with ESMTP id DFE708FC15 for ; Fri, 12 Sep 2008 17:04:56 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 456E522D2; Fri, 12 Sep 2008 10:04:57 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 4D5442D6006; Fri, 12 Sep 2008 10:04:56 -0700 (PDT) Message-ID: <48CAA137.6040404@elischer.org> Date: Fri, 12 Sep 2008 10:04:55 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: Marcel Moolenaar References: <75BD7074-F561-42D5-A537-FFF44B612BFB@mac.com> <48CA089B.6010102@elischer.org> <64026D00-137A-47AE-B03E-F6A3F3769101@mac.com> In-Reply-To: <64026D00-137A-47AE-B03E-F6A3F3769101@mac.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, Garance A Drosihn , Peter Wemm Subject: Re: serial console on 8.x (probably sio vs uart) 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: Fri, 12 Sep 2008 17:04:57 -0000 Marcel Moolenaar wrote: > > On Sep 11, 2008, at 11:13 PM, Julian Elischer wrote: > >> Peter Wemm wrote: >>> On Thu, Sep 11, 2008 at 8:39 PM, Marcel Moolenaar >>> wrote: >>>> On Sep 11, 2008, at 7:09 PM, Garance A Drosihn wrote: >>>> >>>>> After I boot up, the only /dev/tty* devices I have are ttyv0 >>>>> through ttyvf. I've installed the new /etc/ttys and a new >>>>> /boot/device.hints, though frankly device.hints has always >>>>> been a magic-box to me, so I just blindly copied what was in >>>>> GENERIC.hints and changed hint.uart.0.flags to be "0x30". >>>> uart(4) does tell you when it's the console: >>>> >>>> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0 >>>> uart0: [FILTER] >>>> uart0: console (115200,n,8,1) >>>> >>>> The first question is: do you see a line like the one above? >>>> If not (most likely), try to boot explicitly with a serial >>>> console (i.e. set boot_serial=yes at the loader prompt or >>>> boot with -h). >>> He probably also needs to update his /boot/device.hints file. >>> (change sio to uart) >> >> I think uart should read 'sio' entries if there is no sio in the >> kernel, and it hasn't found any uart entries.. > > No. Hints are optional and misused as they are. We're > not making things any cleaner if we make driver X look > for hints for driver Y. > yeah but I almost bricked a machine the other day upgrading because I didn't have any uart hints but there were sio hints from the previous kernel that would have done the job.