Hi Abhijeeth,

With regards to your first message, it looks like you are using a custom
configuration python script. Often times these errors occur from failing to
import the objects in the same way based on the directory. For example, if
you look at the script "configs/example/se.py" you'll see that they are
loading the caches from module "common.caches" which is only visible by the
"addToPath('../')" command in line 53. I would recommend trying to make
sure that the appropriate path/modules are loaded so that the
"LinuxX86FSSystem" object is defined/imported.


The error from the second message usually happens when the --kernel flag
isn't specified. Try making sure that your bash command has that flag, and
you can use -h for general flag usage.

Hopefully this helps! If so, could you reply all to the mailing list so
that people see it as resolved?

Best,
Sam

On Sat, Jun 19, 2021 at 2:56 PM abhijeeth modi via gem5-users <
[email protected]> wrote:

> Hello
>
> I tried to follow the example given in configs/example/fs.py for running
> full system simulation and I also mentioned the kernel path in
> configs/common/SysPath.py,
>
> I am facing an error as *fatal: fatal condition !kernelObj occurred: No
> kernel to load.*
>
> Has someone tried the full system simulation?
> If yes, please guide me with this.
>
> Thankyou
>
> Regards
> Abhijeeth
>
> On Fri, Jun 18, 2021 at 10:09 PM abhijeeth modi <
> [email protected]> wrote:
>
>> Hello
>>
>> I followed the official documentation for running full system simulation
>> for X86 architecture
>>
>> http://learning.gem5.org/book/part5/fs_config.html#running-full-system
>>
>> by executing the command:
>>
>> *build/X86/gem5.opt configs/tutorial_1/system2.py*
>>
>> I am getting an error :
>>
>> *Traceback (most recent call last):*
>> *  File "<string>", line 1, in <module>*
>> *  File "build/X86/python/m5/main.py", line 455, in main*
>> *    exec(filecode, scope)*
>> *  File "configs/tutorial_1/system2.py", line 38, in <module>*
>> *    class MySystem(LinuxX86System):*
>> *NameError: name 'LinuxX86System' is not defined*
>>
>>
>> I gave kernel path in the script as mentioned.
>>
>> Can someone help me with this please?
>>
>> Thank you
>>
>>
>> Regards
>>
>> Abhijeeth
>>
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to