0.4.9-dev MSVC build: booting but no desktop.

Ask your support questions in here

Moderator: Moderator Team

Post Reply
User avatar
indiocolifa
Posts: 5
Joined: Wed Apr 18, 2018 5:02 pm

0.4.9-dev MSVC build: booting but no desktop.

Post by indiocolifa »

Hi guys! I'm trying to install ReactOS dev build to see if I can collaborate with the project; but I could not pass post-booting stage.

What I did:

* Compile default makefile with MSVC 19.0 x86
* Generate a boot CD.
* Installed image on VMWare.
* Setup works OK, system boots.
* Setup a proper debugging environment (Windbg through Pipes)
* No desktop!

The debug output at Windbg is as follows:

(Seems there are no additional threads running, just the NT kernel handling the clock interrupt and nothing else :? )

Code: Select all

(..\ntoskrnl\kd64\kdinit.c:74) ReactOS 0.4.9-dev (Build 20180418-0.4.9-dev-714-gbc82653) (Commit bc826532e3247a79a823df5f05aaca34dfcb94e7)
(..\ntoskrnl\kd64\kdinit.c:75) 1 System Processor [511 MB Memory]
(..\ntoskrnl\kd64\kdinit.c:79) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS
(..\ntoskrnl\kd64\kdinit.c:80) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
SetContext failed, 0x80070038
MachineInfo::SetContext failed - Thread: 000000004E87EE60  Handle: 1  Id: 1 - Error == 0x80070038
(..\ntoskrnl\ke\i386\cpu.c:450) Supported CPU features : KF_V86_VIS KF_RDTSC KF_CR4 KF_CMOV KF_GLOBAL_PAGE KF_LARGE_PAGE KF_MTRR KF_CMPXCHG8B KF_MMX KF_WORKING_PTE KF_PAT KF_FXSR KF_FAST_SYSCALL KF_XMMI   KF_XMMI64 KF_DTS KF_NX_BIT  
(..\ntoskrnl\ke\i386\cpu.c:722) Prefetch Cache: 64 bytes	L2 Cache: 0 bytes	L2 Cache Line: 64 bytes	L2 Cache Associativity: 0
(..\hal\halx86\acpi\halacpi.c:834) Your machine has a SRAT, but NUMA/HotPlug are not supported!
(..\hal\halx86\acpi\halacpi.c:782) ACPI Timer at: 1008h (EXT: 0)
(..\hal\halx86\acpi\halacpi.c:533) ACPI Boot table found, but not supported!
(..\hal\halx86\acpi\halacpi.c:890) ACPI 2.0 Detected. Tables: [RSDT] [FACP] [SRAT] [BOOT] 
(..\ntoskrnl\mm\ARM3\mminit.c:1452) HAL I/O Mapping at FFFE0000 is unsafe
(..\ntoskrnl\mm\mminit.c:131)           0x80000000 - 0x83000000	Boot Loaded Image
(..\ntoskrnl\mm\mminit.c:135)           0xB0000000 - 0xB0381000	PFN Database
(..\ntoskrnl\mm\mminit.c:139)           0xB0381000 - 0xB1371000	ARM3 Non Paged Pool
(..\ntoskrnl\mm\mminit.c:143)           0xB9400000 - 0xBB400000	System View Space
(..\ntoskrnl\mm\mminit.c:147)           0xBB400000 - 0xC0000000	Session Space
(..\ntoskrnl\mm\mminit.c:150)           0xC0000000 - 0xC03FFFFF	Page Tables
(..\ntoskrnl\mm\mminit.c:153)           0xC0300000 - 0xC0300FFF	Page Directories
(..\ntoskrnl\mm\mminit.c:156)           0xC0400000 - 0xC07FFFFF	Hyperspace
(..\ntoskrnl\mm\mminit.c:159)           0xC1000000 - 0xE0FFFFFF	System Cache
(..\ntoskrnl\mm\mminit.c:163)           0xE1000000 - 0xEDC00000	ARM3 Paged Pool
(..\ntoskrnl\mm\mminit.c:166)           0xEDC00000 - 0xF8BD0000	System PTE Space
(..\ntoskrnl\mm\mminit.c:169)           0xF8BD0000 - 0xFFBE0000	Non Paged Pool Expansion PTE Space
(..\ntoskrnl\config\cmcheck.c:25) CmCheckRegistry(0xB131C008, 2) is UNIMPLEMENTED!
ACPI Compatible Eisa/Isa HAL Detected
(..\sdk\lib\rtl\image.c:171) Invalid base address: 00000000
(..\ntoskrnl\io\iomgr\driver.c:1576) '\Driver\SACDRV' initialization failed, status (0xc0000037)
(..\ntoskrnl\io\iomgr\driver.c:64) Deleting driver object '\Driver\SACDRV'
(..\drivers\storage\scsiport\scsiport.c:5859) ZwOpenKey() failed with Status=0xC0000034
(..\hal\halx86\legacy\bus\pcibus.c:727) WARNING: PCI Slot Resource Assignment is FOOBAR
(..\ntoskrnl\io\iomgr\iorsrce.c:874) IoReportResourceUsage is halfplemented!
(..\ntoskrnl\io\iomgr\iorsrce.c:874) IoReportResourceUsage is halfplemented!
(..\hal\halx86\legacy\bus\pcibus.c:727) WARNING: PCI Slot Resource Assignment is FOOBAR
(..\hal\halx86\legacy\bus\pcibus.c:727) WARNING: PCI Slot Resource Assignment is FOOBAR
(..\drivers\ksfilter\swenum\swenum.c:428) SWENUM loaded
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\system32\drivers\vbemp.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\pcnet.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\pcnet.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\system32\drivers\vbemp.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\pcnet.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\i8042prt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\i8042prt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\cmbatt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\processr.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\system32\drivers\vbemp.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\pcnet.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\i8042prt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\i8042prt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\cmbatt.sys' with status 0xc000003a
(..\ntoskrnl\mm\ARM3\sysldr.c:3025) ZwOpenFile failed for '\SystemRoot\System32\drivers\processr.sys' with status 0xc000003a
(..\ntoskrnl\io\iomgr\iorsrce.c:725) Failed to open symlink \Device\Harddisk0\Partition1, Status=c0000024
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\vbemp.sys at F88D4000 with 8 pages
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\videoprt.sys at F88BC000 with 18 pages
WARNING: videoprt overlaps pcnet
WARNING: videoprt_f88bc000 overlaps videoprt
WARNING: vbemp overlaps videoprt
WARNING: vbemp_f88d4000 overlaps vbemp
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\pcnet.sys at F88B3000 with 9 pages
WARNING: pcnet_f88b3000 overlaps pcnet
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\i8042prt.sys at F889E000 with 12 pages
WARNING: i8042prt overlaps kbdclass
WARNING: i8042prt_f889e000 overlaps i8042prt
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\kbdclass.sys at F8894000 with a pages
WARNING: kbdclass overlaps mouclass
WARNING: kbdclass_f8894000 overlaps kbdclass
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\mouclass.sys at F888A000 with a pages
WARNING: mouclass overlaps cmbatt
WARNING: mouclass_f888a000 overlaps mouclass
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\cmbatt.sys at F887E000 with c pages
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\battc.sys at F8876000 with 8 pages
WARNING: battc overlaps wmilib
WARNING: battc_f8876000 overlaps battc
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\wmilib.sys at F886E000 with 8 pages
WARNING: wmilib overlaps processr
WARNING: wmilib_f886e000 overlaps wmilib
WARNING: cmbatt overlaps battc
WARNING: cmbatt_f887e000 overlaps cmbatt
WARNING:  AcpiInterfaceNotificationsRegister at ..\drivers\bus\acpi\interface.c:80 is UNIMPLEMENTED!
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\processr.sys at F8867000 with 7 pages
WARNING: processr_f8867000 overlaps processr
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\floppy.sys at F8852000 with 15 pages
(..\ntoskrnl\io\iomgr\driver.c:1576) '\Driver\FLOPPY' initialization failed, status (0xc000000e)
(..\ntoskrnl\io\iomgr\driver.c:64) Deleting driver object '\Driver\FLOPPY'
(..\ntoskrnl\io\iomgr\driver.c:1986) IopInitializeDriverModule() failed (Status c000000e)
(..\ntoskrnl\mm\ARM3\sysldr.c:955) Leaking driver: floppy.sys
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\cdrom.sys at F883F000 with f pages
WARNING: cdrom overlaps fs_rec
WARNING: cdrom_f883f000 overlaps cdrom
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\fs_rec.sys at F8837000 with 8 pages
WARNING: fs_rec overlaps null
WARNING: fs_rec_f8837000 overlaps fs_rec
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\null.sys at F8830000 with 7 pages
WARNING: null overlaps beep
WARNING: null_f8830000 overlaps null
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\beep.sys at F8829000 with 7 pages
WARNING: beep overlaps blue
WARNING: beep_f8829000 overlaps beep
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\blue.sys at F8821000 with 8 pages
WARNING: blue overlaps msfs
WARNING: blue_f8821000 overlaps blue
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\msfs.sys at F8819000 with 8 pages
WARNING: msfs overlaps npfs
WARNING: msfs_f8819000 overlaps msfs
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\npfs.sys at F8809000 with 10 pages
WARNING: npfs overlaps tcpip
WARNING: npfs_f8809000 overlaps npfs
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\drivers\tcpip.sys at F87CF000 with 3a pages
WARNING: tcpip_f87cf000 overlaps tcpip
NDIS_STATUS_MEDIA_CONNECT
Unhandled event type: 6
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\ndisuio.sys at F87C1000 with a pages
WARNING: ndisuio overlaps afd
WARNING: ndisuio_f87c1000 overlaps ndisuio
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\afd.sys at F87A4000 with 1d pages
WARNING: afd_f87a4000 overlaps afd
WARNING:  RtlCreateTagHeap at ..\sdk\lib\rtl\heap.c:3881 is UNIMPLEMENTED!
(..\base\system\autochk\autochk.c:353) AUTOCHK: Checking \??\C:
(..\drivers\filesystems\fastfat\fsctl.c:1120) Can't lock: 3 opened
(..\drivers\filesystems\fastfat\fsctl.c:1130) Opened (1 - 5): \ReactOS
(..\drivers\filesystems\fastfat\fsctl.c:1130) Opened (1 - 7): \ReactOS\system32
(..\sdk\lib\fslib\vfatlib\check\io.c:238) NtFsControlFile() failed with Status 0xc0000022
(..\sdk\lib\fslib\vfatlib\check\io.c:238) NtFsControlFile() failed with Status 0xc0000022
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\system32\drivers\cdfs.sys at F8769000 with 25 pages
WARNING: cdfs_f8769000 overlaps cdfs
(..\drivers\storage\scsiport\scsiport.c:2894)   unknown ioctl code: 0x24054
(..\base\system\smss\pagefile.c:878) SMSS:PFILE: Open volume `\??\D:\' failed with status C0000022
Boot took 260299300069 cycles!
Interrupts: 3229 System Calls: 78041 Context Switches: 579
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmsysini.c:1238) CmpGetRegistryPath: ConfigPath = '\SystemRoot\System32\Config\'
(..\ntoskrnl\config\cmcheck.c:25) CmCheckRegistry(0xB10B5358, 0) is UNIMPLEMENTED!
(..\ntoskrnl\config\cmcheck.c:25) CmCheckRegistry(0xB10BD008, 0) is UNIMPLEMENTED!
(..\ntoskrnl\config\cmcheck.c:25) CmCheckRegistry(0xB10B4008, 0) is UNIMPLEMENTED!
(..\ntoskrnl\config\cmcheck.c:25) CmCheckRegistry(0xB10BF008, 0) is UNIMPLEMENTED!
(..\ntoskrnl\mm\ARM3\session.c:790) Session 0 is ready to go: 0xBF7F0000 0xF874E000, 141f 0xB10C1008
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\win32k.sys at F85DC000 with 172 pages
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\ftfd.dll at F8526000 with b6 pages
WARNING: ftfd_f8526000 overlaps ftfd
WARNING: win32k overlaps ftfd
WARNING: win32k_f85dc000 overlaps win32k
(..\ntoskrnl\mm\ARM3\sysldr.c:176) Loading: \SystemRoot\System32\framebuf.dll at F850F000 with 7 pages
WARNING: framebuf_f850f000 overlaps framebuf
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\class.c:2335) err: SYSTEMCUR(ARROW) == NULL, should not happen!!
(..\win32ss\user\ntuser\winsta.c:226) err: Invalid window station handle
(..\win32ss\user\ntuser\clipboard.c:31) err: Cannot open winsta
(..\win32ss\user\ntuser\winsta.c:494) err: Initializing input window station
(..\win32ss\user\ntuser\desktop.c:2513) err: Attempted to change thread desktop although the thread has windows!
(..\win32ss\user\ntuser\kbdlayout.c:611) err: Invalid flags: 4090409
err:(..\base\system\winlogon\winlogon.c:358) WL: Could not preload keyboard layouts
(..\sdk\lib\rtl\heap.c:2199) HEAP: Trying to free an invalid address 7A8CBDA0!
(..\win32ss\user\winsrv\usersrv\harderror.c:1056) ElfRegisterEventSourceW failed with Status 0xc0020017
err:(..\win32ss\user\user32\windows\cursoricon.c:25) Loading System Cursors
(..\dll\ntdll\ldr\ldrutils.c:1334) LDR: LdrpMapDll Relocating Image Name WINSPOOL.DRV (10000000-10022000 -> 003D0000)
(..\dll\ntdll\ldr\ldrutils.c:1373) Overlapping DLL: C:\ReactOS\system32\csrsrv.dll
err:(..\win32ss\user\user32\misc\dllmain.c:600) hIconSmWindows 0002005C hIconWindows 0002005A 
(..\win32ss\user\ntuser\callback.c:1138) err: hIconSmWindows 0002005C hIconWindows 0002005A 
(..\win32ss\user\ntuser\desktop.c:2513) err: Attempted to change thread desktop although the thread has windows!
err:(..\win32ss\user\user32\windows\window.c:490) CreateWindowExW RegisterSystemControls
WARNING:  HvpWriteLog at ..\sdk\lib\cmlib\hivewrt.c:29 is UNIMPLEMENTED!
Any indications to begin with?

Thanks!
User avatar
mrmajik45
Posts: 345
Joined: Sun Sep 24, 2017 1:21 am
Location: USA, Indiana
Contact:

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by mrmajik45 »

Run (debug) mode and when you go to the blank desktop press tab+k, can you get a KDB prompt? It would look like a Black screen with white text saying
kdb>
and if you do, enter the command bt and send images of the result. If it says
<press q to quit or press any key to continue>
Don't do anything, take a image then press a key NOT q.
ReactOS Donator ~ $5.00 | Linux Mint Donator ~ $1.00 in BTC
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by hbelusca »

mrmajik45 wrote:Run (debug) mode and when you go to the blank desktop press tab+k, can you get a KDB prompt? It would look like a Black screen with white text saying
kdb>
and if you do, enter the command bt and send images of the result. If it says
<press q to quit or press any key to continue>
Don't do anything, take a image then press a key NOT q.
Not this time! This topic is about debugging a MSVC build of ReactOS (and not a GCC one), so you use WinDbg instead of kdbg.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by hbelusca »

@ indiocolifa: I strongly suggest you to come to the IRC channel and present the problem to the developers there, you may have a higher chance of answer.
User avatar
indiocolifa
Posts: 5
Joined: Wed Apr 18, 2018 5:02 pm

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by indiocolifa »

hbelusca wrote:@ indiocolifa: I strongly suggest you to come to the IRC channel and present the problem to the developers there, you may have a higher chance of answer.
Will do, thanks!
User avatar
indiocolifa
Posts: 5
Joined: Wed Apr 18, 2018 5:02 pm

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by indiocolifa »

Finally Booted to desktop with my MSVC built Live CD! 8-) 8-) 8-) 8-)

I changed the following in VMWare:

* OS type to WinXP
* Disk controllers to Serial-ATA

Reinstalled with those settings and all worked OK.
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: 0.4.9-dev MSVC build: booting but no desktop.

Post by middings »

Thank you, indiocolifa, for letting us know what your fix was.
Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests