From owner-freebsd-current@FreeBSD.ORG Fri Sep 12 03:40:06 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 6E03A1065678 for ; Fri, 12 Sep 2008 03:40:06 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout017.mac.com (asmtpout017.mac.com [17.148.16.92]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8948FC1D for ; Fri, 12 Sep 2008 03:40:06 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from mtamvada-lt2.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp017.mac.com (Sun Java(tm) System Messaging Server 6.3-7.03 (built Aug 7 2008; 32bit)) with ESMTPSA id <0K72008Q7CTTYP00@asmtp017.mac.com> for freebsd-current@FreeBSD.org; Thu, 11 Sep 2008 20:40:06 -0700 (PDT) Message-id: <75BD7074-F561-42D5-A537-FFF44B612BFB@mac.com> From: Marcel Moolenaar To: Garance A Drosihn In-reply-to: Date: Thu, 11 Sep 2008 20:39:29 -0700 References: X-Mailer: Apple Mail (2.928.1) Cc: freebsd-current@FreeBSD.org 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 03:40:06 -0000 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). > I get the impression > that the newer loader includes changes to make uart work better > wrt the speed it expects to use on the serial port. Is that a > reasonable guess? Nothing has been done to make uart(4) work. By default uart(4) keeps the baudrate that the firmware or loader uses. This may not always work, which is why you can tell uart(4) explicitly what baudrate to use. -- Marcel Moolenaar xcllnt@mac.com