Hi Nilay,

I too am facing this issue on x86. Any ideas on how I could resolve this ?

Regards,
Ankita

On Sun, Feb 19, 2012 at 1:25 AM, Nilay Vaish <[email protected]> wrote:

> You should not apply the patch that I had posted. It is not correct. The
> problem mentioned in the original email, it seems, is due to X86's
> interrupt object being a pio device, which is not the case with other ISAs.
>
> --
> Nilay
>
>
> On Sat, 18 Feb 2012, Ankita (Garg) Goel wrote:
>
>  I am facing the issue that Nilay had pointed out below:
>>
>> http://www.mail-archive.com/**[email protected]/msg01936.**html<http://www.mail-archive.com/[email protected]/msg01936.html>
>>
>> I applied the fix and hit the issue mentioned in the previous email. Any
>> resolution that has been found for this issue ?
>>
>>
>> On Sat, Feb 18, 2012 at 5:46 PM, Ankita (Garg) Goel <[email protected]
>> >wrote:
>>
>>  Hi,
>>>
>>> I want to switch over from the atomic cpu to detailed cpu once the kernel
>>> is booted in the FS mode (in X86). I tried the examples indicated in the
>>> tutorial as below:
>>>
>>> $ build/X86/gem5.opt configs/example/fs.py --cpu-type=detailed
>>> --kernel=vmlinux  --caches --l2cache -F 1000000000
>>> .... <system boots up fine>.....
>>> hack: be nice to actually delete the event here
>>> Switched CPUS @ tick 237558550517000
>>> Changing memory mode to timing
>>> switching cpus
>>> Traceback (most recent call last):
>>>  File "<string>", line 1, in <module>
>>>  File "src/python/m5/main.py", line 357, in main
>>>    exec filecode in scope
>>>  File "configs/example/fs.py", line 215, in <module>
>>>    Simulation.run(options, root, test_sys, FutureClass)
>>>  File "configs/common/Simulation.py"**, line 268, in run
>>>    m5.switchCpus(switch_cpu_list)
>>>  File "src/python/m5/simulate.py", line 226, in switchCpus
>>>    new_cpu.takeOverFrom(old_cpu)
>>>  File "src/python/m5/SimObject.py", line 1040, in takeOverFrom
>>>    self._ccObject.takeOverFrom(**old_cpu._ccObject)
>>> AttributeError: 'NoneType' object has no attribute 'takeOverFrom'
>>>
>>> Any ideas of what I might be doing wrong ? Appreciate any help on this..
>>>
>>> --
>>> Regards,
>>> Ankita
>>>
>>>
>>>
>>>
>>
>> --
>> Regards,
>> Ankita
>>
>>


-- 
Regards,
Ankita
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to