From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 3 11:47:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 847D81065677 for ; Thu, 3 Jul 2008 11:47:24 +0000 (UTC) (envelope-from karimulla@krify.com) Received: from omta0103.mta.everyone.net (imta-38.everyone.net [216.200.145.38]) by mx1.freebsd.org (Postfix) with ESMTP id 688788FC14 for ; Thu, 3 Jul 2008 11:47:24 +0000 (UTC) (envelope-from karimulla@krify.com) Received: from dm23.mta.everyone.net (sj1-slb03-gw2 [172.16.1.96]) by omta0103.mta.everyone.net (Postfix) with ESMTP id 42DE93C7DC0 for ; Thu, 3 Jul 2008 04:47:24 -0700 (PDT) X-Eon-Dm: dm23 Received: by resin11.mta.everyone.net (EON-PICKUP) id resin11.4861a1b2.5a071; Thu, 3 Jul 2008 04:47:23 -0700 Message-Id: <20080703044723.BD564B69@resin11.mta.everyone.net> Date: Thu, 3 Jul 2008 04:47:23 -0700 From: "karim sk" To: X-Eon-Sig: AQKKlONIbLxLyDK3mgEAAAAB,9af41949a65b7cf83e9f0d3eeb92e1b2 X-Originating-Ip: [203.145.174.100] MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: kgdb error: Ignoring packet error, continuing.... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: karimulla@krify.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 11:47:24 -0000 Hi, I am trying to setup kgdb on serial console in freebsd. I have done the following steps. 1. Compile the kernel with the following options options DDB options KDB makeoptions DEBUG-g 2.Installed the kernel on the target machine. 3. Transferred the kernel.debug to host machine. 4. Modified the file /boot/device.hints in the target machine to have sio flags as hint.sio.0.at="isa" hint.sio.0.port="0X3F8" hint.sio.0.flags="0x80" hint.sio.0.irq="4" 5. Reboot the target machine. At the loader prompt type the following set comconsole_speed=9600 boot -d Then the target machine stops at ddb> prompt. 6.In the host machine type the following at kgdb prompt kgdb> set remotebaud 9600 kgdb> file kernel.debug kgdb> target remote /dev/cuad0 This is not able to establish the connection. It is giving following errors. Ignoring packet error, continuing... Ignoring packet error, continuing... Couldn't establish connection to remote target. Malformed response to offset query, timeout. Can any body tell why packet error is coming when kgdb is trying to establish the connection. Thanks in advance. Karim _________________________________________________________________ I use Krify Mail - http://mail.krify.com Get yourmail at Krify today!