I reproduced the problem, and for my own sanity will keep track of it
unofficially at:
https://github.com/cirosantilli/linux-kernel-module-cheat/issues/77

However, the bisection led to a seemingly benign commit, and when I
tried on a different host machine I was not able to reproduce anymore,
which suggests that it is an undefined behavior issue on our C++ code,
so it might be hard to solve.

Alternatively, could you instead boot with the Atomic CPU, checkpoint,
and then restore HPI?

On Fri, Jul 12, 2019 at 6:28 PM Chakraborty, Prasen
<[email protected]> wrote:
>
> Hi,
>
>                 I am trying to get Linux boot up in gem5 ARMv8 64 
> configuration with the “HPI” CPU model. Though I am able to successfully boot 
> with num_cores=1 or AtomicSimpleCPU model and num_cores=8. The problem seems 
> to be the combination of HPI/Minor etc with num_cores=2 or more. The kernel 
> is hanging during various stages of the booting for each run.
>
>
>
> I am using the Kernel and Disk Image located at : 
> http://www.gem5.org/dist/current/arm/ aarch-system-20180409.tar.xz (as well 
> aarch-system-20170616.tar.xz)
>
>
>
> To solve the issue I have tried building my own kernel and boot loader image 
> and the DTB file as mentioned in http://gem5.org/ARM_Kernel. However the same 
> problem persists. I have tried various solutions mentioned in other thread 
> chains and basically tried the following commands :
>
>
>
> ./build/ARM/gem5.opt configs/example/arm/starter_fs.py --cpu="hpi" 
> --num-cores=2 --kernel=vmlinux.vexpress_gem5_v1_64 
> --disk-image=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/disks/linaro-minimal-aarch64.img
>  
> --dtb=/home/pchakra1/Workspace/PublicRepo/gem5/system/arm/dt/armv8_gem5_v1_2cpu.dtb
>
>
>
>
>
> ./build/ARM/gem5.opt configs/example/fs.py 
> --kernel=vmlinux.vexpress_gem5_v1_64 --cpu-type="HPI" -n 2 --caches --l2cache 
> --machine-type=VExpress_GEM5_V1 --param 'system.realview.gic.gem5_extensions 
> = True' 
> --dtb-file=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/binaries/armv8_gem5_v1_8cpu.dtb
>  
> --disk-image=/home/pchakra1/Workspace/Benchmarks/LinuxKernels/20180409/disks/linaro-minimal-aarch64.img
>
>
>
>
>
> Any pointers how to get around this will be highly appreciated. I do need the 
> Performance CPU model for my studies.
>
>
>
> Regards,
>
> Prasenjit
>
> _______________________________________________
> 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

Reply via email to