Console serial speed

Doug Ambrisko ambrisko at ambrisko.com
Wed Jul 30 14:59:01 PDT 2003


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).

Doug A.


More information about the freebsd-hackers mailing list