0.4.5 stuck before desktop with virtualbox

Ask your support questions in here

Moderator: Moderator Team

Post Reply
xantares
Posts: 2
Joined: Mon Jul 03, 2017 11:21 am

0.4.5 stuck before desktop with virtualbox

Post by xantares »

hello,

I installed the latest 0.4.5 version on virtualbox 5.0.40 on ubuntu 16.04.
It passes the bootloader, then reactos logo, the it's stuck to an empty desktop, like in this thread but with latest 0.4.5:
viewtopic.php?p=125509
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: 0.4.5 stuck before desktop with virtualbox

Post by middings »

Thank you for trying ReactOS and letting us know your results. ReactOS is currently alpha level software under active development. Like all alpha software, ReactOS is not recommended for production use at this time.

First, take a look at the Virtualization Software page in the ReactOS Wiki. It links to a page with advice for using ReactOS within several popular virtual machine (VM) software products. There is a page for VirtualBox. Double check your configuration against that page's advice. Tell us how you configured VirtualBox and report all the non-default settings you are using.

Also, did you try any of the solutions proposed in the topic "VMware ESXi 5.5, doesn't load desktop" to which you linked? If so, what happened?
xantares
Posts: 2
Joined: Mon Jul 03, 2017 11:21 am

Re: 0.4.5 stuck before desktop with virtualbox

Post by xantares »

- Changed os type to Windows 2003 with no effect
- I already used the correct defaults advised for System and Network tabs
- Got some debug output on the serial port:

Code: Select all

(../../boot/freeldr/freeldr/arch/i386/i386vid.c:263) err: VESA/DDC installation check failed
(../../ntoskrnl/kd/kdio.c:384) -----------------------------------------------------
(../../ntoskrnl/kd/kdio.c:385) ReactOS 0.4.5 (Build 20170513-r74533)
(../../ntoskrnl/kd/kdio.c:387) 1 System Processor [1023 MB Memory]
(../../ntoskrnl/kd/kdio.c:388) Command Line: DEBUG DEBUGPORT=COM1 BAUDRATE=115200 SOS
(../../ntoskrnl/kd/kdio.c:392) ARC Paths: multi(0)disk(0)rdisk(0)partition(1) \ multi(0)disk(0)rdisk(0)partition(1) \ReactOS\
(../../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    
(../../ntoskrnl/ke/i386/cpu.c:722) Prefetch Cache: 64 bytes     L2 Cache: 262144 bytes  L2 Cache Line: 64 bytes L2 Cache Associativity: 8
(../../hal/halx86/acpi/halacpi.c:782) ACPI Timer at: 4008h (EXT: 256)
(../../hal/halx86/acpi/halacpi.c:890) ACPI 2.0 Detected. Tables: [RSDT] [FACP] 
(../../ntoskrnl/mm/ARM3/mminit.c:1442) HAL I/O Mapping at FFFE0000 is unsafe
(../../ntoskrnl/mm/mminit.c:134)           0x80000000 - 0x83000000      Boot Loaded Image
(../../ntoskrnl/mm/mminit.c:138)           0xB0000000 - 0xB0700000      PFN Database
(../../ntoskrnl/mm/mminit.c:142)           0xB0700000 - 0xB26C8000      ARM3 Non Paged Pool
(../../ntoskrnl/mm/mminit.c:146)           0xB9400000 - 0xBB400000      System View Space
(../../ntoskrnl/mm/mminit.c:150)           0xBB400000 - 0xC0000000      Session Space
(../../ntoskrnl/mm/mminit.c:153)           0xC0000000 - 0xC03FFFFF      Page Tables
(../../ntoskrnl/mm/mminit.c:156)           0xC0300000 - 0xC0300FFF      Page Directories
(../../ntoskrnl/mm/mminit.c:159)           0xC0400000 - 0xC07FFFFF      Hyperspace
(../../ntoskrnl/mm/mminit.c:163)           0xE1000000 - 0xECC00000      ARM3 Paged Pool
(../../ntoskrnl/mm/mminit.c:166)           0xECC00000 - 0xF7BE0000      System PTE Space
(../../ntoskrnl/mm/mminit.c:169)           0xF7BE0000 - 0xFFBE0000      Non Paged Pool Expansion PTE Space
(../../ntoskrnl/config/cmcheck.c:25) CmCheckRegistry(0xB245A008, 2) is UNIMPLEMENTED!
ACPI Compatible Eisa/Isa HAL Detected
(../../ntoskrnl/wmi/wmi.c:72) IoWMIRegistrationControl() called for DO B2697F18, requesting 1 action, returning success
(../../sdk/lib/rtl/image.c:171) Invalid base address: 00000000
(../../ntoskrnl/io/iomgr/driver.c:1652) '\Driver\SACDRV' initialization failed, status (0xc0000037)
(../../ntoskrnl/io/iomgr/driver.c:64) Deleting driver object '\Driver\SACDRV'
(../../drivers/storage/scsiport/scsiport.c:5833) 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!
(../../ntoskrnl/io/iomgr/driver.c:1652) '\Driver\BUSLOGIC' initialization failed, status (0xc00000c0)
(../../ntoskrnl/io/iomgr/driver.c:64) Deleting driver object '\Driver\BUSLOGIC'
(../../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
(../../drivers/ksfilter/swenum/swenum.c:428) SWENUM loaded
(../../drivers/bus/acpi/acpienum.c:66) Detected duplicate device: PNP0C0F 0
(../../drivers/bus/acpi/acpienum.c:66) Detected duplicate device: PNP0C0F 0
(../../drivers/bus/acpi/acpienum.c:66) Detected duplicate device: PNP0C0F 0
(../../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\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\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
(../../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
(../../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 F7770000 with c pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\videoprt.sys at F774A000 with 26 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\pcnet.sys at F773B000 with f pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\i8042prt.sys at F771E000 with 1a pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\kbdclass.sys at F770A000 with 14 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\mouclass.sys at F76FC000 with e pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\cmbatt.sys at F76E7000 with 15 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\battc.sys at F76DE000 with 9 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\wmilib.sys at F76D6000 with 8 pages
(../../ntoskrnl/wmi/wmi.c:72) IoWMIRegistrationControl() called for DO B2351020, requesting 1 action, returning success
WARNING:  AcpiInterfaceNotificationsRegister at ../../drivers/bus/acpi/interface.c:80 is UNIMPLEMENTED!
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\floppy.sys at F76BD000 with 19 pages
(../../ntoskrnl/io/iomgr/driver.c:1652) '\Driver\FLOPPY' initialization failed, status (0xc000000e)
(../../ntoskrnl/io/iomgr/driver.c:64) Deleting driver object '\Driver\FLOPPY'
(../../ntoskrnl/io/iomgr/driver.c:2062) 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 F769E000 with 1b pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\fs_rec.sys at F7691000 with d pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\null.sys at F7689000 with 8 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\beep.sys at F7680000 with 9 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\blue.sys at F7675000 with b pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\msfs.sys at F766A000 with b pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\npfs.sys at F7648000 with 22 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\drivers\tcpip.sys at F75E2000 with 66 pages
NDIS_STATUS_MEDIA_CONNECT
Unhandled event type: 6
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\ndisuio.sys at F75CF000 with f pages
(../../drivers/network/ndisuio/protocol.c:91) NetPnPEvent: BindsComplete
(../../drivers/network/ndisuio/main.c:102) NDISUIO: Loaded
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\afd.sys at F75A1000 with 2e pages
(../../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
(../../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
(../../drivers/storage/class/disk/disk.c:2257) HACK: Handling partition 0 request!
WARNING:  RtlCreateTagHeap at ../../sdk/lib/rtl/heap.c:3873 is UNIMPLEMENTED!
(../../base/system/autochk/autochk.c:349) AUTOCHK: Checking \??\C:
(../../sdk/lib/fslib/vfatlib/check/io.c:233) NtFsControlFile() failed with Status 0xc0000022
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\system32\drivers\cdfs.sys at F756F000 with 18 pages
(../../base/system/smss/pagefile.c:878) SMSS:PFILE: Open volume `\??\D:\' failed with status C0000013
Boot took 53907096721 cycles!
Interrupts: 759 System Calls: 14696 Context Switches: 549
(../../ntoskrnl/config/cmcheck.c:25) CmCheckRegistry(0xB224B008, 0) is UNIMPLEMENTED!
(../../ntoskrnl/config/cmcheck.c:25) CmCheckRegistry(0xB222C3E8, 0) is UNIMPLEMENTED!
(../../ntoskrnl/config/cmcheck.c:25) CmCheckRegistry(0xB223E008, 0) is UNIMPLEMENTED!
(../../ntoskrnl/config/cmcheck.c:25) CmCheckRegistry(0xB223C008, 0) is UNIMPLEMENTED!
(../../ntoskrnl/mm/ARM3/session.c:785) Session 0 is ready to go: 0xBF7F0000 0xF7559000, 1152 0xB2249008
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\win32k.sys at F728B000 with 2ce pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\ftfd.dll at F7166000 with 125 pages
(../../ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\framebuf.dll at F7149000 with d pages
(../../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!!
fixme:(../../win32ss/user/user32/misc/dllmain.c:362) ClientThreadSetup is UNIMPLEMENTED!
fixme:(../../win32ss/user/user32/misc/dllmain.c:362) ClientThreadSetup is UNIMPLEMENTED!
(../../win32ss/user/ntuser/winsta.c:494) err: Initializing input window station
(../../win32ss/user/ntuser/desktop.c:2418) 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
err:(../../win32ss/user/user32/windows/cursoricon.c:27) Loading System Cursors
err:(../../win32ss/user/user32/misc/dllmain.c:601) hIconSmWindows 0002005C hIconWindows 0002005A 
(../../win32ss/user/ntuser/callback.c:1138) err: hIconSmWindows 0002005C hIconWindows 0002005A 
(../../win32ss/user/ntuser/desktop.c:2418) err: Attempted to change thread desktop although the thread has windows!
err:(../../win32ss/user/user32/windows/window.c:492) CreateWindowExW RegisterSystemControls
WARNING:  HvpWriteLog at ../../sdk/lib/cmlib/hivewrt.c:29 is UNIMPLEMENTED!
- Also tried the svn 0.5 debug boot cd: also stuck before desktop
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: 0.4.5 stuck before desktop with virtualbox

Post by middings »

Thank you for the additional information. Your problem requires somebody more expert with virtual machines than I am to identify the cause of the problem you found. However, there are still a few more things to try.

(1) If you have a choice between configuring your virtual machine (VM) to use a PS/2 or USB keyboard and mouse, choose PS/2. The ReactOS USB stack is still a work in progress and strange side effects can happen if ReactOS finds a connected USB device.

(2) The 0.4.5 release is over a 1-1/2 months old. There may have been a fix already put into the trunk build. You may wish to try the most recent trunk build (also called a daily build or a nightly build) of the debug CD version of ReactOS. Maybe you already tried this and that is what you meant by "Also tried the svn 0.5 debug boot cd..." (No, I don't know why it says "0.5". I find that very confusing. I suppose it makes sense to the developer team.) What we need to know is the Subversion (SVN) revision number of the ReactOS trunk build you tried. In the log that you captured, the line near the beginning that reads "ReactOS 0.4.5 (Build 20170513-r74533)" shows the SVN revision number as r74533. The most recent revision is 75271.

(3) Obtain a debug log that includes a backtrace. If the newer trunk build does not overcome the problem you see, any developer that sees this topic is almost certain to ask you for one. This post, [ReadThis]ReactOS doesn't work in my computer!!, is helpful. This wiki page, Debugging, might also be helpful.
hbelusca
Developer
Posts: 1204
Joined: Sat Dec 26, 2009 10:36 pm
Location: Zagreb, Croatia

Re: 0.4.5 stuck before desktop with virtualbox

Post by hbelusca »

middings wrote:[...] (3) Obtain a debug log that includes a backtrace. [...]
The backtrace (command "bt") is needed only if something crashed and there was a break-in the debugger.
In the case of the reporter, it seems that ReactOS just hangs without having broken into the debugger. I suggest that the reporter, if ReactOS hangs again at the same place, presses the TAB+K keys on the keyboard, and then enter the command "proc list" at the debugger prompt (and validate), perhaps followed by the command "thread list" , and finally show the result of these commands here.
milon
Posts: 969
Joined: Sat Sep 05, 2009 9:26 pm

Re: 0.4.5 stuck before desktop with virtualbox

Post by milon »

@xantares, in case it's useful, here's a screenshot of my VirtualBox setup. I'm using VirtualBox 5.1.22, and it works great with the latest ReactOS nightly build (newer than 0.4.5, but that should work too).

[ external image ]

I clone the "ReactOS Clone Me" and attach the latest ISO to the clone. Makes testing much easier! Otherwise I have to recreate the settings each time, and I'm much too lazy for that. :D

I currently have the serial port (for debug logs) disabled, but it's pretty trivial to setup and connect PuTTY for an output log.

EDIT - The image is hosted on my Dropbox, so it should basically be around forever, but I'm going to attempt to future-proof anyway. The image is a picture of the VirtualBox Manager GUI, showing an installed system called "ReactOS Clone Me". Settings are:

General
  • Name = ReactOS Clone Me
  • Operating System = Windows XP (32-bit)
System
  • Base Memory = 256 MB
  • Boot Order = Floppy, Optical, Hard Disk
  • Acceleration: VT-x/AMD-V, Nested Paging
Display
  • Video Memory = 16 MB
  • Remote Desktop Server = Disabled
  • Video Capture = Disabled
Storage
  • Controller = IDE
  • IDE Primary Master = ReactOS-HDD.vhd (Normal, 10.00 GB)
  • IDE Primary Slave = ReactOS-Apps.vhd (Normal, 20.00 GB)
  • IDE Secondary Master = [Optical Drive] Empty
Audio
  • Host driver = Windows DirectSound
  • Controller = ICH AC97
Network
  • Adapter 1 = Intel PRO/1000 T Server (NAT)
USB
  • USB Controller = OHCI
  • Device Filters = 0 (0 active)
Shared Folders
  • None
Description
  • None
NOTE: I have 2 HDD devices for simplicity. The first (ReactOS-HDD.vhd) is an empty virtual drive. When I clone this system, I create a full clone (not linked) so that the new VM also has an empty primary drive. The second HDD is preloaded with apps/software/drivers that I want to test in VBox, and it also gets cloned to the new system for easy testing.
Last edited by milon on Wed Aug 23, 2017 6:28 pm, edited 3 times in total.
grumly
Posts: 15
Joined: Fri Dec 09, 2016 2:07 am

Re: 0.4.5 stuck before desktop with virtualbox

Post by grumly »

The bootable CD needs to be in the primary slave and the hard drive the primary master. At least the bootable cd needs to be primary something. It took me time to find out too. It's written somewhere in the wiki but it's well hidden.

A few other things can cause issues in recent versions of Reactos if you install the guest additions with Virtual box. Until they are fixed you can turn off I/O host cache in the IDE controller and disable 2d acceleration.
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: 0.4.5 stuck before desktop with virtualbox

Post by middings »

milon wrote:...in case it's useful, here's a screenshot of my VirtualBox setup. I'm using the latest VirtualBox...
The screenshot will be of great help to the OP. Thank you for posting it. A suggestion: please edit your post to name the exact version of VirtualBox you are using. This will keep your post useful for others in the future. A year from now "the latest VirtualBox" won't be today's latest VirtualBox.
milon
Posts: 969
Joined: Sat Sep 05, 2009 9:26 pm

Re: 0.4.5 stuck before desktop with virtualbox

Post by milon »

Good call, middings. I meant to do that originally, and apparently I forgot to. Fixed!
ZPQ
Posts: 2
Joined: Thu Aug 10, 2017 9:20 am

Re: 0.4.5 stuck before desktop with virtualbox

Post by ZPQ »

Hi,

I have the same problem and I'm running Vbox 5.1.26 in Ubuntu 14.04

I have fiddle around a lot with different settings but nothing helps. The only fix for this I could find is to install a Nighty build, in my case ReactOS v0.5-SVN | Build: 20170809-r75512.GNU_4.7.2

You can find it at: https://iso.reactos.org/bootcd/

// ZPQ
middings
Posts: 1073
Joined: Tue May 07, 2013 9:18 pm
Location: California, USA

Re: 0.4.5 stuck before desktop with virtualbox

Post by middings »

I repeat,
middings wrote:First, take a look at the Virtualization Software page in the ReactOS Wiki. It links to a page with advice for using ReactOS within several popular virtual machine (VM) software products. There is a page for VirtualBox. Double check your configuration against that page's advice. Tell us how you configured VirtualBox and report all the non-default settings you are using.
ZPQ, if a recent nightly build (r75512) is working for you then that is the fix you are looking for.

By the way, there is a release candidate (RC1) for ReactOS version 0.4.6. It was branched from the ReactOS trunk around r75445. The nightly build you tried, r75512, is a more recent version of the ReactOS trunk than 0.4.6 RC1.

For further assistance using ReactOS 0.4.5, please report step-by-step what you tried and the results you saw. Describe them as exactly as you can.
Post Reply

Who is online

Users browsing this forum: No registered users and 25 guests