qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf
@ 2019-07-30 10:26 James Smart
  2019-09-04 10:37 ` [Qemu-devel] [Bug 1838390] " Felipe Franciosi
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: James Smart @ 2019-07-30 10:26 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

Installed qemu 4.0.0 by homebrew, used below commands:

1. qemu-img create -f raw arch-vm.img 100G
2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

Displayed bootloader menu successfully, select "Boot Arch Linux" then
crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
failed.

Use tcg accelerator has no problem but very slow.

See attachment for full crash report.

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: hvf macos

** Attachment added: "Untitled-1"
   https://bugs.launchpad.net/bugs/1838390/+attachment/5280003/+files/Untitled-1

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Qemu-devel] [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
@ 2019-09-04 10:37 ` Felipe Franciosi
  2019-12-25 11:16 ` Jimmy
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Felipe Franciosi @ 2019-09-04 10:37 UTC (permalink / raw)
  To: qemu-devel

Also happens to me on a freshly built Qemu master (tip 23919ddfd561).
MBP15,2 OSX 10.14.6

Qemu command line:
qemu/x86_64-softmmu/qemu-system-x86_64 -cpu host -accel hvf -m 4G -smp 8 -vga std -nographic -vnc :1 -netdev user,id=net0 -device e1000e,netdev=net0 buster.qcow

Guest works fine until I try to build a linux-stable tree with "make
-j8".

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
  2019-09-04 10:37 ` [Qemu-devel] [Bug 1838390] " Felipe Franciosi
@ 2019-12-25 11:16 ` Jimmy
  2019-12-25 11:18 ` Jimmy
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jimmy @ 2019-12-25 11:16 UTC (permalink / raw)
  To: qemu-devel

Ubuntu 18.04 VM crashes after login. Works when the RAM is 4 Gb. Posting
this here as the error message looked very similar.

qemu-system-x86_64   -m 6G  -vga virtio   -show-cursor   -usb   -device
usb-tablet   -enable-kvm   -drive file=~/QEMU/ubuntu-
desktop-18.04.qcow2,if=virtio   -accel hvf   -cpu host

Crashed with below message
vmx_write_mem: mmu_gva_to_gpa ffff97ccb8dbe000 failed
Abort trap: 6

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
  2019-09-04 10:37 ` [Qemu-devel] [Bug 1838390] " Felipe Franciosi
  2019-12-25 11:16 ` Jimmy
@ 2019-12-25 11:18 ` Jimmy
  2020-09-04 18:20 ` Jordan Williams
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jimmy @ 2019-12-25 11:18 UTC (permalink / raw)
  To: qemu-devel

Crash report

** Attachment added: "mac_qemu_crash_report.txt"
   https://bugs.launchpad.net/qemu/+bug/1838390/+attachment/5315306/+files/mac_qemu_crash_report.txt

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
                   ` (2 preceding siblings ...)
  2019-12-25 11:18 ` Jimmy
@ 2020-09-04 18:20 ` Jordan Williams
  2020-09-08 13:13 ` Jordan Williams
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jordan Williams @ 2020-09-04 18:20 UTC (permalink / raw)
  To: qemu-devel

I think I was able to fix this crash by specifying the exact host model
for the cpu argument.

1. Determine the CPU type of the host machine.

$ sysctl -a | grep machdep.cpu.brand_string
machdep.cpu.brand_string: Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz

2. Find the matching CPU model supported by QEMU.

$ qemu-system-x86_64 -cpu help


This CPU corresponds to "x86 Haswell-v4" in this instance.

3. Substitute the CPU model in the QEMU command.

$ qemu-system-x86_64 -cpu Haswell-v4 ...

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
                   ` (3 preceding siblings ...)
  2020-09-04 18:20 ` Jordan Williams
@ 2020-09-08 13:13 ` Jordan Williams
  2021-04-22  7:16 ` Thomas Huth
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: Jordan Williams @ 2020-09-08 13:13 UTC (permalink / raw)
  To: qemu-devel

Related StackOverflow question:
https://stackoverflow.com/q/60231203/9835303

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  New

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
                   ` (4 preceding siblings ...)
  2020-09-08 13:13 ` Jordan Williams
@ 2021-04-22  7:16 ` Thomas Huth
  2021-06-22  4:18 ` Launchpad Bug Tracker
  2022-06-30 17:32 ` Daniel Kolakowski
  7 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2021-04-22  7:16 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: New => Incomplete

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  Incomplete

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
                   ` (5 preceding siblings ...)
  2021-04-22  7:16 ` Thomas Huth
@ 2021-06-22  4:18 ` Launchpad Bug Tracker
  2022-06-30 17:32 ` Daniel Kolakowski
  7 siblings, 0 replies; 9+ messages in thread
From: Launchpad Bug Tracker @ 2021-06-22  4:18 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  Expired

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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


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

* [Bug 1838390] Re: vmx_write_mem: mmu_gva_to_gpa failed when using hvf
  2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
                   ` (6 preceding siblings ...)
  2021-06-22  4:18 ` Launchpad Bug Tracker
@ 2022-06-30 17:32 ` Daniel Kolakowski
  7 siblings, 0 replies; 9+ messages in thread
From: Daniel Kolakowski @ 2022-06-30 17:32 UTC (permalink / raw)
  To: qemu-devel

It still happens to me when I try to run Haiku builds on my macos 10.14.
* QEMU emulator version 7.0.0

Command line:
qemu-system-x86_64 -machine q35,accel=hvf -cpu host -smp 4 -m 2048 -vga vmware -boot menu=on -drive file="haiku-minimum.mmc",if=none,format=raw,id=x0 -device ide-hd,drive=x0,bus=ide.0 -usb -device qemu-xhci,id=xhci -device usb-mouse -device usb-kbd -serial stdio -rtc clock=vm,base=localtime

Output:
[ipro1000] (em) Link is up 1000 Mbps Full Duplex
framebuffer: init_hardware()
vmx_write_mem: mmu_gva_to_gpa ffffffff853b3000 failed
[1]    82284 abort      qemu-system-x86_64 -machine q35,accel=hvf -cpu host -smp 4 -m 2048 -vga vmwar

Haiku boots most of the way and crashes when trying to show desktop.
Same happens with -vga virtio and with -vga option completely removed.

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

Title:
  vmx_write_mem: mmu_gva_to_gpa failed when using hvf

Status in QEMU:
  Expired

Bug description:
  Installed qemu 4.0.0 by homebrew, used below commands:

  1. qemu-img create -f raw arch-vm.img 100G
  2. qemu-system-x86_64 -show-cursor -only-migratable -nodefaults -boot order=d -cdrom archlinux-2019.07.01-x86_64.iso -cpu host -device virtio-keyboard -device virtio-mouse -device virtio-tablet -drive file=arch-vm.img,format=raw,if=virtio -m 4096 -machine q35,accel=hvf,vmport=off -nic user,ipv6=off,model=virtio -smp 4,sockets=1,cores=2,threads=2 -soundhw hda -vga virtio

  Displayed bootloader menu successfully, select "Boot Arch Linux" then
  crashed with message: vmx_write_mem: mmu_gva_to_gpa ffff91953b540000
  failed.

  Use tcg accelerator has no problem but very slow.

  See attachment for full crash report.

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



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

end of thread, other threads:[~2022-06-30 17:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 10:26 [Qemu-devel] [Bug 1838390] [NEW] vmx_write_mem: mmu_gva_to_gpa failed when using hvf James Smart
2019-09-04 10:37 ` [Qemu-devel] [Bug 1838390] " Felipe Franciosi
2019-12-25 11:16 ` Jimmy
2019-12-25 11:18 ` Jimmy
2020-09-04 18:20 ` Jordan Williams
2020-09-08 13:13 ` Jordan Williams
2021-04-22  7:16 ` Thomas Huth
2021-06-22  4:18 ` Launchpad Bug Tracker
2022-06-30 17:32 ` Daniel Kolakowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).