gdb+qemu+rtems: Problem #2 in offset computation
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Aug 25 16:00:02 UTC 2008
Tomas Kalibera wrote:
> Hi,
>
> thank you for your suggestion. Giving it more CPU helped.
>
>
How did you give it more cpu? Run it on a faster machine?
--joel
> Tomas
>
>
> Joel Sherrill wrote:
>
>> Tomas Kalibera wrote:
>>
>>> Hi,
>>>
>>> I'm trying to debug RTEMS running in QEMU (x86) with gdb. The program
>>> hangs on
>>>
>>> ./rtems-4.8.1/c/src/lib/libbsp/i386/pc386/timer/timer.c:476
>>>
>>> which is
>>>
>>> printk("Problem #2 in offset computation in Calibrate_loop_1ms in file
>>> libbsp/i386/pc386/timer/timer.c\n");
>>>
>>>
>>>
>> This indicates that the counter on the timer count
>> didn't change as much as for a loop of 10 as it did when
>> we did an empty call.
>>
>> What is your host CPU? How fast?
>>
>> How are you invoking qemu?
>>
>>> I found just one related message,
>>> http://article.gmane.org/gmane.comp.emulators.qemu/17806, where the
>>> author advises to recompile the (Linux) kernel of the host system.
>>>
>>> Is this a known issue ? And if so, is it an RTEMS bug or QEMU bug or
>>> anything else bug ? And, is there a known workaround that would make
>>> RTEMS boot ?
>>>
>>>
>>>
>> To be honest I have never seen this before but I don't
>> believe qemu for benchmarking either. :)
>>
>>> Thanks !
>>>
>>> Tomas
>>>
>>> P.S.
>>>
>>> I have RTEMS 4.8.1, QEMU 0.9.1, host OS is FC9 with 2.6.25-14.fc9.i686
>>> kernel.
>>>
>>>
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>>
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill 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