· gem5-gpu/gem5/full_system_images# wget http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2
· /gem5-gpu/gem5/full_system_images# tar -xf x86-system.tar.bz2 >> Binaries (x86_64-vmlinux-2.6.22.9 x86_64-vmlinux-2.6.22.9.smp), Disk (linux-x86.img)
Export M5_PATH and export LINUX_IMAGE=$M5_PATH/disks/linux-x86.img
· /gem5-gpu/gem5/full_system_images# wget www.m5sim.org/dist/current/m5_system_2.0b3.tar.bz2
· /gem5-gpu/gem5/full_system_images# tar -xf m5_system_2.0b3.tar.bz2
/gem5-gpu/gem5/full_system_images# cp ./m5_system_2.0b3/disks/linux-bigswap2.img ./disks/
/gem5-gpu/gem5/full_system_images# wget http://www.cs.utexas.edu/~parsec_m5/x86_64-vmlinux-2.6.28.4-smp
/gem5-gpu/gem5/full_system_images# mv x86_64-vmlinux-2.6.28.4-smp ./binaries/
Finally the directory structure has following:
├── binaries
│ ├── console
│ ├── ts_osfpal
│ ├── vmlinux
│ ├── x86_64-vmlinux-2.6.22.9
│ ├── x86_64-vmlinux-2.6.22.9.smp
│ └── x86_64-vmlinux-2.6.28.4-smp
├── disks
│ ├── linux-bigswap2.img
│ ├── linux-latest.img
│ ├── linux-x86.img
│ ├── temp
│ └── x86root-parsec.img
And the LINUX_IMAGE points to x86root-parsec.img
But when I run
./build/VI_hammer/gem5.opt ../gem5-gpu/configs/fs_fusion.py --kernel=/home/dshingar/simulator_x86/gem5-gpu/gem5/full_system_images/binaries/x86_64-vmlinux-2.6.28.4-smp
After some time of running I get message like "“Kernel panic - not syncing: Attempted to kill the idle task!” And it get struck at that point.
So please let me know the disk image and binaries to use and command line to use. With 22.9 kernel it work fines but doesnt support running of programs with error as 'kernel too old'. So thats why using 28.4 binary.
/src/arch/x86/cpuid.cc Fri Jul 22 00:42:48 2016 -0400
result = CpuidResult(0x00020f51, 0x00000805,
- 0xe7dbfbff, 0x04000209);
+ 0xe7dbfbff, 0x00000209);