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
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users