From owner-freebsd-questions Mon Dec 21 12:04:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15310 for freebsd-questions-outgoing; Mon, 21 Dec 1998 12:04:56 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from axl.noc.iafrica.com (axl.noc.iafrica.com [196.31.1.175]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA15298 for ; Mon, 21 Dec 1998 12:04:48 -0800 (PST) (envelope-from sheldonh@axl.noc.iafrica.com) Received: from sheldonh (helo=axl.noc.iafrica.com) by axl.noc.iafrica.com with local-esmtp (Exim 2.10 #1) id 0zsBZD-0001DZ-00 for freebsd-questions@freebsd.org; Mon, 21 Dec 1998 22:04:35 +0200 From: Sheldon Hearn To: freebsd-questions@FreeBSD.ORG Subject: Remote kernel debugging over serial Date: Mon, 21 Dec 1998 22:04:35 +0200 Message-ID: <4684.914270675@axl.noc.iafrica.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi folks, I'm trying to use the instructions in Chapter 22.4 of the handbook to debug a problem I have using teh ATAPI CD-ROM driver in 2.2-STABLE. I think I've followed the instructions in the handbook to the letter, but am having a bit of a problem trying to get gdb to talk to the debugging kernel on the target host. I'm using a null modem cable on serial0 of each box (/dev/cuaa0). The cable itself has been tested by a friend using Wintendo games that called for "a null modem cable". I assume there's only one workable wiring standard for such a thing. This is the error I get: | [root@axl] /usr/src/sys/compile/GDB # gdb -k kernel | GDB is free software and you are welcome to 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. | GDB 4.16 (i386-unknown-freebsd), | Copyright 1996 Free Software Foundation, Inc... | (kgdb) target remote /dev/cuaa0 | Remote debugging using /dev/cuaa0 | Ignoring packet error, continuing... | Ignoring packet error, continuing... | Couldn't establish connection to remote target | Malformed response to offset query, timeout | (kgdb) Any suggestions would be greatly appreciated. Thanks, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message