From owner-freebsd-sparc64@FreeBSD.ORG Thu Nov 25 05:21:56 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 668CE16A4CE; Thu, 25 Nov 2004 05:21:56 +0000 (GMT) Received: from smtp1.server.rpi.edu (smtp1.server.rpi.edu [128.113.2.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF79343D54; Thu, 25 Nov 2004 05:21:55 +0000 (GMT) (envelope-from drosih@rpi.edu) Received: from [128.113.24.47] (gilead.netel.rpi.edu [128.113.24.47]) by smtp1.server.rpi.edu (8.13.0/8.13.0) with ESMTP id iAP5Ls4a030382; Thu, 25 Nov 2004 00:21:54 -0500 Mime-Version: 1.0 Message-Id: In-Reply-To: <41A3A08B.1000803@freebsd.org> References: <41A3A08B.1000803@freebsd.org> Date: Thu, 25 Nov 2004 00:21:53 -0500 To: Scott Long From: Garance A Drosihn Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-CanItPRO-Stream: default X-RPI-SA-Score: undef - spam-scanning disabled X-Scanned-By: CanIt (www . canit . ca) cc: freebsd-sparc64@freebsd.org Subject: Re: Serial configs on sparc64 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: Thu, 25 Nov 2004 05:21:56 -0000 At 1:41 PM -0700 11/23/04, Scott Long wrote: >Garance A Drosehn wrote: >>At 10:12 PM -0500 11/21/04, Garance A Drosihn wrote: >> >>>After the tty-renaming in the 6.x-current branch, should /etc/ttys >>>be changed something like: >>> >>>--- etc/ttys.orig Sun Nov 21 21:56:12 2004 >>>+++ etc/ttys Sun Nov 21 21:46:41 2004 >>>@@ -33,8 +33,8 @@ >>> console none unknown off secure >>> # >>> screen "/usr/libexec/getty Pc" cons25 on secure >>>-ttya "/usr/libexec/getty 3wire.9600" cons25 on secure >>>-ttyb "/usr/libexec/getty 3wire.9600" cons25 off secure >>>+ttyz0 "/usr/libexec/getty 3wire.9600" cons25 on secure >>>+ttyz1 "/usr/libexec/getty 3wire.9600" cons25 off secure >>> # >>> #ttyv0 "/usr/libexec/getty Pc" cons25 on secure >>> # Virtual terminals >>> >>> >>>Making this change got rid of an error message that I had been >>>getting about ttya at system startup, and it also lets me log >>>in via the serial port once the system is up. >> >>Seeing the lack of any objections, I'll try to commit this change >>to 6.x-current sometime soon. Probably over the long weekend. > >Are you using the zs or the uart driver? Now that Marcel fixed >uart to handle the zs hardware in the U2 correctly, we might be able >to think about retiring the zs driver entirely. I un-commented the uart line in my kernel config, and changed the lines in /etc/tty back to what they had been. I booted into single-user with the new kernel (planning to 'make installworld'), and I had no serial console. Not sure if it hung, or if it just wasn't listening to me. Given how long it takes me to test anything on this machine, I decided that I would just skip this idea for now. I re-commented out the uart line in the kernel, put back my changes to /etc/tty, and that's working fine for me. I don't have enough background at the kernel/device-driver level to know what I'm doing, so I'll wait until someone who knows more will figure it out. I should also note that I was getting constantly interrupted with minor-emergency phone calls while doing this, so maybe I just missed something simple and this all works quite fine. I do not plan on committing my change to /etc/ttys, even though it is an improvement for my situation, in case someone else is in the middle of making a much better change. -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu