LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kgdb over ethernet (https://www.linuxquestions.org/questions/linux-kernel-70/kgdb-over-ethernet-798887/)

padmarao 03-30-2010 08:44 AM

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

hihahi 04-01-2010 01:01 AM

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/)

padmarao 04-16-2010 01:50 AM

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

cwcarlson 03-23-2012 07:35 PM

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.


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