On Wed, May 03, 2006 at 08:48:17PM +0530, Gireesh Kumar wrote:
> Hi,
>
> I resolved the issue and now gdb is able to connect to my target board.
> I was able to debug the kernel running on mips board using a cross gdb
> running on i386 machine. Thank you all for your valuable inputs.
>
> The issue was,
>
> In net/core/netpoll.c, the following code failed due to some reason
>
> if( skb -> protocol == __constant_htons ( ETH_P_ARP ) && atomic_read
> ( &trapped ) )
> {
> arp_reply( skb );
> return 1;
> }
>
> Because of that the target kernel was not responding to the ARP packets
> sent by host. I found that the atomic_read was returning 0 ( I don't
> know why, I'm working on it ). So, I just removed the atomic read part
> and it worked fine.
I thought we finally had this worked out, but it sounds like we need
another netpoll_set_trap(1); somewhere.
--
Tom Rini
http://gate.crashing.org/~trini/
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport