Hi Tom,

I have tried netconsole on the board, but it is also not working. I have
used "ethereal" to capture packets, but while booting using netconsole, no
packet transmission/reception is happening.

When I tried with kgdboe, ARP packets are being sent from the host side,
but it's not handled in the target. (Again, found using ethereal)

Does it mean that the netpoll implementation is wrong?

In the netpoll function implementation, I did three things,
1. Disable irq
2. Poll for packets
3. Enable irq

For debugging, I put a printk() statement in the netpoll function, but
it's not printed anywhere in the boot log. I even tried with an infinite
while loop also, expecting the kernel to get stuck somewhere, but it
booted normally.

Can you tell me what modification I have to do in the netpoll implementation?

Thanks,
Gireesh

> On Thu, Apr 27, 2006 at 06:10:23PM +0530, [EMAIL PROTECTED]
> wrote:
>> Hi Milind,
>>
>> It's an update from my side.
>>
>> >From my observations, it is found that the netpoll function which I
>> have
>> implemented in the cpmac driver is not being called by the kernel.
>>
>> The kernel is waiting since I have given reference to my poll_controller
>> function via the net_device structure; but the function is not being
>> called.
>>
>> See the following code,
>>
>> struct net_device *netdev;
>> netdev -> poll_controller = cpmac_netpoll;
>>
>> Do I have to explicitly call this function from anywhere else? I mean,
>> from some kgdb related files?
>
> Nope, it should work, if your netpoll support is working.  Can you try
> using netconsole on your board and see if that works, as a basic test of
> your netpoll code?
>
> --
> Tom Rini
> http://gate.crashing.org/~trini/
>
>
> eInfochips Business Disclaimer:
> This message may contain confidential, proprietary or legally Privileged
> information. In case you are not the original intended Recipient of the
> message, you must not, directly or indirectly, use, Disclose, distribute,
> print, or copy any part of this message and you are requested to delete it
> and inform the sender. Any views expressed in this message are those of
> the individual sender unless otherwise stated. Nothing contained in this
> message shall be construed as an offer or acceptance of any offer by
> eInfochips Limited and/or eInfochips Inc("eInfochips") unless sent with
> that express intent and with due authority of eInfochips. eInfochips has
> taken enough precautions to prevent the spread of viruses. However the
> company accepts no liability for any damage caused by any virus
> transmitted by this email.
>




eInfochips Business Disclaimer:
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by eInfochips Limited 
and/or eInfochips Inc("eInfochips") unless sent with that express intent and 
with due authority of eInfochips. eInfochips has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email.


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

Reply via email to