Hi Abhishek ,
          I am running the spec 2017 in the gem5 
simulator(X86). But a lot of benchmarks didnt works.
          It shown tha :
          warn:instruction 'movntdq_Mo_Vo' 
unimplemented.
           So,what I do for it?

     And anyone can tell me how to deal with it? Thank you.


------------------ ???????? ------------------
??????:&nbsp;"Abhishek Singh"<abhishek.singh199...@gmail.com&gt;;
????????:&nbsp;2020??3??3??(??????) ????5:09
??????:&nbsp;"gem5 users mailing 
list"<gem5-users@gem5.org&gt;;"yazakram"<yazak...@ucdavis.edu&gt;;

????:&nbsp;Re: [gem5-users] Installing Shared Libraries to Image in Full 
Simulation



Hi Ayaz,

I am using gem5art to get spec 2017 installed in the image.
I am at this "Building the Disk Image" step
When I use this command "./packer build spec2017/spec2017.json"
I get the following error:


qemu output will be in this color.

==&gt; qemu: Retrieving ISO
==&gt; qemu: Trying 
http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso
==&gt; qemu: Trying 
http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso?checksum=md5%3A34416ff83179728d54583bf3f18d42d2
==&gt; qemu: 
http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso?checksum=md5%3A34416ff83179728d54583bf3f18d42d2
 =&gt; 
/home/abs218/spec2017-experiments/disk-image/packer_cache/8ecbb06d2a38105b7d1cb3316cf5b970ee389dad.iso
==&gt; qemu: Creating floppy disk...
&nbsp; &nbsp; qemu: Copying files flatly from floppy_files
&nbsp; &nbsp; qemu: Copying file: shared/preseed.cfg
&nbsp; &nbsp; qemu: Done copying files from floppy_files
&nbsp; &nbsp; qemu: Collecting paths from floppy_dirs
&nbsp; &nbsp; qemu: Resulting paths from floppy_dirs : []
&nbsp; &nbsp; qemu: Done copying paths from floppy_dirs
==&gt; qemu: Creating required virtual machine disks
==&gt; qemu: Starting HTTP server on port 8208
==&gt; qemu: Found port for communicator (SSH, WinRM, etc): 4049.
==&gt; qemu: Looking for available port between 5900 and 6000 on 127.0.0.1
==&gt; qemu: Starting VM, booting from CD-ROM
&nbsp; &nbsp; qemu: The VM will be run headless, without a GUI. If you want to
&nbsp; &nbsp; qemu: view the screen of the VM, connect via VNC without a 
password to
&nbsp; &nbsp; qemu: vnc://127.0.0.1:5993
==&gt; qemu: Overriding defaults Qemu arguments with QemuArgs...
==&gt; qemu: Error launching VM: Qemu failed to start. Please run with 
PACKER_LOG=1 to get more info.
==&gt; qemu: Deleting output directory...
Build 'qemu' errored: Build was halted.

==&gt; Some builds didn't complete successfully and had errors:
--&gt; qemu: Build was halted.



Please note I am doing ssh into the machine and I ssh using "ssh -Y" for 
getting x11 display.


I am not able to bypass this error, do you have any tips how to overcome this 
error?






Best regards,

Abhishek







On Sat, Feb 8, 2020 at 5:42 PM Ayaz Akram <yazak...@ucdavis.edu&gt; wrote:

Hi&nbsp; Abhishek,


That was at least the case with the gem5 version we tested 
(commit:&nbsp;d40f0bc579fb8b10da7181). Please, note that this is the status of 
linux boot. I am not sure if this status will change with the latest gem5 
source. One thing that might work for you is to boot linux kernel with KVM cpu 
and then switch to O3 to run your applications (which may or may not work). 
However, I am not sure that how much can you rely on those results as inability 
to boot linux kernel with O3 clearly shows there exist some bugs in gem5. We 
need to figure out those issues and fix them.


Regards,
Ayaz

On Sat, Feb 8, 2020 at 9:30 AM Abhishek Singh 
<abhishek.singh199...@gmail.com&gt; wrote:

Hi Ayaz,



Thanks for providing the image and kernel, I see on gem5art test results that 
the image can support at the most only one cpu for O3CPU model.
Is that still&nbsp;the case ?
I wanted to use this image for running multithreaded applications on x86 O3CPU 
FS mode.



On Tue, Feb 4, 2020 at 4:12 PM Ayaz Akram <yazak...@ucdavis.edu&gt; wrote:

Hi Muhammet,


This is the expected behavior. Basically, this disk image correspond to this 
tutorial:


https://gem5art.readthedocs.io/en/latest/tutorials/boot-tutorial.html&nbsp;


and if you go through the disk creation process in that tutorial, you will 
realize that there is a post installation script that runs on the disk image 
after its creation 
(https://github.com/darchr/gem5art/blob/master/docs/disks/boot-exit/post-installation.sh).
 In that script, the contents of exit.sh 
(https://github.com/darchr/gem5art/blob/master/docs/disks/boot-exit/exit.sh) 
which are written to&nbsp;/root/.bashrc are responsible for exiting the 
simulation as soon as linux is booted.&nbsp;


One thing you can do to avoid exiting the simulation after linux is booted is 
modify the&nbsp; /root/.bashrc  in your disk (after mounting it on your file 
system.) Or you can modify the post-installation.sh and create a new disk 
image. Another thing you can do is modify your fs.py to call m5.simulate() 
again when simulation terminates the first time (following the m5 exit call 
from .bashrc).


Hope this helps.

&nbsp;&nbsp;
&nbsp; -Ayaz

On Tue, Feb 4, 2020 at 5:41 AM Muhammet Abdullah Soyt??rk 
<muhammetabdullahsoyt...@gmail.com&gt; wrote:

Hi Ayaz,

I have been trying to run a full system simulation with the image and kernel 
you provided 
(https://www.mail-archive.com/gem5-users@gem5.org/msg17274.html&nbsp;) but I 
could not succeed it so far. When I run it with fs.py (build/X86/gem5.opt 
configs/example/fs.py --disk-image=/home/muhammet/Desktop/gem5/base.img 
--kernel=/home/muhammet/Desktop/gem5/vmlinux-4.14.134), I get the following 
output after "Welcome to Ubuntu 18.04.2 LTS!" message and it automatically 
quits:


systemd[1]: Set hostname to <gem5-host&gt;.
systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an 
IP firewall (IPAddressDeny=any), but the local system does not support 
BPF/cgroup based firewalling.
systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only 
shown for the first loaded unit using IP firewalling.)
systemd[1]: Configuration file /lib/systemd/system/serial-getty@.service is 
marked executable. Please remove executable permission bits. Proceeding anyway.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: Reached target Remote File Systems.
[ &nbsp;OK &nbsp;] Reached target Remote File Systems.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: Created slice User and Session Slice.
[ &nbsp;OK &nbsp;] Created slice User and Session Slice.
random: systemd: uninitialized urandom read (16 bytes read)
systemd[1]: Reached target User and Group Name Lookups.
[ &nbsp;OK &nbsp;] Reached target User and Group Name Lookups.
systemd[1]: Created slice System Slice.
[ &nbsp;OK &nbsp;] Created slice System Slice.
[ &nbsp;OK &nbsp;] Listening on Journal Socket (/dev/log).
[ &nbsp;OK &nbsp;] Listening on fsck to fsckd communication Socket.
[ &nbsp;OK &nbsp;] Listening on Journal Audit Socket.
[ &nbsp;OK &nbsp;] Listening on udev Control Socket.
[ &nbsp;OK &nbsp;] Reached target Slices.
[ &nbsp;OK &nbsp;] Listening on udev Kernel Socket.
[ &nbsp;OK &nbsp;] Started Forward Password Requests to Wall Directory Watch.
[ &nbsp;OK &nbsp;] Created slice system-serial\x2dgetty.slice.
[ &nbsp;OK &nbsp;] Listening on /dev/initctl Compatibility Named Pipe.
[ &nbsp;OK &nbsp;] Listening on Syslog Socket.
[ &nbsp;OK &nbsp;] Listening on Journal Socket.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mounting Huge Pages File System...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Load Kernel Modules...
[ &nbsp;OK &nbsp;] Started Read required files in advance.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mounting POSIX Message Queue File System...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Journal Service...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Set the console keyboard layout...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mounting Kernel Debug File System...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Uncomplicated firewall...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting udev Coldplug all Devices...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Remount Root and Kernel File 
Systems...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Create Static Device Nodes in /dev...
[ &nbsp;OK &nbsp;] Mounted Huge Pages File System.
[ &nbsp;OK &nbsp;] Mounted POSIX Message Queue File System.
[ &nbsp;OK &nbsp;] Mounted Kernel Debug File System.
[ &nbsp;OK &nbsp;] Started Uncomplicated firewall.
[ &nbsp;OK &nbsp;] Started Set the console keyboard layout.
[ &nbsp;OK &nbsp;] Started Load Kernel Modules.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mounting Kernel Configuration File System...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Mounting FUSE Control File System...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Apply Kernel Variables...
[ &nbsp;OK &nbsp;] Mounted Kernel Configuration File System.
[ &nbsp;OK &nbsp;] Started Create Static Device Nodes in /dev.
[ &nbsp;OK &nbsp;] Mounted FUSE Control File System.
[ &nbsp;OK &nbsp;] Started Journal Service.
[ &nbsp;OK &nbsp;] Started Apply Kernel Variables.
[ &nbsp;OK &nbsp;] Started Remount Root and Kernel File Systems.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Flush Journal to Persistent 
Storage...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting udev Kernel Device Manager...
[ &nbsp;OK &nbsp;] Reached target Local File Systems (Pre).
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Load/Save Random Seed...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Activating swap /swapfile...
[ &nbsp;OK &nbsp;] Reached target Local File Systems.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Set console font and keymap...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Tell Plymouth To Write Out Runtime 
Data...
[ &nbsp;OK &nbsp;] Started Load/Save Random Seed.
[ &nbsp;OK &nbsp;] Started udev Kernel Device Manager.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Network Service...
[ &nbsp;OK &nbsp;] Started Set console font and keymap.
[ &nbsp;OK &nbsp;] Started Tell Plymouth To Write Out Runtime Data.
[ &nbsp;OK &nbsp;] Started Flush Journal to Persistent Storage.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Create Volatile Files and 
Directories...
[ &nbsp;OK &nbsp;] Started udev Coldplug all Devices.
[ &nbsp;OK &nbsp;] Started Dispatch Password Requests to Console Directory 
Watch.
[ &nbsp;OK &nbsp;] Reached target Local Encrypted Volumes.
[ &nbsp;OK &nbsp;] Reached target Paths.
[ &nbsp;OK &nbsp;] Found device /dev/ttyS0.
[ &nbsp;OK &nbsp;] Started Network Service.
[ &nbsp;OK &nbsp;] Started Create Volatile Files and Directories.
[ &nbsp;OK &nbsp;] Activated swap /swapfile.
[ &nbsp;OK &nbsp;] Reached target Swap.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Update UTMP about System 
Boot/Shutdown...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Network Time Synchronization...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Network Name Resolution...
[ &nbsp;OK &nbsp;] Started Update UTMP about System Boot/Shutdown.
[ &nbsp;OK &nbsp;] Started Network Name Resolution.
[ &nbsp;OK &nbsp;] Reached target Host and Network Name Lookups.
[ &nbsp;OK &nbsp;] Reached target Network.
[ &nbsp;OK &nbsp;] Started Network Time Synchronization.
[ &nbsp;OK &nbsp;] Reached target System Initialization.
[ &nbsp;OK &nbsp;] Listening on UUID daemon activation socket.
[ &nbsp;OK &nbsp;] Started Message of the Day.
[ &nbsp;OK &nbsp;] Listening on D-Bus System Message Bus Socket.
[ &nbsp;OK &nbsp;] Reached target Sockets.
[ &nbsp;OK &nbsp;] Reached target Basic System.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting OpenBSD Secure Shell server...
[ &nbsp;OK &nbsp;] Started Set the CPU Frequency Scaling governor.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting System Logging Service...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Permit User Sessions...
[ &nbsp;OK &nbsp;] Started D-Bus System Message Bus.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Login Service...
[ &nbsp;OK &nbsp;] Started irqbalance daemon.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Dispatcher daemon for 
systemd-networkd...
[ &nbsp;OK &nbsp;] Started Daily Cleanup of Temporary Directories.
[ &nbsp;OK &nbsp;] Started Regular background program processing daemon.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Accounts Service...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting LSB: Record successful boot for 
GRUB...
[ &nbsp;OK &nbsp;] Reached target System Time Synchronized.
[ &nbsp;OK &nbsp;] Started Daily apt download activities.
[ &nbsp;OK &nbsp;] Started Daily apt upgrade and clean activities.
[ &nbsp;OK &nbsp;] Started Discard unused blocks once a week.
[ &nbsp;OK &nbsp;] Reached target Timers.
[ &nbsp;OK &nbsp;] Started System Logging Service.
[ &nbsp;OK &nbsp;] Started Permit User Sessions.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Terminate Plymouth Boot Screen...
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Hold until boot process finishes 
up...
[ &nbsp;OK &nbsp;] Started Hold until boot process finishes up.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Set console scheme...
[ &nbsp;OK &nbsp;] Started Serial Getty on ttyS0.
[ &nbsp;OK &nbsp;] Started Terminate Plymouth Boot Screen.
[ &nbsp;OK &nbsp;] Started Login Service.
[ &nbsp;OK &nbsp;] Started Set console scheme.
[ &nbsp;OK &nbsp;] Created slice system-getty.slice.
[ &nbsp;OK &nbsp;] Started Getty on tty1.
[ &nbsp;OK &nbsp;] Reached target Login Prompts.
[FAILED] Failed to start Accounts Service.
See 'systemctl status accounts-daemon.service' for details.
[ &nbsp;OK &nbsp;] Started LSB: Record successful boot for GRUB.
[ &nbsp;OK &nbsp;] Started OpenBSD Secure Shell server.
[FAILED] Failed to start Dispatcher daemon for systemd-networkd.
See 'systemctl status networkd-dispatcher.service' for details.
[ &nbsp;OK &nbsp;] Reached target Multi-User System.
[ &nbsp;OK &nbsp;] Reached target Graphical Interface.
[ &nbsp;OK &nbsp;] Started Stop ureadahead data collection 45s after completed 
startup.
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Starting Update UTMP about System Runlevel 
Changes...
[ &nbsp;OK &nbsp;] Started Update UTMP about System Runlevel Changes.

Ubuntu 18.04.2 LTS gem5-host ttyS0

gem5-host login: root (automatic login)


Welcome to Ubuntu 18.04.2 LTS (GNU/Linux 4.14.134 x86_64)

&nbsp;* Documentation: &nbsp;https://help.ubuntu.com
&nbsp;* Management: &nbsp; &nbsp; https://landscape.canonical.com
&nbsp;* Support: &nbsp; &nbsp; &nbsp; &nbsp;https://ubuntu.com/advantage


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.


Ayaz Akram <yazak...@ucdavis.edu&gt;, 3 ?0?5ub 2020 Pzt, 21:20 tarihinde 
?0?6unu yazd?0?3:

We have recently&nbsp;uploaded a disk image with ubuntu 18.04 installed which 
should have basic packages/libraries available. See the following post on the 
mailing list:

https://www.mail-archive.com/gem5-users@gem5.org/msg17274.html&nbsp;


You can also refer to gem5art's documentation on building your own disk images:


https://gem5art.readthedocs.io/en/latest/main-doc/disks.html


-Ayaz&nbsp;







On Mon, Feb 3, 2020 at 4:04 AM Muhammet Abdullah Soyt??rk 
<muhammetabdullahsoyt...@gmail.com&gt; wrote:

Hi all,&nbsp;

What is the best way to install shared libraries to linux-x86.img? Since apt or 
dpkg is not installed, I don't know how to add the shared libraries to the 
images that I need to execute PageRank in GAP benchmark suite.&nbsp;


Best,
Muhammet&nbsp;


 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

 _______________________________________________
 gem5-users mailing list
 gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to