[Bug 1860575] Re: qemu64 CPU model is incorrect

2021-05-02 Thread The Lemon Man
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1860575 Title: qemu64 CPU model is incorrect Status in QEMU: New Bug description: At the mom

[Bug 1907969] Re: linux-user/i386: Segfault when mixing threads and signals

2020-12-16 Thread The Lemon Man
I finally understand where the problem is. Qemu's user-mode emulation maps guest threads to native ones by spawning a new native one and running a forked copy of the CPUX86State in parallel with the main thread. This works fine for pretty much every architecture but i386 where the GDT/LDT comes

[Bug 1907969] [NEW] linux-user/i386: Segfault when mixing threads and signals

2020-12-13 Thread The Lemon Man
Public bug reported: Given the following C program, qemu-i386 will surely and certainly segfault when executing it. The problem is only noticeable if the program is statically linked to musl's libc and, as written in the title, it only manifests when targeting i386. Removing the pthread calls o

[Bug 1809291] Re: SD Card not working in Ubuntu 18.10 (CMD 2, 3 timeout). The device worked fine in Ubuntu 18.04 and earlier versions but not in Ubuntu 18.10

2020-11-12 Thread The Lemon Man
The new code in Qemu is correct, the real problem is that the code [1] is trying to negotiate an invalid working voltage with CMD41. The SD specification marks the first 15 bits as reserved (except for the 7th, that's the dual-voltage flag) meaning that compliant cards will timeout as well. If y

[Bug 1860575] Re: qemu64 CPU model is incorrect

2020-01-22 Thread The Lemon Man
The error message is a rather cryptic "LLVM ERROR: 64-bit code requested on a subtarget that doesn't support it!" as it knows Athlon CPUs don't support the AMD64 ISA. I will relay the tip to the people managing the VMs, I guess this problem went unnoticed for so long because there are not many `

[Bug 1860575] [NEW] qemu64 CPU model is incorrect

2020-01-22 Thread The Lemon Man
Public bug reported: At the moment the "qemu64" CPU is defined as follows: ``` .vendor = CPUID_VENDOR_AMD, .family = 6, .model = 6, .stepping = 3, ``` According to Wikipedia [1] this means the CPU is defined as part of the K7 family while the AMD64 ISA was only in