Skip to contentSkip to conversation

Help with Windows NT 4.0

Qemu-devel Programmingkid 5 participants 14 messages Aug 13, 2017 – Aug 22, 2017

lore
Share & tools
lore
#0 lore raw

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

#1 lore raw
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

#2 lore raw
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Quoted 6 lines
Quoted 1 line

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

FWIW I used to run NT 4.0 in QEMU 0.9.1 without too many problems, (although every so often the mouse would go crazy and it would require a reboot). The only thing I needed to do was install updated VGA drivers from http://www.bearwindows.boot-land.net/vbemp.htm in order to prevent issues with the mouse pointer not displaying correctly.

I'm also fairly sure that was with a single -hda on the command line, so it might be useful to go back quite far back in time to figure out what changed.

ATB,

Mark.

#3 lore raw
Quoted 27 lines · Mark Cave-Ayland
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Quoted 6 lines
Quoted 1 line

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

FWIW I used to run NT 4.0 in QEMU 0.9.1 without too many problems, (although every so often the mouse would go crazy and it would require a reboot). The only thing I needed to do was install updated VGA drivers from http://www.bearwindows.boot-land.net/vbemp.htm in order to prevent issues with the mouse pointer not displaying correctly.

Quoted 8 lines

I'm also fairly sure that was with a single -hda on the command line, so it might be useful to go back quite far back in time to figure out what changed.

ATB,

Mark.

Thanks for the info. Trying to build 0.9.1 is going to be challenging. It requires GCC 3.x.

#4 lore raw
In reply to Mark Cave-Ayland
Quoted 27 lines · Mark Cave-Ayland
Quoted 9 lines · Paolo Bonzini
Quoted 8 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Quoted 6 lines
Quoted 1 line

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

FWIW I used to run NT 4.0 in QEMU 0.9.1 without too many problems, (although every so often the mouse would go crazy and it would require a reboot). The only thing I needed to do was install updated VGA drivers from http://www.bearwindows.boot-land.net/vbemp.htm in order to prevent issues with the mouse pointer not displaying correctly.

Quoted 8 lines

I'm also fairly sure that was with a single -hda on the command line, so it might be useful to go back quite far back in time to figure out what changed.

ATB,

Mark.

I encountered the mouse problem also. It acts very similar to what we saw with Mac OS 9 not too long ago.

#5 lore raw
In reply to Paolo Bonzini
Quoted 14 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Quoted 8 lines

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

#6 lore raw
Quoted 19 lines · Programmingkid
Quoted 19 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Quoted 5 lines
Quoted 3 lines

Thanks,

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

author
#7 lore raw
Quoted 22 lines · Paolo Bonzini
Quoted 21 lines · Programmingkid
Quoted 21 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

Here is what I tried and the results:
QEMU Windows NT 4.0 Status
--------- --------------------------------
0.9.1 Works
0.10.2 Freezes at the blue startup screen
0.13.0 Freezes at the blue startup screen
1.0.1 Freezes at the blue startup screen

I'm working to find if a single commit broke QEMU's Windows NT 4.0 compatibility. I think its possible the BIOS might be the issue.

author
#8 lore raw
In reply to Paolo Bonzini
Quoted 20 lines · Paolo Bonzini
Quoted 19 lines · Programmingkid
Quoted 19 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

Thanks,

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

After doing a lot of bisecting I found a patch that did break Windows NT 4.0 compatibility long ago. Not sure if it is the problem we face today. This is it:

commit 2bec46dc97571a3c34b18fe4ca198e7bfbdca41f

Author: aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Date:   Mon Nov 24 20:21:41 2008 +0000

vga optimization (Glauber Costa)

Hypervisors like KVM perform badly while doing mmio on a loop, because it'll generate an exit on each access. This is the case with VGA, which results in very bad performance.

In this patch, we map the linear frame buffer as RAM, make sure it has dirty region tracking enabled, and then just let the region to be written.

#9 lore raw
In reply to Paolo Bonzini
Quoted 25 lines · Paolo Bonzini
Quoted 21 lines · Programmingkid
Quoted 21 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

I finally figured out why I was seeing the INACESSIBLE_BOOT_DEVICE error. It was because of the qcow2 image format. As soon as I switched to the qcow format, the error disappeared.

#10 lore raw
Quoted 27 lines · Programmingkid
Quoted 27 lines · Paolo Bonzini
Quoted 23 lines · Programmingkid
Quoted 22 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

I finally figured out why I was seeing the INACESSIBLE_BOOT_DEVICE error. It was because of the qcow2 image format. As soon as I switched to the qcow format, the error disappeared.

That's weird. The image format is not guest visible. Probably you are hitting some sort of timing issue.

Signature · 4 lines
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu
#11 lore raw
Quoted 34 lines · Artyom Tarasenko
Quoted 29 lines · Programmingkid
Quoted 29 lines · Paolo Bonzini
Quoted 24 lines · Programmingkid
Quoted 14 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Quoted 8 lines

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Quoted 15 lines
Quoted 5 lines
Quoted 3 lines

Try with 0.12.

Paolo

I finally figured out why I was seeing the INACESSIBLE_BOOT_DEVICE error. It was because of the qcow2 image format. As soon as I switched to the qcow format, the error disappeared.

That's weird. The image format is not guest visible. Probably you are hitting some sort of timing issue.

Signature · 4 lines
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

I'm not sure how timing is involved but I'm pretty sure I've heard about guests having problems with the qcow2 format in the past.

#12 lore raw
Quoted 44 lines · Programmingkid
Quoted 44 lines · Artyom Tarasenko
Quoted 27 lines · Programmingkid
Quoted 27 lines · Paolo Bonzini
Quoted 23 lines · Programmingkid
Quoted 22 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

I finally figured out why I was seeing the INACESSIBLE_BOOT_DEVICE error. It was because of the qcow2 image format. As soon as I switched to the qcow format, the error disappeared.

That's weird. The image format is not guest visible. Probably you are hitting some sort of timing issue.

Quoted 8 lines
Quoted 5 lines
Signature · 4 lines
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

I'm not sure how timing is involved but I'm pretty sure I've heard about guests having problems with the qcow2 format in the past.

If the qcow2 driver in QEMU is written correctly, it should be 100% invisible to guests. There should be no actual way to determine in any way that qcow2 is being used.

Either the qcow2 driver is broken (unlikely), or the way in which the qcow2 driver is written is exposing race conditions or other timing problems in either the qcow2 driver, the guest, or both.

The odds of this being a "qcow2 problem" are pretty slim.

--js

#13 lore raw
Quoted 54 lines · John Snow
Quoted 48 lines · Programmingkid
Quoted 48 lines · Artyom Tarasenko
Quoted 27 lines · Programmingkid
Quoted 27 lines · Paolo Bonzini
Quoted 23 lines · Programmingkid
Quoted 22 lines · Paolo Bonzini
Quoted 9 lines · Programmingkid

Lately I found out that Windows NT 4.0 seems to work well with the 486 and pentium processors. Using "-cpu 486" made installing it actually work. Now I am seeing another issue. When I boot Windows NT 4.0 I see this error message:

*** STOP: 0x0000007B (0x807A8610,0x00000000,0x00000000,0x00000000) INACESSIBLE_BOOT_DEVICE

Would anyone know a way to solve this issue?

Hervé is probably the best person to answer this question. Maybe try installing it with SCSI disks ("-drive if=scsi,id=hd,file=... -drive if=scsi,id=cd,file=... -device lsi -device scsi-hd,drive=hd -device scsi-cd,drive=cd").

Thanks,

Paolo

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Thanks for the help. Unfortunately trying to boot from the install CD leads to the INACCESSIBLE_BOOT_DEVICE error when using SCSI.

Try with 0.12.

Paolo

I finally figured out why I was seeing the INACESSIBLE_BOOT_DEVICE error. It was because of the qcow2 image format. As soon as I switched to the qcow format, the error disappeared.

That's weird. The image format is not guest visible. Probably you are hitting some sort of timing issue.

Signature · 2 lines
Regards,
Artyom Tarasenko
Quoted 8 lines
Quoted 4 lines
Quoted 1 line

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

I'm not sure how timing is involved but I'm pretty sure I've heard about guests having problems with the qcow2 format in the past.

If the qcow2 driver in QEMU is written correctly, it should be 100% invisible to guests. There should be no actual way to determine in any way that qcow2 is being used.

That is what I thought.

Quoted 3 lines

Either the qcow2 driver is broken (unlikely), or the way in which the qcow2 driver is written is exposing race conditions or other timing problems in either the qcow2 driver, the guest, or both.

Interesting idea.

Quoted 4 lines

The odds of this being a "qcow2 problem" are pretty slim.

--js

To anyone who wishes to recreate this test here is what you need to do.

Download this iso:
https://archive.org/download/Microsoft_Windows_NT_Workstation_4.0_Microsoft_1996/Microsoft%20Windows%20NT%20Workstation%20(4.0)%20(Microsoft)%20(1996).iso

Create the qcow hard drive image file:
qemu-img create -f qcow qcowtest.qcow 4G

Create the qcow2 hard drive image file:
qemu-img create -f qcow2 qcow2test.qcow2 4G

Install Windows NT 4.0 for each hard drive image file type:
qemu-system-i386 -cpu pentium -vga cirrus -hda qcowtest.qcow -boot c -cdrom <Windows NT 4.0 iso file>

qemu-system-i386 -cpu pentium -vga cirrus -hda qcow2test.qcow2 -boot c -cdrom <Windows NT 4.0 iso file>

The actual installation for Windows NT 4.0 only takes about 5 minutes to do, so it should be an easy test to do. Once done installing and setting up Windows, try quitting and relaunching QEMU for each image format.

Windows NT Workstation 4.0 CD-KEY: 30495-0006276-08164

Please let us know your results.