[gem5-users] unsubscribe the email

2021-06-26 Thread 蔡源 via gem5-users



 -原始邮件-
 发件人: gem5-users-requ...@gem5.org
 发送时间: 2021-06-26 15:30:05 (星期六)
 收件人: gem5-users@gem5.org
 抄送: 
 主题: gem5-users Digest, Vol 179, Issue 42
 
 Send gem5-users mailing list submissions to
gem5-users@gem5.org
 
 To subscribe or unsubscribe via email, send a message with subject or
 body 'help' to
gem5-users-requ...@gem5.org
 
 You can reach the person managing the list at
gem5-users-ow...@gem5.org
 
 When replying, please edit your Subject line so it is more specific
 than "Re: Contents of gem5-users digest..."
 
 Today's Topics:
 
1. Fatal error while running multithreaded program in SE mode
   (hissa alshamsi)
2. gem5 RISCV, issue on boot when mounting filesystem (Truan David)
3. Re: gem5 RISCV, issue on boot when mounting filesystem
   (Νικόλαος Ταμπουρατζής)
4. Re: gem5 RISCV, issue on boot when mounting filesystem
   (Jason Lowe-Power)
5. Re: Fatal error while running multithreaded program in SE mode
   (Jason Lowe-Power)
6. Issue in using HMC in SE mode (hissa alshamsi)
 
 
 --
 
 Message: 1
 Date: Fri, 25 Jun 2021 10:30:26 +
 From: hissa alshamsi 
 Subject: [gem5-users] Fatal error while running multithreaded program
in SE mode
 To: "gem5-users@gem5.org" 
 Message-ID:  
P191.PROD.OUTLOOK.COM
 Content-Type: multipart/alternative;boundary="_000_DB8P191MB055503
C7749AD3D535748B3281069DB8P191MB0555EURP_"
 
 Hi everyone,
 
 I am trying to run a multithreaded program in SE mode, after installing 
m5thread and following the steps in 
https://github.com/WeijingShi/playground/blob/master/Run-openmp-code-in-gem5.md
 
 But I keep getting that syscall getdents unimplemented.
 
 This is the line I have used:
 build/X86/gem5.opt configs/example/se.py --cpu-type=TimingSimpleCPU 
–cpu-cycle=2GH-n 8 --cmd=m5threads/tests/test_omp -o '8 8'
 
 
  REAL SIMULATION 
 info: Entering event queue @ 0.  Starting simulation...
 warn: Attempting to open special file: /sys/devices/system/cpu. Ignoring. 
Simulation may take un-expected code path or be non-deterministic until proper 
handling is implemented.
 fatal: syscall getdents (#78) unimplemented.
 Memory Usage: 829528 Kbytes
 
 Any clue on how to run a multithreaded program in SE mode without using 
ruby?
 
 Thank you in advance,
 Hessa.
 -- next part --
 A message part incompatible with plain text digests has been removed ...
 Name: not available
 Type: text/html
 Size: 2781 bytes
 Desc: not available
 
 --
 
 Message: 2
 Date: Fri, 25 Jun 2021 14:00:54 +
 From: Truan David 
 Subject: [gem5-users] gem5 RISCV, issue on boot when mounting
filesystem
 To: "gem5-users@gem5.org" 
 Cc: Medwed Gregory , Zapater Sancho Marina

 Message-ID: 
 Content-Type: text/plain; charset="iso-8859-1"
 
 Hello,
 We are a team working on gem5 RISCV. We are trying to use gem5 full-system 
but we are encountering some issues when mounting the rootfs/initramfs.
 
 This is our setup:
 - gem5 on branch develop from https://gem5.googlesource.com/public/gem5 
(c493d2c4ad)
 - BBL on branche master from https://github.com/riscv/riscv-pk.git 
(e8e6b3aa)
 - Linux 5.10, checkout on v5.10 tag (2c85ebc57)
 
 This is what we tried so far:
 
 -Compiling BBL with and without specifying the DTS: No changes
 -Compiling BBL with Linux vmlinux OR Image as payload: No changes
 -Compiling Linux with an minimalistic initramfs which only prints a "Hello 
World" from the init script: No changes
 -Using fs_linux.py OR run_riscv.py as the entry point: No changes
 
 Here are the boot logs from different experiments, with only the last 
lines of the boot log to keep this mail short:
 
 =
 This is the boot log when specifying a disk-image param, using fs_linux.py:
 
 Command:
 $GEM5_FAST_BIN -v \
 -d $GEM5_OUTPUT \
 $GEM5_HOME/configs/example/riscv/fs_linux.py \
 --cpu-type=AtomicSimpleCPU \
 --cpu-clock=1GHz \
 -n 1 \
 --disk-image=$DISK \
 --kernel= \
 --mem-type=DDR4_2400_4x16 \
 --mem-size=4GB \
 --command-line="root=/dev/vda ro console=ttyS0"
 
 
  m5 terminal: Terminal 0 
 ...
 [1.123014] [drm] radeon kernel modesetting enabled.
 [1.146199] loop: module loaded
 [1.147219] virtio_blk virtio0: [vda] 6821 512-byte logical blocks 
(3.49 MB/3.33 MiB)
 [1.147423] vda: detected capacity change from 0 to 3492352
 
 =
 This is the boot log when NOT specifying a disk-image param, using 
fs_linux.py:
 
 Command:
 $GEM5_FAST_BIN -v \
 -d $GEM5_OUTPUT \
 $GEM5_HOME/configs/example/riscv/fs_linux.py \
 --cpu-type=AtomicSimpleCPU \
 --cpu-clock=1GHz \
 -n 1 \
 --kernel= \
 --mem-type=DDR4_2400_4x16 \
 --mem-size=4GB \
 --command-line="root=/dev/vda ro console=ttyS0"
 
  m5 terminal: Terminal 0 
 ...
 [1.121246] [drm] radeon kernel modesetting enabled.
 [1.144593] loop: module loaded
 [1.148461] libphy: Fixed MDIO Bus: probed

[gem5-users] Issue in using HMC in SE mode

2021-06-26 Thread hissa alshamsi via gem5-users
Hello,

I am using gem5.20 and trying to run the hello world program in se.py using 
HMC, but I’m getting an error saying I’m trying to initiate an orphan node.


build/X86/gem5.opt configs/example/se.py 
--cmd=tests/test-progs/hello/bin/x86/linux/hello --mem-type=HMC_2500_1x32

Traceback (most recent call last):
  File "", line 1, in 
  File "build/X86/python/m5/main.py", line 457, in main
exec(filecode, scope)
  File "configs/example/se.py", line 287, in 
Simulation.run(options, root, system, FutureClass)
  File "/home/Hessa/gem5_20/gem5-20.1.0.0/configs/common/Simulation.py", line 
622, in run
m5.instantiate(checkpoint_dir)
  File "build/X86/python/m5/simulate.py", line 119, in instantiate
for obj in root.descendants(): obj.connectPorts()
  File "build/X86/python/m5/SimObject.py", line 1701, in connectPorts
portRef.ccConnect()
  File "build/X86/python/m5/params.py", line 1984, in ccConnect
peer_port = peer.simobj.getPort(peer.name, peer.index)
  File "build/X86/python/m5/SimObject.py", line 1002, in cxx_call
ccobj = self.getCCClass() if static else self.getCCObject()
  File "build/X86/python/m5/SimObject.py", line 1662, in getCCObject
raise RuntimeError("Attempt to instantiate orphan node")
RuntimeError: Attempt to instantiate orphan node

Does anyone know what might be the cause and the solution for this?
Thank you,
Hessa.
___
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s