Dear Jan, Attach the patch on AT91 ethernet driver. Have a look.
At the line 118 in the tdma_worker.c file that you mentioned, I observed in the trunk the function call is rtdm_task_sleep_abs but however in my rtnet-0.9.9 version, it is rtdm_task_sleep_until. Any different on this? I try to put the printk statement after the rtdm_task_sleep_until but I couldn't see any related kernel messages. Is this the problem? I also put the printk statement at beginning of do_request_cal_job but also see no kernel log message on this. Is this because this function is not called at all? Please advice. Thanks Regards, Chun Yeow On 9/7/07, Jan Kiszka <[EMAIL PROTECTED]> wrote: > > Yeoh Chun Yeow wrote: > > Dear Jan, > > > > Attach the kernel config file. > > OK. The config made me realise that you are running some 2.4-rc version > of Xenomai. Maybe we are facing a bug here, time to look even closer: > > We need to find out how long (or until when) this line [1] is starting > to sleep. Please instrument the code like this e.g. > > printk("delay: %lld\n", tdma->current_cycle_start+job->offset - > rtdm_clock_read()); > > If the delay is reasonable (0 us < delay < 500 us), we need to step into > Xenomai, and the thread should be expanded to Xenomai-help again. If it > is unreasonable, you could be so kind and try to dig further what > calculation goes wrong or what input data is messed up. The more you try > to find out on your own, the faster we can proceed, obviously. > > Thanks, > Jan > > [1]http://www.rts.uni-hannover.de/rtnet/lxr/source/stack/rtmac/tdma/tdma_worker.c?v=SVN-trunk#118 > > >
at91.tar.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users