gettimeofday(): Help please

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Fri Mar 5 14:18:27 UTC 2004


sashti srinivasan wrote:
> Hello,
>    Thanks.  I will post the sources shortly.  It will
> be a great help if you help me to solve the other
> problem.  That is, If I use the functions
> Read_timer(), Intialize_timer(), I get the error "raw
> handler connexion failed".  Is it possible to get away
> with it?  Same is the case with distributed timing
> test tm01.exe.  

No.  There may be something wrong with the pc386 BSP.

Can someone else confirm that tm01.exe runs for them
on a PC386 BSP?

Thanks.

> With Regards
> Srinivasan
> --- Joel Sherrill <joel.sherrill at OARcorp.com> wrote:
> 
>>sashti srinivasan wrote:
>>
>>
>>>Hello,
>>>
>>>    With best support from the list, I could have
>>
>>my
>>
>>>pc386 booting with grub-rtems.  In my applications,
>>
>>I
>>
>>>have posted my problems to the list.  I infer that,
>>>the error "raw handler connexion failed" is only
>>>because of the usage of functions
>>
>>Initialize_timer(),
>>
>>>Read_timer().  If I do without this by invoking
>>>gettimeofday(), I could run the application, but
>>>results are not of any use.  Because, it appears,
>>>gettimeofday() always returns a constant value.  It
>>>was like this in sparc-rtems(TSIM) also. Please
>>
>>help
>>
>>>me in getting atleast one of the problems solved.
>>>
>>> 
>>>
>>
>>I don't know why the pc386 BSP is doing that. But if
>>the sparc is
>>returning a constant value, then you most likely did
>>not configure the
>>clock driver.
>>
>>Are you defining both these before including
>>confdefs.h?
>>
>>#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
>>#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
>>
>>Is your test case simple enough to post?
>>
>>--joel
>>
>>
>>>With Regards
>>>Srinivasan
>>>
>>>__________________________________
>>>Do you Yahoo!?
>>>Yahoo! Search - Find what you’re looking for faster
>>>http://search.yahoo.com
>>> 
>>>
>>
>>
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster
> http://search.yahoo.com


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the users mailing list