Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jan 2022 08:31:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        emulation@FreeBSD.org
Subject:   [Bug 260899] emulators/qemu-user-static: (and -devel) failing because of change to swapoff(2) in -current
Message-ID:  <bug-260899-4077-aNdrroeXfs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260899-4077@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260899-4077@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260899

Martin Birgmeier <d8zNeCFG@aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |d8zNeCFG@aon.at

--- Comment #6 from Martin Birgmeier <d8zNeCFG@aon.at> ---
Created attachment 230725
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D230725&action=
=3Dedit
patch to qemu-user-static-devel

I have been using the attached patch for getting qemu-user-static-devel to
compile on main 398c88c7582a195cbfeb689ceff1400cc717673f.

However, when then using this to run armv6 executables from amd64 (itself a
bhyve VM), many programs abort; the following transcripts starts on amd64,
after the chroot on armv6, after the exit back to amd64; one can see that cc
simply aborts:

[0]# uname -a=20=20=20=20=20=20=20=20
FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0
MBi/main-n243600-4a74367b7a4: Sat Jan  1 15:43:00 CET 2022=20=20=20=20
root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/X=
YZZY_SMP_VM
 amd64
[0]# chroot /d/925s2a
[0]# uname -a=20=20=20
FreeBSD v903.xyzzy 14.0-CURRENT FreeBSD 14.0-CURRENT #0
MBi/main-n243600-4a74367b7a4: Sat Jan  1 15:43:00 CET 2022=20=20=20=20
root@v903.xyzzy:/net/hal/z/OBJ/FreeBSD/amd64/src/MBi/main/amd64.amd64/sys/X=
YZZY_SMP_VM
 arm
[0]# echo $SHELL
/bin/zsh
[0]# ls=20=20=20=20=20=20=20=20=20
.cshrc                                  mnt
.profile                                net
.snap                                   patch.2021-12-31.14:20:19
.sujournal                              proc
bin                                     qemu-arm-static.core
boot                                    rescue
COPYRIGHT                               root
CVS                                     sbin
d                                       srcs
dev                                     sys
etc                                     tmp
lib                                     usr
libexec                                 var
MBi_main.2327598b8ec_ORIG.tar.gz        vol
media
[0]# cc=20=20=20=20=20=20=20=20=20
zsh: segmentation fault (core dumped)  cc
[139]# exit
[139]#=20

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260899-4077-aNdrroeXfs>