Re: [gem5-users] Changing CPU type

2020-03-02 Thread niranjan soundararajan
Thanks Abhishek. From your version that you pointed on, it seems to work.
We got it working with the latest version

On Thu, Feb 27, 2020 at 11:25 PM Abhishek Singh <
abhishek.singh199...@gmail.com> wrote:

> Hi,
>
> What commit are you using?
>
>
> I got option 1 working on commit 2a98a994df296f818b05da90ba073d879562da04
>
> You can find my commands here
> https://www.mail-archive.com/gem5-users@gem5.org/msg16795.html
>
>
> Best regards,
>
> Abhishek
>
>
> On Thu, Feb 27, 2020 at 12:50 PM niranjan soundararajan <
> niranja...@gmail.com> wrote:
>
>> Hello
>>
>> We booted ubuntu using AtomicCPU and wanted to switch cpu cores.
>> Different options we tried but both resulted in different errors
>>
>> 1. we set --cpu-type =  and --restore-cpu-type =
>> AtomicSimpleCPU, we tried the following two options
>>
>> a. ./build/X86/gem5.opt configs/example/fs.py
>> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
>> --cpu-type=DerivO3CPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
>> --mem-size=8192MB -r 1
>>
>>
>> We got a
>>
>> panic: StaticInst::branchTarget() called on instruction that is not a
>> PC-relative branch
>>
>> Alternately,
>> b. ./build/X86/gem5.opt configs/example/fs.py
>> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
>> --cpu-type=X86KvmCPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
>> --mem-size=8192MB -r 1
>>
>> We got a
>>
>> gem5.opt: build/X86/sim/eventq_impl.hh:44: void
>> EventQueue::schedule(Event*, Tick, bool): Assertion `when >= getCurTick()'
>> failed.
>>
>> Thanks
>> Niranjan
>>
>> ___
>> gem5-users mailing list
>> gem5-users@gem5.org
>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] Changing CPU type

2020-02-27 Thread Abhishek Singh
Hi,

What commit are you using?


I got option 1 working on commit 2a98a994df296f818b05da90ba073d879562da04

You can find my commands here
https://www.mail-archive.com/gem5-users@gem5.org/msg16795.html


Best regards,

Abhishek


On Thu, Feb 27, 2020 at 12:50 PM niranjan soundararajan <
niranja...@gmail.com> wrote:

> Hello
>
> We booted ubuntu using AtomicCPU and wanted to switch cpu cores. Different
> options we tried but both resulted in different errors
>
> 1. we set --cpu-type =  and --restore-cpu-type =
> AtomicSimpleCPU, we tried the following two options
>
> a. ./build/X86/gem5.opt configs/example/fs.py
> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
> --cpu-type=DerivO3CPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
> --mem-size=8192MB -r 1
>
>
> We got a
>
> panic: StaticInst::branchTarget() called on instruction that is not a
> PC-relative branch
>
> Alternately,
> b. ./build/X86/gem5.opt configs/example/fs.py
> --disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
> --cpu-type=X86KvmCPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
> --mem-size=8192MB -r 1
>
> We got a
>
> gem5.opt: build/X86/sim/eventq_impl.hh:44: void
> EventQueue::schedule(Event*, Tick, bool): Assertion `when >= getCurTick()'
> failed.
>
> Thanks
> Niranjan
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] Changing CPU type

2020-02-27 Thread niranjan soundararajan
Hello

We booted ubuntu using AtomicCPU and wanted to switch cpu cores. Different
options we tried but both resulted in different errors

1. we set --cpu-type =  and --restore-cpu-type =
AtomicSimpleCPU, we tried the following two options

a. ./build/X86/gem5.opt configs/example/fs.py
--disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
--cpu-type=DerivO3CPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
--mem-size=8192MB -r 1


We got a

panic: StaticInst::branchTarget() called on instruction that is not a
PC-relative branch

Alternately,
b. ./build/X86/gem5.opt configs/example/fs.py
--disk-image=ubuntu_base_v1.1.img --kernel=vmlinux-5.2.3
--cpu-type=X86KvmCPU --restore-with-cpu=AtomicSimpleCPU --caches --l2cache
--mem-size=8192MB -r 1

We got a

gem5.opt: build/X86/sim/eventq_impl.hh:44: void
EventQueue::schedule(Event*, Tick, bool): Assertion `when >= getCurTick()'
failed.

Thanks
Niranjan
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users