Hi Gedare: Thanks for your reply. However, the problem persists. Here is what I tried :
> *cd util/term* > *make* > .*/m5term localhost 3456* But the program exists immediately. So I looked into the code ''*util/term/term.c", and found the reason being that no available socket could not be connected. For exmple, I added some messages in the remote_connect() function of "term.c" and the output is: * > *open 1 socket s=3* > *connect to this socket FAIL with res0.ai_addr=27476544, res0->ai_addrlen=28 !* > *open 1 socket s=3* > *connect to this socket FAIL with res0.ai_addr=27476464, res0->ai_addrlen=16 !* * Then, reading the wiki(section: 'basic operation' and 'm5 term')<http://gem5.org/Running_M5>of m5 carefully again, I think the **command * > *./m5term localhost 3456* should be used only after booting the linux using "fs.py". Unfortunately, this is the very first problem I had before. Because when I use > build/ARM_FS/m5.opt configs/example/fs.py, the program prints out some warnings of unimplemented instructions and stalls(please see my first email for detailed outputs). However, according to the wiki<http://gem5.org/Running_M5>(section 'booting linux'), that command should give me a shell. So could you or someone else help to crack this issue? Thanks! Best regards, Kun --- On Thu, Jun 16, 2011 at 6:17 PM, Gedare Bloom <[email protected]> wrote: > Once you verify the terminal works, you probably want to figure out > how to use the rcS scripts to automate running experiments. There is > documentation on the wiki. > > Have fun > > On Thu, Jun 16, 2011 at 12:15 PM, Gedare Bloom <[email protected]> > wrote: > > You need to attach a terminal. > > > > cd util/term > > make > > ./m5term localhost 3456 > > > > Login as root with no password. > > > > On Thu, Jun 16, 2011 at 9:41 AM, Kun Lu <[email protected]> wrote: > >> Dear All: > >> It is my first time using m5. I followed the instructions regarding > >> compiling and running m5. > >> I compiled with ARM-FS and m5-opt. All was fine. Then I downloaded the > >> arm-linux disk image and run it > >> with command 'build/ARM_FS/m5.opt configs/example/fs.py', but then I > got > >> the following problem: > >> ... > >> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 > >> **** REAL SIMULATION**** > >> info: Entering event queue @ 0. Starting simulation... > >> warn: The clidr register always reports 0 caches. > >> warn: The csselr register isn't implemented. > >> warn: The ccsidr register isn't implemented and always reads as 0. > >> warn: instruction 'mcr bpiall' unimplemented > >> warn: instruction 'mcr dccimvac' unimplemented > >> warn: instruction 'mcr dccmvau' unimplemented > >> warn: instruction 'mcr icimvau' unimplemented > >> warn: LCD dual screen mode not supported > >> warn: instruction 'mcr bpiall' unimplemented > >> warn: Returning thumbEE disabled for now since we don't support > >> CP14config registers and jumping to ThumbEE vector > >> warn: instruction 'mcr bpiall' unimplemented > >> > >> Then the system stalls forever. > >> > >> The only relavent link I found was a post of the similar problem: > >> http://permalink.gmane.org/gmane.comp.emulators.m5.users/7325 > >> But in that post, Ali gave a link > >> http://www.m5sim.org/wiki/index.php/Download which is actually where I > >> downloaded the linux and had the problem. > >> > >> So could someone help me on this issue? Thanks! > >> > >> Kun > >> > >> _______________________________________________ > >> gem5-users mailing list > >> [email protected] > >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > >> > > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
