Hi Satya, Does the code run correctly on a real ARM system? Normally this issue is caused by an actual problem with the binary or perhaps it's using a syscall that isn't particular well tested and there is a problem there. You can use the statetrace program in the util directory to compare execution cycle by cycle to a real ARM system. See http://gem5.org/Debugging#State_trace for more information.
Ali On Aug 3, 2011, at 10:49 PM, Satya wrote: > Hi, > > I am trying to simulate the moeg decoder from mediabench 2 on ARM. The > compilation went fine. The decoder decodes two frames. Then, I get a panic > message and the simulation stops. > > Logs from simulation - > ------------------------------------------------------------------- > panic: Page table fault when accessing virtual address 0xe7937004 > @ cycle 35935688000 > [invoke:build/ARM_SE/sim/faults.cc, line 65] > Memory Usage: 2141836 KBytes > Program aborted at cycle 35935688000 > Aborted > ------------------------------------------------------------------- > And here is an execution trace of instruction before the panic - > 35935677000: system.cpu T0 : @get_block+208 : cmps r4, r6 : > IntAlu : D=0x0000000000000001 > 35935677500: system.cpu T0 : @get_block+212 : movlt r6, r4 : > IntAlu : Predicated False > 35935678000: system.cpu T0 : @get_block+216 : movge r6, r6 : > IntAlu : D=0x0000000000000001 > 35935678500: system.cpu T0 : @get_block+220 : cmps r4, r7 : > IntAlu : D=0x0000000000000001 > 35935679000: system.cpu T0 : @get_block+224 : movlt r8, r4 : > IntAlu : Predicated False > 35935679500: system.cpu T0 : @get_block+228 : movge r8, r7 : > IntAlu : D=0x0000000000000002 > 35935680000: system.cpu T0 : @get_block+232 : add r10, r5, #3 : > IntAlu : D=0x0000000000000003 > 35935680500: system.cpu T0 : @get_block+236 : cmps r4, r9 : > IntAlu : D=0x0000000000000001 > 35935681000: system.cpu T0 : @get_block+240 : movge r4, r9 : > IntAlu : D=0x0000000000000003 > 35935681500: system.cpu T0 : @get_block+244 : bic r7, fp, fp, ASR #31 : > IntAlu : D=0x0000000000000000 > 35935682000: system.cpu T0 : @get_block+248 : cmps r5, r3 : > IntAlu : D=0x0000000000000000 > 35935682500: system.cpu T0 : @get_block+252 : movlt r9, r5 : > IntAlu : D=0x0000000000000000 > 35935683000: system.cpu T0 : @get_block+256 : movge r9, r3 : > IntAlu : Predicated False > 35935683500: system.cpu T0 : @get_block+260 : cmps r2, r3 : > IntAlu : D=0x0000000000000000 > 35935684000: system.cpu T0 : @get_block+264 : movge r2, r3 : > IntAlu : Predicated False > 35935684500: system.cpu T0 : @get_block+268 : cmps r12, r3 : > IntAlu : D=0x0000000000000000 > 35935685000: system.cpu T0 : @get_block+272 : movge r12, r3 : > IntAlu : Predicated False > 35935685500: system.cpu T0 : @get_block+276 : bic r6, r6, r6, ASR #31 : > IntAlu : D=0x0000000000000001 > 35935686000: system.cpu T0 : @get_block+280 : cmps r10, r3 : > IntAlu : D=0x0000000000000000 > 35935686500: system.cpu T0 : @get_block+284 : movlt fp, r10 : > IntAlu : D=0x0000000000000003 > 35935687000: system.cpu T0 : @get_block+288 : movge fp, r3 : > IntAlu : Predicated False > 35935687500: system.cpu T0 : @get_block+292 : bic r5, r8, r8, ASR #31 : > IntAlu : D=0x0000000000000002 > 35935688000: system.cpu T0 : @get_block+296 : ldr r10, [r1, r7 LSL #2] > : > MemRead : A=0xe7937004 > ------------------------------------------------------------------------------- > > > Any pointers on what could be wrong or how can I go about solving it ? > > Thanks, > Satya > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users