Re: [gem5-users] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-08 Thread Da Zhang
Hi Jason,

The batch you provided works! I was able to run linux kernel v4.8.13 with
ubuntu 16.04.1 with the latest gem5 applying the patch. Sorry that I am new
to use these patches, and didn't apply it in a correct way.
Thanks a lot.

best,
Da

On Fri, Feb 2, 2018 at 4:20 PM, Da Zhang  wrote:

> I am able to run linux kernel v4.8.13 and ubuntu 16.04.1 (server) image by
> using an old git branch f881618. The patch generates errors when building
> the simulator.
>
> On Thu, Feb 1, 2018 at 1:37 PM, Da Zhang  wrote:
>
>> Hi Jason,
>>
>> I was able to pass the problem by using a very old stable gem5 release
>> (stable_2015_09_03). However, the system stops at
>>
>> Welcome to Ubuntu 16.04.1 LTS!
>>
>> systemd[1]: Set hostname to .
>> There is no panic. And the booting progress is freeze at this moment
>> while I am expecting an interactive terminal via m5tern as running the
>> default ancient kernel.
>> Moreover, it seems that in the latest update, some of the scripts aren't
>> updated accordingly. I did a pull and update last night and running fs.py
>> gives me the following error
>>
>> File "", line 1, in 
>>
>>  File "/work/dragonstooth/daz3/gem5/src/python/m5/main.py", line 433, in
>> main
>>
>> exec filecode in scope
>>
>>  File "configs/example/fs.py", line 395, in 
>>
>> elif buildEnv['TARGET_ISA'] != "arm" and options.generate_dtb:
>>
>> AttributeError: Values instance has no attribute 'generate_dtb'
>> I will try the patch today. Thanks in advance.
>>
>> best,
>> Da
>>
>> On Thu, Feb 1, 2018 at 11:03 AM, Jason Lowe-Power 
>> wrote:
>>
>>> Hi Da,
>>>
>>> I'm aware of this problem and have submitted a patch. Unfortunately, I
>>> haven't had time to fix the problem in the correct way (as detailed by Gabe
>>> in the review). This patch will get linux to boot. If you have the
>>> inclination, feel free to fix it the correct way!
>>>
>>> https://gem5-review.googlesource.com/c/public/gem5/+/7301
>>>
>>> Cheers,
>>> Jason
>>>
>>> On Wed, Jan 31, 2018 at 11:46 AM Da Zhang  wrote:
>>>
 Hi all,

 I have some problem with running configs/example/fs.py with
 linux v4.8.13 and ubuntu image 16.04.1. I follow the steps on Jason's blog 
 (
 http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to
 build linux kernel binary and ubuntu image. And the booting aborted after
 line "i8042: PNP: No PS/2 controller found. Probing ports directly.".
 There is a reply on Jason's blog (at the bottom) mentioned the same issue
 but it seems that they haven't fixed it yet.

 gem5 give the following message:

 info: Entering event queue @ 0.  Starting simulation...

 warn: instruction 'fninit' unimplemented

 warn: Don't know what interrupt to clear for console.

 warn: Tried to clear PCI interrupt 14

 warn: i8042 "Write output port" command not implemented.

 panic: Data written for unrecognized command 0xd1

 Memory Usage: 4664884 KBytes

 Program aborted at tick 1922165374500

 Aborted

 And I also attached the output config.ini and system.pc.com_1.device
 with this email. Any suggestions are appreciated.

 best,
 Da
 ___
 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] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-02 Thread Da Zhang
I am able to run linux kernel v4.8.13 and ubuntu 16.04.1 (server) image by
using an old git branch f881618. The patch generates errors when building
the simulator.

On Thu, Feb 1, 2018 at 1:37 PM, Da Zhang  wrote:

> Hi Jason,
>
> I was able to pass the problem by using a very old stable gem5 release
> (stable_2015_09_03). However, the system stops at
>
> Welcome to Ubuntu 16.04.1 LTS!
>
> systemd[1]: Set hostname to .
> There is no panic. And the booting progress is freeze at this moment while
> I am expecting an interactive terminal via m5tern as running the default
> ancient kernel.
> Moreover, it seems that in the latest update, some of the scripts aren't
> updated accordingly. I did a pull and update last night and running fs.py
> gives me the following error
>
> File "", line 1, in 
>
>  File "/work/dragonstooth/daz3/gem5/src/python/m5/main.py", line 433, in
> main
>
> exec filecode in scope
>
>  File "configs/example/fs.py", line 395, in 
>
> elif buildEnv['TARGET_ISA'] != "arm" and options.generate_dtb:
>
> AttributeError: Values instance has no attribute 'generate_dtb'
> I will try the patch today. Thanks in advance.
>
> best,
> Da
>
> On Thu, Feb 1, 2018 at 11:03 AM, Jason Lowe-Power 
> wrote:
>
>> Hi Da,
>>
>> I'm aware of this problem and have submitted a patch. Unfortunately, I
>> haven't had time to fix the problem in the correct way (as detailed by Gabe
>> in the review). This patch will get linux to boot. If you have the
>> inclination, feel free to fix it the correct way!
>>
>> https://gem5-review.googlesource.com/c/public/gem5/+/7301
>>
>> Cheers,
>> Jason
>>
>> On Wed, Jan 31, 2018 at 11:46 AM Da Zhang  wrote:
>>
>>> Hi all,
>>>
>>> I have some problem with running configs/example/fs.py with
>>> linux v4.8.13 and ubuntu image 16.04.1. I follow the steps on Jason's blog (
>>> http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to
>>> build linux kernel binary and ubuntu image. And the booting aborted after
>>> line "i8042: PNP: No PS/2 controller found. Probing ports directly.".
>>> There is a reply on Jason's blog (at the bottom) mentioned the same issue
>>> but it seems that they haven't fixed it yet.
>>>
>>> gem5 give the following message:
>>>
>>> info: Entering event queue @ 0.  Starting simulation...
>>>
>>> warn: instruction 'fninit' unimplemented
>>>
>>> warn: Don't know what interrupt to clear for console.
>>>
>>> warn: Tried to clear PCI interrupt 14
>>>
>>> warn: i8042 "Write output port" command not implemented.
>>>
>>> panic: Data written for unrecognized command 0xd1
>>>
>>> Memory Usage: 4664884 KBytes
>>>
>>> Program aborted at tick 1922165374500
>>>
>>> Aborted
>>>
>>> And I also attached the output config.ini and system.pc.com_1.device
>>> with this email. Any suggestions are appreciated.
>>>
>>> best,
>>> Da
>>> ___
>>> 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] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-01 Thread Da Zhang
Hi Jason,

I was able to pass the problem by using a very old stable gem5 release
(stable_2015_09_03). However, the system stops at

Welcome to Ubuntu 16.04.1 LTS!

systemd[1]: Set hostname to .
There is no panic. And the booting progress is freeze at this moment while
I am expecting an interactive terminal via m5tern as running the default
ancient kernel.
Moreover, it seems that in the latest update, some of the scripts aren't
updated accordingly. I did a pull and update last night and running fs.py
gives me the following error

File "", line 1, in 

 File "/work/dragonstooth/daz3/gem5/src/python/m5/main.py", line 433, in
main

exec filecode in scope

 File "configs/example/fs.py", line 395, in 

elif buildEnv['TARGET_ISA'] != "arm" and options.generate_dtb:

AttributeError: Values instance has no attribute 'generate_dtb'
I will try the patch today. Thanks in advance.

best,
Da

On Thu, Feb 1, 2018 at 11:03 AM, Jason Lowe-Power 
wrote:

> Hi Da,
>
> I'm aware of this problem and have submitted a patch. Unfortunately, I
> haven't had time to fix the problem in the correct way (as detailed by Gabe
> in the review). This patch will get linux to boot. If you have the
> inclination, feel free to fix it the correct way!
>
> https://gem5-review.googlesource.com/c/public/gem5/+/7301
>
> Cheers,
> Jason
>
> On Wed, Jan 31, 2018 at 11:46 AM Da Zhang  wrote:
>
>> Hi all,
>>
>> I have some problem with running configs/example/fs.py with linux v4.8.13
>> and ubuntu image 16.04.1. I follow the steps on Jason's blog (
>> http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to
>> build linux kernel binary and ubuntu image. And the booting aborted after
>> line "i8042: PNP: No PS/2 controller found. Probing ports directly.".
>> There is a reply on Jason's blog (at the bottom) mentioned the same issue
>> but it seems that they haven't fixed it yet.
>>
>> gem5 give the following message:
>>
>> info: Entering event queue @ 0.  Starting simulation...
>>
>> warn: instruction 'fninit' unimplemented
>>
>> warn: Don't know what interrupt to clear for console.
>>
>> warn: Tried to clear PCI interrupt 14
>>
>> warn: i8042 "Write output port" command not implemented.
>>
>> panic: Data written for unrecognized command 0xd1
>>
>> Memory Usage: 4664884 KBytes
>>
>> Program aborted at tick 1922165374500
>>
>> Aborted
>>
>> And I also attached the output config.ini and system.pc.com_1.device with
>> this email. Any suggestions are appreciated.
>>
>> best,
>> Da
>> ___
>> 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] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-02-01 Thread Jason Lowe-Power
Hi Da,

I'm aware of this problem and have submitted a patch. Unfortunately, I
haven't had time to fix the problem in the correct way (as detailed by Gabe
in the review). This patch will get linux to boot. If you have the
inclination, feel free to fix it the correct way!

https://gem5-review.googlesource.com/c/public/gem5/+/7301

Cheers,
Jason

On Wed, Jan 31, 2018 at 11:46 AM Da Zhang  wrote:

> Hi all,
>
> I have some problem with running configs/example/fs.py with linux v4.8.13
> and ubuntu image 16.04.1. I follow the steps on Jason's blog (
> http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to build
> linux kernel binary and ubuntu image. And the booting aborted after line 
> "i8042:
> PNP: No PS/2 controller found. Probing ports directly.". There is a reply
> on Jason's blog (at the bottom) mentioned the same issue but it seems that
> they haven't fixed it yet.
>
> gem5 give the following message:
>
> info: Entering event queue @ 0.  Starting simulation...
>
> warn: instruction 'fninit' unimplemented
>
> warn: Don't know what interrupt to clear for console.
>
> warn: Tried to clear PCI interrupt 14
>
> warn: i8042 "Write output port" command not implemented.
>
> panic: Data written for unrecognized command 0xd1
>
> Memory Usage: 4664884 KBytes
>
> Program aborted at tick 1922165374500
>
> Aborted
>
> And I also attached the output config.ini and system.pc.com_1.device with
> this email. Any suggestions are appreciated.
>
> best,
> Da
> ___
> 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] fail to run fs mode with linux kernel v4.8.13 and ubuntu image 16.04.1

2018-01-31 Thread Da Zhang
Hi all,

I have some problem with running configs/example/fs.py with linux v4.8.13
and ubuntu image 16.04.1. I follow the steps on Jason's blog (
http://www.lowepower.com/jason/setting-up-gem5-full-system.html) to build
linux kernel binary and ubuntu image. And the booting aborted after
line "i8042:
PNP: No PS/2 controller found. Probing ports directly.". There is a reply
on Jason's blog (at the bottom) mentioned the same issue but it seems that
they haven't fixed it yet.

gem5 give the following message:

info: Entering event queue @ 0.  Starting simulation...

warn: instruction 'fninit' unimplemented

warn: Don't know what interrupt to clear for console.

warn: Tried to clear PCI interrupt 14

warn: i8042 "Write output port" command not implemented.

panic: Data written for unrecognized command 0xd1

Memory Usage: 4664884 KBytes

Program aborted at tick 1922165374500

Aborted

And I also attached the output config.ini and system.pc.com_1.device with
this email. Any suggestions are appreciated.

best,
Da


config.ini
Description: Binary data


system.pc.com_1.device
Description: Binary data
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users