My cmp.py script looks like:
...
(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)
CPUClass.clock = '1.0GHz'
np = options.num_cpus
...
cpus = [CPUClass(cpu_id=i) for i in xrange(np)]
# ----------------------
# Create a system, and add system wide objects
# ----------------------
system = System(cpu = cpus, physmem = PhysicalMemory(range=AddrRange("512MB")),
membus = Bus(clock = '1.0GHz'))
system.toL2bus = Bus(clock = '1.0GHz')
system.l2 = L2Cache()
# ----------------------
# Connect the L2 cache and memory together
# ----------------------
system.physmem.port = system.membus.master
system.l2.cpu_side = system.toL2bus.master
system.l2.mem_side = system.membus.slave
system.system_port = system.membus.slave
# ----------------------
# Connect the L2 cache and clusters together
# ----------------------
for cpu in cpus:
cpu.addPrivateSplitL1Caches(L1Cache(),
L1Cache())
# connect cpu level-1 caches to shared level-2 cache
cpu.connectAllPorts(system.toL2bus, system.membus)
...
root = Root(full_system = False, system = system)
Simulation.run(options, root, system, FutureClass)
and the command line and the error I get is:
command line: build/X86/m5.debug configs/example/cmp.py -F 1000000
--maxtick 1000000000 --cpu-type detailed --caches --l2cache -b
bzip2_dryer
Global frequency set at 1000000000000 ticks per second
panic: Pio port of system.switch_cpus.interrupts not connected to anything!
@ cycle 0
[init:build/X86/dev/io_device.cc, line 71]
Memory Usage: 219460 KBytes
Program aborted at cycle 0
Aborted
Please note that the error happens right after beginning of the
simulation (which should be in AtomicSimpleCPU).
Thanks for any feedback
On 2/23/12, Ankita (Garg) Goel <[email protected]> wrote:
> Hi,
>
> Whenever a switch of cpu happens, I hit the error. One of the ways I see it
> is:
>
> $ build/X86/gem5.opt configs/example/fs.py --cpu-type=detailed
> --kernel=vmlinux --caches --l2cache -F 10000
>
> ...
> panic: Pio port of system.switch_cpus.interrupts not connected to anything!
> @ cycle 0
> ...
>
> Regards,
> Ankita
>
>
> On Wed, Feb 22, 2012 at 2:32 PM, Nilay Vaish <[email protected]> wrote:
>
>> Ali, I have sent an email on the dev list in this regard.
>>
>> --
>> Nilay
>>
>>
>> On Wed, 22 Feb 2012, Ali Saidi wrote:
>>
>>
>>>
>>> Unless you provide exact command lines and output there is no way
>>> anyone wil be able to replicate your problem.
>>>
>>> Ali
>>>
>>> On 22.02.2012
>>> 13:53, Ankita (Garg) Goel wrote:
>>>
>>> I have been facing the same issue
>>>>
>>> with the new version and am unable to figure out what is causing it. I
>>> am unable to do switch_cpu or checkpoint/restart due to this error when
>>> using O3.
>>>
>>>>
>>>> On Wed, Feb 22, 2012 at 1:17 AM, Mahmood Naderan
>>>>
>>> <[email protected] [4]> wrote:
>>>
>>>>
>>>> I compared my cmp.py to se.py
>>>>>
>>>> but don't know which line in se.py
>>>
>>>> connect system_cpus_interrupts to
>>>>>
>>>> something else.
>>>
>>>>
>>>>> What does that mean?
>>>>>
>>>>> On 2/21/12, Mahmood
>>>>>
>>>> Naderan <[email protected] [1]> wrote:
>>>
>>>> Hi,
>>>>>> When I want to
>>>>>>
>>>>> run X86 with cmp.py, I get this error:
>>>
>>>>
>>>>>> panic: Pio port of
>>>>>>
>>>>> system_cpus_interrupts not connected to anything!
>>>
>>>>
>>>>>> The cmp.py
>>>>>>
>>>>> works well with previous revisions but not with the latest
>>>
>>>>
>>>>>> version.
>>>
>>>> What should I add in cmp.py?
>>>>>>
>>>>>> --
>>>>>> // Naderan
>>>>>>
>>>>> *Mahmood;
>>>
>>>>
>>>>>>
>>>>> --
>>>>> --
>>>>> // Naderan *Mahmood;
>>>>>
>>>>> ______________________________**_________________
>>>
>>>> gem5-users mailing
>>>>>
>>>> list
>>>
>>>> [email protected] [2]
>>>>>
>>>>>
>>>>> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>[3]
>>>
>>>>
>>>> --
>>>>
>>>> Regards,
>>>
>>>> Ankita
>>>>
>>>
>>>
>>>
>>> Links:
>>> ------
>>> [1] mailto:[email protected]
>>> [2]
>>> mailto:[email protected]
>>> [3]
>>> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>>> [4]
>>> mailto:[email protected]
>>>
>>> ______________________________**_________________
>> gem5-users mailing list
>> [email protected]
>> http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>
>>
>
>
>
> --
> Regards,
> Ankita
>
--
--
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users