From owner-freebsd-sparc64@FreeBSD.ORG Sun Dec 19 13:33:24 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7F0C16A4CE for ; Sun, 19 Dec 2004 13:33:24 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA79A43D1D for ; Sun, 19 Dec 2004 13:33:23 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) iBJDXMOY087971; Sun, 19 Dec 2004 14:33:22 +0100 (CET) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.10/8.12.10/Submit) id iBJDXHLq087970; Sun, 19 Dec 2004 14:33:17 +0100 (CET) (envelope-from marius) Date: Sun, 19 Dec 2004 14:33:17 +0100 From: Marius Strobl To: "R. Tyler Ballance" Message-ID: <20041219143317.A87531@newtrinity.zeist.de> References: <1103452435.2542.14.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <1103452435.2542.14.camel@localhost.localdomain>; from tyler@tamu.edu on Sun, Dec 19, 2004 at 04:33:55AM -0600 X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-3; AVE: 6.29.0.5; VDF: 6.29.0.23; host: newtrinity.zeist.de) cc: freebsd-sparc@freebsd.org Subject: Re: Garbage thrown into console X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Dec 2004 13:33:24 -0000 On Sun, Dec 19, 2004 at 04:33:55AM -0600, R. Tyler Ballance wrote: > Howdy, I finally got the console (as in, physical access to the machine > over serial) working in -CURRENT on my Ultra 2 using the patches > recommended to me by Marius Strobl (found here: > http://alchemy.franken.de/~marius/zs_nwo.diff) > > Anyways, they work now, and after rebooting a second time after > rebuilding the kernel with the patches applied to the zs driver, I get > garbage thrown into the console before I get the usual FreeBSD prompt > > -----[snip]----- > > Starting inetd. > Starting background file system checks in 60 seconds. > > Sun Dec 19 04:17:58 CST 2004 > ]:Fre oSp/sparc64e(nres a/edteerovc/m) (scteen)ty > a > lo:i :No such file or directory > > FreeBSD/sparc64 (ares.agentdero.com) (ttyy0) > > login: > > -----[snip]----- > > While not something critical, it is slightly annoying, and ugly, anybody > have any idea what is causing it? To make sure it wasn't a one time > thing, I reset once again, and got this: > > -----[snip]----- > Starting inetd. > Starting background file system checks in 60 seconds. > > Sun Dec 19 04:24:46 CST 2004 > > FreeBSD/sparc64 (ares.agentdero.com) (screen) > > login: Dec 19 04:24:47 ares getty[402]: open /dev/ttyz0: No such file or > directory > Dec 19 04:24:47 ares getty[400]: open /dev/ttya: No such file or > directory > Dec 19 04:24:47 getty[400]: open /dev/ttya: No such file or directory > > FreeBSD/sparc64 (ares.agentdero.com) (ttyy0) > > login: > -----[snip]----- > > Just to be more certain than not, I reset yet again, and got a > combination of the two! (Oh brother, this is getting annoying ;)) > > -----[snip]----- > Starting inetd. > Starting background file system checks in 60 seconds. > > Sun Dec 19 04:27:30 CST 2004 > > FreeBSD/sparc64 > Fr(aBSD/rpaec64 (ares.agentdero.som).agentdnero.com) > g(ttyy0) > > login: > FreeBSD/sparc64 (ares.agentdero.com) (ttyy0) > > login: Dec 19 04:27:31 getty[400]: open /dev/ttya: No such file or > directory > Dec 19 04:27:31 ares getty[400]: open /dev/ttya: No such file or > directory > > > FreeBSD/sparc64 (ares.agentdero.com) (ttyy0) > > login: > -----[snip]----- > > If anybody has any other (more correct?) patches that I can use, that'd > be wonderful (prior to the patch, console was completely unusable, so > it's a step in the right direction) > Could you please test what happens if you disable the unused entries, i.e. ttyz0 and ttya, in /etc/ttys? Just comment them out or change the "on" to "off" in their entries. If you then still get garbage characters intermixed please try if it helps when you change "std.9600" to "3wire.9600" in the entry for ttyy0. In the current state when using /etc/ttys as created by the patch does the serial console work as expected if you log in once the garbage was printed?