From owner-freebsd-current@FreeBSD.ORG Thu Oct 14 22:01:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6454B16A4CE for ; Thu, 14 Oct 2004 22:01:54 +0000 (GMT) Received: from smtp004.bizmail.sc5.yahoo.com (smtp004.bizmail.sc5.yahoo.com [66.163.175.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 4128343D64 for ; Thu, 14 Oct 2004 22:01:54 +0000 (GMT) (envelope-from noackjr@alumni.rice.edu) Received: from unknown (HELO optimator.noacks.org) (noackjr@supercrime.org@70.240.240.189 with login) by smtp004.bizmail.sc5.yahoo.com with SMTP; 14 Oct 2004 22:01:53 -0000 Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id BC3A26168; Thu, 14 Oct 2004 17:01:53 -0500 (CDT) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05517-05; Thu, 14 Oct 2004 17:01:52 -0500 (CDT) Received: from www.noacks.org (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 2505460D2; Thu, 14 Oct 2004 17:01:52 -0500 (CDT) Received: from 69.53.57.66 (SquirrelMail authenticated user noackjr); by www.noacks.org with HTTP; Thu, 14 Oct 2004 17:01:52 -0500 (CDT) Message-ID: <59720.69.53.57.66.1097791312.squirrel@69.53.57.66> In-Reply-To: <416EE61B.6050909@withagen.nl> References: <200410142232.00618.Emanuel.Strobl@gmx.net> <416EE61B.6050909@withagen.nl> Date: Thu, 14 Oct 2004 17:01:52 -0500 (CDT) From: "Jon Noack" To: "Willem Jan Withagen" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: by amavisd-new at noacks.org cc: Emanuel Strobl cc: freebsd-current@freebsd.org Subject: Re: BETA7 sio 'options CONSPEED' not working? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Oct 2004 22:01:54 -0000 Willem Jan Withagen wrote: > Emanuel Strobl wrote: >> Hello, >> >> I recompiled a kernel with options conspeed=115200 but console still has >> 9600 set, also defining "std.115200" in /etc/ttys doesn't change the >> login consoles speed. >> >> Am I missing something? > > I remember trying all kinds of things too. > > I've got: > BOOT_COMCONSOLE_SPEED= 115200 > BOOT_COMCONSOLE_PORT= 0x3F8 > CONSPEED=115200 > > in /etc/make.conf > > and in /etc/ttys: > # The 'dialup' keyword identifies dialin lines to login, fingerd etc. > ttyd0 "/usr/libexec/getty std.115200" vt220 on secure > > But make shure to 'kill -1 1' to have init reread the ttys-table > > I've also switched the debugger flag on in /boot/device.hints: > hint.sio.0.flags="0x30" The following works for me. In /etc/make.conf: BOOT_COMCONSOLE_SPEED= 115200 In /etc/ttys: # The 'dialup' keyword identifies dialin lines to login, fingerd etc. ttyd0 "/usr/libexec/getty std.115200" vt100 on secure In /etc/remote: # Finger friendly shortcuts sio0|com1:dv=/dev/cuaa0:br#115200:pa=none: sio1|com2:dv=/dev/cuaa1:br#115200:pa=none: I have two machines with serial consoles running on com1. They are cross-connected such that com2 of one machine is connected to com1 of the other. Thus, I can "tip com2" on one machine to connect to the other's serial console. As such, I believe only the com2 line in /etc/remote is required. Jon