Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Eduardo Olmedo Sanchez
Hello again, I am having some problems with the execution of a simple
Hello World program in FS, I have been executing the program 20
minutes and I do not get the output so I believe that something is
going wrong. This is what I did I copied a HelloWorld program that
works in SE mode to /benchmarks/micros/MyHello and after in
/configs/boot I created a file called micro_MyHello.rcS and on it I
write the following:

-- micro_MyHello.rcs
/benchmarks/micros/MyHello
m5 exit

For the execution, in the file Benchmarks.py I added my own benchmark

Benchmarks = {

'MyHello':[SysConfig('micro_MyHello.rcS'),
 SysConfig('micro_MyHello.rcS')],


}

And finally in the command line I wrote ./build/ALPHA_FS/m5.opt
configs/example/fs.py -b MyHello, I have been executing the program 20
minutes and I do not get any output in the configuration file I added
the optiontest_sys.cpu[i].progress_interval = 10 , and this is
an example of the output that I get

87363955000: Event_137: testsys.cpu progress event, instructions
committed: 0, IPC: 0
8736396: Event_137: testsys.cpu progress event, instructions
committed: 0, IPC: 0
87363965000: Event_137: testsys.cpu progress event, instructions
committed: 1471, IPC: 0.01471
8736397: Event_137: testsys.cpu progress event, instructions
committed: 0, IPC: 0
87363975000: Event_137: testsys.cpu progress event, instructions
committed: 0, IPC: 0
8736398: Event_137: testsys.cpu progress event, instructions
committed: 0, IPC: 0

As you can see I get sometimes that the instructions commited are 0,
so I guess that something is going wrong, any ideas?, thank you.


On Wed, Nov 19, 2008 at 1:44 PM, Lisa Hsu [EMAIL PROTECTED] wrote:
 Basically, yes.  If you are just copying your files to the disk image we
 provided, and you don't change the name of the image, then you don't need to
 change anything in the config scripts.  You'd just need to make rcS scripts
 to do what you want with the files you added.

 Lisa

 On Wed, Nov 19, 2008 at 4:38 PM, Eduardo Olmedo Sanchez [EMAIL PROTECTED]
 wrote:

 Hi Lisa thanks for your answer, so do you mean that I should mount
 your img file linux-latest.img then I add my own benchmarks to that
 img and after I copy the img to the simulator and change the python
 configuration file to point to the img and cross the fingers to see if
 everything is right?. Thanks.

 On Wed, Nov 19, 2008 at 1:10 PM, Lisa Hsu [EMAIL PROTECTED] wrote:
  Try this:
 
 
  http://m5sim.org/wiki/index.php/Frequently_Asked_Questions#OS.2FLinux_Related
 
  That should help you add files to an image - you can just start with the
  one
  we distribute.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:05 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  wrote:
 
  Hi I have been able to run knoppix on vmware, but I still do not get
  what I have to do, do I need to do all the procedure from here
 
 
  http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5
  to create the disk image?, or how can I use an existing disk image to
  add my own benchmarks and after run then in the simulator?. Thank andd
  sorry for bother you with my simple  questions.
 
  On Tue, Nov 18, 2008 at 5:30 PM,  [EMAIL PROTECTED] wrote:
   Gentoo stage 3 install CDs are fairly minimal but reliable live CDs.
   I've heard
   they work well.
  
   Gabe
  
   Quoting Bob Nagel [EMAIL PROTECTED]:
  
   Hello,
  
   I have been using some virtual machine environments, but I have not
   found what I need, usually the only disk images that I found are
   with
   complete linux environments that includes applications and user
   interface. So Clint or anyone can you tell me where I can get a disk
   image with a simple linux on it without user interface and that
   stuff?. thanks so much.
  
   2008/11/13 Eduardo Olmedo Sanchez [EMAIL PROTECTED]:
Hello,
   
I have installed bochs and now I have dllinux running and it using
as
hard disk a file called hd10meg.img, the kernel is 1.3.89. So the
procedure that I should is: add my binary to the hd10meg.img and
after
move the img to the simulator. Where should I put the binary in
the
img? and Should I use another Linux with a 2.5 kernel?. Sorry for
bother you with this simple questions, but my Linux experience is
not
very high. Thank you.
   
On Wed, Nov 12, 2008 at 3:36 PM, Clint Smullen
[EMAIL PROTECTED]
   wrote:
It is much easier to mount the existing disk image, than to make
a
new
one, unless you are adding an addition disk to the configuration.
After you have done the mount command (which you may have to
prefix
with sudo, depending on your flavor of Linux), you then need to
copy
the files to the mount point, verify the permissions and
ownership
(I
make all the files I copy onto the disk have root ownership and
group), and then umount it with (sudo) umount /mount/point.

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Lisa Hsu
Since you have changed the name/location of your disk image - did you change
the simulator to actually point to it and use it?

Lisa

On Thu, Nov 20, 2008 at 3:12 PM, Eduardo Olmedo Sanchez
[EMAIL PROTECTED]wrote:

 Hi Ali thanks for your answer, it says that it could not find the file

 loading script...
 /tmp/script: line 1: /benchmarks/micros/MyHello
 : No such file or directory
 usage: m5 ivlb interval
   m5 ivle interval
   m5 initparam

 I have review again the img and the file is there, I have the disk
 image in a folder called home/m5-fs/disks and the simulator in
 home/mt-fullsystem, I can run the other benchmarks right but not mine.
 Thanks.

 On 11/20/08, Ali Saidi [EMAIL PROTECTED] wrote:
  What is in the *.terminal files that have been created?
 
  Ali
 
  On Nov 20, 2008, at 12:42 PM, Eduardo Olmedo Sanchez wrote:
 
  Hello again, I am having some problems with the execution of a simple
  Hello World program in FS, I have been executing the program 20
  minutes and I do not get the output so I believe that something is
  going wrong. This is what I did I copied a HelloWorld program that
  works in SE mode to /benchmarks/micros/MyHello and after in
  /configs/boot I created a file called micro_MyHello.rcS and on it I
  write the following:
 
  -- micro_MyHello.rcs
  /benchmarks/micros/MyHello
  m5 exit
 
  For the execution, in the file Benchmarks.py I added my own benchmark
 
  Benchmarks = {
  
 'MyHello':[SysConfig('micro_MyHello.rcS'),
  SysConfig('micro_MyHello.rcS')],
  
 
  }
 
  And finally in the command line I wrote ./build/ALPHA_FS/m5.opt
  configs/example/fs.py -b MyHello, I have been executing the program 20
  minutes and I do not get any output in the configuration file I added
  the optiontest_sys.cpu[i].progress_interval = 10 , and this is
  an example of the output that I get
 
  87363955000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736396: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363965000: Event_137: testsys.cpu progress event, instructions
  committed: 1471, IPC: 0.01471
  8736397: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363975000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736398: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
 
  As you can see I get sometimes that the instructions commited are 0,
  so I guess that something is going wrong, any ideas?, thank you.
 
 
  On Wed, Nov 19, 2008 at 1:44 PM, Lisa Hsu [EMAIL PROTECTED] wrote:
  Basically, yes.  If you are just copying your files to the disk
  image we
  provided, and you don't change the name of the image, then you
  don't need to
  change anything in the config scripts.  You'd just need to make rcS
  scripts
  to do what you want with the files you added.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:38 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  
  wrote:
 
  Hi Lisa thanks for your answer, so do you mean that I should mount
  your img file linux-latest.img then I add my own benchmarks to that
  img and after I copy the img to the simulator and change the python
  configuration file to point to the img and cross the fingers to
  see if
  everything is right?. Thanks.
 
  On Wed, Nov 19, 2008 at 1:10 PM, Lisa Hsu [EMAIL PROTECTED]
  wrote:
  Try this:
 
 
 
 http://m5sim.org/wiki/index.php/Frequently_Asked_Questions#OS.2FLinux_Related
 
  That should help you add files to an image - you can just start
  with the
  one
  we distribute.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:05 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  wrote:
 
  Hi I have been able to run knoppix on vmware, but I still do not
  get
  what I have to do, do I need to do all the procedure from here
 
 
 
 http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5
  to create the disk image?, or how can I use an existing disk
  image to
  add my own benchmarks and after run then in the simulator?.
  Thank andd
  sorry for bother you with my simple  questions.
 
  On Tue, Nov 18, 2008 at 5:30 PM,  [EMAIL PROTECTED] wrote:
  Gentoo stage 3 install CDs are fairly minimal but reliable live
  CDs.
  I've heard
  they work well.
 
  Gabe
 
  Quoting Bob Nagel [EMAIL PROTECTED]:
 
  Hello,
 
  I have been using some virtual machine environments, but I
  have not
  found what I need, usually the only disk images that I found are
  with
  complete linux environments that includes applications and user
  interface. So Clint or anyone can you tell me where I can get
  a disk
  image with a simple linux on it without user interface and that
  stuff?. thanks so much.
 
  2008/11/13 Eduardo Olmedo Sanchez [EMAIL PROTECTED]:
  Hello,
 
  I have installed bochs and now I have dllinux running and it
  using
  as
  hard disk a file called hd10meg.img, the kernel 

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Eduardo Olmedo Sanchez
Hi Lisa thanks for your answer, in the config.ini generated by the
simulator it is ponting right to the img path.

image_file=/m5-fs/disks/linux-latest.img

In the disk folder there are two imgages I only made changes to the
linux-latest, which one is the simulator using linux-latest or
linux-bigswap2.img?, and another question where is the configuration
file that says to the simulator what img it should use, I think that
now it is working because when I installed the FS mode in the
installation I said where is the img path, but I would like to now
where is the configuration file. Thanks again,

On 11/20/08, Lisa Hsu [EMAIL PROTECTED] wrote:
 Since you have changed the name/location of your disk image - did you change
 the simulator to actually point to it and use it?

 Lisa

 On Thu, Nov 20, 2008 at 3:12 PM, Eduardo Olmedo Sanchez
 [EMAIL PROTECTED]wrote:

 Hi Ali thanks for your answer, it says that it could not find the file

 loading script...
 /tmp/script: line 1: /benchmarks/micros/MyHello
 : No such file or directory
 usage: m5 ivlb interval
   m5 ivle interval
   m5 initparam

 I have review again the img and the file is there, I have the disk
 image in a folder called home/m5-fs/disks and the simulator in
 home/mt-fullsystem, I can run the other benchmarks right but not mine.
 Thanks.

 On 11/20/08, Ali Saidi [EMAIL PROTECTED] wrote:
  What is in the *.terminal files that have been created?
 
  Ali
 
  On Nov 20, 2008, at 12:42 PM, Eduardo Olmedo Sanchez wrote:
 
  Hello again, I am having some problems with the execution of a simple
  Hello World program in FS, I have been executing the program 20
  minutes and I do not get the output so I believe that something is
  going wrong. This is what I did I copied a HelloWorld program that
  works in SE mode to /benchmarks/micros/MyHello and after in
  /configs/boot I created a file called micro_MyHello.rcS and on it I
  write the following:
 
  -- micro_MyHello.rcs
  /benchmarks/micros/MyHello
  m5 exit
 
  For the execution, in the file Benchmarks.py I added my own benchmark
 
  Benchmarks = {
  
 'MyHello':[SysConfig('micro_MyHello.rcS'),
  SysConfig('micro_MyHello.rcS')],
  
 
  }
 
  And finally in the command line I wrote ./build/ALPHA_FS/m5.opt
  configs/example/fs.py -b MyHello, I have been executing the program 20
  minutes and I do not get any output in the configuration file I added
  the optiontest_sys.cpu[i].progress_interval = 10 , and this is
  an example of the output that I get
 
  87363955000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736396: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363965000: Event_137: testsys.cpu progress event, instructions
  committed: 1471, IPC: 0.01471
  8736397: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363975000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736398: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
 
  As you can see I get sometimes that the instructions commited are 0,
  so I guess that something is going wrong, any ideas?, thank you.
 
 
  On Wed, Nov 19, 2008 at 1:44 PM, Lisa Hsu [EMAIL PROTECTED] wrote:
  Basically, yes.  If you are just copying your files to the disk
  image we
  provided, and you don't change the name of the image, then you
  don't need to
  change anything in the config scripts.  You'd just need to make rcS
  scripts
  to do what you want with the files you added.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:38 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  
  wrote:
 
  Hi Lisa thanks for your answer, so do you mean that I should mount
  your img file linux-latest.img then I add my own benchmarks to that
  img and after I copy the img to the simulator and change the python
  configuration file to point to the img and cross the fingers to
  see if
  everything is right?. Thanks.
 
  On Wed, Nov 19, 2008 at 1:10 PM, Lisa Hsu [EMAIL PROTECTED]
  wrote:
  Try this:
 
 
 
 http://m5sim.org/wiki/index.php/Frequently_Asked_Questions#OS.2FLinux_Related
 
  That should help you add files to an image - you can just start
  with the
  one
  we distribute.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:05 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  wrote:
 
  Hi I have been able to run knoppix on vmware, but I still do not
  get
  what I have to do, do I need to do all the procedure from here
 
 
 
 http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5
  to create the disk image?, or how can I use an existing disk
  image to
  add my own benchmarks and after run then in the simulator?.
  Thank andd
  sorry for bother you with my simple  questions.
 
  On Tue, Nov 18, 2008 at 5:30 PM,  [EMAIL PROTECTED] wrote:
  Gentoo stage 3 install CDs are fairly minimal but reliable live
  CDs.
  I've 

Re: [m5-users] Python script file for sampling

2008-11-20 Thread srimugunthan dhandapani
On Tue, Nov 11, 2008 at 12:28 AM, srimugunthan dhandapani 
[EMAIL PROTECTED] wrote:

 hi,
 Can somebody share the python script file to do the sampling for switching
 between CPU models periodically
 for the following way of simulation

 |FF|--cacheW-|detailed---|FF|--cacheW-|detailed---|
 . . .. ..etc

 for fixed Fast forward interval , cache warming interval, detailed
 simulation interval
 Thanks,
 Mugunthan



Hi all ,
I read this thread
http://thread.gmane.org/gmane.comp.emulators.m5.users/907/focus=925

and based on that
I tried to modify the python script and try to run the test in syscall
emulation
mode.
But I get the following error
**
M5 started Nov 21 2008 04:23:53
M5 executing on srimugunthan-laptop
command line: build/ALPHA_SE/m5.debug configs/se_my/run.py -c cc1.alpha -o
1stmt.i
Global frequency set at 1 ticks per second
panic: only one workload allowed
 @ cycle 0
[create:build/ALPHA_SE/cpu/simple/timing.cc, line 859]
Program aborted at cycle 0
Aborted (core dumped)
**
I run in syscall emulation mode an alpha executable cc1.alpha with input
1stmt.i
the command line is
 build/ALPHA_SE/m5.debug configs/se_my/run.py  -c  cc1.alpha -o 1stmt.i

Can somebody help me solve this problem
My run.py script is as follows .

*
# Get paths we might need.  It's expected this file is in
m5/configs/example.
config_path = os.path.dirname(os.path.abspath(__file__))
config_root = os.path.dirname(config_path)
m5_root = os.path.dirname(config_root)

parser = optparse.OptionParser()

# Benchmark options
parser.add_option(-c, --cmd,
default=joinpath(m5_root,
tests/test-progs/hello/bin/alpha/linux/hello),
help=The binary to run in syscall emulation mode.)
parser.add_option(-o, --options, default=,
help='The options to pass to the binary, use   around the entire
string')
parser.add_option(-i, --input, default=, help=Read stdin from a
file.)
parser.add_option(--output, default=, help=Redirect stdout to a file.)
parser.add_option(--errout, default=, help=Redirect stderr to a file.)

execfile(os.path.join(config_root, common, Options.py))

(options, args) = parser.parse_args()

if args:
print Error: script doesn't take any positional arguments
sys.exit(1)

if options.bench:
try:
if m5.build_env['TARGET_ISA'] != 'alpha':
print sys.stderr, Simpoints code only works for Alpha ISA at
this
time
sys.exit(1)
exec(workload = %s('alpha', 'tru64', 'ref') % options.bench)
process = workload.makeLiveProcess()
except:
print sys.stderr, Unable to find workload for %s % options.bench
sys.exit(1)
else:
process = LiveProcess()
process.executable = options.cmd
process.cmd = [options.cmd] + options.options.split()


if options.input != :
process.input = options.input
if options.output != :
process.output = options.output
if options.errout != :
process.errout = options.errout

if options.detailed:
#check for SMT workload
workloads = options.cmd.split(';')
if len(workloads)  1:
process = []
smt_idx = 0
inputs = []
outputs = []
errouts = []

if options.input != :
inputs = options.input.split(';')
if options.output != :
outputs = options.output.split(';')
if options.errout != :
errouts = options.errout.split(';')

for wrkld in workloads:
smt_process = LiveProcess()
smt_process.executable = wrkld
smt_process.cmd = wrkld +   + options.options
if inputs and inputs[smt_idx]:
smt_process.input = inputs[smt_idx]
if outputs and outputs[smt_idx]:
smt_process.output = outputs[smt_idx]
if errouts and errouts[smt_idx]:
smt_process.errout = errouts[smt_idx]
process += [smt_process, ]
smt_idx += 1

(CPUClass, test_mem_mode, FutureClass) = Simulation.setCPUClass(options)

CPUClass.clock = '2GHz'

np = options.num_cpus

system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)],
physmem = PhysicalMemory(range=AddrRange(512MB)),
membus = Bus(), mem_mode = test_mem_mode)

system.physmem.port = system.membus.port

if options.l2cache:
system.l2 = L2Cache(size='2MB')
system.tol2bus = Bus()
system.l2.cpu_side = system.tol2bus.port
system.l2.mem_side = system.membus.port

for i in xrange(np):
if options.caches:
system.cpu[i].addPrivateSplitL1Caches(L1Cache(size = '32kB'),
  L1Cache(size = '64kB'))
if options.l2cache:
system.cpu[i].connectMemPorts(system.tol2bus)
else:
system.cpu[i].connectMemPorts(system.membus)
system.cpu[i].workload = process

if options.fastmem:
system.cpu[0].physmem_port = system.physmem.port


cpu = AtomicSimpleCPU()
test_mem_mode 

Re: [m5-users] simulation problem

2008-11-20 Thread Devraj Chapagain
hi,
I am trying to solve the problem but can't...

Where to change 12 ?... please specify the file name where this values
(opcode latency of square root) is stored .

thank you,

devraj

On Tue, Nov 18, 2008 at 11:48 AM, Rick Strong [EMAIL PROTECTED] wrote:

  From my experience, this error implies that the simulation has no event
 to schedule and rapidly proceeds to its simulation limit (maxtick)
 without anything to do. I have encountered this problem when the opcode
 latency of square root is set too high (24 cycles) on OOO cpu model. You
 might try reducing sqrt root latency to 12. If that doesn't work, I
 suggest comparing the debug output of Exec for a system using all atomic
 cpus and a system using all O3 (or timing depending on what you used for
 your simulation).

 Best,
 -Rick

 Devraj Chapagain wrote:
 
  hi there,
 
  We are using 16 copies of SPEC CPU2000 benchmarks for one simulation
  with 2GB physical memory in the configuration file. While simulating,
  we face the following error,
 
  ===
  warn: Entering event queue @ 0.  Starting simulation...
  Exiting @ cycle 9223372036854775807 because simulate() limit reached
  ==
 
  Could you please inform me what type of error is this and what would
  be the solution???
 
  Thanking you,
  devraj
 
 
  
 
  ___
  m5-users mailing list
  m5-users@m5sim.org
  http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

 ___
 m5-users mailing list
 m5-users@m5sim.org
 http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

___
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

[m5-users] Simulation problem...

2008-11-20 Thread Devraj Chapagain
hi everyone,

I have encountered a problem while simulating a configuration(.py) file.

The error message is as:

*m5.opt: build/ALPHA_SE/mem/bus.cc:225: bool Bus::recvTiming(Packet*):
Assertio n `dest = 0  dest  maxId' failed. *

what would be the problem with it..?

Help please!!


Thank you,

devraj
___
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread nathan binkert
You are missing a #!/bin/sh at the top of your rcS file.

Yes, the disk image size shouldn't change.  The disk image file is
always exactly the size of the disk that it represents.  So, if you
want a 100GB disk, the image file would be 100GB.  Some day, I'll add
the qemu qcow2 format, but not today.

  Nate


On Thu, Nov 20, 2008 at 5:49 PM, Eduardo Olmedo Sanchez
[EMAIL PROTECTED] wrote:
 Hello again,

 I have been reviewing the paths and everythig seems fine

 Benchmarks.py -   return env.get('LINUX_IMAGE', disk('linux-latest.img'))
 SysPaths.py -  path = [ '/ufs3/home/scs/eolmsan/m5-fs' ]

 But I still get the same error

 loading script...
 /tmp/script: line 1: /benchmarks/micros/MyHello
 : No such file or directory

 Another wierd thing is that when I add my file to the image, the size
 of the image does not change, is that normal?, also I have reviewed
 the permission and they seem OK, also I can execute any of the other
 benchmarks that come with the simulator. I am really stuck on this any
 idea about what is happenning?. Thanks in advance.



 On Thu, Nov 20, 2008 at 12:28 PM, Eduardo Olmedo Sanchez
 [EMAIL PROTECTED] wrote:
 Hi Lisa thanks for your answer, in the config.ini generated by the
 simulator it is ponting right to the img path.

 image_file=/m5-fs/disks/linux-latest.img

 In the disk folder there are two imgages I only made changes to the
 linux-latest, which one is the simulator using linux-latest or
 linux-bigswap2.img?, and another question where is the configuration
 file that says to the simulator what img it should use, I think that
 now it is working because when I installed the FS mode in the
 installation I said where is the img path, but I would like to now
 where is the configuration file. Thanks again,

 On 11/20/08, Lisa Hsu [EMAIL PROTECTED] wrote:
 Since you have changed the name/location of your disk image - did you change
 the simulator to actually point to it and use it?

 Lisa

 On Thu, Nov 20, 2008 at 3:12 PM, Eduardo Olmedo Sanchez
 [EMAIL PROTECTED]wrote:

 Hi Ali thanks for your answer, it says that it could not find the file

 loading script...
 /tmp/script: line 1: /benchmarks/micros/MyHello
 : No such file or directory
 usage: m5 ivlb interval
   m5 ivle interval
   m5 initparam

 I have review again the img and the file is there, I have the disk
 image in a folder called home/m5-fs/disks and the simulator in
 home/mt-fullsystem, I can run the other benchmarks right but not mine.
 Thanks.

 On 11/20/08, Ali Saidi [EMAIL PROTECTED] wrote:
  What is in the *.terminal files that have been created?
 
  Ali
 
  On Nov 20, 2008, at 12:42 PM, Eduardo Olmedo Sanchez wrote:
 
  Hello again, I am having some problems with the execution of a simple
  Hello World program in FS, I have been executing the program 20
  minutes and I do not get the output so I believe that something is
  going wrong. This is what I did I copied a HelloWorld program that
  works in SE mode to /benchmarks/micros/MyHello and after in
  /configs/boot I created a file called micro_MyHello.rcS and on it I
  write the following:
 
  -- micro_MyHello.rcs
  /benchmarks/micros/MyHello
  m5 exit
 
  For the execution, in the file Benchmarks.py I added my own benchmark
 
  Benchmarks = {
  
 'MyHello':[SysConfig('micro_MyHello.rcS'),
  SysConfig('micro_MyHello.rcS')],
  
 
  }
 
  And finally in the command line I wrote ./build/ALPHA_FS/m5.opt
  configs/example/fs.py -b MyHello, I have been executing the program 20
  minutes and I do not get any output in the configuration file I added
  the optiontest_sys.cpu[i].progress_interval = 10 , and this is
  an example of the output that I get
 
  87363955000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736396: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363965000: Event_137: testsys.cpu progress event, instructions
  committed: 1471, IPC: 0.01471
  8736397: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  87363975000: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
  8736398: Event_137: testsys.cpu progress event, instructions
  committed: 0, IPC: 0
 
  As you can see I get sometimes that the instructions commited are 0,
  so I guess that something is going wrong, any ideas?, thank you.
 
 
  On Wed, Nov 19, 2008 at 1:44 PM, Lisa Hsu [EMAIL PROTECTED] wrote:
  Basically, yes.  If you are just copying your files to the disk
  image we
  provided, and you don't change the name of the image, then you
  don't need to
  change anything in the config scripts.  You'd just need to make rcS
  scripts
  to do what you want with the files you added.
 
  Lisa
 
  On Wed, Nov 19, 2008 at 4:38 PM, Eduardo Olmedo Sanchez
  [EMAIL PROTECTED]
  
  wrote:
 
  Hi Lisa thanks for your answer, so do you mean that I should mount
  your img file linux-latest.img then I 

Re: [m5-users] Simpler alternative to the IDE Disk

2008-11-20 Thread nathan binkert
Sorry for the late response, but there really isn't another disk
model.  You should in theory be able to hang the disk device off
whatever bus memory hangs off of.  You only need an io cache if you
want a separate IO bus.

  Nate

On Wed, Nov 19, 2008 at 4:21 PM, Rick Strong [EMAIL PROTECTED] wrote:
 Hi all,

 I have mesh + directory coherence (based on Jiayuan's patches) running
 the beginning of a script  in full system and see output coming from the
 terminal. However, I am getting an assertion in the ide_disk.cc a little
 later:

 Assertion failed: (cmdBytesLeft == 0), function dmaWriteDone, file
 /Users/rickstrong/build/m5powerfs/build/ALPHA_FS/dev/ide_disk.cc, line 497.

 As I am running for a deadline, I don't really care about the accuracy
 of the disk model. Is there a simpler disk that I could use that might
 get me around the complexity of figuring how dma is interacting with the
 disk?

 Best,
 -Rick

 ___
 m5-users mailing list
 m5-users@m5sim.org
 http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


___
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


Re: [m5-users] Simpler alternative to the IDE Disk

2008-11-20 Thread Steve Reinhardt
Actually that's not true... you need an io cache to make sure block
writes are coherent regardless of where the device is attached.  The
device by itself doesn't know how to make coherent accesses.

Steve

On Thu, Nov 20, 2008 at 7:51 PM, nathan binkert [EMAIL PROTECTED] wrote:
 Sorry for the late response, but there really isn't another disk
 model.  You should in theory be able to hang the disk device off
 whatever bus memory hangs off of.  You only need an io cache if you
 want a separate IO bus.

  Nate

 On Wed, Nov 19, 2008 at 4:21 PM, Rick Strong [EMAIL PROTECTED] wrote:
 Hi all,

 I have mesh + directory coherence (based on Jiayuan's patches) running
 the beginning of a script  in full system and see output coming from the
 terminal. However, I am getting an assertion in the ide_disk.cc a little
 later:

 Assertion failed: (cmdBytesLeft == 0), function dmaWriteDone, file
 /Users/rickstrong/build/m5powerfs/build/ALPHA_FS/dev/ide_disk.cc, line 497.

 As I am running for a deadline, I don't really care about the accuracy
 of the disk model. Is there a simpler disk that I could use that might
 get me around the complexity of figuring how dma is interacting with the
 disk?

 Best,
 -Rick

 ___
 m5-users mailing list
 m5-users@m5sim.org
 http://m5sim.org/cgi-bin/mailman/listinfo/m5-users


 ___
 m5-users mailing list
 m5-users@m5sim.org
 http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

___
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users