From owner-cvs-all@FreeBSD.ORG Sat Mar 12 02:22:21 2005 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 456E016A4CE; Sat, 12 Mar 2005 02:22:21 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 81D7E43D5D; Sat, 12 Mar 2005 02:22:20 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) j2C2MIq8080468; Sat, 12 Mar 2005 03:22:18 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j2C2MDS2080467; Sat, 12 Mar 2005 03:22:13 +0100 (CET) (envelope-from marius) Date: Sat, 12 Mar 2005 03:22:13 +0100 From: Marius Strobl To: Jake Burkholder Message-ID: <20050312032213.E55534@newtrinity.zeist.de> References: <200501300927.j0U9RnQU008885@repoman.freebsd.org> <20050310193237.GA52299@dragon.nuxi.com> <20050311093740.B55534@newtrinity.zeist.de> <20050311182519.GA8792@dragon.nuxi.com> <20050312010210.D55534@newtrinity.zeist.de> <42324C27.1080700@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <42324C27.1080700@locore.ca>; from jake@locore.ca on Fri, Mar 11, 2005 at 08:55:51PM -0500 X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-6; AVE: 6.30.0.5; VDF: 6.30.0.26; host: newtrinity.zeist.de) cc: cvs-src@freebsd.org cc: Marcel Moolenaar cc: src-committers@freebsd.org cc: cvs-all@freebsd.org cc: David O'Brien Subject: Re: cvs commit: src/sys/sparc64/conf GENERIC X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Mar 2005 02:22:21 -0000 On Fri, Mar 11, 2005 at 08:55:51PM -0500, Jake Burkholder wrote: > Marius Strobl wrote: > > >On Fri, Mar 11, 2005 at 10:25:19AM -0800, David O'Brien wrote: > > > > > >>On Fri, Mar 11, 2005 at 09:37:40AM +0100, Marius Strobl wrote: > >> > >> > >>>On Thu, Mar 10, 2005 at 11:32:37AM -0800, David O'Brien wrote: > >>> > >>> > >>>>On Sun, Jan 30, 2005 at 09:27:49AM +0000, Marcel Moolenaar wrote: > >>>> > >>>> > >>>>>marcel 2005-01-30 09:27:49 UTC > >>>>> > >>>>> FreeBSD src repository > >>>>> > >>>>> Modified files: > >>>>> sys/sparc64/conf GENERIC > >>>>> Log: > >>>>> o Enable puc(4) and uart(4). > >>>>> o Disable ofw_console(4), sab(4) and zs(4). > >>>>> > >>>>> > Thanks for doing this. > > >>>> > >>>>Please Back commit out. You broke the console on the most modern Sparc > >>>> > >>>> > [...] > > David may be using ttyb. It seems that uart_cpu_sparc64.c assumes ttya > if input-device is keyboard and output-device is screen, but the > firmware handles for stdin and stdout are equal. > > I can't think of a clean way to fix this, maybe get the handles for > stdin and stdout and then search the firmware tree for a matching > device? Or it may be possible to use stdin and stdout directly somehow. > Correct, uart(4) assumes ttya in case the keyboard is not plugged in but that's also what OFW does on all boxes I've seen so far. IIRC this is also documented somewhere in the OFW or Sun specs. David, could you please hook up a monitor to the Blade 100? OFW displays a message on the screen where it switches the console to in case input-device=keyboard and output-device=screen but no keyboard is plugged in. Could you _please_ also test if uart(4) works as serial console if you set both input-device and output-device to ttya? Marius