> -----原始邮件-----
> 发件人: 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 +0000
&gt; From: hissa alshamsi <hissa.alsha...@hotmail.com>
&gt; Subject: [gem5-users] Fatal error while running multithreaded program
&gt;    in SE mode
&gt; To: "gem5-users@gem5.org" <gem5-users@gem5.org>
&gt; Message-ID:  <db8p191mb055503c7749ad3d535748b3281...@db8p191mb0555.eur>    
P191.PROD.OUTLOOK.COM&gt;
&gt; Content-Type: multipart/alternative;    boundary="_000_DB8P191MB055503
&gt;    C7749AD3D535748B3281069DB8P191MB0555EURP_"
&gt; 
&gt; Hi everyone,
&gt; 
&gt; 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
&gt; 
&gt; But I keep getting that syscall getdents unimplemented.
&gt; 
&gt; This is the line I have used:
&gt; build/X86/gem5.opt configs/example/se.py --cpu-type=TimingSimpleCPU 
–cpu-cycle=2GH-n 8 --cmd=m5threads/tests/test_omp -o '8 8'
&gt; 
&gt; 
&gt; **** REAL SIMULATION ****
&gt; info: Entering event queue @ 0.  Starting simulation...
&gt; 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.
&gt; fatal: syscall getdents (#78) unimplemented.
&gt; Memory Usage: 829528 Kbytes
&gt; 
&gt; Any clue on how to run a multithreaded program in SE mode without using 
ruby?
&gt; 
&gt; Thank you in advance,
&gt; Hessa.
&gt; -------------- next part --------------
&gt; A message part incompatible with plain text digests has been removed ...
&gt; Name: not available
&gt; Type: text/html
&gt; Size: 2781 bytes
&gt; Desc: not available
&gt; 
&gt; ------------------------------
&gt; 
&gt; Message: 2
&gt; Date: Fri, 25 Jun 2021 14:00:54 +0000
&gt; From: Truan David <david.tr...@heig-vd.ch>
&gt; Subject: [gem5-users] gem5 RISCV, issue on boot when mounting
&gt;    filesystem
&gt; To: "gem5-users@gem5.org" <gem5-users@gem5.org>
&gt; Cc: Medwed Gregory <gregory.med...@heig-vd.ch>, Zapater Sancho Marina
&gt;    <marina.zapa...@heig-vd.ch>
&gt; Message-ID: <fe300b8909964d5b8f621e8362207...@heig-vd.ch>
&gt; Content-Type: text/plain; charset="iso-8859-1"
&gt; 
&gt; Hello,
&gt; 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.
&gt; 
&gt; This is our setup:
&gt; - gem5 on branch develop from https://gem5.googlesource.com/public/gem5 
(c493d2c4ad)
&gt; - BBL on branche master from https://github.com/riscv/riscv-pk.git 
(e8e6b3aa)
&gt; - Linux 5.10, checkout on v5.10 tag (2c85ebc57)
&gt; 
&gt; This is what we tried so far:
&gt; 
&gt; -Compiling BBL with and without specifying the DTS: No changes
&gt; -Compiling BBL with Linux vmlinux OR Image as payload: No changes
&gt; -Compiling Linux with an minimalistic initramfs which only prints a "Hello 
World" from the init script: No changes
&gt; -Using fs_linux.py OR run_riscv.py as the entry point: No changes
&gt; 
&gt; Here are the boot logs from different experiments, with only the last 
lines of the boot log to keep this mail short:
&gt; 
&gt; =====================
&gt; This is the boot log when specifying a disk-image param, using fs_linux.py:
&gt; 
&gt; Command:
&gt; $GEM5_FAST_BIN -v \
&gt; -d $GEM5_OUTPUT \
&gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; --cpu-type=AtomicSimpleCPU \
&gt; --cpu-clock=1GHz \
&gt; -n 1 \
&gt; --disk-image=$DISK \
&gt; --kernel=<bbl> \
&gt; --mem-type=DDR4_2400_4x16 \
&gt; --mem-size=4GB \
&gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; 
&gt; 
&gt; ==== m5 terminal: Terminal 0 ====
&gt; ...
&gt; [    1.123014] [drm] radeon kernel modesetting enabled.
&gt; [    1.146199] loop: module loaded
&gt; [    1.147219] virtio_blk virtio0: [vda] 6821 512-byte logical blocks 
(3.49 MB/3.33 MiB)
&gt; [    1.147423] vda: detected capacity change from 0 to 3492352
&gt; 
&gt; =====================
&gt; This is the boot log when NOT specifying a disk-image param, using 
fs_linux.py:
&gt; 
&gt; Command:
&gt; $GEM5_FAST_BIN -v \
&gt; -d $GEM5_OUTPUT \
&gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; --cpu-type=AtomicSimpleCPU \
&gt; --cpu-clock=1GHz \
&gt; -n 1 \
&gt; --kernel=<bbl> \
&gt; --mem-type=DDR4_2400_4x16 \
&gt; --mem-size=4GB \
&gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; 
&gt; ==== m5 terminal: Terminal 0 ====
&gt; ...
&gt; [    1.121246] [drm] radeon kernel modesetting enabled.
&gt; [    1.144593] loop: module loaded
&gt; [    1.148461] libphy: Fixed MDIO Bus: probed
&gt; [    1.152291] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
&gt; [    1.152426] ehci-pci: EHCI PCI platform driver
&gt; [    1.152703] ehci-platform: EHCI generic platform driver
&gt; [    1.152981] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
&gt; [    1.153111] ohci-pci: OHCI PCI platform driver
&gt; [    1.153376] ohci-platform: OHCI generic platform driver
&gt; [    1.154497] usbcore: registered new interface driver uas
&gt; [    1.154842] usbcore: registered new interface driver usb-storage
&gt; [    1.155422] mousedev: PS/2 mouse device common for all mice
&gt; [    1.156642] usbcore: registered new interface driver usbhid
&gt; [    1.156760] usbhid: USB HID core driver
&gt; [    1.161109] NET: Registered protocol family 10
&gt; [    1.164410] Segment Routing with IPv6
&gt; [    1.164841] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
&gt; [    1.167720] NET: Registered protocol family 17
&gt; [    1.168261] Key type dns_resolver registered
&gt; [    1.170789] Freeing unused kernel memory: 184K
&gt; 
&gt; 
&gt; =====================
&gt; This is the boot log using run_riscv.py:
&gt; 
&gt; Command:
&gt; $GEM5_BIN -v \
&gt; -d $GEM5_OUTPUT \
&gt; $HOME/riscv-fs/configs-riscv-fs/run_riscv.py \
&gt; $BOOTLOADER \
&gt; $DISK \
&gt; simple \
&gt; 1
&gt; 
&gt; ==== m5 terminal: Terminal 0 ====
&gt; ...
&gt; [    1.040529] [drm] radeon kernel modesetting enabled.
&gt; [    1.083453] loop: module loaded
&gt; [    1.085896] virtio_blk virtio0: [vda] 1048576 512-byte logical blocks 
(537 MB/512 MiB)
&gt; [    1.086433] vda: detected capacity change from 0 to 536870912
&gt; [    1.097333] libphy: Fixed MDIO Bus: probed
&gt; [    1.099885] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
&gt; [    1.100302] ehci-pci: EHCI PCI platform driver
&gt; [    1.101024] ehci-platform: EHCI generic platform driver
&gt; [    1.101590] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
&gt; [    1.101965] ohci-pci: OHCI PCI platform driver
&gt; [    1.102395] ohci-platform: OHCI generic platform driver
&gt; [    1.104650] usbcore: registered new interface driver uas
&gt; [    1.105608] usbcore: registered new interface driver usb-storage
&gt; [    1.106993] mousedev: PS/2 mouse device common for all mice
&gt; [    1.108385] usbcore: registered new interface driver usbhid
&gt; [    1.109064] usbhid: USB HID core driver
&gt; [    1.113051] NET: Registered protocol family 10
&gt; [    1.118537] Segment Routing with IPv6
&gt; [    1.119142] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
&gt; [    1.122581] NET: Registered protocol family 17
&gt; [    1.123375] Key type dns_resolver registered
&gt; [    1.129869] Freeing unused kernel memory: 184K
&gt; =====================
&gt; 
&gt; 
&gt; Everything works fine using QEMU, either using the full rootfs or only 
booting on the minimalistic initramfs:
&gt; 
&gt; qemu-system-riscv64 -machine virt -m 512 -nographic \
&gt; -kernel <bbl.bin> \
&gt; -device loader,file=<linux 5.10="" with="" or="" without="" 
initramfs="">,addr=0x80200000 \
&gt; -drive file=<full rootfs="">,format=raw,id=hd0 \
&gt; -device virtio-blk-device,drive=hd0 \
&gt; -netdev 
user,id=net0,hostfwd=tcp::2323-10.0.2.20:23,hostfwd=tcp::8080-10.0.2.20:80 \
&gt; -device virtio-net-device,netdev=net0 \
&gt; -append "root=/dev/vda ro console=ttyS0"
&gt; 
&gt; Do you have any hint or do you spot something that is missing in our 
setup? I'll gladly provide more informations if needed.
&gt; 
&gt; Thanks in advance for your answers!
&gt; 
&gt; 
&gt; 
&gt; 
&gt; David TRUAN
&gt; 
&gt; Ingénieur Ra&amp;D
&gt; Institut Reconfigurable &amp; Embedded Digital Systems (REDS)
&gt; 
&gt; david.tr...@heig-vd.ch
&gt; 
&gt; Bureau A23
&gt; 
&gt; Haute École d'Ingénierie et de Gestion du Canton de Vaud
&gt; Route de Cheseaux 1 - CP 521 - 1401 Yverdon-les-Bains
&gt; 
&gt; ------------------------------
&gt; 
&gt; Message: 3
&gt; Date: Fri, 25 Jun 2021 18:20:22 +0300
&gt; From: Νικόλαος Ταμπουρατζής <ntampourat...@ece.auth.gr>
&gt; Subject: [gem5-users] Re: gem5 RISCV, issue on boot when mounting
&gt;    filesystem
&gt; To: gem5 users mailing list <gem5-users@gem5.org>
&gt; Message-ID:
&gt;    &lt;20210625182022.horde.fqjx7bfnkcd2drc6qwdi...@webmail.auth.gr&gt;
&gt; Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
&gt; 
&gt; Dear David,
&gt; 
&gt; I have used the bbl, Linux Kernel, and riscv_disk from the following  
&gt; GitHub: https://github.com/ppeetteerrs/gem5-RISC-V-FS-Linux/ .You can  
&gt; use either the files from prebuild directory or you can create your  
&gt; own according to instructions of this Github. Specifically, I have  
&gt; used the following configurations which are working properly (5 of 6):
&gt; 
&gt; ------------ RISCV 1 core ------------
&gt; 
&gt; AtomicSimpleCPU (Working)
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=AtomicSimpleCPU  
&gt; --disk-image=$OUT/riscv_disk -n 1
&gt; 
&gt; 
&gt; TimingSimpleCPU (Working)
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=TimingSimpleCPU  
&gt; --disk-image=$OUT/riscv_disk -n 1
&gt; 
&gt; DerivO3CPU (Working)
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=DerivO3CPU  
&gt; --disk-image=$OUT/riscv_disk -n 1
&gt; 
&gt; 
&gt; ------------ RISCV 2 cores ------------
&gt; 
&gt; AtomicSimpleCPU (Working)
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=AtomicSimpleCPU  
&gt; --disk-image=$OUT/riscv_disk -n 2
&gt; 
&gt; TimingSimpleCPU (Working)
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=TimingSimpleCPU  
&gt; --disk-image=$OUT/riscv_disk -n 2
&gt; 
&gt; DerivO3CPU (NOT Working): void BaseDynInst&lt; <template-parameter-1-1>  
&gt;  &gt;::initVars() [with Impl = O3CPUImpl]: Assertion `cpu-&gt;instcount 
&lt;=  
&gt; 1500' failed.
&gt; 
&gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0  
&gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches  
&gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=DerivO3CPU  
&gt; --disk-image=$OUT/riscv_disk -n 2
&gt; 
&gt; 
&gt; To be noticed that when I use --mem-size more than 512MB, gem5 is not 
booted.
&gt; 
&gt; 
&gt; Finally, when I use the last configuration I get the above error  
&gt; (please let me know if you/anyone can resolve it :))
&gt; 
&gt; Best regards,
&gt; Nikolaos Tampouratzis
&gt; 
&gt; 
&gt; Quoting Truan David via gem5-users <gem5-users@gem5.org>:
&gt; 
&gt; &gt; Hello,
&gt; &gt; We are a team working on gem5 RISCV. We are trying to use gem5  
&gt; &gt; full-system but we are encountering some issues when mounting the  
&gt; &gt; rootfs/initramfs.
&gt; &gt;
&gt; &gt; This is our setup:
&gt; &gt; - gem5 on branch develop from  
&gt; &gt; https://gem5.googlesource.com/public/gem5 (c493d2c4ad)
&gt; &gt; - BBL on branche master from https://github.com/riscv/riscv-pk.git 
(e8e6b3aa)
&gt; &gt; - Linux 5.10, checkout on v5.10 tag (2c85ebc57)
&gt; &gt;
&gt; &gt; This is what we tried so far:
&gt; &gt;
&gt; &gt; -Compiling BBL with and without specifying the DTS: No changes
&gt; &gt; -Compiling BBL with Linux vmlinux OR Image as payload: No changes
&gt; &gt; -Compiling Linux with an minimalistic initramfs which only prints a  
&gt; &gt; "Hello World" from the init script: No changes
&gt; &gt; -Using fs_linux.py OR run_riscv.py as the entry point: No changes
&gt; &gt;
&gt; &gt; Here are the boot logs from different experiments, with only the  
&gt; &gt; last lines of the boot log to keep this mail short:
&gt; &gt;
&gt; &gt; =====================
&gt; &gt; This is the boot log when specifying a disk-image param, using 
fs_linux.py:
&gt; &gt;
&gt; &gt; Command:
&gt; &gt; $GEM5_FAST_BIN -v \
&gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; &gt; --cpu-type=AtomicSimpleCPU \
&gt; &gt; --cpu-clock=1GHz \
&gt; &gt; -n 1 \
&gt; &gt; --disk-image=$DISK \
&gt; &gt; --kernel=<bbl> \
&gt; &gt; --mem-type=DDR4_2400_4x16 \
&gt; &gt; --mem-size=4GB \
&gt; &gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; &gt;
&gt; &gt;
&gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; ...
&gt; &gt; [    1.123014] [drm] radeon kernel modesetting enabled.
&gt; &gt; [    1.146199] loop: module loaded
&gt; &gt; [    1.147219] virtio_blk virtio0: [vda] 6821 512-byte logical  
&gt; &gt; blocks (3.49 MB/3.33 MiB)
&gt; &gt; [    1.147423] vda: detected capacity change from 0 to 3492352
&gt; &gt;
&gt; &gt; =====================
&gt; &gt; This is the boot log when NOT specifying a disk-image param, using  
&gt; &gt; fs_linux.py:
&gt; &gt;
&gt; &gt; Command:
&gt; &gt; $GEM5_FAST_BIN -v \
&gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; &gt; --cpu-type=AtomicSimpleCPU \
&gt; &gt; --cpu-clock=1GHz \
&gt; &gt; -n 1 \
&gt; &gt; --kernel=<bbl> \
&gt; &gt; --mem-type=DDR4_2400_4x16 \
&gt; &gt; --mem-size=4GB \
&gt; &gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; &gt;
&gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; ...
&gt; &gt; [    1.121246] [drm] radeon kernel modesetting enabled.
&gt; &gt; [    1.144593] loop: module loaded
&gt; &gt; [    1.148461] libphy: Fixed MDIO Bus: probed
&gt; &gt; [    1.152291] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
&gt; &gt; [    1.152426] ehci-pci: EHCI PCI platform driver
&gt; &gt; [    1.152703] ehci-platform: EHCI generic platform driver
&gt; &gt; [    1.152981] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
&gt; &gt; [    1.153111] ohci-pci: OHCI PCI platform driver
&gt; &gt; [    1.153376] ohci-platform: OHCI generic platform driver
&gt; &gt; [    1.154497] usbcore: registered new interface driver uas
&gt; &gt; [    1.154842] usbcore: registered new interface driver usb-storage
&gt; &gt; [    1.155422] mousedev: PS/2 mouse device common for all mice
&gt; &gt; [    1.156642] usbcore: registered new interface driver usbhid
&gt; &gt; [    1.156760] usbhid: USB HID core driver
&gt; &gt; [    1.161109] NET: Registered protocol family 10
&gt; &gt; [    1.164410] Segment Routing with IPv6
&gt; &gt; [    1.164841] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
&gt; &gt; [    1.167720] NET: Registered protocol family 17
&gt; &gt; [    1.168261] Key type dns_resolver registered
&gt; &gt; [    1.170789] Freeing unused kernel memory: 184K
&gt; &gt;
&gt; &gt;
&gt; &gt; =====================
&gt; &gt; This is the boot log using run_riscv.py:
&gt; &gt;
&gt; &gt; Command:
&gt; &gt; $GEM5_BIN -v \
&gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; $HOME/riscv-fs/configs-riscv-fs/run_riscv.py \
&gt; &gt; $BOOTLOADER \
&gt; &gt; $DISK \
&gt; &gt; simple \
&gt; &gt; 1
&gt; &gt;
&gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; ...
&gt; &gt; [    1.040529] [drm] radeon kernel modesetting enabled.
&gt; &gt; [    1.083453] loop: module loaded
&gt; &gt; [    1.085896] virtio_blk virtio0: [vda] 1048576 512-byte logical  
&gt; &gt; blocks (537 MB/512 MiB)
&gt; &gt; [    1.086433] vda: detected capacity change from 0 to 536870912
&gt; &gt; [    1.097333] libphy: Fixed MDIO Bus: probed
&gt; &gt; [    1.099885] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
&gt; &gt; [    1.100302] ehci-pci: EHCI PCI platform driver
&gt; &gt; [    1.101024] ehci-platform: EHCI generic platform driver
&gt; &gt; [    1.101590] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
&gt; &gt; [    1.101965] ohci-pci: OHCI PCI platform driver
&gt; &gt; [    1.102395] ohci-platform: OHCI generic platform driver
&gt; &gt; [    1.104650] usbcore: registered new interface driver uas
&gt; &gt; [    1.105608] usbcore: registered new interface driver usb-storage
&gt; &gt; [    1.106993] mousedev: PS/2 mouse device common for all mice
&gt; &gt; [    1.108385] usbcore: registered new interface driver usbhid
&gt; &gt; [    1.109064] usbhid: USB HID core driver
&gt; &gt; [    1.113051] NET: Registered protocol family 10
&gt; &gt; [    1.118537] Segment Routing with IPv6
&gt; &gt; [    1.119142] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
&gt; &gt; [    1.122581] NET: Registered protocol family 17
&gt; &gt; [    1.123375] Key type dns_resolver registered
&gt; &gt; [    1.129869] Freeing unused kernel memory: 184K
&gt; &gt; =====================
&gt; &gt;
&gt; &gt;
&gt; &gt; Everything works fine using QEMU, either using the full rootfs or  
&gt; &gt; only booting on the minimalistic initramfs:
&gt; &gt;
&gt; &gt; qemu-system-riscv64 -machine virt -m 512 -nographic \
&gt; &gt; -kernel <bbl.bin> \
&gt; &gt; -device loader,file=<linux 5.10="" with="" or="" without="" 
initramfs="">,addr=0x80200000 \
&gt; &gt; -drive file=<full rootfs="">,format=raw,id=hd0 \
&gt; &gt; -device virtio-blk-device,drive=hd0 \
&gt; &gt; -netdev  
&gt; &gt; 
user,id=net0,hostfwd=tcp::2323-10.0.2.20:23,hostfwd=tcp::8080-10.0.2.20:80  
&gt; &gt; \
&gt; &gt; -device virtio-net-device,netdev=net0 \
&gt; &gt; -append "root=/dev/vda ro console=ttyS0"
&gt; &gt;
&gt; &gt; Do you have any hint or do you spot something that is missing in our  
&gt; &gt; setup? I'll gladly provide more informations if needed.
&gt; &gt;
&gt; &gt; Thanks in advance for your answers!
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; David TRUAN
&gt; &gt;
&gt; &gt; Ingénieur Ra&amp;D
&gt; &gt; Institut Reconfigurable &amp; Embedded Digital Systems (REDS)
&gt; &gt;
&gt; &gt; david.tr...@heig-vd.ch
&gt; &gt;
&gt; &gt; Bureau A23
&gt; &gt;
&gt; &gt; Haute École d'Ingénierie et de Gestion du Canton de Vaud
&gt; &gt; Route de Cheseaux 1 - CP 521 - 1401 Yverdon-les-Bains
&gt; &gt; _______________________________________________
&gt; &gt; gem5-users mailing list -- gem5-users@gem5.org
&gt; &gt; To unsubscribe send an email to gem5-users-le...@gem5.org
&gt; &gt; %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
&gt; 
&gt; 
&gt; 
&gt; ------------------------------
&gt; 
&gt; Message: 4
&gt; Date: Fri, 25 Jun 2021 08:41:54 -0700
&gt; From: Jason Lowe-Power <ja...@lowepower.com>
&gt; Subject: [gem5-users] Re: gem5 RISCV, issue on boot when mounting
&gt;    filesystem
&gt; To: gem5 users mailing list <gem5-users@gem5.org>
&gt; Cc: Νικόλαος Ταμπουρατζής <ntampourat...@ece.auth.gr>
&gt; Message-ID:
&gt;    <cafehpuf2zc9bnfzyqv8ecxclt03uriubbystzbczlr78dcy...@mail.gmail.com>
&gt; Content-Type: multipart/alternative;
&gt;    boundary="000000000000ce11ba05c598fc7d"
&gt; 
&gt; Hi everyone,
&gt; 
&gt; These details on gem5-resources have also been tested multiple times. We
&gt; have also gotten unmodified OpenSBI working with gem5 as well. Ayaz can
&gt; provide more details if you need.
&gt; 
&gt; 
https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/stable/src/riscv-fs/
&gt; 
&gt; Cheers,
&gt; Jason
&gt; 
&gt; On Fri, Jun 25, 2021 at 8:22 AM Νικόλαος Ταμπουρατζής via gem5-users &lt;
&gt; gem5-users@gem5.org&gt; wrote:
&gt; 
&gt; &gt; Dear David,
&gt; &gt;
&gt; &gt; I have used the bbl, Linux Kernel, and riscv_disk from the following
&gt; &gt; GitHub: https://github.com/ppeetteerrs/gem5-RISC-V-FS-Linux/ .You can
&gt; &gt; use either the files from prebuild directory or you can create your
&gt; &gt; own according to instructions of this Github. Specifically, I have
&gt; &gt; used the following configurations which are working properly (5 of 6):
&gt; &gt;
&gt; &gt; ------------ RISCV 1 core ------------
&gt; &gt;
&gt; &gt; AtomicSimpleCPU (Working)
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=AtomicSimpleCPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 1
&gt; &gt;
&gt; &gt;
&gt; &gt; TimingSimpleCPU (Working)
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=TimingSimpleCPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 1
&gt; &gt;
&gt; &gt; DerivO3CPU (Working)
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=DerivO3CPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 1
&gt; &gt;
&gt; &gt;
&gt; &gt; ------------ RISCV 2 cores ------------
&gt; &gt;
&gt; &gt; AtomicSimpleCPU (Working)
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=AtomicSimpleCPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 2
&gt; &gt;
&gt; &gt; TimingSimpleCPU (Working)
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=TimingSimpleCPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 2
&gt; &gt;
&gt; &gt; DerivO3CPU (NOT Working): void BaseDynInst&lt; 
<template-parameter-1-1>
&gt; &gt;  &gt;::initVars() [with Impl = O3CPUImpl]: Assertion 
`cpu-&gt;instcount &lt;=
&gt; &gt; 1500' failed.
&gt; &gt;
&gt; &gt; $GEM5/build/RISCV/gem5.opt -d $GEM5/node0
&gt; &gt; $GEM5/configs/example/riscv/fs_linux.py --kernel=$OUT/bbl --caches
&gt; &gt; --mem-size=512MB --mem-type=DDR4_2400_8x8 --cpu-type=DerivO3CPU
&gt; &gt; --disk-image=$OUT/riscv_disk -n 2
&gt; &gt;
&gt; &gt;
&gt; &gt; To be noticed that when I use --mem-size more than 512MB, gem5 is not
&gt; &gt; booted.
&gt; &gt;
&gt; &gt;
&gt; &gt; Finally, when I use the last configuration I get the above error
&gt; &gt; (please let me know if you/anyone can resolve it :))
&gt; &gt;
&gt; &gt; Best regards,
&gt; &gt; Nikolaos Tampouratzis
&gt; &gt;
&gt; &gt;
&gt; &gt; Quoting Truan David via gem5-users <gem5-users@gem5.org>:
&gt; &gt;
&gt; &gt; &gt; Hello,
&gt; &gt; &gt; We are a team working on gem5 RISCV. We are trying to use gem5
&gt; &gt; &gt; full-system but we are encountering some issues when mounting the
&gt; &gt; &gt; rootfs/initramfs.
&gt; &gt; &gt;
&gt; &gt; &gt; This is our setup:
&gt; &gt; &gt; - gem5 on branch develop from
&gt; &gt; &gt; https://gem5.googlesource.com/public/gem5 (c493d2c4ad)
&gt; &gt; &gt; - BBL on branche master from 
https://github.com/riscv/riscv-pk.git
&gt; &gt; (e8e6b3aa)
&gt; &gt; &gt; - Linux 5.10, checkout on v5.10 tag (2c85ebc57)
&gt; &gt; &gt;
&gt; &gt; &gt; This is what we tried so far:
&gt; &gt; &gt;
&gt; &gt; &gt; -Compiling BBL with and without specifying the DTS: No changes
&gt; &gt; &gt; -Compiling BBL with Linux vmlinux OR Image as payload: No changes
&gt; &gt; &gt; -Compiling Linux with an minimalistic initramfs which only 
prints a
&gt; &gt; &gt; "Hello World" from the init script: No changes
&gt; &gt; &gt; -Using fs_linux.py OR run_riscv.py as the entry point: No changes
&gt; &gt; &gt;
&gt; &gt; &gt; Here are the boot logs from different experiments, with only the
&gt; &gt; &gt; last lines of the boot log to keep this mail short:
&gt; &gt; &gt;
&gt; &gt; &gt; =====================
&gt; &gt; &gt; This is the boot log when specifying a disk-image param, using
&gt; &gt; fs_linux.py:
&gt; &gt; &gt;
&gt; &gt; &gt; Command:
&gt; &gt; &gt; $GEM5_FAST_BIN -v \
&gt; &gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; &gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; &gt; &gt; --cpu-type=AtomicSimpleCPU \
&gt; &gt; &gt; --cpu-clock=1GHz \
&gt; &gt; &gt; -n 1 \
&gt; &gt; &gt; --disk-image=$DISK \
&gt; &gt; &gt; --kernel=<bbl> \
&gt; &gt; &gt; --mem-type=DDR4_2400_4x16 \
&gt; &gt; &gt; --mem-size=4GB \
&gt; &gt; &gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; &gt; ...
&gt; &gt; &gt; [    1.123014] [drm] radeon kernel modesetting enabled.
&gt; &gt; &gt; [    1.146199] loop: module loaded
&gt; &gt; &gt; [    1.147219] virtio_blk virtio0: [vda] 6821 512-byte logical
&gt; &gt; &gt; blocks (3.49 MB/3.33 MiB)
&gt; &gt; &gt; [    1.147423] vda: detected capacity change from 0 to 3492352
&gt; &gt; &gt;
&gt; &gt; &gt; =====================
&gt; &gt; &gt; This is the boot log when NOT specifying a disk-image param, 
using
&gt; &gt; &gt; fs_linux.py:
&gt; &gt; &gt;
&gt; &gt; &gt; Command:
&gt; &gt; &gt; $GEM5_FAST_BIN -v \
&gt; &gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; &gt; $GEM5_HOME/configs/example/riscv/fs_linux.py \
&gt; &gt; &gt; --cpu-type=AtomicSimpleCPU \
&gt; &gt; &gt; --cpu-clock=1GHz \
&gt; &gt; &gt; -n 1 \
&gt; &gt; &gt; --kernel=<bbl> \
&gt; &gt; &gt; --mem-type=DDR4_2400_4x16 \
&gt; &gt; &gt; --mem-size=4GB \
&gt; &gt; &gt; --command-line="root=/dev/vda ro console=ttyS0"
&gt; &gt; &gt;
&gt; &gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; &gt; ...
&gt; &gt; &gt; [    1.121246] [drm] radeon kernel modesetting enabled.
&gt; &gt; &gt; [    1.144593] loop: module loaded
&gt; &gt; &gt; [    1.148461] libphy: Fixed MDIO Bus: probed
&gt; &gt; &gt; [    1.152291] ehci_hcd: USB 2.0 'Enhanced' Host Controller 
(EHCI) Driver
&gt; &gt; &gt; [    1.152426] ehci-pci: EHCI PCI platform driver
&gt; &gt; &gt; [    1.152703] ehci-platform: EHCI generic platform driver
&gt; &gt; &gt; [    1.152981] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) 
Driver
&gt; &gt; &gt; [    1.153111] ohci-pci: OHCI PCI platform driver
&gt; &gt; &gt; [    1.153376] ohci-platform: OHCI generic platform driver
&gt; &gt; &gt; [    1.154497] usbcore: registered new interface driver uas
&gt; &gt; &gt; [    1.154842] usbcore: registered new interface driver 
usb-storage
&gt; &gt; &gt; [    1.155422] mousedev: PS/2 mouse device common for all mice
&gt; &gt; &gt; [    1.156642] usbcore: registered new interface driver usbhid
&gt; &gt; &gt; [    1.156760] usbhid: USB HID core driver
&gt; &gt; &gt; [    1.161109] NET: Registered protocol family 10
&gt; &gt; &gt; [    1.164410] Segment Routing with IPv6
&gt; &gt; &gt; [    1.164841] sit: IPv6, IPv4 and MPLS over IPv4 tunneling 
driver
&gt; &gt; &gt; [    1.167720] NET: Registered protocol family 17
&gt; &gt; &gt; [    1.168261] Key type dns_resolver registered
&gt; &gt; &gt; [    1.170789] Freeing unused kernel memory: 184K
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; =====================
&gt; &gt; &gt; This is the boot log using run_riscv.py:
&gt; &gt; &gt;
&gt; &gt; &gt; Command:
&gt; &gt; &gt; $GEM5_BIN -v \
&gt; &gt; &gt; -d $GEM5_OUTPUT \
&gt; &gt; &gt; $HOME/riscv-fs/configs-riscv-fs/run_riscv.py \
&gt; &gt; &gt; $BOOTLOADER \
&gt; &gt; &gt; $DISK \
&gt; &gt; &gt; simple \
&gt; &gt; &gt; 1
&gt; &gt; &gt;
&gt; &gt; &gt; ==== m5 terminal: Terminal 0 ====
&gt; &gt; &gt; ...
&gt; &gt; &gt; [    1.040529] [drm] radeon kernel modesetting enabled.
&gt; &gt; &gt; [    1.083453] loop: module loaded
&gt; &gt; &gt; [    1.085896] virtio_blk virtio0: [vda] 1048576 512-byte logical
&gt; &gt; &gt; blocks (537 MB/512 MiB)
&gt; &gt; &gt; [    1.086433] vda: detected capacity change from 0 to 536870912
&gt; &gt; &gt; [    1.097333] libphy: Fixed MDIO Bus: probed
&gt; &gt; &gt; [    1.099885] ehci_hcd: USB 2.0 'Enhanced' Host Controller 
(EHCI) Driver
&gt; &gt; &gt; [    1.100302] ehci-pci: EHCI PCI platform driver
&gt; &gt; &gt; [    1.101024] ehci-platform: EHCI generic platform driver
&gt; &gt; &gt; [    1.101590] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) 
Driver
&gt; &gt; &gt; [    1.101965] ohci-pci: OHCI PCI platform driver
&gt; &gt; &gt; [    1.102395] ohci-platform: OHCI generic platform driver
&gt; &gt; &gt; [    1.104650] usbcore: registered new interface driver uas
&gt; &gt; &gt; [    1.105608] usbcore: registered new interface driver 
usb-storage
&gt; &gt; &gt; [    1.106993] mousedev: PS/2 mouse device common for all mice
&gt; &gt; &gt; [    1.108385] usbcore: registered new interface driver usbhid
&gt; &gt; &gt; [    1.109064] usbhid: USB HID core driver
&gt; &gt; &gt; [    1.113051] NET: Registered protocol family 10
&gt; &gt; &gt; [    1.118537] Segment Routing with IPv6
&gt; &gt; &gt; [    1.119142] sit: IPv6, IPv4 and MPLS over IPv4 tunneling 
driver
&gt; &gt; &gt; [    1.122581] NET: Registered protocol family 17
&gt; &gt; &gt; [    1.123375] Key type dns_resolver registered
&gt; &gt; &gt; [    1.129869] Freeing unused kernel memory: 184K
&gt; &gt; &gt; =====================
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; Everything works fine using QEMU, either using the full rootfs or
&gt; &gt; &gt; only booting on the minimalistic initramfs:
&gt; &gt; &gt;
&gt; &gt; &gt; qemu-system-riscv64 -machine virt -m 512 -nographic \
&gt; &gt; &gt; -kernel <bbl.bin> \
&gt; &gt; &gt; -device loader,file=<linux 5.10="" with="" or="" without=""> 
&gt; initramfs&gt;,addr=0x80200000 \
&gt; &gt; &gt; -drive file=<full rootfs="">,format=raw,id=hd0 \
&gt; &gt; &gt; -device virtio-blk-device,drive=hd0 \
&gt; &gt; &gt; -netdev
&gt; &gt; &gt;
&gt; &gt; 
user,id=net0,hostfwd=tcp::2323-10.0.2.20:23,hostfwd=tcp::8080-10.0.2.20:80
&gt; &gt; &gt; \
&gt; &gt; &gt; -device virtio-net-device,netdev=net0 \
&gt; &gt; &gt; -append "root=/dev/vda ro console=ttyS0"
&gt; &gt; &gt;
&gt; &gt; &gt; Do you have any hint or do you spot something that is missing in 
our
&gt; &gt; &gt; setup? I'll gladly provide more informations if needed.
&gt; &gt; &gt;
&gt; &gt; &gt; Thanks in advance for your answers!
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt;
&gt; &gt; &gt; David TRUAN
&gt; &gt; &gt;
&gt; &gt; &gt; Ingénieur Ra&amp;D
&gt; &gt; &gt; Institut Reconfigurable &amp; Embedded Digital Systems (REDS)
&gt; &gt; &gt;
&gt; &gt; &gt; david.tr...@heig-vd.ch
&gt; &gt; &gt;
&gt; &gt; &gt; Bureau A23
&gt; &gt; &gt;
&gt; &gt; &gt; Haute École d'Ingénierie et de Gestion du Canton de Vaud
&gt; &gt; &gt; Route de Cheseaux 1 - CP 521 - 1401 Yverdon-les-Bains
&gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; gem5-users mailing list -- gem5-users@gem5.org
&gt; &gt; &gt; To unsubscribe send an email to gem5-users-le...@gem5.org
&gt; &gt; &gt; %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
&gt; &gt;
&gt; &gt;
&gt; &gt; _______________________________________________
&gt; &gt; gem5-users mailing list -- gem5-users@gem5.org
&gt; &gt; To unsubscribe send an email to gem5-users-le...@gem5.org
&gt; &gt; %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
&gt; -------------- next part --------------
&gt; A message part incompatible with plain text digests has been removed ...
&gt; Name: not available
&gt; Type: text/html
&gt; Size: 11753 bytes
&gt; Desc: not available
&gt; 
&gt; ------------------------------
&gt; 
&gt; Message: 5
&gt; Date: Fri, 25 Jun 2021 08:58:19 -0700
&gt; From: Jason Lowe-Power <ja...@lowepower.com>
&gt; Subject: [gem5-users] Re: Fatal error while running multithreaded
&gt;    program in SE mode
&gt; To: gem5 users mailing list <gem5-users@gem5.org>
&gt; Cc: hissa alshamsi <hissa.alsha...@hotmail.com>
&gt; Message-ID:
&gt;    <cafehpuehp+q7amp6dv-l9tqnt4wmcl0vln+qtu55vmwxxru...@mail.gmail.com>
&gt; Content-Type: multipart/alternative;
&gt;    boundary="0000000000007a911d05c5993730"
&gt; 
&gt; What version of gem5 are you using? I believe gem5-20.0+ has the getdents
&gt; syscall implemented. I'm sure that 21.0 has the syscall implemented.
&gt; Whether you're using Ruby or classic caches it shouldn't make
&gt; any difference on whether the syscalls are implemented.
&gt; 
&gt; Cheers,
&gt; Jason
&gt; 
&gt; On Fri, Jun 25, 2021 at 3:32 AM hissa alshamsi via gem5-users &lt;
&gt; gem5-users@gem5.org&gt; wrote:
&gt; 
&gt; &gt; Hi everyone,
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; I am trying to run a multithreaded program in SE mode, after 
installing
&gt; &gt; m5thread and following the steps in
&gt; &gt; 
https://github.com/WeijingShi/playground/blob/master/Run-openmp-code-in-gem5.md
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; But I keep getting that syscall getdents unimplemented.
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; This is the line I have used:
&gt; &gt;
&gt; &gt; build/X86/gem5.opt configs/example/se.py --cpu-type=TimingSimpleCPU
&gt; &gt; –cpu-cycle=2GH-n 8 --cmd=m5threads/tests/test_omp -o '8 8'
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; **** REAL SIMULATION ****
&gt; &gt;
&gt; &gt; info: Entering event queue @ 0.  Starting simulation...
&gt; &gt;
&gt; &gt; warn: Attempting to open special file: /sys/devices/system/cpu. 
Ignoring.
&gt; &gt; Simulation may take un-expected code path or be non-deterministic 
until
&gt; &gt; proper handling is implemented.
&gt; &gt;
&gt; &gt; fatal: syscall getdents (#78) unimplemented.
&gt; &gt;
&gt; &gt; Memory Usage: 829528 Kbytes
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Any clue on how to run a multithreaded program in SE mode without 
using
&gt; &gt; ruby?
&gt; &gt;
&gt; &gt;
&gt; &gt;
&gt; &gt; Thank you in advance,
&gt; &gt;
&gt; &gt; Hessa.
&gt; &gt; _______________________________________________
&gt; &gt; gem5-users mailing list -- gem5-users@gem5.org
&gt; &gt; To unsubscribe send an email to gem5-users-le...@gem5.org
&gt; &gt; %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
&gt; -------------- next part --------------
&gt; A message part incompatible with plain text digests has been removed ...
&gt; Name: not available
&gt; Type: text/html
&gt; Size: 2775 bytes
&gt; Desc: not available
&gt; 
&gt; ------------------------------
&gt; 
&gt; Message: 6
&gt; Date: Sat, 26 Jun 2021 06:16:32 +0000
&gt; From: hissa alshamsi <hissa.alsha...@hotmail.com>
&gt; Subject: [gem5-users] Issue in using HMC in SE mode
&gt; To: "gem5-users@gem5.org" <gem5-users@gem5.org>
&gt; Message-ID:  <db8p191mb05557016c4e644b7b7e1942881...@db8p191mb0555.eur>    
P191.PROD.OUTLOOK.COM&gt;
&gt; Content-Type: multipart/alternative;    boundary="_000_DB8P191MB055570
&gt;    16C4E644B7B7E1942881059DB8P191MB0555EURP_"
&gt; 
&gt; Hello,
&gt; 
&gt; 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.
&gt; 
&gt; 
&gt; build/X86/gem5.opt configs/example/se.py 
--cmd=tests/test-progs/hello/bin/x86/linux/hello --mem-type=HMC_2500_1x32
&gt; 
&gt; Traceback (most recent call last):
&gt;   File "<string>", line 1, in <module>
&gt;   File "build/X86/python/m5/main.py", line 457, in main
&gt;     exec(filecode, scope)
&gt;   File "configs/example/se.py", line 287, in <module>
&gt;     Simulation.run(options, root, system, FutureClass)
&gt;   File "/home/Hessa/gem5_20/gem5-20.1.0.0/configs/common/Simulation.py", 
line 622, in run
&gt;     m5.instantiate(checkpoint_dir)
&gt;   File "build/X86/python/m5/simulate.py", line 119, in instantiate
&gt;     for obj in root.descendants(): obj.connectPorts()
&gt;   File "build/X86/python/m5/SimObject.py", line 1701, in connectPorts
&gt;     portRef.ccConnect()
&gt;   File "build/X86/python/m5/params.py", line 1984, in ccConnect
&gt;     peer_port = peer.simobj.getPort(peer.name, peer.index)
&gt;   File "build/X86/python/m5/SimObject.py", line 1002, in cxx_call
&gt;     ccobj = self.getCCClass() if static else self.getCCObject()
&gt;   File "build/X86/python/m5/SimObject.py", line 1662, in getCCObject
&gt;     raise RuntimeError("Attempt to instantiate orphan node")
&gt; RuntimeError: Attempt to instantiate orphan node
&gt; 
&gt; Does anyone know what might be the cause and the solution for this?
&gt; Thank you,
&gt; Hessa.
&gt; -------------- next part --------------
&gt; A message part incompatible with plain text digests has been removed ...
&gt; Name: not available
&gt; Type: text/html
&gt; Size: 3868 bytes
&gt; Desc: not available
&gt; 
&gt; ------------------------------
&gt; 
&gt; Subject: Digest Footer
&gt; 
&gt; _______________________________________________
&gt; gem5-users mailing list -- gem5-users@gem5.org
&gt; To unsubscribe send an email to gem5-users-le...@gem5.org
&gt; %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
&gt; 
&gt; ------------------------------
&gt; 
&gt; End of gem5-users Digest, Vol 179, Issue 42
&gt; *******************************************
</module></module></string></db8p191mb05557016c4e644b7b7e1942881...@db8p191mb0555.eur></gem5-users@gem5.org></hissa.alsha...@hotmail.com></cafehpuehp+q7amp6dv-l9tqnt4wmcl0vln+qtu55vmwxxru...@mail.gmail.com></hissa.alsha...@hotmail.com></gem5-users@gem5.org></ja...@lowepower.com></full></linux></bbl.bin></bbl></bbl></gem5-users@gem5.org></template-parameter-1-1></cafehpuf2zc9bnfzyqv8ecxclt03uriubbystzbczlr78dcy...@mail.gmail.com></ntampourat...@ece.auth.gr></gem5-users@gem5.org></ja...@lowepower.com></full></linux></bbl.bin></bbl></bbl></gem5-users@gem5.org></template-parameter-1-1></gem5-users@gem5.org></ntampourat...@ece.auth.gr></full></linux></bbl.bin></bbl></bbl></fe300b8909964d5b8f621e8362207...@heig-vd.ch></marina.zapa...@heig-vd.ch></gregory.med...@heig-vd.ch></gem5-users@gem5.org></david.tr...@heig-vd.ch></db8p191mb055503c7749ad3d535748b3281...@db8p191mb0555.eur></gem5-users@gem5.org></hissa.alsha...@hotmail.com>
_______________________________________________
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

Reply via email to