NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/54552: NVMM not run Windows 7 32-bit installed OS from .qcow image



>Number:         54552
>Category:       kern
>Synopsis:       NVMM not run Windows 7 32-bit installed OS from .qcow image
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 17 08:55:01 +0000 2019
>Originator:     starsnet
>Release:        Tpkgsrc-2019Q2
>Organization:
no
>Environment:
# uname -a
NetBSD  8.99.50 NetBSD 8.99.50 (GENERIC) #0: Sun Jul  7 17:50:34 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Problem with NVMM. With the operating system Windows 7 32-bit.
during installation (booting from an iso image), the installer starts normally. Installation also proceeds normally.
#qemu-system-x86_64 -hda /.../win7x32.qcow -cdrom /.../Win7.iso -m 2048M -accel nvmm

But when I try to start an already installed system from a file, I get an error:
#qemu-system-x86_64 -hda /.../win7x32.qcow -m 2048M -accel nvmm

NetBSD Virtual Machine Monitor accelerator is operational
qemu-system-x86_64: NVMM: Unexpected VM exit code 0xffffffffffffffff [hw = 0x2]
qemu-system-x86_64: NVMM: Failed to execute a VCPU.
[1] Abort trap (core dumped)

A qemu-system-x86_.core dump is created (the size is equal to the size of the indicated RAM)

The problem is only with Windows 7 32-bit.

Windows 7/10 64-bit not starting (not supported yet)
NetBSD9-beta/amd64 - normally installs and starts.
Debian/amd64 10.1 - also installs and starts normally.
Windows XP SP 3 32-bit - also installs and starts normally.

My current version of NetBSD is 8.99.50
I tried in the current version - last version, NetBSD 9-beta. Downloaded the image, installed the sources and compiled on a clean system - the problem is reproduced.
>How-To-Repeat:
1. create image - ok:
#qemu-img create -f qcow2 /.../win7x32.qcow 20G

2. boot from windows iso-image and install OS - ok:
#qemu-system-x86_64 -hda /.../win7x32.qcow -cdrom /.../Win7.iso -m 2048M -accel nvmm

3. run from image-file - error:
#qemu-system-x86_64 -hda /.../win7x32.qcow -m 2048M -accel nvmm

NetBSD Virtual Machine Monitor accelerator is operational
qemu-system-x86_64: NVMM: Unexpected VM exit code 0xffffffffffffffff [hw = 0x2]
qemu-system-x86_64: NVMM: Failed to execute a VCPU.
[1] Abort trap (core dumped)
>Fix:
After the first reboot of windows - the system starts normally.
An error appears when you try to start the operating system from a file.
I tried with the keys -hda, -drive file = / ..



Home | Main Index | Thread Index | Old Index