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

Reply via email to