Shutdown by power switch with MinLogon

M

Mike Warren

Hi Konstantin,
A quick dirty test could be if you grabbed pciide[x].sys binaries
from SP1 and put them (replace) in your SP2 image to see if it works.
You don't need to re-build SP2 image. You can use the old one you
build with ACPI HAL that showed 7B BSOD.
The same could be done with other components you listed.

And it it does not help, try using the preFBA registry hives (or only
the system hive) from XPe SP1 in SP2 image (SP2 binaries).

I fixed the USB keyboard and mouse problem (Standard Universal PCI
to USB Host Controller was missing) and saved the pre and post FBA
images.

I then updated to XPe SP2 database and tools and built an image using
the same components. This image failed on second boot as expected.

I copied the system hive from the SP1 post FBA image and the image now
boots. It flashes up an error message about changing passwords and then
reboots itself continuously. I can understand that.

I have also tried copying all the driver binaries from the failed SP2 image
to the working SP1 image and it continued to work.

So it seems the problem is not with any new binaries but some registry
setting that is created during FBA?
This all may appear to be a MS bug in SP2. Although it is weird that
XPP SP2 works fine on the target.

Not so weird if it is not in any binaries.

-Mike
 
M

Mike Warren

I just conducted another test I should have done earlier.

I copied the config folder from the preFBA SP1 image to
the preFBA SP2 image.

This image failed with the 7B error on second boot. I'm confused
again.

-Mike
 
S

Slobodan Brcin \(eMVP\)

Hi Mike,

Can you post zip and post "system." registry file of post FBA SP2 image. I'm curious what is written by FBA under Enum branch.
Also you might try using regedit to edit this offline file and to remove all references to "installed" drivers then XPe will boot
trouhg critical DB driver entries like first time during the FBA. (This can serve you as a test to see what enties make your image
not boot)

Regads,
Slobodan
 
K

KM

Mike,
I then updated to XPe SP2 database and tools and built an image using
the same components. This image failed on second boot as expected.

I copied the system hive from the SP1 post FBA image and the image now
boots.

Good progress.
It flashes up an error message about changing passwords and then
reboots itself continuously. I can understand that.

I have also tried copying all the driver binaries from the failed SP2 image
to the working SP1 image and it continued to work.

So it seems the problem is not with any new binaries but some registry
setting that is created during FBA?


Not so weird if it is not in any binaries.

Well.. This may appear not to be a true statement. It is unknown until you find a cursed registry settings if exist.

Can you load post FBA SP1 and SP2 system hives offline (sequentially under the same key name), export them to .reg file (it wouldn't
be extremely huge file) and do a text diff between them?
Or it may be easier and smarter to just export Enum branches as you want to know about critical driver database.

Interesting to know if there appear any new subkeys in SP2 hive vs SP1's, or there are any missing ones. You can put the reg file on
your website so that we can take a look. Maybe something obvious will pop up :)

Anyway, you are definitely narrowing problem step by step. And it means it is not a dead end.

Konstantin
 
M

Mike Warren

Slobodan,
Can you post zip and post "system." registry file of post FBA SP2
image. I'm curious what is written by FBA under Enum branch.

www.cairnscarsound.com.au/temp/PostFBA-SP2-SYSTEM.zip

www.cairnscarsound.com.au/temp/PostFBA-SP1-SYSTEM.zip

I just noticed somthing in the postFBA SP2 config folder.

E:\Windows Embedded Data\SP2cPostFBA\XPE\system32\config>dir
Volume in drive E has no label.
Volume Serial Number is 645E-3AC9

Directory of E:\Windows Embedded Data\SP2cPostFBA\XPE\system32\config

12/12/2004 05:31 PM <DIR> .
12/12/2004 05:31 PM <DIR> ..
12/12/2004 02:56 PM 262,144 DEF$$$$$.DEL
12/12/2004 02:55 PM 86,016 DEFAULT
12/12/2004 05:31 PM 242,291 PostFBA-SP2-SYSTEM.zip
12/12/2004 02:55 PM 20,480 SAM
12/12/2004 02:56 PM 262,144 SAM$$$$$.DEL
12/12/2004 02:56 PM 262,144 SEC$$$$$.DEL
12/12/2004 02:55 PM 16,384 SECURITY
12/12/2004 02:56 PM 3,145,728 SOF$$$$$.DEL
12/12/2004 02:55 PM 2,961,408 SOFTWARE
12/12/2004 02:56 PM 1,048,576 SYS$$$$$.DEL
12/12/2004 02:55 PM 946,176 SYSTEM
11 File(s) 9,253,491 bytes
2 Dir(s) 14,395,068,416 bytes free

What are all the extra files?

-Mike
 
M

Mike Warren

Konstantin,
Can you load post FBA SP1 and SP2 system hives offline (sequentially
under the same key name), export them to .reg file (it wouldn't be
extremely huge file) and do a text diff between them? Or it may be easier and smarter to just
export Enum branches as you
want to know about critical driver database.

Wow. There's a lot of data there (and many differences) and I don't know what
I'm looking for. I'll keep looking.
Interesting to know if there appear any new subkeys in SP2 hive vs
SP1's, or there are any missing ones. You can put the reg file on
your website so that we can take a look. Maybe something obvious will
pop up :)

See my reply to Sobodan.
Anyway, you are definitely narrowing problem step by step. And it
means it is not a dead end.

Really? It just seems to be getting more complicated to me :)

-Mike
 
K

KM

Mike,

Although there are a lot of differences between the hives, some things are very noticable.
Bu before we go any futher, could you do a quick sniff test? Can you replace the new SP2 swenum.sys (Plug and Play Software Device
Enumerator) by old SP1's swenum.sys in the SP2 preFBA image? Then deploy the image and let us know if it helps.

This is is just to make sure the new implementation of Device Enumerator does not cause the problem. From the PnP registry branch it
seems the system enumerates some devices differently on SP2 compared to SP1. (not just dynamic GUIDs)

Regards,
Konstantin
 
K

KM

Just talking about some important reg.differences that may cause the issue...

Somehow on SP2 device enumerator does not want to recognize "Standard Dual Channel PCI IDE Controller". It knows it is a "IDE
Controller" but does not even set the right Service for it (pciide). The SP2 system just sets it up a LEGACY_PCI device.
I guess this explains the most important error of the SP2 KD log you showed us earlier (CM_PROB_DEVICE_NOT_THERE for ServiceName is
"pci").

This also may explain why:
- copying config dir from preFBA SP1 to preFBA SP2 did not help to fix the issue. The SP2 enumerator binary did not pick up the
right IDE Controller anyway.
- XP Pro SP2 worked fine on the target. The SP2 XP Pro is installed on the top of SP1 and therefore the right Enum reg.value for
the right IDE controller was already there (and that is probably how MS has tested XPP SP2).

So, I suggest one more experiment. If the SP2 *postFBA* image (the one that gets stuck on 7B BSOD), add the following reg key
content:
[HKEY_LOCAL_MACHINE\ControlSet001\Enum\PCI\VEN_8086 DEV_24DB SUBSYS_042DA0A0 REV_02\3 13c0b0c5 0 F9].
(you may replace the ControlSet001 to CurrentControlSet in this reg.path, all spaces should be replace by ampersand characters)
You may be better off exporting the reg key content from SP1 postFBA image and adding it offline to the SP2 postFBA image.

Let us know if it helps anyhow.

Konstantin
 
M

Mike

Same 7B error on second boot.

I'm posting from Google Groups as posting from Outlook Express is
rejected by the microsoft server.

Outlook Express could not post your message. Subject 'Re: Shutdown by
power switch with MinLogon', Account: 'msnews.microsoft.com', Server:
'msnews.microsoft.com', Protocol: NNTP, Server Response: '441 (629)
Article Rejected -- Ill-formed message id
'<[email protected]' in field 'References:'', Port:
119, Secure(SSL): No, Server Error: 441, Error Number: 0x800CCCA9
Is it me or the server?
 
M

Mike

Konstantin,
So, I suggest one more experiment. If the SP2 postFBA image (the
one that gets stuck on 7B BSOD), add the following reg key content:
[HKEY_LOCAL_MACHINE\ControlSet001\Enum\PCI\VEN_8086 DEV_24DB
SUBSYS_042DA0A0 REV_02\3 13c0b0c5 0 F9]. (you may replace the
ControlSet001 to CurrentControlSet in this reg.path, all spaces
should be replace by ampersand characters) You may be better off
exporting the reg key content from SP1 postFBA image and adding it
offline to the SP2 postFBA image.

More ignorance on my part. How do I edit the system hive offline?
I tried loading the hive in regedit but it won't allow me to change
anything.

-Mike
 
S

sbrcin

Ok me too. It apear that my post in never passed trough.

Interesting I have looked at registries.

Apparently MS supported trough mshdc.inf file this part of your chipset
:)
SP1 version of mshdc.inf file did not recognized your chipset so it was
using more generic drivers. (you might try using this inf
file in pre FBA image)

%PCI\VEN_8086&DEV_24DB.DeviceDesc%=intelide_Inst, PCI\VEN_8086&DEV_24DB
; Device ID for Intel ICH-5 (DUAL_GOOD_IDE)

In SP2 you must add at least one components that contain following
files:

intelide.sys
pciidex.sys
atapi.sys

So you might add for instance:
Component "Intel(r) 82092AA PCI IDE Controller" and then go to
component Resources and disable PnPID(819).
Try this.

Good luck,
Slobodan
 
S

sbrcin

Hi Mike,

First load hive (do not import it) to users group for instance.
The check access rights for your used at the key that you are
accessing. Usyaly it is limited to system. accont.
To avoid a need for changing security attributes (you can do that from
regedit and right click on key name) I'm starting regedit.exe from
system account by using my simple service.

Regards,
Slobodan
 
K

KM

Mike,

Replying to the same (my) message I got the same OE error :-( But I was able to create another message (see below).
I don't know what is wrong with this particular branch :-( Wierd.

To finish investigattion about binaries, you may also want to try to replace SP2's binaries like pciide[x].sys.

KM
 
K

KM

Mike,
More ignorance on my part. How do I edit the system hive offline?
I tried loading the hive in regedit but it won't allow me to change
anything.

I see Slobodan has already replied to this message of yours. So almost nothing to add to this except that to run regedit.exe under
Local System account you will need to launch a command like:
at <time> /interactive "cmd.exe"

(where set <time> to the one-two seconds ahead of the current time)

Or use runas.exe directly.

Regards,
Konstantin
 
K

KM

Interesting.. Now this branch is repaired and also available for posting from OE.
I don't know what "special" I posted above :)

Konstantin
Mike,

Replying to the same (my) message I got the same OE error :-( But I was able to create another message (see below).
I don't know what is wrong with this particular branch :-( Wierd.

To finish investigattion about binaries, you may also want to try to replace SP2's binaries like pciide[x].sys.

KM
Same 7B error on second boot.

I'm posting from Google Groups as posting from Outlook Express is
rejected by the microsoft server.

Outlook Express could not post your message. Subject 'Re: Shutdown by
power switch with MinLogon', Account: 'msnews.microsoft.com', Server:
'msnews.microsoft.com', Protocol: NNTP, Server Response: '441 (629)
Article Rejected -- Ill-formed message id
'<[email protected]' in field 'References:'', Port:
119, Secure(SSL): No, Server Error: 441, Error Number: 0x800CCCA9
Is it me or the server?
 
M

Mike Warren

Hi Sobodan,
In SP2 you must add at least one components that contain following
files:

intelide.sys
pciidex.sys
atapi.sys

So you might add for instance:
Component "Intel(r) 82092AA PCI IDE Controller" and then go to
component Resources and disable PnPID(819).
Try this.

Eureka!

Doing this has allowed the system to get to second boot and the system
also shuts down with the power switch. So I can confirm that the power
switch problem with MinLogon is fixed in SP2.

I will now move on to adding everything else I require and hope it all goes
smoothly.

I really appreciate the time you and Konstantin have put into solving this
for me. I am quite sure I would not have been able to do it on my own.

Regards
-Mike
 
K

KM

Mike,

Great! I am glad you have finally fixed the problem :)

This thread may be a good reference for future SP2 issues.
I have never thought about it but appearenly XPe will have some issues with SP2 as the image installation goes from zero (not from
SP1 as on XP Pro) and therefore has unlikely been tested by Microsoft as much as XPP SP2.

Regards,
Konstantin
 
S

Slobodan Brcin \(eMVP\)

Konstantin,

Although not shipped on CD/DVD you can download from MSDN image of integral installation image of XPP with SP2. Also I think that it
can be bought this way as well.

Regards,
Slobodan
 
K

KM

Slobodan,

Interesting... I did not know that.
Will check it out.

Thanks for the info!

Konstantin
 
D

dsouzan

Mike,

I don't think Minlogon has that feature.
Try putting Winlogon back and see whether it works.

~n
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top