Hi,

I'm not sure where is the error, but I would look into why the path to gcc
is "/SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc".

Regards,
Hoa Nguyen

On Tue, Mar 3, 2020, 5:28 PM Abhishek Singh <abhishek.singh199...@gmail.com>
wrote:

> Hi Hoa,
>
> For now, I will try to get a single-core.
>
> In Building the Disk Image Step, I get an error in compiling spec
> benchmarks in the image i.e., after this command ./packer build
> spec2017/spec2017.json
>
>
> I have posted the long error message, I also looked into most of the
> make.out the file, the error is due to the missing gcc and gfortran library.
>
> I did not look up much in detail, as there can be other errors too
>
> Please let me know if I missed some steps in between. I tried twice but
> the error is the same.
>
> Error Message(short version):
> From
> /home/gem5/spec2017/benchspec/CPU/998.specrand_is/build/build_base_mytest-m64.0000/make.out
> file
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc     -std=c99   -m64 -c -o
> main.o -DSPEC -DNDEBUG -Ispecrand-common  -g -O3
>  -fno-unsafe-math-optimizations  -fno-tree-loop-vectorize
> -fopenmp -DSPEC_OPENMP -fno-strict-aliasing   -DSPEC_LP64  main.c
>
> specmake: /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not
> found
>
> specmake: *** [/home/gem5/spec2017/benchspec/Makefile.defaults:347:
> main.o] Error 127
>
> This error is common in all the files along with other libraries such as:
>
> 603.bwaves_s/build/build_base_mytest-m64.0000/make.out:3:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 600.perlbench_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 521.wrf_r/build/build_base_mytest-m64.0000/make.diffwrf_521.out:40:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 523.xalancbmk_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 557.xz_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 526.blender_r/build/build_base_mytest-m64.0000/make.blender_r.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 505.mcf_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 607.cactuBSSN_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 648.exchange2_s/build/build_base_mytest-m64.0000/make.out:3:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 527.cam4_r/build/build_base_mytest-m64.0000/make.cam4_r.out:21:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 503.bwaves_r/build/build_base_mytest-m64.0000/make.out:4:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 996.specrand_fs/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 657.xz_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 638.imagick_s/build/build_base_mytest-m64.0000/make.imagevalidate_638.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 549.fotonik3d_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 538.imagick_r/build/build_base_mytest-m64.0000/make.imagevalidate_538.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 654.roms_s/build/build_base_mytest-m64.0000/make.out:220:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 631.deepsjeng_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 998.specrand_is/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 619.lbm_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 554.roms_r/build/build_base_mytest-m64.0000/make.out:220:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 999.specrand_ir/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 548.exchange2_r/build/build_base_mytest-m64.0000/make.out:3:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 997.specrand_fr/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 502.gcc_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 649.fotonik3d_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gfortran: Command not found
> 641.leela_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 511.povray_r/build/build_base_mytest-m64.0000/make.imagevalidate_511.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 500.perlbench_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 510.parest_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 625.x264_s/build/build_base_mytest-m64.0000/make.imagevalidate_625.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 520.omnetpp_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 621.wrf_s/build/build_base_mytest-m64.0000/make.diffwrf_621.out:40:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 531.deepsjeng_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 544.nab_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 602.gcc_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 519.lbm_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 620.omnetpp_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 541.leela_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 644.nab_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 508.namd_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 628.pop2_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 525.x264_r/build/build_base_mytest-m64.0000/make.imagevalidate_525.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 627.cam4_s/build/build_base_mytest-m64.0000/make.cam4_s.out:21:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 623.xalancbmk_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/g++: Command not found
> 605.mcf_s/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
> 507.cactuBSSN_r/build/build_base_mytest-m64.0000/make.out:2:specmake:
> /SW/compilers/GCC/Linux/x86_64/gcc-6.3.0/bin/gcc: Command not found
>
> Error Message (qemu)
>
>     qemu: Build errors for intspeed: 600.perlbench_s(base; CE),
> 602.gcc_s(base; CE), 605.mcf_s(base; CE), 620.omnetpp_s(base; CE),
> 623.xalancbmk_s(base; CE), 625.x264_s(base; CE), 631.deepsjeng_s(base; CE),
> 641.leela_s(base; CE), 648.exchange2_s(base; CE), 657.xz_s(base; CE),
> 998.specrand_is(base; CE)
>     qemu: Build errors for intrate: 500.perlbench_r(base; CE),
> 502.gcc_r(base; CE), 505.mcf_r(base; CE), 520.omnetpp_r(base; CE),
> 523.xalancbmk_r(base; CE), 525.x264_r(base; CE), 531.deepsjeng_r(base; CE),
> 541.leela_r(base; CE), 548.exchange2_r(base; CE), 557.xz_r(base; CE),
> 999.specrand_ir(base; CE)
> qemu: Build errors for fpspeed: 603.bwaves_s(base; CE),
> 607.cactuBSSN_s(base; CE), 619.lbm_s(base; CE), 621.wrf_s(base; CE),
> 627.cam4_s(base; CE), 628.pop2_s(base; CE), 638.imagick_s(base; CE),
> 644.nab_s(base; CE), 649.fotonik3d_s(base; CE), 654.roms_s(base; CE),
> 996.specrand_fs(base; CE)
> qemu: Build errors for fprate: 503.bwaves_r(base; CE),
> 507.cactuBSSN_r(base; CE), 508.namd_r(base; CE), 510.parest_r(base; CE),
> 511.povray_r(base; CE), 519.lbm_r(base; CE), 521.wrf_r(base; CE),
> 526.blender_r(base; CE), 527.cam4_r(base; CE), 538.imagick_r(base; CE),
> 544.nab_r(base; CE), 549.fotonik3d_r(base; CE), 554.roms_r(base; CE),
> 997.specrand_fr(base; CE)
>
>
> Best regards,
>
> Abhishek
>
>
> On Tue, Mar 3, 2020 at 7:53 PM Hoa Nguyen <hoangu...@ucdavis.edu> wrote:
>
>> Hi Abhishek,
>>
>> Yes, but the gem5 config only has one-core O3CPU. It could be tweaked to
>> multiple cores.
>>
>> Regards,
>> Hoa Nguyen
>>
>> On Tue, Mar 3, 2020, 3:48 PM Abhishek Singh <
>> abhishek.singh199...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> In order to run SPEC2k17 benchmarks, should we follow the same tutorial "
>>> https://gem5art.readthedocs.io/en/latest/tutorials/spec2017-tutorial.html
>>> "?
>>>
>>>
>>> Best regards,
>>>
>>> Abhishek
>>>
>>>
>>> On Tue, Mar 3, 2020 at 6:45 PM Hoa Nguyen <hoangu...@ucdavis.edu> wrote:
>>>
>>>> Hi Abhishek,
>>>>
>>>> We ran a few spec2017 workloads on O3CPU, and they ran successfully.
>>>>
>>>> We used gem5 19.
>>>>
>>>> Regards,
>>>> Hoa Nguyen
>>>>
>>>> On 3/3/20, Abhishek Singh <abhishek.singh199...@gmail.com> wrote:
>>>> > Hi Hoa,
>>>> > Are you able to run on o3 cpu.
>>>> > Also, is it same gem5 commit as mentioned on the website?
>>>> >
>>>> > On Tue, Mar 3, 2020 at 4:35 AM Hoa Nguyen <hoangu...@ucdavis.edu>
>>>> wrote:
>>>> >
>>>> >> Hi there,
>>>> >>
>>>> >> We're actually able to run SPEC 2017 workloads in FS mode using the
>>>> >> gem5art's tutorial.
>>>> >>
>>>> >> The table should have been updated.
>>>> >>
>>>> >> Sorry about the confusion!
>>>> >>
>>>> >> Regards,
>>>> >> Hoa Nguyen
>>>> >>
>>>> >>
>>>> >> On Mon, Mar 2, 2020, 7:55 PM Abhishek Singh <
>>>> >> abhishek.singh199...@gmail.com> wrote:
>>>> >>
>>>> >>> Hi,
>>>> >>>
>>>> >>> This is the i got in past when I was trying to run SPEC in SE mode
>>>> >>>
>>>> >>> If you check mailing list there are suggestions about it
>>>> >>>
>>>> >>> I have not yet ported the spec 2017 to gem5, I was trying to use FS
>>>> but
>>>> >>> then I saw that 03 CPU in gem5art shows unsuccessful
>>>> >>>
>>>> >>> I am planning to port spec benchmarks in coming weeks
>>>> >>>
>>>> >>> If you or ANYONE have already posted SPEC 2017 benchmarks for O3CPU
>>>> >>> please share your knowledge and steps ?
>>>> >>>
>>>> >>> On Mon, Mar 2, 2020 at 10:50 PM 616653241 <616653...@qq.com> wrote:
>>>> >>>
>>>> >>>> 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.
>>>> >>>>
>>>> >>>> ------------------ 原始邮件 ------------------
>>>> >>>> *发件人:* "Abhishek Singh"<abhishek.singh199...@gmail.com>;
>>>> >>>> *发送时间:* 2020年3月3日(星期二) 凌晨5:09
>>>> >>>> *收件人:* "gem5 users mailing list"<gem5-users@gem5.org>;"yazakram"<
>>>> >>>> yazak...@ucdavis.edu>;
>>>> >>>> *主题:* 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.
>>>> >>>>
>>>> >>>> ==> qemu: Retrieving ISO
>>>> >>>> ==> qemu: Trying
>>>> >>>>
>>>> http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso
>>>> >>>> ==> qemu: Trying
>>>> >>>>
>>>> http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso?checksum=md5%3A34416ff83179728d54583bf3f18d42d2
>>>> >>>> ==> qemu:
>>>> >>>>
>>>> http://old-releases.ubuntu.com/releases/18.04.2/ubuntu-18.04.2-server-amd64.iso?checksum=md5%3A34416ff83179728d54583bf3f18d42d2
>>>> >>>> =>
>>>> >>>>
>>>> /home/abs218/spec2017-experiments/disk-image/packer_cache/8ecbb06d2a38105b7d1cb3316cf5b970ee389dad.iso
>>>> >>>> ==> qemu: Creating floppy disk...
>>>> >>>>     qemu: Copying files flatly from floppy_files
>>>> >>>>     qemu: Copying file: shared/preseed.cfg
>>>> >>>>     qemu: Done copying files from floppy_files
>>>> >>>>     qemu: Collecting paths from floppy_dirs
>>>> >>>>     qemu: Resulting paths from floppy_dirs : []
>>>> >>>>     qemu: Done copying paths from floppy_dirs
>>>> >>>> ==> qemu: Creating required virtual machine disks
>>>> >>>> ==> qemu: Starting HTTP server on port 8208
>>>> >>>> ==> qemu: Found port for communicator (SSH, WinRM, etc): 4049.
>>>> >>>> ==> qemu: Looking for available port between 5900 and 6000 on
>>>> 127.0.0.1
>>>> >>>> ==> qemu: Starting VM, booting from CD-ROM
>>>> >>>>     qemu: The VM will be run headless, without a GUI. If you want
>>>> to
>>>> >>>>     qemu: view the screen of the VM, connect via VNC without a
>>>> password
>>>> >>>> to
>>>> >>>>     qemu: vnc://127.0.0.1:5993
>>>> >>>> ==> qemu: Overriding defaults Qemu arguments with QemuArgs...
>>>> >>>> ==> qemu: Error launching VM: Qemu failed to start. Please run with
>>>> >>>> PACKER_LOG=1 to get more info.
>>>> >>>> ==> qemu: Deleting output directory...
>>>> >>>>
>>>> >>>>
>>>> >>>>
>>>> >>>> *Build 'qemu' errored: Build was halted.==> Some builds didn't
>>>> complete
>>>> >>>> successfully and had errors:--> 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>
>>>> wrote:
>>>> >>>>
>>>> >>>>> Hi  Abhishek,
>>>> >>>>>
>>>> >>>>> That was at least the case with the gem5 version we tested
>>>> (commit:
>>>> >>>>> 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> 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 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>
>>>> >>>>>> 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
>>>> >>>>>>>
>>>> >>>>>>>
>>>> >>>>>>> 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 /root/.bashrc are responsible for exiting
>>>> the
>>>> >>>>>>> simulation as soon as linux is booted.
>>>> >>>>>>>
>>>> >>>>>>> One thing you can do to avoid exiting the simulation after
>>>> linux is
>>>> >>>>>>> booted is modify the  /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.
>>>> >>>>>>>
>>>> >>>>>>>   -Ayaz
>>>> >>>>>>>
>>>> >>>>>>> On Tue, Feb 4, 2020 at 5:41 AM Muhammet Abdullah Soytürk <
>>>> >>>>>>> muhammetabdullahsoyt...@gmail.com> 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
>>>> )
>>>> >>>>>>>> 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>.
>>>> >>>>>>>> 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.
>>>> >>>>>>>> [  OK  ] Reached target Remote File Systems.
>>>> >>>>>>>> random: systemd: uninitialized urandom read (16 bytes read)
>>>> >>>>>>>> systemd[1]: Created slice User and Session Slice.
>>>> >>>>>>>> [  OK  ] Created slice User and Session Slice.
>>>> >>>>>>>> random: systemd: uninitialized urandom read (16 bytes read)
>>>> >>>>>>>> systemd[1]: Reached target User and Group Name Lookups.
>>>> >>>>>>>> [  OK  ] Reached target User and Group Name Lookups.
>>>> >>>>>>>> systemd[1]: Created slice System Slice.
>>>> >>>>>>>> [  OK  ] Created slice System Slice.
>>>> >>>>>>>> [  OK  ] Listening on Journal Socket (/dev/log).
>>>> >>>>>>>> [  OK  ] Listening on fsck to fsckd communication Socket.
>>>> >>>>>>>> [  OK  ] Listening on Journal Audit Socket.
>>>> >>>>>>>> [  OK  ] Listening on udev Control Socket.
>>>> >>>>>>>> [  OK  ] Reached target Slices.
>>>> >>>>>>>> [  OK  ] Listening on udev Kernel Socket.
>>>> >>>>>>>> [  OK  ] Started Forward Password Requests to Wall Directory
>>>> Watch.
>>>> >>>>>>>> [  OK  ] Created slice system-serial\x2dgetty.slice.
>>>> >>>>>>>> [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
>>>> >>>>>>>> [  OK  ] Listening on Syslog Socket.
>>>> >>>>>>>> [  OK  ] Listening on Journal Socket.
>>>> >>>>>>>>          Mounting Huge Pages File System...
>>>> >>>>>>>>          Starting Load Kernel Modules...
>>>> >>>>>>>> [  OK  ] Started Read required files in advance.
>>>> >>>>>>>>          Mounting POSIX Message Queue File System...
>>>> >>>>>>>>          Starting Journal Service...
>>>> >>>>>>>>          Starting Set the console keyboard layout...
>>>> >>>>>>>>          Mounting Kernel Debug File System...
>>>> >>>>>>>>          Starting Uncomplicated firewall...
>>>> >>>>>>>>          Starting udev Coldplug all Devices...
>>>> >>>>>>>>          Starting Remount Root and Kernel File Systems...
>>>> >>>>>>>>          Starting Create Static Device Nodes in /dev...
>>>> >>>>>>>> [  OK  ] Mounted Huge Pages File System.
>>>> >>>>>>>> [  OK  ] Mounted POSIX Message Queue File System.
>>>> >>>>>>>> [  OK  ] Mounted Kernel Debug File System.
>>>> >>>>>>>> [  OK  ] Started Uncomplicated firewall.
>>>> >>>>>>>> [  OK  ] Started Set the console keyboard layout.
>>>> >>>>>>>> [  OK  ] Started Load Kernel Modules.
>>>> >>>>>>>>          Mounting Kernel Configuration File System...
>>>> >>>>>>>>          Mounting FUSE Control File System...
>>>> >>>>>>>>          Starting Apply Kernel Variables...
>>>> >>>>>>>> [  OK  ] Mounted Kernel Configuration File System.
>>>> >>>>>>>> [  OK  ] Started Create Static Device Nodes in /dev.
>>>> >>>>>>>> [  OK  ] Mounted FUSE Control File System.
>>>> >>>>>>>> [  OK  ] Started Journal Service.
>>>> >>>>>>>> [  OK  ] Started Apply Kernel Variables.
>>>> >>>>>>>> [  OK  ] Started Remount Root and Kernel File Systems.
>>>> >>>>>>>>          Starting Flush Journal to Persistent Storage...
>>>> >>>>>>>>          Starting udev Kernel Device Manager...
>>>> >>>>>>>> [  OK  ] Reached target Local File Systems (Pre).
>>>> >>>>>>>>          Starting Load/Save Random Seed...
>>>> >>>>>>>>          Activating swap /swapfile...
>>>> >>>>>>>> [  OK  ] Reached target Local File Systems.
>>>> >>>>>>>>          Starting Set console font and keymap...
>>>> >>>>>>>>          Starting Tell Plymouth To Write Out Runtime Data...
>>>> >>>>>>>> [  OK  ] Started Load/Save Random Seed.
>>>> >>>>>>>> [  OK  ] Started udev Kernel Device Manager.
>>>> >>>>>>>>          Starting Network Service...
>>>> >>>>>>>> [  OK  ] Started Set console font and keymap.
>>>> >>>>>>>> [  OK  ] Started Tell Plymouth To Write Out Runtime Data.
>>>> >>>>>>>> [  OK  ] Started Flush Journal to Persistent Storage.
>>>> >>>>>>>>          Starting Create Volatile Files and Directories...
>>>> >>>>>>>> [  OK  ] Started udev Coldplug all Devices.
>>>> >>>>>>>> [  OK  ] Started Dispatch Password Requests to Console
>>>> Directory
>>>> >>>>>>>> Watch.
>>>> >>>>>>>> [  OK  ] Reached target Local Encrypted Volumes.
>>>> >>>>>>>> [  OK  ] Reached target Paths.
>>>> >>>>>>>> [  OK  ] Found device /dev/ttyS0.
>>>> >>>>>>>> [  OK  ] Started Network Service.
>>>> >>>>>>>> [  OK  ] Started Create Volatile Files and Directories.
>>>> >>>>>>>> [  OK  ] Activated swap /swapfile.
>>>> >>>>>>>> [  OK  ] Reached target Swap.
>>>> >>>>>>>>          Starting Update UTMP about System Boot/Shutdown...
>>>> >>>>>>>>          Starting Network Time Synchronization...
>>>> >>>>>>>>          Starting Network Name Resolution...
>>>> >>>>>>>> [  OK  ] Started Update UTMP about System Boot/Shutdown.
>>>> >>>>>>>> [  OK  ] Started Network Name Resolution.
>>>> >>>>>>>> [  OK  ] Reached target Host and Network Name Lookups.
>>>> >>>>>>>> [  OK  ] Reached target Network.
>>>> >>>>>>>> [  OK  ] Started Network Time Synchronization.
>>>> >>>>>>>> [  OK  ] Reached target System Initialization.
>>>> >>>>>>>> [  OK  ] Listening on UUID daemon activation socket.
>>>> >>>>>>>> [  OK  ] Started Message of the Day.
>>>> >>>>>>>> [  OK  ] Listening on D-Bus System Message Bus Socket.
>>>> >>>>>>>> [  OK  ] Reached target Sockets.
>>>> >>>>>>>> [  OK  ] Reached target Basic System.
>>>> >>>>>>>>          Starting OpenBSD Secure Shell server...
>>>> >>>>>>>> [  OK  ] Started Set the CPU Frequency Scaling governor.
>>>> >>>>>>>>          Starting System Logging Service...
>>>> >>>>>>>>          Starting Permit User Sessions...
>>>> >>>>>>>> [  OK  ] Started D-Bus System Message Bus.
>>>> >>>>>>>>          Starting Login Service...
>>>> >>>>>>>> [  OK  ] Started irqbalance daemon.
>>>> >>>>>>>>          Starting Dispatcher daemon for systemd-networkd...
>>>> >>>>>>>> [  OK  ] Started Daily Cleanup of Temporary Directories.
>>>> >>>>>>>> [  OK  ] Started Regular background program processing daemon.
>>>> >>>>>>>>          Starting Accounts Service...
>>>> >>>>>>>>          Starting LSB: Record successful boot for GRUB...
>>>> >>>>>>>> [  OK  ] Reached target System Time Synchronized.
>>>> >>>>>>>> [  OK  ] Started Daily apt download activities.
>>>> >>>>>>>> [  OK  ] Started Daily apt upgrade and clean activities.
>>>> >>>>>>>> [  OK  ] Started Discard unused blocks once a week.
>>>> >>>>>>>> [  OK  ] Reached target Timers.
>>>> >>>>>>>> [  OK  ] Started System Logging Service.
>>>> >>>>>>>> [  OK  ] Started Permit User Sessions.
>>>> >>>>>>>>          Starting Terminate Plymouth Boot Screen...
>>>> >>>>>>>>          Starting Hold until boot process finishes up...
>>>> >>>>>>>> [  OK  ] Started Hold until boot process finishes up.
>>>> >>>>>>>>          Starting Set console scheme...
>>>> >>>>>>>> [  OK  ] Started Serial Getty on ttyS0.
>>>> >>>>>>>> [  OK  ] Started Terminate Plymouth Boot Screen.
>>>> >>>>>>>> [  OK  ] Started Login Service.
>>>> >>>>>>>> [  OK  ] Started Set console scheme.
>>>> >>>>>>>> [  OK  ] Created slice system-getty.slice.
>>>> >>>>>>>> [  OK  ] Started Getty on tty1.
>>>> >>>>>>>> [  OK  ] Reached target Login Prompts.
>>>> >>>>>>>> [FAILED] Failed to start Accounts Service.
>>>> >>>>>>>> See 'systemctl status accounts-daemon.service' for details.
>>>> >>>>>>>> [  OK  ] Started LSB: Record successful boot for GRUB.
>>>> >>>>>>>> [  OK  ] Started OpenBSD Secure Shell server.
>>>> >>>>>>>> [FAILED] Failed to start Dispatcher daemon for
>>>> systemd-networkd.
>>>> >>>>>>>> See 'systemctl status networkd-dispatcher.service' for details.
>>>> >>>>>>>> [  OK  ] Reached target Multi-User System.
>>>> >>>>>>>> [  OK  ] Reached target Graphical Interface.
>>>> >>>>>>>> [  OK  ] Started Stop ureadahead data collection 45s after
>>>> >>>>>>>> completed
>>>> >>>>>>>> startup.
>>>> >>>>>>>>          Starting Update UTMP about System Runlevel Changes...
>>>> >>>>>>>> [  OK  ] 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)
>>>> >>>>>>>>
>>>> >>>>>>>>  * Documentation:  https://help.ubuntu.com
>>>> >>>>>>>>  * Management:     https://landscape.canonical.com
>>>> >>>>>>>>  * Support:        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>, 3 Şub 2020 Pzt, 21:20
>>>> tarihinde
>>>> >>>>>>>> şunu yazdı:
>>>> >>>>>>>>
>>>> >>>>>>>>> We have recently 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
>>>> >>>>>>>>>
>>>> >>>>>>>>> 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
>>>> >>>>>>>>>
>>>> >>>>>>>>>
>>>> >>>>>>>>>
>>>> >>>>>>>>> On Mon, Feb 3, 2020 at 4:04 AM Muhammet Abdullah Soytürk <
>>>> >>>>>>>>> muhammetabdullahsoyt...@gmail.com> wrote:
>>>> >>>>>>>>>
>>>> >>>>>>>>>> Hi all,
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> 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.
>>>> >>>>>>>>>>
>>>> >>>>>>>>>> Best,
>>>> >>>>>>>>>> Muhammet
>>>> >>>>>>>>>> _______________________________________________
>>>> >>>>>>>>>> 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
>>>> >>>
>>>> >>> _______________________________________________
>>>> >>> 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