Hi,
this might be related to this upstream bug report:
http://lists.gnu.org/archive/html/qemu-devel/2011-10/msg02929.html.
Since it seems to be an issue with the mapping of the video memory, I
have tried changing the graphics adapter. After changing it from vga
to cirrus, the virtual machine in
Public bug reported:
Hello!
I'm currently testing qemu as a possibility to set up a buildd for the
Debian sh4 port.
I set up qemu and an sh4 chroot as described in the Debian Wiki [1].
This seems to be working mostly fine (besides the fact that qemu
segfaults on an amd64 host while it runs fine
I have enabled this syscall in the source code now and performing a test
build and run and will report back.
Furthermore, looking at the kernel sources, both the 32-bit and 64-bit
Linux SH-specific code defines "sigaltstack" as syscall 186:
>
Ken,
this is known to currently *not* work. As Andreas has already indirectly
explained, qemu does not provide full m68k emulation.
Instead, it supports the reduced m68k instruction set of Motorola's ColdFire
CPU only.
If you need a QEMU version with full m68k support, please have a look at
Laurent,
I just encountered the same missing syscall on qemu-m68k:
Unpacking udev (228-2) over (227-2) ...
Preparing to unpack .../libsystemd0_228-2_m68k.deb ...
Unpacking libsystemd0:m68k (228-2) over (227-2) ...
Processing triggers for man-db (2.7.5-1) ...
Not building database;
e same problem and fixed the issue by setting "-no-relax"
for sparc [1].
Please apply a similar fix for qemu.
Cheers,
Adrian
> [1] https://ghc.haskell.org/trac/ghc/ticket/3791
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Unive
D oftentimes
> blocked the second SIGCHLD.
I have tested Michael's patch and after applying it to my current
qemu-m68k tree, cmake works normally and no longer hangs when executed
on qemu-m68k as it did previously.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glau
Hi Peter!
On 01/07/2016 12:52 PM, Peter Maydell wrote:
> Reviewed-by: Peter Maydell <peter.mayd...@linaro.org>
Has this been committed yet? I can't see the change in cgit.
Cheers,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `
2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805827
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
that right after I sent the
patches in :).
- --
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
-BEGIN PGP SIGNATURE-
Version: GnuPG v2
iQIcB
running "apt-get update" on Debian unstable running on qemu
with glibc_2.21 on m68k.
Cheers,
Adrian
- --
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
linux-user/syscall.c | 8 ++--
linux-user/syscall_defs.h | 2 ++
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6c64ba6..dd6ed47
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
linux-user/m68k/syscall_nr.h | 27 +++
1 file changed, 27 insertions(+)
diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h
index 25f8521..a2daba0 100644
--- a/linux-use
Interestingly, cmake also seems to crash in a similar way:
- Log:
https://buildd.debian.org/status/fetch.php?pkg=apt-cacher-ng=sh4=0.8.8-1=1450985460
- Log:
https://buildd.debian.org/status/fetch.php?pkg=texworks=sh4=0.5~svn1363-6%2Bb1=1450992669
- Log:
Public bug reported:
Hello!
I am currently in the process of bootstrapping ghc for the Debian sh4
port and ran into a strange problem with qemu-sh4-static which randomly
segfaults when running ghc to compile a Haskell source:
root@jessie32:~/ghc-7.8.4/utils/ghc-pwd# ls
Main.hi Main.hs
ate return code (system call to sigreturn) */
>> +abi_ulong retcode_addr = frame_addr +
>> + offsetof(struct target_rt_sigframe,
>> retcode);
>> __put_user(MOVW(2), >retcode[0]);
>> __put_user(TRAP_NOARG, >retcode[1]);
>&g
Otherwise, it
would be great if my patch could be applied to add sigaltstack for
sh4.
Thanks,
Adrian
> [1] https://wiki.debian.org/SH4/sbuildQEMU
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik
---
linux-user/syscall.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 6c64ba6..4d864b2 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -8294,7 +8294,8 @@ abi_long do_syscall(void *cpu_env, int num, abi_long
Hello!
The attached patch enables the sigaltstack syscall in qemu-sh4.
The following minimal test code verifies that sigaltstack works as
expected:
=
#include
#include
#include
#include
jmp_buf exit_jmp;
void handler(int x)
{
gnal 11 (Segmentation fault) - core dumped
Segmentation fault
(sid-sh4-sbuild)root@jessie32:/tmp#
Thus, for me it seems sigaltstack behaves as expected with the patch
applied.
Am I missing something obvious?
Cheers,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glau
.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
On 11/23/2015 11:38 AM, Laurent Vivier wrote:
> Signed-off-by: Laurent Vivier <laur...@vivier.eu>
Tested-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
This patch fixes crashes of qemu-sh4* on amd64 for me [1].
I also haven't seen any regressions ever since.
Cheer
Ping. Any chance to get this merged?
I don't think this patch could have any particular bad impact on qemu as
it affects the sh4 emulation only and so far my tests with building
packages on qemu-sh4 have shown no regressions. But with the patch,
sigaltstack now works fine on sh4 which the above
Alright, I have created a page on the Debian Wiki which explains how to
properly set up a chroot environment for sbuild/m68k on Debian [1].
With this set up, I was able to increase compile performance
dramatically as compared to native m68k hardware or the Aranym Atari
m68k emulator.
Enjoy!
ally appreciate that and I'd be very proud to get my first
official patches into qemu ;-). They've also been tested by me and
reviewed by Laurent.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin
M68k/sbuildQEMU
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
t,
currently testing it. The networking issue has been resolved.
You need to apply both of my patches though as otherwise apt complains
about the missing socket calls 19/20.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Be
On 01/11/2016 03:16 PM, riku.voi...@linaro.org wrote:
> From: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
Commit message / title should probably say "socket calls", not
"socket call" ;). If possible, please fix the grammar mistake :).
In any case, T
t; situation (but not the semantics):
Alright, this should do the trick then.
Adrian
- --
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F91
On 02/04/2016 04:18 PM, John Paul Adrian Glaubitz wrote:
> On 02/03/2016 05:11 PM, Eric Blake wrote:
>> Weird. Wonder why it doesn't complain on that file? I'm
>> guessing that it is due to the #define on the next line.
>> Because rearranging things to put the code after t
On 02/03/2016 10:38 AM, Laurent Vivier wrote:
> Reviewed-by: Laurent Vivier <laur...@vivier.eu>
Any chance to get this merged quickly?
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
ges register_m68k_insns() such that it returns
without doing anything in case the opcode table has already been
built and re-registering the instructions is therefore not necessary
but rather harmful.
Credits go to Michael Karcher for helping to debug these issues!
Cheers,
Adrian
--
.''`. John P
ase. I'm all for that! I'm really motivated to get m68k
support into best shape. qemu-m68k is fun to hack on!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 295
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
target-m68k/translate.c | 4
1 file changed, 4 insertions(+)
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 535d7f9..f508d1e 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/trans
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
target-m68k/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 342c040..535d7f9 100644
--- a/target-m68k/translate.c
+++ b/targe
On 02/03/2016 10:57 AM, Laurent Vivier wrote:
> In fact, the line should be:
>
> +if (opcode_table[0] != NULL)
> +return;
>
> thanks to scripts/checkpatch.pl.
Want me to re-send it?
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
target-m68k/translate.c | 4
1 file changed, 4 insertions(+)
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 535d7f9..a989961 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/trans
Strange. There should be a cover letter coming along as well which
explains my changes. Did you get it?
On 02/03/2016 10:37 AM, John Paul Adrian Glaubitz wrote:
> Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
> ---
> target-m68k/translate.c | 2 +-
>
Hi Laurent!
Here's the second patch again, this time checked with ./scripts/checkpatch.pl.
Thanks for the heads-up!
Adrian
patch
- From 2d8ef8d0244db95e41e04ff909560f12676e1dec Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
Date: Wed, 3 Feb 2016 10:22:35 +0100
Subject: [PATCH 2/2] m68k: Build the opcode table only once to avoid
multithreading issues
Signed-off-by: John Paul Adrian Glaubitz &
in my own
> tree doesn't help.
>
> It's why I try to have them merged.
>
> BTW, Adrian is using this branch (680x0-master-dev) for months to build
> Debian packages.
>
> Thanks,
> Laurent
>
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - gla
Oh, sorry, I must have missed that part. I wasn't aware that Laurent
already got enough feedback to work on revised version. Then I will
be happy to wait and looking forward to the updated patch set! :-)
Thanks for the heads-up!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Devel
atches.
qemu-m68k has helped us in Debian to have the m68k port keep up with
the rest of the architectures.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546
On 05/06/2016 03:24 PM, Andreas Schwab wrote:
> John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de> writes:
>
>> On 05/06/2016 02:44 PM, Andreas Schwab wrote:
>>> You are cheating, you override BOOT_CFLAGS.
>>
>> I'm not doing anything.
>
> Yes
issues in the code, so we are
making some actual progress.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
k=5.3.1-17=1462233110
> [2]
https://buildd.debian.org/status/fetch.php?pkg=gcc-6=m68k=6.1.1-1=1462224003
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
otstrapping gcc? I'm surprised it doesn't work
for you.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
On 05/06/2016 02:44 PM, Andreas Schwab wrote:
> You are cheating, you override BOOT_CFLAGS.
I'm not doing anything. I'm building the package as Matthias has
provided it and it builds fine.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Fr
On 01/25/2017 09:38 PM, Laurent Vivier wrote:
> Reported-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
> Signed-off-by: Laurent Vivier <laur...@vivier.eu>
Tested-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
CC'ing Helge Deller so he
Patchwork has cut off my name again!
Could you please override that?
It's "John Paul Adrian Glaubitz".
Thanks!
> On Feb 16, 2017, at 3:22 PM, Laurent Vivier <laur...@vivier.eu> wrote:
>
> From: Adrian Glaubitz <glaub...@physik.fu-berlin.de>
>
> Signed-off
Hi!
Same as with my previous patch for the sh4 target, here is the updated
syscall definition table for Linux 4.6+. Since the last update to 4.4,
three new syscalls were added.
Thanks,
Adrian
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
linux-user/m68k/syscall_nr.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h
index 4b50fb29b6..4e9e6ebeac 100644
--- a/linux-user/m68k/syscall_nr.h
Hi!
While setting up a fresh Debian unstable sh4 chroot with qemu-sh4-user, I
noticed the syscall definition table for sh4 is not up to date:
Setting up dh-strip-nondeterminism (0.029-2) ...
Setting up libgdk-pixbuf2.0-dev (2.36.3-1) ...
Setting up systemd (232-8) ...
qemu: Unsupported syscall:
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
linux-user/sh4/syscall_nr.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/linux-user/sh4/syscall_nr.h b/linux-user/sh4/syscall_nr.h
index e99f73589d..d6c1e059f6 100644
--- a/linux-us
On 01/16/2017 11:44 PM, John Paul Adrian Glaubitz wrote:
> +#define TARGET_NR_file_range376
> +#define TARGET_NR_preadv2 377
> +#define TARGET_NR_pwritev2 378
Oops, there's a copy-and-paste error. This should be
TARGET_NR_copy_file_range. Wi
Signed-off-by: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
---
linux-user/m68k/syscall_nr.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/linux-user/m68k/syscall_nr.h b/linux-user/m68k/syscall_nr.h
index 4b50fb29b6..d239551b34 100644
--- a/linux-user/m68k/syscall_nr.h
Fixed a copy-and-paste error: s/file_range/copy_file_range/.
Cheers,
Adrian
-static)
$ cp -av qemu-sh4 sid-sh4-sbuild-ghc/usr/bin/qemu-sh4-static
$ chroot sid-sh4-sbuild-ghc
(in chroot):
$ cd /root/ghc-7.8.4/utils/ghc-pwd
$ ghc Main.hs
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub.
o that. Awesome to see progress here :).
I just can't do it right now as I just returned from Asia and just came
to the office to go through a long backlog of work and mail.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet
On 11/04/2016 10:23 AM, John Paul Adrian Glaubitz wrote:
> On 11/03/2016 05:21 PM, Laurent Vivier wrote:
>> It should,:the problem was reported by Adrian (cc:) while compiling ghc
>> in qemu-sh4, but I have just tested the functionality with the softmmu
>> version, not the at
running chroot with "taskset -c 0".
Doesn't help unfortunately, still either crashes or locks up like this:
root@ikarus:~# strace -p 32415
strace: Process 32415 attached
futex(0x7f836c8bd4c8, FUTEX_WAIT_PRIVATE, 7, NULL
with 32415 being the qemu ghc process.
Adrian
--
.''`. John P
^~
1 warning generated.
root@deb4g:~#
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
be related to this gcc bug report [1].
Adrian
> [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51628
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
, both on m68k and sh4. Although it works fine on
qemu-user for ARM.
I will try to reduce the test case.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 295
8=0x r19=0x
r20=0x r21=0x r22=0x r23=0x
(sid-sh4-sbuild)root@nofan:/#
The crash on terminal resize is still present, too.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - gl
On 07/07/2017 10:30 AM, John Paul Adrian Glaubitz wrote:
> The scripts which are run here can be found as
> /var/lib/dpkg/info/tzdata.{config,postinst).
> I don't know yet which command in particular triggers the crash.
Interesting. It crashes for me immediately after resizing the termin
don't know
yet which command in particular triggers the crash.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
upstream soon! Thanks a lot!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
On Thu, Jul 13, 2017 at 11:09:08AM +0200, John Paul Adrian Glaubitz wrote:
> Just as a heads-up: The current set of patches as they are present in
> the tgt-sh4 branch on git://github.com/rth7680/qemu.git are a HUGE
> improvement for qemu-sh4 user mode. Several packages which previously
n join the discussion.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
here?
Was gUSA support recently added to qemu or is this just a fix?
I will give this a try soon. Thanks Laurent for letting me know.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
1 (Segmentation fault) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
root@nofan:/local_scratch/sid-sh4-sbuild>
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Ber
Adrian
> [1] https://people.debian.org/~glaubitz/chroots/unstable-sh4-20150315.tar.gz
> [2] https://people.debian.org/~glaubitz/chroots/unstable-sh4-20170706.tgz
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik
if you generate a qemu binary with it
> and use it in your buildds to test it.
>
> I guess the series can be pulled directly from Richard's branch:
>
> git://github.com/rth7680/qemu.git tgt-sh4
You bet, I will!
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian D
region size. */
This fixes the segfaults for me with newer chroots.
So, just in case:
Tested-By: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
Thanks,
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
On Thu, Jul 06, 2017 at 02:55:02PM +0200, John Paul Adrian Glaubitz wrote:
> This fixes the segfaults for me with newer chroots.
Ok, that was too fast. While some segfaults are now gone, there are
still some other commands segfaulting. Again, reverting patch 5
and Laurent's patch ma
ip (1.6-5) ...
Setting up dash (0.5.8-2.4) ...
Setting up init-system-helpers (1.48) ...
Setting up libpam0g:sh4 (1.1.8-3.6) ...
Setting up libpam-modules-bin (1.1.8-3.6) ...
Setting up bash (4.4-5) ...
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `
Just tested with the latest git snapshot of qemu, still no improvement:
...
checking for gfind... no
checking for find... /usr/bin/find
checking for sort... /usr/bin/sort
checking for GHC Git commit id... given 4986837f8168cacf95c24fecc84d7b36c47f3c11
checking version of ghc... 8.0.1
ghc:
> Add "Return and Deallocate" (rtd) instruction.
>
> RTD #d
>
> (SP) -> PC
> SP + 4 + d -> SP
Tested-By: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debi
html#sparclinux
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
2.13.2
Tested-By: John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
ed(cpu_env)) {
arg4 = arg5;
arg5 = arg6;
}
+#endif
same here.
Dito.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426
* offset is in (3,4), len
> in 5 and advice in 6 */ arg2 = arg3; arg3 = arg4; @@ -11407,7 +11421,7 @@
> abi_long do_syscall(void *cpu_env, int num, abi_long arg1, #ifdef
> TARGET_NR_readahead case TARGET_NR_readahead: #if TARGET_ABI_BITS == 32 -
>if (regpairs_aligned(cpu_env)
rs_aligned(cpu_env)) {
> +if (regpairs_aligned(cpu_env, num)) {
> /* offset is in (3,4), len in 5 and advice in 6 */
> arg2 = arg3;
> arg3 = arg4;
> @@ -11407,7 +11421,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long
> arg1,
>
On 09/13/2017 08:37 PM, James Clarke wrote:
> With the attached patch, qemu-sh4-static now works for file:
I can also confirm that the patch fixes the problem for me.
Would be great if it could get merged in one form or another.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Develo
arg2 = arg3;
arg3 = arg4;
arg4 = arg5;
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Public bug reported:
We recently discovered that file(1) fails on qemu-sh4-user when running
on an ELF file:
(sid_sh4)root@vs94:/# file /bin/bash
/bin/bash: ERROR: ELF 32-bit LSB executable, Renesas SH, version 1 (SYSV) error
reading (Invalid argument)
(sid_sh4)root@vs94:/#
Running with "-d"
ile -d /bin/bash 2>&1`?
> https://people.debian.org/~glaubitz/file-sh4-qemu.txt
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F9
EMU and Microsoft Windows Services for Linux who -
combined together - are certainly not a small number of users.
Isn't there any workaround we can use for the time being?
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - gl
On 11/26/2017 09:28 PM, John Paul Adrian Glaubitz wrote:
> I'm not sure yet what the actual problem is but I thought it should be
> necessary
> to point you at the problem.
Ok, there is already a QEMU bug report for this [1].
Adrian
> [1] https://bugs.launchpad.net/qemu/
ght it should be necessary
to point you at the problem.
Cheers,
Adrian
> [1]
> https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=4b4d4056bb154603f36c6f8845757c1012758158;hp=8d3bd947483f50b57aee7c35c07dc1927d6e8a27
> [2] https://github.com/Microsoft/WSL/issues/1878
--
.''`. Joh
Interestingly, this also affects Microsoft Windows Services For Linux,
i.e. Microsoft's Linux emulation layer.
> https://github.com/Microsoft/WSL/issues/1878
** Bug watch added: github.com/Microsoft/WSL/issues #1878
https://github.com/Microsoft/WSL/issues/1878
--
You received this bug
This might be related to this fix:
>
https://git.qemu.org/?p=qemu.git;a=commit;h=8bf8e9df4a7d82c7a47cc961c9cdee1615595de0
FWIW, if you're interested in sh4, please join #debian-ports on OFTC and
subscribe to the debian-superh mailing list. We're doing lots of sh4
development and testing QEMU in
Public bug reported:
Some of the recent changes introduced a regression which makes the
OpenJDK JVM crash on qemu-sh4:
(sid-sh4-sbuild)root@nofan:/# java -version
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
(sid-sh4-sbuild)root@nofan:/#
An older version
This might be related to this fix:
>
https://git.qemu.org/?p=qemu.git;a=commit;h=8bf8e9df4a7d82c7a47cc961c9cdee1615595de0
FWIW, if you're interested in sh4, please join #debian-ports on OFTC and
subscribe to the debian-superh mailing list. We're doing lots of sh4
development and testing QEMU in
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--
You received this bug notification because you are a member of qemu-
devel-ml,
04 04 c294a7c102d27295f8d81cc06b5d4d17357440ad
5a1268b7634f69f0806f22161ec7d6a1a26c8812 M include
Reverting the commit resolves the issue.
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaub...@debian.org
`. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
`-G
I have verified that this patch [1] in glibc_2.25 and glibc_2.26 fixes
the assert.
> [1] https://sourceware.org/bugzilla/show_bug.cgi?id=22273
** Bug watch added: Sourceware.org Bugzilla #22273
https://sourceware.org/bugzilla/show_bug.cgi?id=22273
--
You received this bug notification
I just gave it a test with qemu-arm and Go binaries still crash for me,
albeit differently:
root@nofan:/# cat hello.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
root@nofan:/# gccgo-7 hello.go -o hello
root@nofan:/# ./hello
mmap errno 9
fatal error: mmap
runtime
Public bug reported:
Go binaries panic with "mmap errno 9" on qemu-user.
root@nofan:/# cat hello.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
root@nofan:/# gccgo-7 hello.go -o hello
root@nofan:/# ./hello
mmap errno 9
fatal error: mmap
runtime stack:
mmap errno
1 - 100 of 190 matches
Mail list logo