Skip site navigation (1)Skip section navigation (2)
Date:      31 Jul 2003 20:11:38 +0000
From:      Russell Cattelan <cattelan@xfs.org>
To:        Doug Ambrisko <ambrisko@ambrisko.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Console serial speed
Message-ID:  <1059682298.87235.3.camel@rose.americas.sgi.com>
In-Reply-To: <200307302158.h6ULwieJ059063@www.ambrisko.com>
References:  <200307302158.h6ULwieJ059063@www.ambrisko.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2003-07-30 at 21:58, Doug Ambrisko wrote:
> Russell Cattelan writes:
> | How does one set the serial speed of the console.
> | I changed the boot loader speed to 57600 in make.conf
> | but the kernel seems to chose random speeds each time 
> | it's booted.
> | Sometimes it's 9600 sometimes it 115200 other times 
> | it's 38400.
> | 
> | Note this is on 5.x current
> 
> You might want to check sys/isa/sio.c in function siocngetspeed.
> I comment out the "return (rclk / (16UL * divisor));" on some of my
> stable boxes.  I've seen a few motherboards that result in a messed
> up console if I don't do it (ie. wrong speed).
I changed the return val to be CONSPEED.
The machine now boots with the console speed correctly set
to 57600

Thanks... suppose a proper fix would be good :-)
> 
> Doug A.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1059682298.87235.3.camel>