Skip to content

Can't boot ReactOS 0.2.5-xbox #248

@binarymaster

Description

@binarymaster

Issue

ReactOS 0.2.5-xbox does not boot to desktop in XQEMU.

Setup

This setup is confirmed working (boots to desktop) on real Xbox 1.0, 1.1 and 1.4.

Description

In the XQEMU it crashes with unhandled page fault exception in the kernel in xboxvmp.sys driver.

I found that it crashes in XboxVmpMapVideoMemory when accessing nVidia controller to tell about the framebuffer (this function is called on IOCTL_VIDEO_MAP_VIDEO_MEMORY):

https://github.com/reactos/reactos/blob/master/win32ss/drivers/miniport/xboxvmp/xboxvmp.c#L386

Screenshot

image

Partially resolved backtrace text

Bug detected (code 1e param 0 0 0 0)
  KMODE_EXCEPTION_NOT_HANDLED

Page Fault Exception: 14(2)
Processor: 0 CS:EIP 8:dd0315af <xboxvmp.sys: 15af>
cr2 c0686810 cr3 2950000 Proc: c04b3f28 Pid: 8 <explorer> Thrd: c04c1178 Tid: 2f

DS 10 ES 10 FS 30 GS 10
EAX: 03c00000   EBX: cc9d9840   ECX: cc7ab0f8
EDX: c0686810   EBP: dd997a38   ESI: 0078f538   ESP: dd99795c
EDI: dd997d74   EFLAGS: 00000282 kESP dd99795c kernel stack base dd995000
Eip:
* <xboxvmp.sys:15af (win32ss/drivers/miniport/xboxvmp/xboxvmp.c:387 (XboxVmpMapVideoMemory))>
Frames:
* <xboxvmp.sys:129c (win32ss/drivers/miniport/xboxvmp/xboxvmp.c:172 (XboxVmpStartIO))>
* <videoprt.sys:127e> (IntVideoPortDispatchDeviceControl)
* <ntoskrnl.exe:3376f> (IofCallDriver)
* <win32k.sys:414a> (EngDeviceIoControl)
* <framebuf.DLL:20df> (DrvEnableSurface)
* <win32k.sys:3a133> (IntCreatePrimarySurface)
* <win32k.sys:32c14> (IntInitializeDesktopGraphics)
* <win32k.sys:14cd0> (AddGuiApp)
* <win32k.sys:14dac> (IntGraphicsCheck)
* <win32k.sys:3a315> (IntGdiCreateDC)
* <win32k.sys:28fd8> (DceAllocDCE)
* <win32k.sys:2972d> (NtUserGetDCEx)
* <win32k.sys:28f32> (NtUserGetDC)
* <ntoskrnl.exe:322d> (_interrupt_handler2e)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions