From owner-freebsd-hackers@FreeBSD.ORG Mon Aug 30 03:19:42 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 EBB9316A4CF for ; Mon, 30 Aug 2004 03:19:42 +0000 (GMT) Received: from newmail.slackdot.org (mail2.slackdot.org [66.92.146.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 795C343D46 for ; Mon, 30 Aug 2004 03:19:42 +0000 (GMT) (envelope-from deker@slackdot.org) Received: from localhost (localhost [127.0.0.1]) by newmail.slackdot.org (Postfix) with ESMTP id 97E5218034; Sun, 29 Aug 2004 23:19:08 -0400 (EDT) Received: from newmail.slackdot.org ([127.0.0.1]) by localhost (newmail.slackdot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21291-10; Sun, 29 Aug 2004 23:19:05 -0400 (EDT) Received: from [192.168.0.157] (unknown [192.168.0.157]) by newmail.slackdot.org (Postfix) with ESMTP id 1B13A18009; Sun, 29 Aug 2004 23:19:05 -0400 (EDT) From: Rob Deker To: Stephan Uphoff In-Reply-To: <1093820159.61235.81.camel@palm.tree.com> References: <1093817592.8552.90.camel@nyx.slackdot.org> <1093820159.61235.81.camel@palm.tree.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JHEvNqxl3cRNuzHUSPDJ" Message-Id: <1093835972.6769.55.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 29 Aug 2004 23:19:32 -0400 X-Virus-Scanned: by amavisd-new at slackdot.org cc: freebsd-hackers@freebsd.org 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: Mon, 30 Aug 2004 03:19:43 -0000 --=-JHEvNqxl3cRNuzHUSPDJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2004-08-29 at 18:55, Stephan Uphoff wrote: > Hi, >=20 > Try the patch from kern/65278 >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/65278 >=20 Thanks, Looks like that did some good (I have my console back now), but when i either "boot -g" or break into ddb and give it a "gdb" command, then try and connect gdb to it on the other serial port, gdb seems to not be able to connect to it (and I consequently have to power cycle the machine to un-hang it). What I get from gdb is the following: bash-2.05b$ sudo gdb -k kernel.debug GNU gdb 5.2.1 (FreeBSD) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (kgdb) target remote /dev/cuaa4 Remote debugging using /dev/cuaa4 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Couldn't establish connection to remote target Malformed response to offset query, timeout thanks for the help, -d --=-JHEvNqxl3cRNuzHUSPDJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBBMpzEiIu2X5vnl3ERAlBlAJ49mHS8VgjywTALPcSUy5/LQqEOpACgqihD r3VPoqq+/eYjaDUFFas+7C8= =pAUD -----END PGP SIGNATURE----- --=-JHEvNqxl3cRNuzHUSPDJ--