Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding ubuntu support, fixing fedora linux config #288

Merged
merged 10 commits into from
Jan 19, 2024
Merged

Conversation

pcg108
Copy link

@pcg108 pcg108 commented Sep 27, 2023

Review Ubuntu with Firemarshal/Firesim

Copy link
Contributor

@abejgonzalez abejgonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are a lot of files spread out throughout the overlays, do we need them? Some seem non-specific to FireSim/RISC-V? Can we remove them (or can you explain what some of them are for / do?

boards/default/distros/ubuntu/resize.sh Outdated Show resolved Hide resolved
boards/default/distros/ubuntu/ubuntu.py Outdated Show resolved Hide resolved
boards/firechip/base-workloads/ubuntu-base.json Outdated Show resolved Hide resolved
@abejgonzalez
Copy link
Contributor

Also @ffard-lbl had some issues building w.r.t to hanging in QEMU?

@ffard-lbl
Copy link

@abejgonzalez That's correct. There's two issues that I noticed when building:

  • When I run ./marshal -v build ubuntu-base.json, the build hangs near the end of the build. The disk image is still created, but it doesn't finish running the build process. Attached is the end of the log from the build:
2023-10-02 11:43:46,099 [run         ] [DEBUG]  
2023-10-02 11:43:46,099 [run         ] [DEBUG]  trying to do Ubuntu
2023-10-02 11:43:57,107 [run         ] [DEBUG]  ubuntu login: [   64.559874] cloud-init[400]: Cloud-init v. 22.2-0ubuntu1~20.04.3 running 'modules:config' at Mon, 02 Oct 2023 18:43:48 +0000. Up 56.70 seconds.
2023-10-02 11:44:07,011 [run         ] [DEBUG]  ci-info: no authorized SSH keys fingerprints found for user ubuntu.
2023-10-02 11:44:08,530 [run         ] [DEBUG]  <14>Oct  2 18:44:07 cloud-init: #############################################################
2023-10-02 11:44:08,530 [run         ] [DEBUG]  <14>Oct  2 18:44:07 cloud-init: -----BEGIN SSH HOST KEY FINGERPRINTS-----
2023-10-02 11:44:08,531 [run         ] [DEBUG]  <14>Oct  2 18:44:07 cloud-init: 1024 SHA256:nf0nH7RMsLkAF9Nd9ChLuVGEDuDLTg9+FhagOcNzf7g root@ubuntu (DSA)
2023-10-02 11:44:08,531 [run         ] [DEBUG]  <14>Oct  2 18:44:07 cloud-init: 256 SHA256:GDnUKq2YBx8XN6w6kGOMoWnqROuv1n5icH6+FDzRMdo root@ubuntu (ECDSA)
2023-10-02 11:44:08,532 [run         ] [DEBUG]  <14>Oct  2 18:44:07 cloud-init: 256 SHA256:bjEsl5CvvaPLoKiQU2ZhGlmO8PlFaqW9CO9SZtV4BK0 root@ubuntu (ED25519)
2023-10-02 11:44:08,532 [run         ] [DEBUG]  <14>Oct  2 18:44:08 cloud-init: 3072 SHA256:W6kTWo/2FBIKh3W4jHYr635T/kUX974gBSKJYYUZXow root@ubuntu (RSA)
2023-10-02 11:44:08,532 [run         ] [DEBUG]  <14>Oct  2 18:44:08 cloud-init: -----END SSH HOST KEY FINGERPRINTS-----
2023-10-02 11:44:08,532 [run         ] [DEBUG]  <14>Oct  2 18:44:08 cloud-init: #############################################################
2023-10-02 11:44:08,532 [run         ] [DEBUG]  -----BEGIN SSH HOST KEY KEYS-----
2023-10-02 11:44:08,533 [run         ] [DEBUG]  ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNvc3NxAbe30lV766dy3BRI2JVUO65LuaJvSsdyJST/BVx1Z8H/xnf4wVv4Ds2ZX84UuI3DOy5NE+2/t3POKjOg= root@ubuntu
2023-10-02 11:44:08,533 [run         ] [DEBUG]  ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGALeBAEOzJ5wMHhOWSNvc5Kww4cquuVM08C1rrG2bbi root@ubuntu
2023-10-02 11:44:08,536 [run         ] [DEBUG]  ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCwWJ1KTUZ7vBhpxAbC/w3UdPYSI934VpWuT1kWXvFzmzj3Yg7FkfC3BaqAWrHXnrcug7hQtPm8Qynd8c1ypPK9GDWvue3smtWOMIUoXIKSHUuFRS0gjJeuWhYjj05OpQzhtWCIt/NW8rW/OxfY1epmDzB33ZO8DbHqJqEYUXCyDgt/XmIYWOj7lGsS/fd6nMmjyFscdnv2Ck3e8K3UQbsShU0fP5eAUyKLwi956NDSQot9tCxP2oD1YeVgSaAWMABH4KItbjRSjIACrMvvxAergPmgrznz1k6/JBNanWd3z/IqEURICu2LtzqP8APWGxD3yC845eAJaugFCeLlyol4t9tQ1XIJ3XtGGDkeR/NjcRjiEBeZXCbSzBPvnkrGIJMM7mDvLAfXE7JVrPLhYEHH6Y5RSl+h80JxpEIQZQdQUei9NyixYZV7lEvFOkezHs9nx99M6TH3EPvKf0CmPL09J5rFOzpStxkm5uCWaSX5fVeCd1b9rqy36BKxePaD8zs= root@ubuntu
2023-10-02 11:44:08,536 [run         ] [DEBUG]  -----END SSH HOST KEY KEYS-----
2023-10-02 11:44:08,778 [run         ] [DEBUG]  [   76.230440] cloud-init[428]: Cloud-init v. 22.2-0ubuntu1~20.04.3 running 'modules:final' at Mon, 02 Oct 2023 18:44:04 +0000. Up 72.18 seconds.
2023-10-02 11:44:08,785 [run         ] [DEBUG]  [   76.235478] cloud-init[428]: Cloud-init v. 22.2-0ubuntu1~20.04.3 finished at Mon, 02 Oct 2023 18:44:08 +0000. Datasource DataSourceNoCloud [seed=/var/lib/cloud/seed/nocloud-net][dsmode=net].  Up 76.07 seconds
  • When you launch the ubuntu-base.json image and log in as ubuntu:ubuntu, the console asks for a new password as the original ubuntu password is set to expire at login. This also may be the reason the build halted during the build, as it was asking for an updated password.

@pcg108 pcg108 closed this Oct 19, 2023
@pcg108 pcg108 reopened this Oct 19, 2023
sagark
sagark previously approved these changes Oct 23, 2023
docs/source/distros/Ubuntu.rst Outdated Show resolved Hide resolved
@joonho3020 joonho3020 merged commit b014183 into master Jan 19, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants