gdb+qemu+rtems: Problem #2 in offset computation

Tomas Kalibera kalibera at cs.purdue.edu
Mon Aug 25 18:41:31 UTC 2008


Joel Sherrill wrote:
> 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?

Initially I was running inside VMWare. Which is that inside VMWare I run 
QEMU, in which I run RTEMS. The problem was there. Then I tried outside 
of VMWare on the same machine and the problem was still there, but the 
machine might have been under heavy load - I did it because I expected 
timer issues in VMWare, so I didn't check the load.

After reading your comment I run outside of VMWare and with no other 
load, and it worked...


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




More information about the users mailing list