From owner-freebsd-stable@FreeBSD.ORG Mon Oct 26 21:56:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9D6D106566C for ; Mon, 26 Oct 2009 21:56:12 +0000 (UTC) (envelope-from matthew.fleming@isilon.com) Received: from seaxch09.isilon.com (seaxch09.isilon.com [74.85.160.25]) by mx1.freebsd.org (Postfix) with ESMTP id C1A168FC0C for ; Mon, 26 Oct 2009 21:56:12 +0000 (UTC) x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Date: Mon, 26 Oct 2009 14:57:42 -0700 Message-ID: <06D5F9F6F655AD4C92E28B662F7F853E032DF8FA@seaxch09.desktop.isilon.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: uart(4) on stable/7 Thread-Index: AcpWh1ehsh2IJkl7SdObvITVUNy1XA== From: "Matthew Fleming" To: Subject: uart(4) on stable/7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Oct 2009 21:56:12 -0000 I am interested in using uart(4) instead of sio(4) on stable/7, to ease our eventual transition to stable/8 or CURRENT. I added device uart and changed up /boot/device.hints (there were no entries in /etc/ttys that mentioned sio), and I get something that boots and has messages on the console, up to the login prompt. There's no login prompt, though. I can ssh to my box, echo to /dev/console appears on the console; messages on reboot appear on the console, just not the login prompt. Does anyone know what else I may be missing to use uart(4)? Also, we have some boot scripts locally that will try to set machdep.conspeed based on hardware type; uart(4) doesn't seem to expose a sysctl by that name. How does the uart driver for stable/7 deal with differing console speeds? The hints in /boot/device.hints, obtained by s/sio/uart: hint.uart.0.at=3D"isa" hint.uart.0.port=3D"0x3F8" hint.uart.0.flags=3D"0x90" hint.uart.0.irq=3D"4" hint.uart.1.at=3D"isa" hint.uart.1.port=3D"0x2F8" hint.uart.1.irq=3D"3" hint.uart.2.at=3D"isa" hint.uart.2.disabled=3D"1" hint.uart.2.port=3D"0x3E8" hint.uart.2.irq=3D"5" hint.uart.3.at=3D"isa" hint.uart.3.disabled=3D"1" hint.uart.3.port=3D"0x2E8" hint.uart.3.irq=3D"9" Thanks, matthew