Hello.
Milind Dumbare wrote:
> It seems you are giving wrong commands to gdb. Right one is
> (gdb) tar rem udp:<IP of kgdb machine>:6443
> if problem persists still, try disabling NAPI in menuconfig, Also try
> disabling firewalls, SELinux if any.
> AFAIK kgdb serial and ethernet don't have anything to do with each other.
Also, be aware of the issues with this driver -- KGDBoE overflows its TX
queue which may result in incomplete register frames or just driver's own
compalints about out-of-sync dirty pointer depending on your arch. So, I'd
recommend to remove *all* "select NETPOLL_TRAP" lines from Kconfig.kgdb...
> -Milind
> Dipak Dudhabhate wrote:
>>Hi Milind,
>>I am using Dual core machine with on board Ethernet, it is of 100MB/s.
>>Same kernel with same kgdb patches i have compiled for serial setup.
>>it is working fine, when configured for ethernet it is not working.
>>On Fri, 2007-03-02 at 14:16 +0530, Milind Dumbare wrote:
>>>Which ethernet card are you using? If its 1000 MB is NAPI disabled?
>>>-Miline
>>>Dipak Dudhabhate wrote:
>>>>HI,
>>>>I trying to do setup for kgdb over ethernet.
>>>>I am using kgdb-2.4 and linux kernel 2.6.15-5.
>>>><<>>The out of dmesg from target machine at the time of booting is as
>>>>follows
>>>>eth0: RealTek RTL8139 at 0x1000, 00:16:76:6c:5c:45, IRQ 11
>>>>eth0: Identified 8139 chip type 'RTL-8101'
>>>>kgdboe: local port 6443
>>>>kgdboe: local IP 192.168.10.196
>>>>kgdboe: interface eth0
>>>>kgdboe: remote port 6442
>>>>kgdboe: remote IP 192.168.10.194
>>>>kgdboe: remote ethernet address ff:ff:ff:ff:ff:ff
>>>>kgdboe: device eth0 not up yet, forcing it
>>>>eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
>>>>kgdboe: carrier detect appears untrustworthy, waiting 4 seconds
>>>>kgdboe: debugging over ethernet enabled
>>>><<>>The following o/p is from my gdb from remote machine
>>>>(gdb) target remote 192.168.10.196:6443
>>>>192.168.10.196:6443: No route to host.
>>>>(gdb) target remote 192.168.10.196:6443
>>>>192.168.10.196:6443: No route to host.
>>>>(gdb) target remote 192.168.10.196:22
>>>>192.168.10.196:22: Connection refused.
>>>><<>> Following are grub setting,
>>>>title Fedora Core (2.6.15.5)
>>>> root (hd0,0)
>>>> kernel /vmlinuz-2.6.15.5 ro root=/dev/VolGroup00/LogVol00
>>>>[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>/,@192.168.10.194/
>>>>console=ttyS0,115200
>>>> initrd /initrd-2.6.15.5.img
>>>>My network is working fine. I am able to boot target machine when i
>>>>completely boot.
WBR, Sergei
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport