Hi Marko,

I am a new user to gem5, but I also experienced this confusion running full 
system mode. Once you launch the full system mode, you open a new terminal on 
your host and use 

telnet 127.0.0.1 3456

This will connect you to the running simulation. Let us know if that resolves 
the problem.

I'd point you to the documentation for gem5 (google "gem5 telnet" without 
quotes) but the gem5 server seems to be not responding.

Good luck,

Ben

-----Original Message-----
From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On 
Behalf Of Marko Zivkovic
Sent: Sunday, October 28, 2012 2:19 PM
To: gem5 users mailing list
Subject: [gem5-users] Full SYstem Mode. What am i missing?

Hello,

I am trying to simulate queens example.

I)

1. I did mount - umount step  //without checkpoint option 2. export 
LINUX_IMAGE=/tmp/linux-x86.img 3. ./build/X86/gem5.opt configs/example/fs.py 
--kernel=/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
--script=/home/marko/Downloads/gem5-2/queens.rcS
4. here is my queens.rcS

#!/bin/sh

sleep 10
m5 checkpoint 100000
m5 resetstats
/queens 8
m5 exit

Here is what i get:

e/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
--script=/home/marko/Downloads/gem5-2/queens.rcS
gem5 Simulator System.  http://gem5.org
gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Oct 24 2012 13:17:57
gem5 started Oct 27 2012 09:46:23
gem5 executing on debian
command line: ./build/X86/gem5.opt configs/example/fs.py 
--kernel=/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
--script=/home/marko/Downloads/gem5-2/queens.rcS
warning: add_child('terminal'): child 'terminal' already has parent Global 
frequency set at 1000000000000 ticks per second
info: kernel located at:
/home/marko/Downloads/x86-system/binaries/x86_64-vmlinux-2.6.22.9.smp
 rtc: Real-time clock set to Sun Jan  1 00:00:00 2012 Listening for com_1 
connection on port 3456
warn: Reading current count from inactive timer.
0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000
**** REAL SIMULATION ****
info: Entering event queue @ 0.  Starting simulation...
warn: Don't know what interrupt to clear for console.
warn: instruction 'fxsave' unimplemented
warn: instruction 'wbinvd' unimplemented
warn: Tried to clear PCI interrupt 14
warn: Unknown mouse command 0xe1.
warn: instruction 'fld' unimplemented
warn: instruction 'fxch' unimplemented
warn: instruction 'fucomip' unimplemented
warn: instruction 'ffreep' unimplemented

>From this point, it works but never continues.. So, what I am missing?Also, 
>these unimplemented syscalls worries me because linux kernel should have it.


II) Please check if my understanding is right. I should boot Linux then execute 
queens.rcS which will start queens app with parameter 8

simulation should start and execute the program. If I want to "play more" with 
the simulated OS shell, i will could use m5term to execute, add parameters, etc.

am i right?

I am not sure that I successfully boot linux, according to my screen output?!

Thank you
_______________________________________________
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

Reply via email to