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

apps not working when running run-app-elfloader #1111

Open
sl-81 opened this issue Sep 24, 2023 · 2 comments
Open

apps not working when running run-app-elfloader #1111

sl-81 opened this issue Sep 24, 2023 · 2 comments
Labels
kind/bug Something isn't working

Comments

@sl-81
Copy link

sl-81 commented Sep 24, 2023

I was trying to run the following commands on an arm64 machine and the Unikraft logo and hello world didn't print as expected.

This was the command ran

/home/ubuntu/.local/share/kraftkit/runtime/10090789-e1ff-4af0-86f6-eaeb611e374a/machine.log

### Describe the bug

SeaBIOS (version 1.16.0-debian-1.16.0-5)
Booting from ROM..[    0.000000] CRIT: [libkvmplat] <paging.c @  541> Assertion failure: ukarch_paddr_range_isvalid(pa)
ubuntu@localhost:~/run-app-elfloader$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 23.04"
NAME="Ubuntu"
VERSION_ID="23.04"
VERSION="23.04 (Lunar Lobster)"
VERSION_CODENAME=lunar
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=lunar
LOGO=ubuntu-logo
ubuntu@localhost:~/run-app-elfloader$ uname -r
6.3.0-7-asahi
ubuntu@localhost:~/run-app-elfloader$ qemu-system-x86_64 --version
QEMU emulator version 7.2.0 (Debian 1:7.2+dfsg-5ubuntu2.2)
Copyright (c) 2003-2022 Fabrice Bellard and the QEMU Project developers
ubuntu@localhost:~/run-app-elfloader$ cat new-run.sh 
#!/bin/bash

qemu-system-x86_64 \
	-m 2G \
	-nographic \
	-nodefaults \
	-display none \
	-serial stdio \
	-device isa-debug-exit \
	-fsdev local,security_model=none,id=hvirtio0,path=../dynamic-apps/lang/c/helloworld/ \
	-device virtio-9p-pci,fsdev=hvirtio0,mount_tag=fs1 \
	-kernel /home/ubuntu/run-app-elfloader/app-elfloader_qemu-x86_64 \
	-cpu max \
	-append "helloworld"

### Steps to reproduce

git clone https://github.com/unikraft/run-app-elfloader
git clone https://github.com/unikraft/static-pie-apps
git clone https://github.com/unikraft/dynamic-apps

cd run-app-elfloader/
./run.sh -d -r ../dynamic-apps/lang/c/helloworld/ helloworld

### Expected behavior

Expected to print Unikraft logo and hello world




### Which architectures were you using or does this bug affect?

arm64

### Which platforms were you using or does this bug affect?

kvm

### Relevant log output

```shell
SeaBIOS (version 1.16.0-debian-1.16.0-5)
Booting from ROM..[    0.000000] CRIT: [libkvmplat] <paging.c @  541> Assertion failure: ukarch_paddr_range_isvalid(pa)
@sl-81 sl-81 added the kind/bug Something isn't working label Sep 24, 2023
@razvand
Copy link
Contributor

razvand commented Sep 24, 2023

@sl-81 , please use triple backticks to format code; see here information on GitHub Markdown syntax for code formatting.

Also add a text description at the very beginning detailing the problem.

@razvand
Copy link
Contributor

razvand commented Sep 24, 2023

5 HP awarded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

2 participants