Re: [Qemu-devel] Bug in mips user-linux

2016-10-19 Thread Torbjörn Granlund
Yongbok Kim writes: Hi I've tested the binary with the upstream but couldn't reproduce the problem. Would you please provide more details? What qemu version did you use? Specifically, did you use any of the versions which I listed as failing? If you used something newer than 2.7.0, then

Re: [Qemu-devel] Bug in s390 instruction emulation

2014-12-15 Thread Torbjörn Granlund
Paolo Bonzini writes: Something like this? diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c index 5a55de8..4de3fc2 100644 --- a/target-s390x/mem_helper.c +++ b/target-s390x/mem_helper.c @@ -490,10 +490,18 @@ uint32_t HELPER(ex)(CPUS390XState *env, uint32_t cc,

Re: [Qemu-devel] Bug in s390 instruction emulation

2014-12-13 Thread Torbjörn Granlund
I wrote: The s390 instruction emulation makes GMP fail most of its tests. I have isolated one of the problems: How to reproduce: gcc m.c x.s ./a.out Correct output on actual hardware: Incorrect output using QEMU 2.2.0 rc4: 0 File m.c: #include int f

[Qemu-devel] Bug in s390 instruction emulation

2014-12-03 Thread Torbjörn Granlund
The s390 instruction emulation makes GMP fail most of its tests. I have isolated one of the problems: How to reproduce: gcc m.c x.s ./a.out Correct output on actual hardware: Incorrect output using QEMU 2.2.0 rc4: 0 File m.c: #include int foo(); int main() { printf("%x\n", foo()); re

Re: [Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el

2014-10-22 Thread Torbjörn Granlund
Aurelien Jarno writes: On Fri, Oct 17, 2014 at 08:57:38PM +0200, Torbjörn Granlund wrote: > Aurelien Jarno writes: > > I am using 2.1.2 under GNU/Linux. > > Ah, so you're not trying to reproduce the problem! I do. Well you talked about 2.1.0, the

Re: [Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el

2014-10-17 Thread Torbjörn Granlund
Aurelien Jarno writes: I am using 2.1.2 under GNU/Linux. Ah, so you're not trying to reproduce the problem! Are you passing the -cpu 5Kc argument? I don't think it's irrelevant, that's why I asked. If you don't provide this information, we won't be able to check which code paths are

Re: [Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el

2014-10-17 Thread Torbjörn Granlund
Aurelien Jarno writes: I have installation running in qemu-system-mips with weeks of uptime without any problem. I have however tried the above with QEMU 2.1, and I have been unable to reproduce the issue. I have never had these problems with qemu-system-mips. They only happen with a 64-

Re: [Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el

2014-08-02 Thread Torbjörn Granlund
I forgot to mention one of the popular crashes: Assertion failed: (len <= 64), function tcg_gen_deposit_i64, file /var/tmp/pkg/usr/ports/emulators/qemu-devel/work/qemu-2.0.0/tcg/tcg-op.h, line 2206. (This corresponds to qemu 2.1.0) Note that segfaults also happened in the recent past. Not sur

[Qemu-devel] Crashes of qemu-system-mips64 and qemu-system-mips64el

2014-08-02 Thread Torbjörn Granlund
Qemu versions 1.7.0, 1.7.1, 2.0.0, 2.1.0 do not run Debian mips64 BE or LE stably. While install in 32-bit mode typically works, running the 64-bit kernel causes qemu to segfault or abort after a while. How to reproduce: Grab installation kernel and initrd: ftp://ftp.debian.org/debian/dists/whe