Subject: Re: -current serial console acting up
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Dr. Bill Studenmund <wrstuden@loki.stanford.edu>
List: port-mac68k
Date: 03/23/1999 09:54:11
On Mon, 22 Mar 1999, Hauke Fath wrote:

> Hi,
> 
> for a few weeks now, kernels booting to serial console display
> 
> NetBSD/mac68k does not trust itself to update the RTC on shutdown.
> rebooting...
> H-Q
[junk]
>                                            ~~![JHHH'I=A%a9'H"JJ!^H^a8q
> 
> qj!F^aV(a(
> @HJa'aH=!J]=~zsc0 channel 1: d_speed   9600 DCD clk 0 CTS clk 0
> zstty1 at zsc0 channel 1
> nubus0 at mainbus0
> fpu0 at mainbus0 (mc68040)
> -- i.e. they seem to start up with strange defaults for the serial ports.
> Q700, Booter 1.11.3.

Yep. Try this patch which I'm committing:


Index: zs.c
===================================================================
RCS file: /cvsroot/src/sys/arch/mac68k/dev/zs.c,v
retrieving revision 1.29
diff -u -r1.29 zs.c
--- zs.c	1999/02/11 15:28:04	1.29
+++ zs.c	1999/03/23 17:52:42
@@ -169,7 +169,7 @@
 	ZSWR11_TXCLK_BAUD | ZSWR11_RXCLK_BAUD,
 	((PCLK/32)/9600)-2,	/*12: BAUDLO (default=9600) */
 	0,			/*13: BAUDHI (default=9600) */
-	ZSWR14_BAUD_ENA | ZSWR14_BAUD_FROM_PCLK,
+	ZSWR14_BAUD_ENA,
 	ZSWR15_BREAK_IE,
 };
 

Take care,

Bill