ok, I removed build/ completely, ran "hg pull && hg update" and build
X86_FS again.
This time, I didn't get the previous error, however I received:

command line: build/X86_FS/m5.opt configs/example/fs.py --detail --caches -r 1
...
warning: add_child('terminal'): child 'terminal' already has parent
Global frequency set at 1000000000000 ticks per second
info: kernel located at: /home/mahmood/gem5/x86/binaries/x86_64-vmlinux-2.6.22.9
      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
Listening for com_1 connection on port 3456
warn: Reading current count from inactive timer.
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
panic: Pio port not connected to anything!
 @ cycle 0
[init:build/X86_FS/dev/io_device.cc, line 74]
Memory Usage: 667732 KBytes
Program aborted at cycle 0
Aborted


based on http://www.mail-archive.com/[email protected]/msg00221.html
I will be very thankful if you make a suggestion.

Thanks.

On 8/21/11, Gabe Black <[email protected]> wrote:
> O3 support for X86_FS was added very recently so you probably have to
> update your sources too. It's very new and should work, but there will
> likely be a bug or two to shake out.
>
> Gabe
>
> On 08/21/11 10:57, Mahmood Naderan wrote:
>> I recompiled from scratch but the same error happened again. In
>> simulation.py, I added three print command to see what is going on.
>>
>>     print options.timing
>>     print options.detailed
>>     print options.inorder
>>
>> If I use --detailed (options.detailed is true as shown below) , I get
>> command line: build/X86_FS/m5.opt configs/example/fs.py --detail --caches
>> -r 1
>> None
>> True
>> None
>> Traceback (most recent call last):
>>   File "<string>", line 1, in <module>
>>   File "/home/mahmood/gem5/src/python/m5/main.py", line 356, in main
>>     exec filecode in scope
>>   File "configs/example/fs.py", line 107, in <module>
>>     (TestCPUClass, test_mem_mode, FutureClass) =
>> Simulation.setCPUClass(options)
>>   File "/home/mahmood/gem5/configs/common/Simulation.py", line 52, in
>> setCPUClass
>>     class TmpClass(DerivO3CPU): pass
>> NameError: global name 'DerivO3CPU' is not defined
>>
>> If I use --timing (options.timing is true as shown below), I get:
>> command line: build/X86_FS/m5.opt configs/example/fs.py --timing -r 1
>> True
>> None
>> None
>> warning: add_child('terminal'): child 'terminal' already has parent
>> Global frequency set at 1000000000000 ticks per second
>> info: kernel located at:
>> /home/mahmood/gem5/x86/binaries/x86_64-vmlinux-2.6.22.9
>>       0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
>> Listening for com_1 connection on port 3456
>> panic: Pio port not connected to anything!
>>  @ cycle 0
>> [init:build/X86_FS/dev/io_device.cc, line 74]
>> Memory Usage: 656652 KBytes
>> Program aborted at cycle 0
>> Aborted
>>
>> If I use nothing (all three options are set to None as shown below),
>> there is no problem:
>> command line: build/X86_FS/m5.opt configs/example/fs.py -r 1
>> None
>> None
>> None
>> warning: add_child('terminal'): child 'terminal' already has parent
>> Global frequency set at 1000000000000 ticks per second
>> info: kernel located at:
>> /home/mahmood/gem5/x86/binaries/x86_64-vmlinux-2.6.22.9
>>       0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
>> Listening for com_1 connection on port 3456
>> warn: Reading current count from inactive timer.
>> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
>> ...
>>
>>> Looks like the O3 CPU wasn't compiled into the simulator
>> Can you explain more? Should I manually compile O3CPU in to simulator?
>>
>> Thanks
>>
>> On 8/21/11, Ali Saidi <[email protected]> wrote:
>>> Looks like the O3 CPU wasn't compiled into the simulator. Try removing
>>> the
>>> build directory and re-compiling.
>>>
>>> Ali
>>>
>>> On Aug 21, 2011, at 3:50 AM, Mahmood Naderan wrote:
>>>
>>>> Hi
>>>> With the latest revision, I don't know why I cannot resume from the
>>>> checkpoint.
>>>>
>>>> command line: build/X86_FS/m5.opt configs/example/fs.py --detail
>>>> --caches
>>>> -r 1
>>>> Traceback (most recent call last):
>>>>   File "<string>", line 1, in <module>
>>>>   File "/home/mahmood/gem5/src/python/m5/main.py", line 356, in main
>>>>     exec filecode in scope
>>>>   File "configs/example/fs.py", line 107, in <module>
>>>>     (TestCPUClass, test_mem_mode, FutureClass) =
>>>> Simulation.setCPUClass(options)
>>>>   File "/home/mahmood/gem5/configs/common/Simulation.py", line 52, in
>>>> setCPUClass
>>>>     class TmpClass(DerivO3CPU): pass
>>>> NameError: global name 'DerivO3CPU' is not defined
>>>>
>>>> simulation.py look like:
>>>> import m5
>>>> from m5.defines import buildEnv
>>>> from m5.objects import *
>>>> from m5.util import *
>>>> ...
>>>>     elif options.detailed:
>>>>         if not options.caches:
>>>>             print "O3 CPU must be used with caches"
>>>>             sys.exit(1)
>>>>         class TmpClass(DerivO3CPU): pass
>>>>
>>>> fs.py look like:
>>>> import m5
>>>> from m5.defines import buildEnv
>>>> from m5.objects import *
>>>> from m5.util import addToPath, fatal
>>>> ...
>>>> (TestCPUClass, test_mem_mode, FutureClass) =
>>>> Simulation.setCPUClass(options)
>>>>
>>>>
>>>> Any idea to fix that?
>>>> // Naderan *Mahmood;
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>


-- 
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to