From owner-freebsd-alpha Mon Aug 24 01:53:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA20440 for freebsd-alpha-outgoing; Mon, 24 Aug 1998 01:53:45 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA20435 for ; Mon, 24 Aug 1998 01:53:40 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.9.1/8.8.5) with SMTP id JAA19909; Mon, 24 Aug 1998 09:54:37 +0100 (BST) Date: Mon, 24 Aug 1998 09:54:37 +0100 (BST) From: Doug Rabson To: Andrew Gallatin cc: "Jordan K. Hubbard" , freebsd-alpha@FreeBSD.ORG Subject: Re: FreeBSD/Alpha make buildworld stops at groff In-Reply-To: <13792.23270.918856.724787@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 23 Aug 1998, Andrew Gallatin wrote: > Speaking of this, does anybody know how to recover a serial line on a > 3.0-current/i386 host after a gdb remote attach times out? If I > fumble on setting the baud rate properly, or make some other screwup, > gdb leaves the line 'busy' & I cannot seem to get it back w/o > rebooting my destop machine (which is running a 3.0-current kernel > from sources cvsupped circa July 20th). This is both with the gdb > from Doug's directory on freefall & with one I built myself. > > Nobody has the file open, tip, kermit, etc all fail to open it. There > are no lock files that I can find. A ktrace of tip trying to open it > looks like: > > 2406 tip CALL open(0x12030,0x2,0xa) > 2406 tip NAMI "/dev/cuaa0" > 2406 tip RET open -1 errno 16 Device busy > > Thanks, I've never seen this but I'm normally very careful when attaching GDB. I always wait until after the target has stopped before trying to attach. I also use a macro so I never have to mistype the speed: define ak #set remotechat 1 set remotebaud 57600 target remote /dev/cuaa1 end -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message