Subject: install/30896: Incorrect serial configuration after installation
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jmmv84@gmail.com>
List: netbsd-bugs
Date: 08/02/2005 18:55:00
>Number:         30896
>Category:       install
>Synopsis:       Incorrect serial configuration after installation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 02 18:55:00 +0000 2005
>Originator:     Julio M. Merino Vidal
>Release:        NetBSD 3.99.5
>Organization:
>Environment:
NetBSD asha.home.network 3.99.5 NetBSD 3.99.5 (GENERIC) #0: Thu Jun  9 16:25:45 UTC 2005  jmmv@dawn.home.network:/var/build/obj/home/jmmv/NetBSD/src/sys/arch/i386/compile/GENERIC i386
>Description:
sysinst does not configure NetBSD correctly after doing an installation
in which serial boot blocks are selected.  The problem only arises when
using a serial speed different than 9600 bauds.

sysinst correctly configures the boot program to the chosen speed, but
does not change getty's configuration in /etc/gettytab.

Therefore, at the first boot, you see the system booting up correctly
(i.e., the kernel shows its messages, rc prints all startup items
correctly, etc.) but when you get to the login prompt, the screen gets
corrupted because the speed is changed in between.
>How-To-Repeat:
During the installation of NetBSD on a new box, select the serial boot
blocks.  Then, choose a speed different than 9600; in my case, 57600.
Finish the installation and notice how the system boots.  When you reach
getty, messages do not appear.
>Fix:
I fixed the issue by manually patching console's entry in /etc/gettytab
to use the correct speed.  sysinst should do the same automatically.