Hello,

I am a new user of gem5 and am attempting to familiarize myself with the tool. 
The computer I'm using is running Ubuntu 12.10, 64 bit. With a fresh install of 
Ubuntu complete, I ran the following:

cd ~
sudo apt-get install mercurial
sudo apt-get install scons swig gcc python m4 python-dev 
libgoogle-perftools-dev zlib-dev
hg clone http://repo.gem5.org/gem5
cd gem5
hg pull
hg update
scons build/ARM/gem5.opt
build/ARM/gem5.opt configs/example/se.py -c 
tests/test-progs/hello/bin/arm/linux/hello

This works and I am happy. Now I want to the full system emulation, as per
http://www.m5sim.org/Running_gem5#Full_System_.28FS.29_Mode

I download and extract the images,
cd /home/bpayne/full_system_for_gem5/
wget http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2
wget http://www.m5sim.org/dist/current/x86/config-x86.tar.bz2
tar jxf x86-system.tar.bz2
tar jxf config-x86.tar.bz2

Then I try to use these disks as follows:

bpayne@ubuntu:~/gem5$ ./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Oct 11 2012 17:19:58
gem5 started Oct 12 2012 12:52:58
gem5 executing on ubuntu
command line: ./build/ARM/gem5.opt configs/example/fs.py 
--disk-image=/home/bpayne/full_system_for_gem5/disks/arm-ubuntu-natty-headless.img
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/bpayne/gem5/src/python/m5/main.py", line 359, in main
    exec filecode in scope
  File "configs/example/fs.py", line 106, in <module>
    bare_metal=options.bare_metal)
  File "/home/bpayne/gem5/configs/common/FSConfig.py", line 263, in 
makeArmSystem
    self.cf0.childImage(mdesc.disk())
  File "/home/bpayne/gem5/configs/common/Benchmarks.py", line 53, in disk
    return disk(self.diskname)
  File "/home/bpayne/gem5/configs/common/SysPaths.py", line 37, in disk
    system()
  File "/home/bpayne/gem5/configs/common/SysPaths.py", line 59, in system
    raise ImportError, "Can't find a path to system files."
ImportError: Can't find a path to system files.

I suspect I need to specify where the disk lives, but I'm not sure how to do 
this correctly.

Searching this email list doesn't return any useful pages as far as I can tell.
http://search.gmane.org/?query=disk+image&group=gmane.comp.emulators.m5.users

Thank you in advance,


Ben Payne

PS: the video tutorials on the wiki are useful, even if the sound quality isn't 
great. Any plans for a  webcast or more video tutorials?
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to