VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
|
2016-06-30, 23:00
(This post was last modified: 2016-06-30 23:18 by pxe_curious.)
Post: #1
|
|||
|
|||
VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
Ran into an issue booting WinPE using WIMBOOT:
- Happens on VMware 5.5 and 6.0 with latest updates. - Happens whether I use undionly.kpxe, ipxe.pxe or ipxe.kpxe. - Only happens with VMs that have more than 1 vCPU. 1 vCPU = no problem. - Only happens when the VM is using a legacy BIOS, no problem if using EFI. - The WinPE I am using does have drivers injected into it, but I also tested with an unaltered WINPE.WIM with same effect. - Also booted the WinPE via ISO and it did not BSoD, hence not a driver issue with the WinPE. - Using latest WIMBOOT 2.5.2. - No problem with physical hardware with 2 sockets. Problem seems to be limited to VMware VMs. - Tried VM Hardware types 9, 10 and 11 and also with different versions of Guest OS types. Code snippet of iPXE script that loads the content: Code: iseq ${arch} 64 && set winpe winpe_x64.wim || set winpe winpe_x86.wim I also tried without loading the fonts and not specifying the 'gui' option for WIMBOOT. The BSoD I get with the 64-bit WinPE is PAGE_FAULT_IN_NONPAGED_AREA (STOP: 0x00000050). The 32-bit WinPE's BSoD is IRQL_NOT_LESS_OR_EQUAL (STOP: 0x0000000A). If I set the VM to 1 vCPU, it PXE boots fine, loads undionly.kpxe, loads and executes the script, loads all images and starts bootmgr which loads the image files and then starts the WinPE. Everything works as expected. If I set the VM to 2 vCPU (or more), it PXE boots fine, loads undionly.kpxe, loads and executes the script, loads all images and starts bootmgr which loads the image files and then tries to start Windows at which point it briefly hangs and then shows the BSoD. If I then change the vCPU count back to 1, it boots fine again. This is true for both the 32-bit and 64-bit WinPE. Any ideas what can be done here? Screenshots: BSOD 64-bit: http://imgur.com/8sTrvvx BSOD 32-bit: http://imgur.com/F373cGn WIMBOOT: http://imgur.com/kNInEus |
|||
2016-07-01, 16:12
Post: #2
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
Try VM hardware type 8...
|
|||
2016-07-05, 14:06
(This post was last modified: 2016-07-05 14:22 by pxe_curious.)
Post: #3
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
(2016-07-01 16:12)d4rk3 Wrote: Try VM hardware type 8... I wouldn't have thought so, but hardware type 8 does work with more than one vCPU. Any idea what the difference is and how to get the later hardware types working? I did some more testing and hardware type 8 and 9 are working. I probably screwed up my earlier test of hardware type 9. But a new VM with hardware type 8 boots fine into WinPE using WIMBOOT. Also upgrading the VM from type 8 to type 9 works. Also a new VM created as type 9 works. Upgrading to type 10 or creating a new machine as type 10 both fail with the BSoD. Same is true for type 11. |
|||
2016-07-05, 17:07
Post: #4
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
After some more testing I believe I found a work-around by building a BCD that will restrict WinPE to one CPU.
This is the script I created to build my custom BCD: Code: @ECHO OFF The important line is the one with 'set onecpu on'. This makes it so that WinPE only sees one CPU. For the purpose of WinPE (at least in my case) that is completely fine. I have tested this on VMware hardware type 10 and 11 with more than one vCPU and the BSoD is no longer happening. |
|||
2016-07-08, 13:16
Post: #5
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT | |||
2016-08-23, 07:59
Post: #6
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
I have had the same problem but my BSOD Error was "SYSTEM_THREAD_EXCEPTION_NOT_HANDLED". After Setting the CPU to only 1 vCPU it has working.
|
|||
2016-09-30, 11:00
Post: #7
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
I am having SYSTEM THREAD EXCEPTION NOT HANDLED problem in my Pc.
|
|||
2016-10-01, 09:07
Post: #8
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
actually i reached about this error last night and came across this article related to this error
so, the article says my boot volume got corrupted and it does what i've found at the end here's the command what i use in cmd. opened cmd by my windows usb stich, great thing which i've also learned by the way Command 1# – Diskpart Command 2# – List volume Command 3# – Exit Command 4# – D: (You’re Windows Drive Letter) Command 5# – Bootrec /fixmbr Command 6# – Bootrec /fixboot Command 7# – Chkdsk /f (Try chkdsk /f /r If “Chkdsk /f” command Wont Works) Command 8# – Y After “chkdsk” command completes, just restart my computer and I my problem is solved. http://www.deskdecode.com/how-to-fix-sys...x0000007e/ |
|||
2019-08-09, 18:18
(This post was last modified: 2019-08-09 18:26 by jensgw.)
Post: #9
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
Hi there,
giving this a bump. With the latest wimboot (2019-08-09) this error is still present with virtual box (6). When you boot the VM with 1 CPU winpe works. With more CPUs there is the same error: PAGE_FAULT_IN_NONPAGED_AREA Cheers Jens p.s. trying to build wimboot on linux results in many error of the kind: main.i386.s:79: Error: 8-byte relocation cannot be applied to 4-byte field |
|||
2019-08-13, 15:54
Post: #10
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
Use a clean BCD for example this one: https://github.com/NiKiZe/wimboot-bcd
If this does not help, report this to wmvware and microsoft, since this seems to work with qemu and real hardware without issues Use GitHub Discussions VRAM bin |
|||
2019-08-13, 17:35
Post: #11
|
|||
|
|||
RE: VMware VM with more than 1 vCPU BSoD when loading WinPE using WIMBOOT
Thx, will try.
However, the page fault is also with using qemu/kvm and more than 1 cpu core. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)