Date: Thu, 25 Nov 2004 00:21:53 -0500 From: Garance A Drosihn <drosih@rpi.edu> To: Scott Long <scottl@freebsd.org> Cc: freebsd-sparc64@freebsd.org Subject: Re: Serial configs on sparc64 Message-ID: <p0620070ebdcb1a7c4202@[128.113.24.47]> In-Reply-To: <41A3A08B.1000803@freebsd.org> References: <p06200700bdc7053041a1@[128.113.24.47]> <p0620070bbdc94cc509df@[128.113.24.47]> <41A3A08B.1000803@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0620070ebdcb1a7c4202>