[ros-kernel] Second stage (GUI) setup - Problem

Gge gerard.gatineau at laposte.net
Sun Jan 11 10:53:59 CET 2004


Eric Kohl wrote:

>Hi!
>
>The second stage setup (aka GUI setup) starts doing something useful. It
>creates the 'Documents and Settings' directory and its 'Default User' and
>'All Users' subdirectories plus some more user-specific directories, like
>'Start Menu', 'Favorites', 'Recent' and so on.
>
>You can run the second stage setup either by running 'setup -newsetup' or by
>changing hivesys.inf.
>
>In the latter case, change the line
>  HKLM,"SYSTEM\Setup","SetupType",0x00010001,0x00000000
>to
>  HKLM,"SYSTEM\Setup","SetupType",0x00010001,0x00000001
>
>and install ReactOS (from CD or by 'make install'). When you boot ReactOS,
>winlogon.exe will start 'setup -newsetup'. Setup will initialize the
>'Documents and Settings' directory and pop-up a message box and terminate as
>soon as you click 'OK'. Finally, winlogon.exe will set the 'SetupType' value
>back to 0 (zero) and shut ReactOS down.
>
>After another reboot, ReactOS start-up normally.
>
>  
>
Hello Eric,

I have updated the Hivesys.inf file to run the second stage setup  and 
booted Reactos with a fresh build.
At boot a message box is displayed  "Reactos Setup"
"------------------------
Profile Initialization failed!
Rebooting now!
OK button
"-------------------------

Clicking on OK button to reboot  give a blue screen .
The PC has to be restarted manually (reset)

Note : The directory "Documents and Settings" is created correctly.

Attached the debug messages from DebugPort COM:

Best regards
Gerard

=====================================
Entered kernel debugger (type "help" for a list of commands)

kdb:> cont
DriverBase for pci.sys: cdc4d000
Peripheral Component Interconnect Bus Driver
DriverBase for scsiport.sys: cdc53000
DriverBase for atapi.sys: cdc5d000
DriverBase for class2.sys: cdc66000
DriverBase for disk.sys: cdc70000
DriverBase for vfatfs.sys: cdc78000
DriverBase for bootvid.sys: cdc8b000
DriverBase for ndis.sys: cdcab000
(bootvid.c:487) bV5Size = 40
(bootvid.c:488) bV5Width = 640
(bootvid.c:489) bV5Height = 480
(bootvid.c:490) bV5Planes = 1
(bootvid.c:491) bV5BitCount = 4
(bootvid.c:492) bV5Compression = 2
(bootvid.c:493) bV5SizeImage = 96998
(bootvid.c:494) bV5XPelsPerMeter = 11827
(bootvid.c:495) bV5YPelsPerMeter = 11827
(bootvid.c:496) bV5ClrUsed = 16
(bootvid.c:497) bV5ClrImportant = 16
(bootvid.c:500) bfOffBits = 104
(bootvid.c:501) size of color indices = 64
(bootvid.c:502) first byte of data = 0
DriverBase for \SystemRoot\system32\drivers\floppy.sys: cdcf2000
DriverBase for \SystemRoot\system32\drivers\cdrom.sys: cdd10000
DriverBase for \SystemRoot\system32\drivers\fs_rec.sys: cdd27000
DriverBase for \SystemRoot\system32\drivers\beep.sys: cdd3c000
DriverBase for \SystemRoot\system32\drivers\null.sys: cdd4e000
DriverBase for \SystemRoot\system32\drivers\serial.sys: cdd60000
Serial Driver 0.0.2
DriverBase for \SystemRoot\system32\drivers\psaux.sys: cdd7c000
DriverBase for \SystemRoot\system32\drivers\keyboard.sys: cdd98000
DriverBase for \SystemRoot\system32\drivers\mouclass.sys: cddaf000
DriverBase for \SystemRoot\system32\drivers\debugout.sys: cddc2000
DriverBase for \SystemRoot\system32\drivers\blue.sys: cddd8000
DriverBase for \SystemRoot\system32\drivers\vgamp.sys: cddef000
DriverBase for \SystemRoot\system32\drivers\videoprt.sys: cde15000
DriverBase for \SystemRoot\system32\drivers\msfs.sys: cde2f000
Mailslot FSD 0.0.1
DriverBase for \SystemRoot\system32\drivers\npfs.sys: cde4a000
Named Pipe FSD 0.0.2
DriverBase for \SystemRoot\system32\drivers\kmregtests.sys: cde62000
DriverBase for \SystemRoot\system32\win32k.sys: cea74000
DriverBase for \SystemRoot\system32\freetype.dll: ceba2000
DriverBase for \SystemRoot\System32\kbdfr.dll: cec05000
(ntuser/input.c:86) Win32K: Failed to open mouse.
CmdLine: <setup -newsetup>
Loaded 'syssetup'!
(KERNEL32:file/dir.c:170) NtPathU '\??\C:\Documents and Settings'
DriverBase for \SystemRoot\System32\vgaddi.DLL: cee89000
(objects/gdiobj.c:614) Caution! GDIOBJ_LockObj trying to lock object 
0xa000c second time
(objects/gdiobj.c:615)   called from: objects/text.c:1818
(objects/gdiobj.c:621)   Disregard previous message about object 
0xa000c, it's ok
(cm/registry.c:1038) CmShutdownRegistry() called
(cm/registry.c:1079) CmShutdownRegistry() done

===================================================



More information about the Ros-kernel mailing list