Console serial speed

Russell Cattelan cattelan at xfs.org
Thu Jul 31 21:14:18 PDT 2003


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.



More information about the freebsd-hackers mailing list