Serial configs on sparc64
Garance A Drosihn
drosih at rpi.edu
Wed Nov 24 21:21:56 PST 2004
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 at gilead.netel.rpi.edu
Senior Systems Programmer or gad at freebsd.org
Rensselaer Polytechnic Institute or drosih at rpi.edu
More information about the freebsd-sparc64
mailing list