Hi Ali,

Just to clarify... you were right about running multiple instances of gem5.
I used to hit ctrl + z and it just doesn't shut down gem5. So I need to
kill any gem5 processes left. After I do so, I was able to login using
m5term successfully.

Thanks
Mehmet

2013/2/8 mehmet basaran <[email protected]>

> Hi Ali,
>
> Thanks so much for your response. That's a good call, but I am pretty sure
> I run only one instance of gem5. I installed this version couple months ago
> from tarball. I tried to run it using different ISAs like ARM (in SE mode).
> Even for the simplest codes, gem5 run like 30 min before getting killed by
> my host OS.
>
> This problem has blocked me for a couple months. And I applied the most
> basic fix in CS to solve it. Here it goes;
>
> I got tired and decided it would be better if I reinstalled one more copy
> of gem5 (dev), this time using mercurial. And it worked, I can now connect
> full system mode using m5term. I wish I wasn't that slow :)
>
> Thanks a lot
>
>
> 2013/2/8 Ali Saidi <[email protected]>
>
>> It looks like you have many copies of gem5 running. If you look at the
>> output you can see that the version you pasted is listening for a terminal
>> connection on port 3465.
>>
>> Ali
>>
>> On Feb 6, 2013, at 3:46 PM, mehmet basaran <[email protected]>
>> wrote:
>>
>> Hi all (Apologies for the previous mail),
>>
>> I am trying to run gem5 in fs mode. I followed the steps on gem5 wiki and
>> on this link
>> http://www.mail-archive.com/[email protected]/msg04076.html
>>
>> However when I try to connect gem5 using telnet or m5term the console
>> just freezes.
>>
>> -------------------------------------------
>> My command is: build/X86/gem5.opt configs/example/fs.py
>> --kernel="x86_64-vmlinux-2.6.22.9" --script="configs/boot/art.rcS"
>> And output:
>> gem5 Simulator System.  http://gem5.org
>> gem5 is copyrighted software; use the --copyright option for details.
>>
>> gem5 compiled Oct 31 2012 13:42:49
>> gem5 started Feb  6 2013 17:27:32
>> gem5 executing on matara-HP-Pavilion-dv6-Notebook-PC
>> command line: build/X86/gem5.opt configs/example/fs.py
>> --kernel=x86_64-vmlinux-2.6.22.9 --script=configs/boot/art.rcS
>> warning: add_child('terminal'): child 'terminal' already has parent
>> Global frequency set at 1000000000000 ticks per second
>> info: kernel located at:
>> /home/matara/Apps/gem5-e71f71ce233a/binaries/x86_64-vmlinux-2.6.22.9
>>       0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
>> Listening for com_1 connection on port 3465
>> warn: Reading current count from inactive timer.
>> 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7009
>> **** REAL SIMULATION ****
>> info: Entering event queue @ 0.  Starting simulation...
>> warn: Don't know what interrupt to clear for console.
>> warn: instruction 'fxsave' unimplemented
>> warn: x86 cpuid: unknown family 0x8086
>> warn: Tried to clear PCI interrupt 14
>> warn: Unknown mouse command 0xe1.
>> warn: instruction 'wbinvd' unimplemented
>> ^Chack: be nice to actually delete the event here
>> Exiting @ tick 775965083400000 because user interrupt received
>> DONE !!!!
>> -----------------------------------------------
>>
>> It took at least 5 minutes to get this output (I actually printed "DONE
>> !!!" in last line of fs.py)
>>
>> When I use telnet to connect;
>> -----------------------------------------------
>> $ telnet localhost 3456
>>
>> Trying 127.0.0.1...
>> Connected to localhost.
>> Escape character is '^]'.
>> echo "hello"
>> echo "asd"
>> Connection closed by foreign host.
>> -----------------------------------------------
>>
>> After I wait a little (like 1 minutes), it says "Connection closed by
>> foreign host."
>>
>> And when I use m5term instead, it just freezes after "m5term localhost
>> 3456" command.
>>
>> I dont know what causes this. Is it possible that gem5 runs on my
>> computer so slow that everything gets timeout? If not what can cause this?
>> Any suggestions/help/pointers are welcome.
>>
>> Thanks a lot.
>> Mehmet
>>  _______________________________________________
>> 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

Reply via email to