LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 01-03-2006, 01:14 AM   #1
Surekha Gupta
LQ Newbie
 
Registered: Jan 2006
Posts: 6

Rep: Reputation: 0
Question problem connecting remote target using kgdb 1.5 with linux 2.4.20-8


Hi,

I am trying to get a working kgdb setup using a RH8.0 development machine and RH9.0 target machine. I have downloaded and applied linux-2.4.20-kgdb-1.5.patch to kernel 2.4.20-8 (several hunks failed, but I merged changes manually) and rebuit kernel with remote debugging over serial enabled. I have also modified grub to boot the new kernel on target and the target is waiting for connection for remote gdb.

However, gdb on my host machine is unable to connect to target and dumps follwing messages:

Remote debugging using /dev/ttyS0
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

I have checked my null modem cable using minicom/echo/cat etc. and seems working(although on host machine cat < /dev/ttyS0 seems to not wait for input from other side and just comes out---but if i run minicom on host and echo some text to dev/ttys0 on target, it works). Is there a way to figure if the problem is with cable/connection or with the debug kernel I have made?

Does anyone have a tested debug kernel for 2.4.20-8?

Thanks in advance!

Surekha Gupta
 
Old 01-03-2006, 04:01 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,378

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem connecting remote target using kgdb 1.4 with linux 2.4.20-8 Surekha Gupta Linux - Newbie 1 01-03-2006 04:02 AM
Connecting to windows netmeeting remote desktop sharing from linux jacobselvin Linux - Software 5 12-12-2005 03:32 PM
Problem connecting to remote fax machine bayard Linux - Hardware 0 10-18-2005 02:41 PM
connecting to a remote unix/linux server arunsri Linux - General 1 03-08-2005 09:01 PM
connecting to a remote microsoft home network from linux? cybertek Linux - Newbie 5 03-29-2004 11:59 AM


All times are GMT -5. The time now is 04:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration