Subject: pkg/34835: TME sun3 emulator doesn't accept input from emulated serial line
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sigmfsk@aol.com>
List: pkgsrc-bugs
Date: 10/16/2006 18:50:00
>Number:         34835
>Category:       pkg
>Synopsis:       TME sun3 emulator doesn't accept input from emulated serial line
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 16 18:50:00 +0000 2006
>Originator:     Arthur Townsend
>Release:        3.0
>Organization:
>Environment:
3.0 for i386
>Description:
Using a serial line console (vs a GTK/GLIB window), the serial line console does not accept user input.  i.e.:  When attempting to log in over the serial line console, the OS inside TME hangs/crashes/does not respond.

TME usually uses GTK/GLIB to create an xwindow for the console, through which the user can access the emulated Sun3.  But when the emulated sun3 (running NetBSD 3.0 inside the emulator) has been setup with Ethernet, the console window is no longer needed for user input.  In this case, it would be nice to not require GTK/GLIB be loaded on the host.  TME mandates that the emulated sun3 have a console, and the console can be redirected to a serial line, in which case GTK/GLIB is no longer needed.  However, TME has a problem that although it can OUTPUT console text to the serial line, it won't accept INPUT text from the serial line.  So if you don't want a GTK/GLIB window, you must redirect the console to the serial line - but then not attempt to login over ther serial line - and only access the emulated Sun3 via Ethernet.
>How-To-Repeat:
add the following to /etc/remote
sun3:dv=/dev/ptyr0:br#9600:pa-none:dc:

follow the instructions in /usr/pkg/share/examples/SUN3-CARRERA to uncomment "#console..." and comment all the bwtwo0 and cgthree0 and display0 lines.

then "tip sun3" from one window, and start TME in another, then once the TME drive has finished booting, attempt to login via the "tip sun3" window.

also tried using an updated eeprom, changing console from colorfb to ttya, but then also couldn't login via ethernet.
>Fix: