Subject: port-i386/18358: dot.profile sets console line speed to 9600 on install disks
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ball@iprotium.com>
List: netbsd-bugs
Date: 09/20/2002 14:04:49
>Number: 18358
>Category: port-i386
>Synopsis: dot.profile sets console line speed to 9600 on install disks
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Sep 20 14:05:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Allen D. Ball
>Release: NetBSD 1.6
>Organization:
N/A
>Environment:
System: NetBSD proton. 1.6 NetBSD 1.6 (INTEL-ISP1100) #0: Mon Sep 16 10:40:26 PDT 2002 ball@proton.:/usr/obj/sys/arch/i386/compile/INTEL-ISP1100 i386
Architecture: i386
Machine: i386
>Description:
The dot.profile unconditionally sets the baud rate to 9600.
(Wouldn't it be better to just run with what the kernel thinks?)
>How-To-Repeat:
Try to install on a machine with a serial console where the serial port
baud rate is not 9600.
>Fix:
Below is the quick and dirty fix. I do not know how to change the new
build order to allow customization of the dot.profile for specific boot
floppies.
Index: dot.profile
===================================================================
RCS file: /export/NetBSD/CVS/src/distrib/i386/floppies/common/dot.profile,v
retrieving revision 1.1.6.2
diff -u -r1.1.6.2 dot.profile
--- dot.profile 2002/08/19 18:47:20 1.1.6.2
+++ dot.profile 2002/09/20 20:52:06
@@ -60,7 +60,7 @@
# set up some sane defaults
echo 'erase ^?, werase ^W, kill ^U, intr ^C'
- stty newcrt werase ^W intr ^C kill ^U erase ^? 9600
+ stty newcrt werase ^W intr ^C kill ^U erase ^?
echo ''
# mount the ramdisk read write
>Release-Note:
>Audit-Trail:
>Unformatted: