All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1917591] [NEW] qemu-i386 under aarch64: Segfaulting on Steamcmd
@ 2021-03-03  9:15 Jaap Buurman
  2021-05-13 11:47 ` [Bug 1917591] " Thomas Huth
  2021-07-13  4:17 ` Launchpad Bug Tracker
  0 siblings, 2 replies; 3+ messages in thread
From: Jaap Buurman @ 2021-03-03  9:15 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

I am trying to set up a Valheim server on my Raspberry Pi 4 (8GB). I
have installed the aarch64 image of Arm Arch Linux.

I installed qemu-user-static (version 5.2.0 at this time of writing) from the AUR: https://aur.archlinux.org/packages/qemu-user-static/
I have correctly set up binfmt support: https://aur.archlinux.org/packages/binfmt-qemu-static-all-arch/

This allows me to successfully run i386 and amd64 docker images:

[alarm@server ~]$ sudo docker run --rm i386/debian uname -a
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Linux 9fd8d345b0aa 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 i686 GNU/Linux

and

[alarm@server ~]$ sudo docker run --rm amd64/debian uname -a
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
Linux 4f50fd228ab6 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 x86_64 GNU/Linux

However, when I try to run the docker image that is going to host the
server, the download of Valheim never succeeds because the used steamcmd
application segfaults:

The following command successfully runs the server: sudo docker run -d
--name valheim-server -p 2456-2458:2456-2458/udp -e SERVER_NAME="My
Server" -e WORLD_NAME="Neotopia" -e SERVER_PASS="secret" lloesche
/valheim-server

However, when we look into the container's logs via this command: sudo
docker logs valheim-server

We see the following entry in the log file: ./steamcmd.sh: line 38:
86 Segmentation fault      (core dumped) $DEBUGGER "$STEAMEXE" "$@"

This means that the download never completes, and therefor the Valheim
server is never actually started. Any help would be much appreciated. If
there is anything unclear or if you need more details, please let me
know!

** Affects: qemu
     Importance: Undecided
         Status: New

** Description changed:

- I am trying to set up a Valheim server on my Raspberry Pi. I have
- installed the aarch64 image of Arm Arch Linux.
+ I am trying to set up a Valheim server on my Raspberry Pi 4 (8GB). I
+ have installed the aarch64 image of Arm Arch Linux.
  
- I installed qemu-user-static from the AUR: https://aur.archlinux.org/packages/qemu-user-static/
+ I installed qemu-user-static (version 5.2.0 at this time of writing) from the AUR: https://aur.archlinux.org/packages/qemu-user-static/
  I have correctly set up binfmt support: https://aur.archlinux.org/packages/binfmt-qemu-static-all-arch/
  
  This allows me to successfully run i386 and amd64 docker images:
  
  [alarm@server ~]$ sudo docker run --rm i386/debian uname -a
  WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
  Linux 9fd8d345b0aa 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 i686 GNU/Linux
  
  and
  
  [alarm@server ~]$ sudo docker run --rm amd64/debian uname -a
  WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
  Linux 4f50fd228ab6 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 x86_64 GNU/Linux
  
  However, when I try to run the docker image that is going to host the
  server, the download of Valheim never succeeds because the used steamcmd
  application segfaults:
  
  The following command successfully runs the server: sudo docker run -d
  --name valheim-server -p 2456-2458:2456-2458/udp -e SERVER_NAME="My
  Server" -e WORLD_NAME="Neotopia" -e SERVER_PASS="secret" lloesche
  /valheim-server
  
  However, when we look into the container's logs via this command: sudo
  docker logs valheim-server
  
  We see the following entry in the log file: ./steamcmd.sh: line 38:
  86 Segmentation fault      (core dumped) $DEBUGGER "$STEAMEXE" "$@"
  
  This means that the download never completes, and therefor the Valheim
  server is never actually started. Any help would be much appreciated. If
  there is anything unclear or if you need more details, please let me
  know!

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1917591

Title:
  qemu-i386 under aarch64: Segfaulting on Steamcmd

Status in QEMU:
  New

Bug description:
  I am trying to set up a Valheim server on my Raspberry Pi 4 (8GB). I
  have installed the aarch64 image of Arm Arch Linux.

  I installed qemu-user-static (version 5.2.0 at this time of writing) from the AUR: https://aur.archlinux.org/packages/qemu-user-static/
  I have correctly set up binfmt support: https://aur.archlinux.org/packages/binfmt-qemu-static-all-arch/

  This allows me to successfully run i386 and amd64 docker images:

  [alarm@server ~]$ sudo docker run --rm i386/debian uname -a
  WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
  Linux 9fd8d345b0aa 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 i686 GNU/Linux

  and

  [alarm@server ~]$ sudo docker run --rm amd64/debian uname -a
  WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
  Linux 4f50fd228ab6 5.11.1-1-ARCH #1 SMP Tue Feb 23 20:00:47 MST 2021 x86_64 GNU/Linux

  However, when I try to run the docker image that is going to host the
  server, the download of Valheim never succeeds because the used
  steamcmd application segfaults:

  The following command successfully runs the server: sudo docker run -d
  --name valheim-server -p 2456-2458:2456-2458/udp -e SERVER_NAME="My
  Server" -e WORLD_NAME="Neotopia" -e SERVER_PASS="secret" lloesche
  /valheim-server

  However, when we look into the container's logs via this command: sudo
  docker logs valheim-server

  We see the following entry in the log file: ./steamcmd.sh: line 38:
  86 Segmentation fault      (core dumped) $DEBUGGER "$STEAMEXE" "$@"

  This means that the download never completes, and therefor the Valheim
  server is never actually started. Any help would be much appreciated.
  If there is anything unclear or if you need more details, please let
  me know!

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1917591/+subscriptions


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-13  4:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-03  9:15 [Bug 1917591] [NEW] qemu-i386 under aarch64: Segfaulting on Steamcmd Jaap Buurman
2021-05-13 11:47 ` [Bug 1917591] " Thomas Huth
2021-07-13  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.