Date: Fri, 20 Oct 2006 12:59:21 +0200 From: Stefan Bethke <stb@lassitu.de> To: freebsd-stable@freebsd.org Subject: kernel ignores kenv comconsole_speed? Message-ID: <F8963480-4EE2-4C0C-B209-52BE0862740A@lassitu.de>
next in thread | raw e-mail | index | archive | help
Am I doing something wrong, or is this a bug? (This is on a stable from yesterday.) I have -DS115200 in /boot.config, and boot and loader are happily using this speed. However, the kernel appears to be hardwired to 9600. After boot, it's still at 9600: # stty </dev/ttyd0 speed 9600 baud; lflags: -icanon -isig -iexten -echo iflags: -icrnl -ixon -ixany -imaxbel -brkint oflags: -opost cflags: cs8 -parenb clocal # sysctl machdep.conspeed machdep.conspeed: 9600 However, comconsole_speed is set correctly: # kenv comconsole_speed 115200 I've recompiled my kernel with options COMSPEED=115200, and that fixed the issue for now, but shouldn't the kernel pick up the console speed from the kenv instead of using the hard-coded value? Since machdep.conspeed is a sysctl, you can only change it after boot, which is kind of inconvenient... Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F8963480-4EE2-4C0C-B209-52BE0862740A>