From owner-freebsd-hackers@FreeBSD.ORG Thu Sep 9 05:09:56 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8B5216A4CE for ; Thu, 9 Sep 2004 05:09:56 +0000 (GMT) Received: from mx1.freebsdsystems.com (mx1.FreeBSDsystems.COM [69.90.68.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EE4243D31 for ; Thu, 9 Sep 2004 05:09:54 +0000 (GMT) (envelope-from lnb@FreeBSDsystems.COM) Received: (qmail 10459 invoked by uid 3011); 9 Sep 2004 05:11:20 -0000 Received: from lnb@FreeBSDsystems.COM by mx1.freebsdsystems.com by uid 89 with qmail-scanner-1.21 (clamscan: 0.54. f-prot: 3.12/. Clear:RC:1(216.235.9.82):. Processed in 0.199507 secs); 09 Sep 2004 05:11:20 -0000 Received: from unknown (HELO ?192.168.0.5?) (lnb@216.235.9.82) by mx1.freebsdsystems.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 9 Sep 2004 05:11:19 -0000 From: Lanny Baron To: Greg 'groggy' Lehey In-Reply-To: <20040909043947.GV21117@wantadilla.lemis.com> References: <1093817592.8552.90.camel@nyx.slackdot.org> <1093820159.61235.81.camel@palm.tree.com> <1093835972.6769.55.camel@localhost><41336DE5.4000000@slackdot.org> <20040909043947.GV21117@wantadilla.lemis.com> Content-Type: text/plain Organization: FreeBSD Systems, Inc. Message-Id: <1094706588.66493.116.camel@panda.freebsdsystems.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 09 Sep 2004 01:09:48 -0400 Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: Rob Deker cc: Stephan Uphoff Subject: Re: Serial consoles and remote GDB X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 05:09:57 -0000 I use tip com1 to go out serial to serial of other server's redirected console. Just check /etc/remote and make sure you have a line as follows: sio0|com1:dv=/dev/cuaa0:br#9600:pa=none: But if you do serious console redirection, get a decent Terminal Server to which you ssh to the Terminal Server and then use its own commands to connect to your serial console(s). Regards, Lanny On Thu, 2004-09-09 at 00:39, Greg 'groggy' Lehey wrote: > On Monday, 30 August 2004 at 14:11:49 -0400, Rob Deker wrote: > > > > Stephan Uphoff wrote: > > > >> Are you sure that your serial line is configured with the right > >> baud rate? > > > > This may seem a stupid question, but how do I set the baudrate on > > the port and in gdb? > > The default bit rate is 9600 bps. It would be nice to go higher, but > there appear to be race conditions which make it unreliable. At least > initially, you should run at 9600 bps; after that, there are ways of > changing the rate that are themselves changing. Check the kernel > configuration files and sysctl. > > To set the bit rate on the port depends on what software you're > using. I still use cu, though it's now gone from the base system, > along with its parent uucp. With cu you'd do: > > cu -s 9600 -l /dev/cuaa0 > > You can do something similar with tip, which is still around. > > If you have a firewire connection, that's *much* better. Before you > say "no, I don't have that", consider that firewire hardware is very > cheap. There's some stuff about it in > http://www.lemis.com/papers/AUUG2004/tutorial.pdf, but it would be > nice if somebody were to extract this information and put it in the > handbook. If anybody wants to, please contact me and I'll supply the > source. > > Greg > -- > See complete headers for address and phone numbers. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Lanny Baron Proud to be 100% FreeBSD http://www.FreeBSDsystems.COM Toll Free: 1.877.963.1900 =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=