I set some status for cache blocks and some counters for my own.
If there is something wrong with my code, I should get segmentation
fault. However this error I think says that the execution of program
goes to wrong way.

I will try tracediff and reply later

On 2/14/12, Ali Saidi <[email protected]> wrote:
> Then the best thing to is use tracediff to see where the programs diverge
> with 512k and 2MB. Have you made any changes to the simulator?
>
> Ali
>
> Sent from my ARM powered mobile device
>
> On Feb 14, 2012, at 12:06 AM, Mahmood Naderan <[email protected]> wrote:
>
>> Thing is, a benchmark works fine with a 512kB L2. However I get that
>> error after chnaging to 2MB L2.
>>
>>
>>
>> On 2/14/12, Paul Rosenfeld <[email protected]> wrote:
>>> You're talking about SE mode, right?
>>>
>>> I think this is akin to a segmentation fault in a regular program.
>>> Essentially you're trying to access a virtual memory page for which the
>>> address is invalid. If there was a kernel running you'd take a page fault
>>> and the kernel would decide if you were allowed to access that VM page.
>>> If
>>> so, it would be allocated. If not, it would cause a segmentation fault.
>>> I'm
>>> not entirely sure what the conditions are for SE mode. You could probably
>>> replicate it simply by doing:
>>>
>>> int *a =0;
>>> int b = *a;
>>>
>>>
>>> Typically this error comes out of the page table walk code/TLB code.
>>>
>>> On Mon, Feb 13, 2012 at 11:58 AM, Mahmood Naderan
>>> <[email protected]>wrote:
>>>
>>>> Hi,
>>>> Can someone clarify what does "tried to read/write to unmapped
>>>> address" exactly mean?
>>>>
>>>> How can I trace that error? How this error is produced? What are the
>>>> possibilities?
>>>> Is there a simple example (or code/assembly snippet) which shows this
>>>> error?
>>>>
>>>> thanks
>>>> --
>>>> // Naderan *Mahmood;
>>>> _______________________________________________
>>>> gem5-users mailing list
>>>> [email protected]
>>>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>>>
>>>
>>
>>
>> --
>> --
>> // Naderan *Mahmood;
>> _______________________________________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>


-- 
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to