Hey Nilay and Brad,

@Nilay: Thanks for checking in the missing files.

  I'm still running into trouble with this set of patches.  After compiling,
if I try to run a simulation with Ruby (MOESI_hammer protocol), I get an
error that a parameter in the DMA Sequencer isn't set:

------------------------------------------------
joel@vein:~/research/m5/gem5$ ./build/X86_FS/gem5.opt
configs/example/ruby_fs.py
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Jul  2 2011 13:33:32
gem5 started Jul  2 2011 13:39:23
gem5 executing on vein
command line: ./build/X86_FS/gem5.opt configs/example/ruby_fs.py
warning: add_child('terminal'): child 'terminal' already has parent
Global frequency set at 1000000000000 ticks per second
info: kernel located at:
/home/joel/research/m5/disk_images/binaries/x86_64-vmlinux-2.6.28.4-smp
fatal: system.dma_cntrl0.dma_sequencer.ruby_system without default or user
set value
Segmentation fault
------------------------------------------------

  I've tried having gdb break before instantiating the DMA Sequencer and
when DMASequencerParams::create() is called, but it looks like these are
being skipped over.  I'm having trouble seeing how the params and SimObject
bolt together through the generated code.
  I'd appreciate any help sorting this out.
  Thanks,
  Joel


On Fri, Jul 1, 2011 at 1:52 PM, Nilay Vaish <[email protected]> wrote:

> On Fri, 1 Jul 2011, Joel Hestness wrote:
>
>  Hey Brad,
>>  This patch could not have come at a better time; Just this morning, I ran
>> into something that would take a lot of work to get around without
>> functional accesses in Ruby.  I'm gunning to use it asap.
>>
>>  Anyway, I've merged with these three patches, but when I try to compile,
>> I
>> get a missing file error:
>> ------------------------------**------------------
>> SLICC writing HTML files...
>> IOError: [Errno 2] No such file or directory:
>> '/home/joel/research/m5/gem5-**test/build/X86_FS/mem/ruby/**
>> system/AbstractMemory.py':
>>  File "/home/joel/research/m5/gem5-**test/SConstruct", line 989:
>>   exports = 'env')
>>  File "/usr/lib/scons/SCons/Script/**SConscript.py", line 616:
>>   return apply(method, args, kw)
>>  File "/usr/lib/scons/SCons/Script/**SConscript.py", line 553:
>>   return apply(_SConscript, [self.fs,] + files, subst_kw)
>>  File "/usr/lib/scons/SCons/Script/**SConscript.py", line 262:
>>   exec _file_ in call_stack[-1].globals
>>  File "/home/joel/research/m5/gem5-**test/build/X86_FS/SConscript", line
>> 442:
>>   exec('from m5.objects import %s' % modname)
>>  File "<string>", line 1:
>>   None
>>  File "/home/joel/research/m5/gem5-**test/build/X86_FS/SConscript", line
>> 422:
>>   exec file(source.abspath, 'r') in mod.__dict__
>> ------------------------------**------------------
>>
>>  Is the patch just missing this file, or is there another linking problem
>> going on?
>>  Thanks,
>>  Joel
>>
>>
>>
>>
> Yes, the file is missing, I will check it in some time soon.
>
> --
> Nilay
>
> ______________________________**_________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/**listinfo/gem5-dev<http://m5sim.org/mailman/listinfo/gem5-dev>
>



-- 
  Joel Hestness
  PhD Student, Computer Architecture
  Dept. of Computer Science, University of Texas - Austin
  http://www.cs.utexas.edu/~hestness
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to