Re: [gem5-users] gem5 checkpoint - Checkpoint not found
Thank you! The "-r 1" did the trick. I though that I need to specify the tick number. Regards, Jasmin On Mon, Sep 19, 2016 at 12:45 PM, Oscar Rosellwrote: > Hi, > > I think (but not sure) that "-r 135051211305000" is wrong. If you have the > checkpoint in the directory where you are running the command and there's > only 1 checkpoint there try "-r 1". There's a parameter to change the > directory where the checkpoint is located (--checkpoint-dir). > > Thanks, > > Oscar Rosell - Metempsy > > > On Mon, 19 Sep 2016 09:56:19 +0100 *Jasmin Jahic > >*wrote > > Hello, > > I am trying to work with the checkpoints. I have followed instructions at > http://www.m5sim.org/Checkpoints. > > I make a checkpoint using m5 checkpoint, from telnet console. The > checkpoint is stored in m5out. > > Then I try to start the gem5 using the checkpoint: > build/X86/gem5.opt configs/example/fs.py -r 135051211305000 > --mem-size=512MB --kernel=x86_64-vmlinux-2.6.22.9 --disk-image=linux-.img > > However, I receive an error: > fatal: Checkpoint 135051211305000 not found > > Do you perhaps have any idea what could be the problem? Maybe I should set > some system path? > > Best regards, > Jasmin > ___ > 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] ARM config error
Hi, As the error says, there is a stat config being initialized with negative values, which are forbidden. Try to run: gdb --args $GEM5_COMMAND_LINE run bt to see where the error comes from. Regards, -- Fernando A. Endo, Post-doc INRIA Rennes-Bretagne Atlantique France 2016-09-13 16:45 GMT+02:00 Jason Lowe-Power: > Hi Anouar, > > I'm not sure what's going wrong. I would run gem5.debug in a debugger and > trace back where the stat is being defined that is causing the error. It's > likely that you didn't instantiate some object that some other object > expects. > > Note: the simple scripts in the Learning gem5 book were built for x86, so > you may need to make some modifications to get them to work on ARM. > > Cheers, > Jason > > On Tue, Sep 13, 2016 at 9:26 AM anoir nechi wrote: > >> >> >> *Hi * >> *I'm trying to write a simple configuration script for ARM Like so:* >> >> import m5 >> from m5.objects import * >> >> T1=System() >> >> T1.clk_domain = SrcClockDomain() >> T1.clk_domain.clock = '1GHz' >> T1.clk_domain.voltage_domain = VoltageDomain() >> >> T1.mem_mode = 'timing' >> T1.mem_ranges = [AddrRange('512MB')] >> >> T1.mem_mode = 'timing' >> T1.mem_ranges = [AddrRange('512MB')] >> >> T1.cpu = DerivO3CPU() >> >> T1.membus = SystemXBar() >> T1.cpu.icache_port = T1.membus.slave >> T1.cpu.dcache_port = T1.membus.slave >> >> >> T1.cpu.createInterruptController() >> >> T1.system_port = T1.membus.slave >> >> process = LiveProcess() >> process.cmd = ['tests/test-progs/hello/bin/arm/linux/hello'] >> T1.cpu.workload = process >> T1.cpu.createThreads() >> root = Root(full_system = False, system = T1) >> m5.instantiate() >> print 'Exiting @ tick %i because %s' % (m5.curTick(), >> exit_event.getCause()) >> >> *But when i try to run ot i get this error message:* >> >> *gem5.opt: build/ARM/base/statistics.hh:1251: Derived& >> Stats::Vector2dBase ::init(Stats::size_type, >> Stats::size_type) [with Derived = Stats::Vector2d, Stor = Stats::StatStor, >> Stats::size_type = unsigned int]: Assertion `_x > 0 && _y > 0 && "sizes >> must be positive!"' failed.* >> >> *Can someone explain to me what's wrong please and how can i fix it >> pleease?* >> >> *Thank you* >> >> -- >> *Anouar NECHI* >> *IT Engineer : Industrial systems* >> ___ >> 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] gem5 checkpoint - Checkpoint not found
Hi, I think (but not sure) that "-r 135051211305000" is wrong. If you have the checkpoint in the directory where you are running the command and there's only 1 checkpoint there try "-r 1". There's a parameter to change the directory where the checkpoint is located (--checkpoint-dir). Thanks, Oscar Rosell - Metempsy On Mon, 19 Sep 2016 09:56:19 +0100 Jasmin Jahic jasmin.ja...@gmail.comwrote Hello, I am trying to work with the checkpoints. I have followed instructions at http://www.m5sim.org/Checkpoints. I make a checkpoint using m5 checkpoint, from telnet console. The checkpoint is stored in m5out. Then I try to start the gem5 using the checkpoint: build/X86/gem5.opt configs/example/fs.py -r 135051211305000 --mem-size=512MB --kernel=x86_64-vmlinux-2.6.22.9 --disk-image=linux-.img However, I receive an error: fatal: Checkpoint 135051211305000 not found Do you perhaps have any idea what could be the problem? Maybe I should set some system path? Best regards, Jasmin ___ 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] gem5 checkpoint - Checkpoint not found
Hi Jasmin, Try to run fs.py adding the path to the checkpoint directory (m5out by default, but just in case) and using "-r 1" and not "-r 135051211305000"; I think that, when using "-r n", gem5 tries to find the nth checkpoint stored in the directory, so in your case it is trying to run the checkpoint number 135051211305000 in the directory, and since there is probably one (or few) checkpoints there, it throws that error. Cheers, Ferran O. On 19/09/16 10:56, Jasmin Jahic wrote: Hello, I am trying to work with the checkpoints. I have followed instructions at http://www.m5sim.org/Checkpoints. I make a checkpoint using m5 checkpoint, from telnet console. The checkpoint is stored in m5out. Then I try to start the gem5 using the checkpoint: build/X86/gem5.opt configs/example/fs.py -r 135051211305000 --mem-size=512MB --kernel=x86_64-vmlinux-2.6.22.9 --disk-image=linux-.img However, I receive an error: fatal: Checkpoint 135051211305000 not found Do you perhaps have any idea what could be the problem? Maybe I should set some system path? Best regards, Jasmin ___ 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] gem5 checkpoint - Checkpoint not found
Hello, I am trying to work with the checkpoints. I have followed instructions at http://www.m5sim.org/Checkpoints. I make a checkpoint using m5 checkpoint, from telnet console. The checkpoint is stored in m5out. Then I try to start the gem5 using the checkpoint: build/X86/gem5.opt configs/example/fs.py -r 135051211305000 --mem-size=512MB --kernel=x86_64-vmlinux-2.6.22.9 --disk-image=linux-.img However, I receive an error: fatal: Checkpoint 135051211305000 not found Do you perhaps have any idea what could be the problem? Maybe I should set some system path? Best regards, Jasmin ___ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users