Hello, Thank you so much for your time.
I set the kernel as shown: build/x86/gem5.opt configs/example/fs.py --kernel=....../gem5/FullSystemStuff/x86-system/binaries/x86_64-vmlinux-2.6.22.9 --disk-image=......./gem5/FullSystemStuff/x86-system/disks --script=./configs/boot/art.rcS So the Kernel is loaded but i got another problem which is "floating point exception (core dumped)" as shown: warning: add_child('terminal'): child 'terminal' already has parent Global frequency set at 1000000000000 ticks per second info: kernel located at: /home/wael/Mac/gem5/FullSystemStuff/x86-system/binaries/x86_64-vmlinux-2.6.22.9 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 Floating point exception (core dumped) So Please What is the solution for this problem ? Thanks Best Regards Wael AMR On Sat, Jun 9, 2012 at 1:58 AM, WonSeob Jeong <python...@gmail.com> wrote: > You should give --kernel option to fs.py like "--kernel=vmlinux-2.6.22.9". > > > > > On 06/09/2012 05:02 AM, wael Amr wrote: > > Hello, > > I followed your advice,so i put the two downloads (configs & x86-system) > into one folder in .../gem5/FullSystemStuff ,then i changed the path of > SysPath.py as shown: > path = [ '/dist/m5/system', '....gem5/FullSystemStuff' ] > > Then i typed the commands: > > sudo python util/gem5img.py mount > FullSystemStuff/x86-system/disks/linux-x86.img /mnt > > sudo umount /mnt > > build/x86/gem5.opt configs/example/fs.py > > But i got this error: > > ======= > > info: No kernel set for full system simulation. Assuming you know what > you're doing if not SPARC ISA > 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 > panic: Error opening /media/disks/x86root.img > @ cycle 0 > [open:build/X86/dev/disk_image.cc, line 79] > Memory Usage: 174012 KBytes > Program aborted at cycle 0 > Aborted (core dumped) > > ====== > > So there is still something missing! > > So please any help will be highly appreciated for this blocking issue. > > Thank you in advance for your time and help. > > Best Regards > > Wael Amr > > > > > On Mon, Jun 4, 2012 at 4:21 PM, Bojun Ma <boj...@mtu.edu> wrote: > >> From my own experience, I put these two downloads into one directory. And >> change the path of SysPath.py to that directory. >> >> I think the config files are used to create a kernel, I mean if you do >> not want to use the pre-compiled one from the download page. >> >> Hope this can be help. >> >> >> On Mon, Jun 4, 2012 at 12:36 AM, wael Amr <wael.amrhos...@gmail.com>wrote: >> >>> Hello Eng.Bojun, >>> >>> Thank you so much for your reply. >>> No,i haven't changed the SysPath.py. >>> Actually i am confused in this point because i downloaded from " >>> http://gem5.org/Download" the full system for X86 : >>> >>> - Full System >>> Files<http://www.m5sim.org/dist/current/x86/x86-system.tar.bz2>-- The >>> kernel used for regressions, an SMP version of it, and a disk image >>> - config >>> files<http://www.m5sim.org/dist/current/x86/config-x86.tar.bz2>-- Config >>> files for both of the above kernels, 2.6.25.1 and 2.6.28.4 >>> >>> So which files should i include in the SysPath.py ? >>> >>> What is the usage of the config files ? >>> >>> I would appreciate if you could reply at your earliest convenience. >>> >>> Thanks >>> >>> Best Regards >>> >>> Wael Amr >>> On Sun, Jun 3, 2012 at 10:56 PM, Bojun Ma <boj...@mtu.edu> wrote: >>> >>>> Have you changed the Path in SysPath.py? >>>> >>>> >>>> On Sun, Jun 3, 2012 at 12:36 PM, wael Amr <wael.amrhos...@gmail.com>wrote: >>>> >>>>> Hello, >>>>> >>>>> I need to run gem5 under Full System on Ubuntu using virtual machine >>>>> . >>>>> So i typed the following commands for mount the linux-x86.img: >>>>> >>>>> sudo python util/gem5img.py mount >>>>> FullSystemStuff/x86-system/disks/linux-x86.img /mnt >>>>> >>>>> sudo umount /mnt >>>>> >>>>> Then i typed :command line: ./build/x86/gem5.opt configs/example/fs.py >>>>> --disk-image=/media >>>>> >>>>> But i got this error : >>>>> >>>>> ================ >>>>> >>>>> warning: add_child('terminal'): child 'terminal' already has parent >>>>> >>>>> Traceback (most recent call last): >>>>> >>>>> File "<string>", line 1, in <module> >>>>> >>>>> File "/home/wael/Mac/gem5/src/python/m5/main.py", line 357, in main >>>>> >>>>> exec filecode in scope >>>>> >>>>> File "configs/example/fs.py", line 102, in <module> >>>>> >>>>> test_sys = makeLinuxX86System(test_mem_mode, options.num_cpus, bm[0]) >>>>> >>>>> File "/home/wael/Mac/gem5/configs/common/FSConfig.py", line 518, in >>>>> makeLinuxX86System >>>>> >>>>> makeX86System(mem_mode, numCPUs, mdesc, self, Ruby) >>>>> >>>>> File "/home/wael/Mac/gem5/configs/common/FSConfig.py", line 447, in >>>>> makeX86System >>>>> >>>>> disk0.childImage(mdesc.disk()) >>>>> >>>>> File "/home/wael/Mac/gem5/configs/common/Benchmarks.py", line 53, in >>>>> disk >>>>> >>>>> return disk(self.diskname) >>>>> >>>>> File "/home/wael/Mac/gem5/configs/common/SysPaths.py", line 37, in >>>>> disk >>>>> >>>>> system() >>>>> >>>>> File "/home/wael/Mac/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. >>>>> >>>>> ================ >>>>> >>>>> So Is there anything missing for installing the Full System mode? >>>>> >>>>> Any help for this error will be highly appreciated. >>>>> >>>>> Thank so much in advance for your time and support. >>>>> >>>>> Thanks >>>>> >>>>> Best Regards >>>>> >>>>> Wael Amr >>>>> >>>>> _______________________________________________ >>>>> 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 >>> >> >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users@gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > > > > _______________________________________________ > gem5-users mailing > listgem5-users@gem5.orghttp://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