[pc386 BSP] tm[01|02].exe doesn't run on K6-2 (raw handler connexion failed issue)

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Tue Jul 26 17:26:24 UTC 2005


Karel Gardas wrote:
> 
> Hello,
> 
> testing today's sources of RTEMS 4.7, I've found that I'm not able to 
> run time meassuring tests on my K6-2/128MB box. All tests so far starts 
> well, but then print "raw handler connexion failed" message.
> 
> Any idea how to get this working?

The timer driver comes in two style on the pc386 BSP.  If the
CPU has the RDTSC instruction, then the CPU cycle counter is
used.  Otherwise, a counter/timer is used.

If the K6 has the rdtsc instruction, then the conditional
in pc386/timer/timer.c just needs to be changed to reflect
that it is a supported instruction.  A quick google shows
that RDTSC is supposed to work on the K6 so the macro is
too tight.

Patch welcomed.

> Thanks,
> Karel
> -- 
> Karel Gardas                  kgardas at objectsecurity.com
> ObjectSecurity Ltd.           http://www.objectsecurity.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