Thank you for your help! It really work!!!

On Fri, Jan 12, 2024 at 4:47 PM Hoa Nguyen <hoangu...@ucdavis.edu> wrote:
> Hi,
>
> The problem seems to be that the gem5 simulation and the m5term call are
> run on different virtual machines.
>
> If you're using docker then please make sure that you're calling m5term on
> the same docker container as the one running gem5 simulation.
>
> If that doesn't work then you can check the guest output from
> m5out/board.platform.termnial file (or a file with the name similar to
> that) .
>
> Regards,
> Hoa Nguyen
>
> On Thu, Jan 11, 2024, 23:35 hu miao via gem5-users <gem5-users@gem5.org>
> wrote:
>
>> Hello everyone,
>>
>> I am new to gem5 and I have been trying to use gem5 for X86 dual-core
>> full system simulation, following the steps in this tutorial:
>> https://www.gem5.org/documentation/gem5-stdlib/x86-full-system-tutorial.
>> However, I encountered some issues during the process. I am unable to use
>> m5term as described in the tutorial. I executed ./build/X86/gem5.opt
>> configs/humiao/double.py as instructed but when I open a new terminal
>> and run ./m5term localhost 3456, nothing happens. I would greatly
>> appreciate it if someone could help me with this.
>>
>> Thank you very much.
>>
>> I use docker images to build and run my gem5(version 20.04). My ubuntu is
>> 22.04. Here is the logs.
>>
>> Terminal 1=======================================
>>
>> root@f7f0fce50861:/# gem5/gem5/build/X86/gem5.opt
>> gem5/gem5/configs/humiao2/double.py
>>
>> gem5 Simulator System. https://www.gem5.org
>>
>> gem5 is copyrighted software; use the --copyright option for details.
>> gem5 version 22.1.0.0 gem5 compiled Jan 8 2024 08:58:24 gem5 started Jan 12
>> 2024 00:53:21 gem5 executing on f7f0fce50861, pid 16 command line:
>> gem5/gem5/build/X86/gem5.opt gem5/gem5/configs/humiao2/double.py warn: An
>> ISA for the SimpleSwitchableProcessor was not set. This will result in
>> usage of `runtime.get_runtime_isa` to obtain the ISA. This function is
>> deprecated and will be removed in future releases of gem5. Please
>> explicitly state the ISA via the processor constructor. warn: The
>> `get_runtime_isa` function is deprecated. Please migrate away from using
>> this function. warn: The `get_runtime_isa` function is deprecated. Please
>> migrate away from using this function. warn: The `get_runtime_isa` function
>> is deprecated. Please migrate away from using this function. warn: The
>> `get_runtime_isa` function is deprecated. Please migrate away from using
>> this function. warn: The simulate package is still in a beta state. The
>> gem5 project does not guarantee the APIs within this package will remain
>> consistent across upcoming releases. Global frequency set at 1000000000000
>> ticks per second build/X86/mem/dram_interface.cc:690: warn: DRAM device
>> capacity (8192 Mbytes) does not match the address range assigned (2048
>> Mbytes) build/X86/sim/kernel_workload.cc:46: info: kernel located at:
>> /root/.cache/gem5/x86-linux-kernel-5.4.49 build/X86/base/statistics.hh:280:
>> warn: One of the stats is a legacy stat. Legacy stat is a stat that does
>> not belong to any statistics::Group. Legacy stat is deprecated. 0:
>> board.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan 1 00:00:00
>> 2012 board.pc.com_1.device: Listening for connections on port 3456
>> build/X86/dev/intel_8254_timer.cc:128: warn: Reading current count from
>> inactive timer. 0: board.remote_gdb: listening for remote gdb on port 7000
>> build/X86/sim/simulate.cc:192: info: Entering event queue @ 0. Starting
>> simulation... build/X86/mem/ruby/system/Sequencer.cc:613: warn: Replacement
>> policy updates recently became the responsibility of SLICC state machines.
>> Make sure to setMRU() near callbacks in .sm files!
>> build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid family 0x0000:
>> unimplemented function 6 build/X86/arch/x86/cpuid.cc:180: warn: x86 cpuid
>> family 0x0000: unimplemented function 6 build/X86/arch/x86/cpuid.cc:180:
>> warn: x86 cpuid family 0x0000: unimplemented function 6
>> build/X86/arch/x86/generated/exec-ns.cc.inc:27: warn: instruction 'fninit'
>> unimplemented build/X86/dev/x86/pc.cc:117: warn: Don't know what interrupt
>> to clear for console.
>>
>> Terminal 2==========================================
>>
>> root@070f5b3cf62e:/# cd gem5/gem5/util/term 
>> root@070f5b3cf62e:/gem5/gem5/util/term#
>> ./m5term localhost 3456 root@070f5b3cf62e:/gem5/gem5/util/term# ./m5term
>> localhost 3456
>>
>> _______________________________________________
>> gem5-users mailing list -- gem5-users@gem5.org
>> To unsubscribe send an email to gem5-users-le...@gem5.org
>>
>
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to