[gem5-users] Re: Regarding building X86 ISA
Hi Sravani, Your VirtualBox needs more memory. You can try to increase its memory to 16GB. Best, Xiongfei From: Sravani Sravanam 20PHD7041 via gem5-users [mailto:gem5-users@gem5.org] Sent: Friday, September 3, 2021 2:03 PM To: ja...@lowepower.com Cc: gem5-users@gem5.org; Sravani Sravanam 20PHD7041 Subject: [gem5-users] Regarding building X86 ISA Sir, I am sravani Sravanam a PhD scholar in vit-ap University.as I sent a mail to you.you responded for it.thankyou for that sir.but still even with X86 ISA also I am getting the error message like below.please check it sir. Thankyou Sravani Sravanam Vit-ap University ___ 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
[gem5-users] Re: syscall newfstatat (#262) unimplemented
On Thu, Sep 02, 2021 at 07:27:05PM -0700, Gabe Black via gem5-users wrote: > The standard library you're linking against is newer, and is using a system > call that gem5 doesn't implement. You'll either need to use an older > standard library, or implement that system call. If you're trying to run > gem5's tests, then I know at least one of the x86 ones uses dynamic linking > and links against libraries on your host system (!) which can include calls > to the more recent system call. It really shouldn't do that in my opinion, > but that's the way it's set up today unfortunately. Understood. I was trying some configs for benchmarking external test suite. I will shift it to a different system. Thanks for the reply! -- Manas CSAM Undergraduate | 2022 IIIT-Delhi, India ___ 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
[gem5-users] Re: syscall newfstatat (#262) unimplemented
The standard library you're linking against is newer, and is using a system call that gem5 doesn't implement. You'll either need to use an older standard library, or implement that system call. If you're trying to run gem5's tests, then I know at least one of the x86 ones uses dynamic linking and links against libraries on your host system (!) which can include calls to the more recent system call. It really shouldn't do that in my opinion, but that's the way it's set up today unfortunately. Gabe On Thu, Sep 2, 2021 at 2:16 PM Manas via gem5-users wrote: > Hi, I think while building gem5, I may have missed something. And I > didn't realize it during testing the `hello` binary. > > Now, whenever any binary uses file operations (like `fopen`) then I > get the following error: > > ``` > build/X86/sim/syscall_emul.cc:66: fatal: syscall newfstatat (#262) > unimplemented. > ``` > > Can someone point me to where could the issue be? > > Thank you > -- > Manas > CSAM Undergraduate | 2022 > IIIT-Delhi, India > ___ > 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 > ___ 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
[gem5-users] Re: Problem with SIMD instructions execution in se mode when ISA is ARM
Hello Giacomo, Thanks for your reply. I understand what you mean is that if I rename fp operations, it will need to rename the single/double precision operand, and in gem5 we use elements of SIMD vector registers to do this kind of rename. But I still get confused why we use the elements of SIMD registers rather than float registers to do this. In configs/common/cores/arm/03_ARM_v7a.py, I saw we set the number of physical float registers to be 192. Using rename debug-flag, it seems that we didn't use physical float registers during the fp operations. Because in my opinion, in ARM ISA, only we use neon/sve extension, the instruction will have vector register identifier and it can notice the processor we need the vector registers to do vector operations. Thanks, Gelin ___ 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
[gem5-users] Re: syscall newfstatat (#262) unimplemented
Hi, I think while building gem5, I may have missed something. And I didn't realize it during testing the `hello` binary. Now, whenever any binary uses file operations (like `fopen`) then I get the following error: ``` build/X86/sim/syscall_emul.cc:66: fatal: syscall newfstatat (#262) unimplemented. ``` Can someone point me to where could the issue be? Thank you -- Manas CSAM Undergraduate | 2022 IIIT-Delhi, India ___ 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
[gem5-users] Re: Issue: Checkpoint in FS mode
Hi Pedro, Thanks for taking the time to reply. You're right. The implementation was missing in my own python script. After including that, I am able to generate the checkpoint. Thanks & Regards Sindhuja -Original Message- From: Pedro Becker via gem5-users Sent: Thursday, September 2, 2021 3:57 AM To: gem5-users@gem5.org Cc: Pedro Becker Subject: [gem5-users] Re: Issue: Checkpoint in FS mode Hi Sindhuja, Are you using your own python script to configure the simulation? If I'm not mistaken calling the /sbin/m5 checkpoint exits the m5.simulate() (from the script), returning the exit_event (a string "checkpoint"). Then, your python script should capture that exit_event and create the checkpoint. This is done in the default scripts (e.g., fs.py/Simulation.py) with something like this: exit_event = m5.simulate() exit_cause = exit_event.getCause() while exit_event == "checkpoint": m5.checkpoint(joinpath(cptdir, "cpt.%d")) exit_event = m5.simulate() exit_cause = exit_event.getCause() But if you have your own python script, then you have to implement this behavior yourself. Best, Pedro. ___ 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 ___ 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
[gem5-users] Re: ARM Full system, try to run
It seems that thanks to the manuals I was able to advance something, but after a while loading the OS a failure appears that closes the simulation. On the gem5 console you see the following: $~/gem5/build/ARM/gem5.opt ~/gem5/configs/example/fs.py --mem-size 2048MB --disk-image ~/full_system_for_gem5/disks/m5_exit.squashfs.arm --kernel ~/full_system_for_gem5/binaries/vmlinux.arm --command-line 'earlyprintk=pl011,0x1c09 lpj=19988480 rw loglevel=8 mem=256MB root=/dev/sda console_msg_format=syslog nokaslr norandmaps panic=-1 printk.devkmsg=on printk.time=y rw console=ttyAMA0 - lkmc_home=/lkmc' ... REAL SIMULATION ... build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:2 N:0 1:0 2:2 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:1 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:6 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:7 hdcr 0, hcptr 3fff, hstr 0 build/ARM/arch/arm/utility.cc:683: info: trap check M:0 N:0 1:0 2:7 hdcr 0, hcptr 3fff, hstr 0 build/ARM/dev/arm/rv_ctrl.cc:123: warn: Tried to read RealView I/O at offset 0x8 that doesn't exist build/ARM/dev/arm/rv_ctrl.cc:123: warn: Tried to read RealView I/O at offset 0x48 that doesn't exist build/ARM/dev/arm/energy_ctrl.cc:78: warn: EnergyCtrl: Disabled handler, ignoring read from reg 0 build/ARM/arch/arm/insts/pseudo.cc:174: warn: instruction 'csdb' unimplemented Exiting @ tick 454533286000 because m5_exit instruction encountered And through the telnet you can see the following: $telnet 127.0.0.1 3456 <5>[ 0.279837] Key type ceph registered <6>[ 0.283978] libceph: loaded (mon/osd proto 15/24) <5>[ 0.284115] Registering SWP/SWPB emulation handler <6>[ 0.284240] registered taskstats version 1 <6>[ 0.284252] zswap: loaded using pool lzo/zbud <6>[ 0.284531] hctosys: unable to open rtc device (rtc0) <6>[ 0.432558] ata1.00: ATA-7: M5 IDE Disk, , max UDMA/66 <6>[ 0.432563] ata1.00: 432 sectors, multi 0: LBA <5>[ 0.432798] scsi 0:0:0:0: Direct-Access ATA M5 IDE Disk n/a PQ: 0 ANSI: 5 <5>[ 0.432988] sd 0:0:0:0: Attached scsi generic sg0 type 0 <5>[ 0.433124] sd 0:0:0:0: [sda] 432 512-byte logical blocks: (221 kB/216 KiB) <5>[ 0.433141] sd 0:0:0:0: [sda] Write Protect is off <7>[ 0.433147] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 <5>[ 0.433174] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA <5>[ 0.433665] sd 0:0:0:0: [sda] Attached SCSI disk <6>[ 0.436853] VFS: Mounted root (squashfs filesystem) readonly on device 8:0. <6>[ 0.436862] devtmpfs: error mounting -2 <6>[ 0.437501] Freeing unused kernel memory: 1024K Connection closed by foreign host. I don't know how to fix it. ___ 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
[gem5-users] Re: regarding building of dependencies
Hello, It should be X86 (capitol X) instead of x86. You can see the files in gem5/build_opts for the different possibilities for default build variables. Cheers, Jason On Thu, Sep 2, 2021 at 3:58 AM Sravani Sravanam 20PHD7041 via gem5-users < gem5-users@gem5.org> wrote: > sir, > i am sravani sravanam a research scholar in vit ap university.while > running at initial stage like > scons build/x86/gem5.opt -j2 i am getting an error like this > Error: Cannot find variables file > /home/hp/Desktop/srav/gem5/build/variables/x86 >or default file(s) /home/hp/Desktop/srav/gem5/build_opts/x86. > please help me > thanking you > sravani sravanam > ___ > 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 ___ 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
[gem5-users] Re: Issue: Checkpoint in FS mode
Hi Sindhuja, Are you using your own python script to configure the simulation? If I'm not mistaken calling the /sbin/m5 checkpoint exits the m5.simulate() (from the script), returning the exit_event (a string "checkpoint"). Then, your python script should capture that exit_event and create the checkpoint. This is done in the default scripts (e.g., fs.py/Simulation.py) with something like this: exit_event = m5.simulate() exit_cause = exit_event.getCause() while exit_event == "checkpoint": m5.checkpoint(joinpath(cptdir, "cpt.%d")) exit_event = m5.simulate() exit_cause = exit_event.getCause() But if you have your own python script, then you have to implement this behavior yourself. Best, Pedro. ___ 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
[gem5-users] regarding building of dependencies
sir, i am sravani sravanam a research scholar in vit ap university.while running at initial stage like scons build/x86/gem5.opt -j2 i am getting an error like this Error: Cannot find variables file /home/hp/Desktop/srav/gem5/build/variables/x86 or default file(s) /home/hp/Desktop/srav/gem5/build_opts/x86. please help me thanking you sravani sravanam ___ 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