Hi, Gabe,
I got the same problem.
I use "m5/build/X86_FS/m5.debug configs/example/fs.py -n 1 --timing"
to boot up full system, and set checkpoint.
But I can't restore it by "m5/build/X86_FS/m5.debug
configs/example/fs.py -n 1 --timing -r 0".
I use gdb to break at the panic line, m5/build/X86_FS/dev/io_device.cc:74
===========================================
70 void
71 PioDevice::init()
72 {
73 if (!pioPort)
74 panic("Pio port not connected to anything!");
75 pioPort->sendStatusChange(Port::RangeChange);
76 }
===========================================
and print name()
===========================================
(gdb) p name()
$1 = {static npos = 18446744073709551615, _M_dataplus =
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No
data fields>}, <No data fields>},
_M_p = 0x222cc58 "system.switch_cpus.interrupts"}}
===========================================
Does it mean that system.switch_cpus.interrupts not connected to anything?
Thank you
Mark Chen
2011/7/3 Gabe Black <[email protected]>:
> Hi. What commands would I have to run to reproduce this using unmodified
> gem5? Do you have any files I would need like the checkpoint file?
>
> What seems to be happening is that in the new system, one of the devices (I
> can't tell which one) in your simulation isn't attached to anything, and
> it's upset about that. To start looking into it yourself, you could modify
> that panic to print the name of the device that port is associated with. All
> simobjects have a function called name() which (not surprisingly) returns
> their name. Once you know which device it is, you can look into why it's not
> getting hooked up when resuming from the checkpoint.
>
> Gabe
>
> On 07/01/11 12:43, Sage wrote:
>
> Hi everyone,
>
> I have a problem with using "--checkpoint-restore" and "--timing --caches"
> together for the X86_FS mode. For instance, if I type "build/X86_FS/gem5.opt
> configs/example/fs.py --checkpoint-restore=1 --timing --caches", I would get
> the errors as follows:
>
> ===================================
> panic: Pio port not connected to anything!
> @ cycle 0
> [init:build/X86_FS/dev/io_device.cc, line 74]
> Memory Usage: 3370604 KBytes
> Program aborted at cycle 0
> ===================================
>
> But If I use the flags separately, e.g. "build/X86_FS/gem5.opt
> configs/example/fs.py --checkpoint-restore=1" or "build/X86_FS/gem5.opt
> configs/example/fs.py --timing --caches", everything is ok.
>
> However, I do need to resume from a checkpoint first and then attach a
> memory hierarchy. How can I solve the problem?
>
> I would greatly appreciate your help!
>
> Thanks,
> Leonard
>
> --
> Give our ability to our work, but our genius to our life!
>
> _______________________________________________
> 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