LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-30-2010, 08:44 AM   #1
padmarao
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
kgdb over ethernet


Hi,
I've finally compiled 2.6.30 kernel with kgdb over ethernet support.
I thought the kernel would wait while booting for a remote connection through kgdb, but actually it boots till the end and Gnome starts.
What are the parameters should I give in the grub to make kgdb work ?
thanks for your help
 
Old 04-01-2010, 01:01 AM   #2
hihahi
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Rep: Reputation: 0
Here is example grub conf

title Linux-2.6.13-kgdb(eth)
root (hd0,0)
kernel /boot/bzImage-2.6.15-kgdb ro root=/dev/hda1 kgdboe=@10.0.0.6/,@10.0.0.3/
console=ttyS0,115200


(that's kgdboe=@LOCAL-IP/,@REMOTE-IP/)
 
Old 04-16-2010, 01:50 AM   #3
padmarao
LQ Newbie
 
Registered: Mar 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Kgdb over ethernet problrm

I have compiled linux-2.6.30 kernel with kgdb over ethernet support ande added kgdboe=@10.128.57.179/,@10.128.57.105/ kgdbwait kernel parameters to grub.conf and tried to booting with that kernel

but the target pc is not waiting for renote gdb connection, after loading os i have seen dmesg log, in that the following errors found

kgdboe: local port 6443
[ 2.238984] kgdboe: local IP 10.128.57.179
[ 2.238986] kgdboe: interface eth0
[ 2.238988] kgdboe: remote port 6442
[ 2.238990] kgdboe: remote IP 10.128.57.105
[ 2.238992] kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
[ 2.238995] kgdboe: eth0 doesn't exist, aborting.
[ 2.243728] kgdboe: netpoll_setup failed kgdboe failed

if any knows solution please help me
 
Old 03-23-2012, 07:35 PM   #4
cwcarlson
LQ Newbie
 
Registered: Jun 2011
Location: Mission Viejo, CA
Distribution: Fedora 9, 13 and 15.
Posts: 16

Rep: Reputation: Disabled
Where did you find kgdboe

I don't know if you're still out there, but I've looked everywhere for the source to kgdboe so that I can install it on our Ubuntu kernel. If you know where you found it, I'd appreciate a pointer.

Thanks.
 
  


Reply


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
KGDB, for 2.6.31 atmurali Linux - Kernel 1 12-12-2009 05:06 AM
kgdb patch for 2.6.18 bharat.gusain Linux - Kernel 4 09-17-2009 11:39 PM
Kgdb devkpict Linux - Kernel 5 01-18-2008 04:57 AM
KGDB for 2.6.15.4 amitbmehta123 Linux - Kernel 1 06-04-2006 08:28 AM
netpoll API for ethernet kgdb tiffanybreeze Programming 0 09-13-2004 07:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration