From owner-freebsd-current@FreeBSD.ORG Thu Aug 4 16:22:16 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07BBF16A41F for ; Thu, 4 Aug 2005 16:22:16 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from ns1.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD14D43D49 for ; Thu, 4 Aug 2005 16:22:15 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from [192.168.4.250] (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.13.4/8.13.4) with ESMTP id j74GMFVk007993; Thu, 4 Aug 2005 09:22:15 -0700 (PDT) (envelope-from marcel@xcllnt.net) In-Reply-To: <200508040940.56172.lonnie.vanzandt@ngc.com> References: <200508040940.56172.lonnie.vanzandt@ngc.com> Mime-Version: 1.0 (Apple Message framework v733) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Marcel Moolenaar Date: Thu, 4 Aug 2005 09:22:14 -0700 To: lonnie.vanzandt@ngc.com X-Mailer: Apple Mail (2.733) Cc: freebsd-current@freebsd.org Subject: Re: Missing a step in new(er) Remote gdb/kdb setup? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Aug 2005 16:22:16 -0000 On Aug 4, 2005, at 8:40 AM, Lonnie VanZandt wrote: > Marcel Moolenaar - or anyone who has properly setup the new remote > gdb/kdb, > > You are, I believe, the programmer for the revised remote > kernel debug > interface in FreeBSD 5.4. If so, perhaps you could advise me on why > I might > be receiving a "Ignoring packet error, continuing..." at startup > from a > command like: > > kgdb -r /dev/cuaa0 /tmp/kernel.debug In my case those are caused by protocol time-outs. This typically happens when I start kgdb before I switch the kernel over to the GDB backend. It's a GDB problem. I just retry and everything is ok. > Is there a serial port baud rate setting I need to revise? Don't know. I never use sio(4). I always use uart(4). > Also, how do I get rid of the libthread_db.so undefined symbol > reference to > ps_pglobal_lookup? You can't. It's a bug. The bug is mostly that libthread_db.so is loaded when it shouldn't. I didn't write that code. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net