I tried this patch, but without http://reviews.gem5.org/r/1069/diff/ I get a segmentation fault. But with the patches for the pagetable walker in the diff mentioned, the switch cpus worked fine for me with the following command:
build/X86/gem5.opt configs/example/fs.py --cpu-type=detailed --kernel=x86_64-vmlinux-2.6.22.9 --caches -F 1000 The kernel continued to boot fine after switching. On Tue, Feb 28, 2012 at 8:41 AM, Nilay Vaish <[email protected]> wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > http://reviews.gem5.org/r/1066/ > ----------------------------------------------------------- > > Review request for Default. > > > Description > ------- > > Changeset 8859:7e91ef576149 > --------------------------- > Fix switching of CPUs > This patch prevents creation of interrupt controller for > cpus that will be switched in later > > > Diffs > ----- > > configs/common/CacheConfig.py c68ae0f78d8e > configs/example/fs.py c68ae0f78d8e > src/cpu/BaseCPU.py c68ae0f78d8e > src/cpu/o3/cpu.cc c68ae0f78d8e > > Diff: http://reviews.gem5.org/r/1066/diff/ > > > Testing > ------- > > > Thanks, > > Nilay Vaish > > _______________________________________________ > gem5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/gem5-dev > -- Regards, Ankita _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
