NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-sparc/43829: OF set console baudrate is changed once multiuser login starts



>Number:         43829
>Category:       port-sparc
>Synopsis:       OF set console baudrate is changed once multiuser login starts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 02 15:30:01 +0000 2010
>Originator:     Joachim Thiemann
>Release:        5.1_RC3
>Organization:
McGill University
>Environment:
NetBSD rigel.ece.mcgill.ca 5.1_RC3 NetBSD 5.1_RC3 (GENERIC) #0: Sun Jun 13 
10:49:53 UTC 2010  
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RC3/sparc/201006130031Z-obj/home/builds/ab/netbsd-5-1-RC3/src/sys/arch/sparc/compile/GENERIC
 sparc
>Description:
The getty process running on the serial console (if machine booted without 
keyboard) will force the baudrate to 9600, even if the machine OF console is 
set to 19200.
>How-To-Repeat:
Boot with serial terminal on port A, and no keyboard plugged in.  The sparc 
will put console on serial port.  In OF prompt, set baud rate to 19200 ("setenv 
ttya-mode 19200,8,n,1" IIRC).  Boot freshly installed NetBSD 5.1_RC3. (Or, I 
suspect, many older versions).  Kernel messages will appear normally (at 19200) 
but the login prompt is line noise, until you switch your terminal to 9600.

>Fix:
Delete "sp#9600" parameter from the "suncons" entry:

*** gettytab    Thu Sep  2 11:46:01 2010
--- gettytab.bak        Wed Sep  1 14:59:56 2010
***************
*** 125,131 ****
  
  # 8 bit clean Sun console
  suncons|Sun Console:\
!       :np:
  
  #
  # Plugboard, and misc other terminals
--- 125,131 ----
  
  # 8 bit clean Sun console
  suncons|Sun Console:\
!       :np:sp#9600:
  
  #
  # Plugboard, and misc other terminals



Home | Main Index | Thread Index | Old Index