Hi,

It's not clear from the error log where the problem is, but it does
indicate that qemu failed to start. My suggestion is to check the path of
the qemu binary (i.e. this line
https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/develop/src/parsec/disk-image/parsec/parsec.json#44).
If the host does not support KVM, you'll need to remove this line (
https://gem5.googlesource.com/public/gem5-resources/+/refs/heads/develop/src/parsec/disk-image/parsec/parsec.json#9).
If the problem persists, please run packer with the environment variable
PACKER_LOG=1.

To install MPI, you can add the shell commands to install MPI to the
file disk-image / parsec / parsec-install.sh

Regards,
Hoa Nguyen

On Tue, Oct 19, 2021, 7:50 PM 等价无穷小 via gem5-users <gem5-users@gem5.org>
wrote:

> Hello,
>
> As for I am not familiar with the gem5. I would like to custom disk images
> following the gem5.googlesource.com  gem5-resources to make a PARSEC disk
> image. I followed the instructions as the README.me, but I encounter some
> errors.
>
> The error information is shown as follow:
>
> 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/gem5/parsec/disk-image/packer_cache/e94c06241a5e6ba0c4b9618ddcda39ba2ee27e9a.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 8413
> ==> qemu: Found port for communicator (SSH, WinRM, etc): 2359.
> ==> 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:5942
> ==> 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.
>
> What can I do to solve the problem?
> And another question is that how can I run MPI  in the FS mode?
>
> Thanks in advance.
>
> Zhang Meng
> _______________________________________________
> 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

Reply via email to