Re: RAMDisk and HardDisk strikes back!

From: Paolo Margari (PaoloMargari_at_discussions.microsoft.com)
Date: 10/19/04


Date: Tue, 19 Oct 2004 01:21:02 -0700

Hi Slobodan,

I have tried more times to boot the system in different scenario:

1) Only one disk without any partition;
2) One disk with only one partition as large as FBA setup;
3) One disk with two partitions different in size;
4) Two disk with one or more partitions for each.

The results are:

1) The system works fine and I may run the DISKPART to init the disk;
2) The system works fine without problems;
3) The User PnP reports an error while enumerating new hardware, and the
partitions aren't visible;
4) The system works fine without problems.

I have repeated the tests in another system with the same hardware setup but
different HD type and partitions.
The results are strange:

1), 2), 3) The User PnP reports an error while enumerating new hardware, and
the partitions aren't visible;
4) The system works fine without problems.

The Setupapi.log reports only the same error like this:

[..........]
@ 20:32:55.242 #T075 Enumerating files: Directory pass completed.
@ 20:32:55.252 #T076 Enumerating files: Cache pass completed.
@ 20:32:55.252 #V166 Device install function: DIF_SELECTBESTCOMPATDRV.
@ 20:32:55.252 #V155 Executing default installer.
@ 20:32:55.252 #W059 Selecting best compatible driver failed. Error
0xe0000228: There are no compatible drivers for this device.
@ 20:32:55.252 #W157 Default installer failed. Error 0xe0000228: There are
no compatible drivers for this device.
[....................]

or like this if the disk has two partitions (this trace is present more
times in the log file):

[...........................]
@ 20:53:51.166 #T200 Install Device: Begin.
@ 20:53:51.166 #I123 Doing full install of
"IDE\DISKIBM-DJNA-372200_________________________J71OA30K\4&2C5D936F&0&0.0.0".
@ 20:53:51.166 #V042 Opened INF "c:\windows\inf\disk.inf", PNF created
(Languge = 0409).
@ 20:53:51.166 #T211 Install Device: Changing registry settings as specified
by the INF(s).
@ 20:53:51.176 #T212 Install Device: Writing driver specific registry
settings.
@ 20:53:51.176 #T213 Install Device: Installing required Windows services.
#-035 Processing service Add/Delete section [disk_install.NT.Services].
@ 20:53:51.176 #V282 Add Service: Modified existing service "disk".
@ 20:53:51.176 #V268 Controlling Service: Service "disk" is required at
boot, modifying filter drivers.
@ 20:53:51.176 #T214 Install Device: Writing driver descriptive registry
settings.
@ 20:53:51.186 #T218 Install Device: Removing device sub-tree.
@ 20:53:52.338 #T219 Install Device: Removing device sub-tree completed.
@ 20:53:52.338 #T216 Install Device: Restarting device.
@ 20:53:52.348 #T217 Install Device: Restarting device completed.
@ 20:53:52.358 #I163 Device not started: Device has problem: 0x27:
CM_PROB_DRIVER_FAILED_LOAD.
@ 20:53:52.358 #T222 Install Device: Calling 'RUNONCE'/'GRPCONV' items.
@ 20:53:52.358 #I121 Device install of
"IDE\DISKIBM-DJNA-372200_________________________J71OA30K\4&2C5D936F&0&0.0.0"
finished successfully.
@ 20:53:52.358 #T201 Install Device: End.
[.................]

What is happened? I need a small XPe system to restore the HDs in my
embedded systems, but the configurations of them are not the same for all!

How I may solve this problem? Thanks a lot,

       Paolo

-------------------------------------------------------------------------------------
"Slobodan Brcin (eMVP)" wrote:

> Hi Paolo,
>
> It looks that you have problem with disk.sys driver that is much on lover level in drivers chain that volume letter assignment.
> Since if you don't have disk driver then partitions and volumes are never exposed.
>
> Quick try would be to use HDD that is different from HDD that you used during the FBA. Also you can try with HDD that you used
> during the FBA, just to compare results.
> Before creating SDI file, please delete setupapi.log. (Optionally in registry increase log detailed shown by setupapi)
>
> When you boot from SDI file your setupapi.log will contain only information's related to why your disk failed to start. Please send
> this file in this NG.
>
> This also could be PnP related problem (Please check that you have User Mode PnP component)
>
> Regards,
> Slobodan
>
> "Paolo Margari" <PaoloMargari@discussions.microsoft.com> wrote in message news:3F80302E-7CC3-4E63-8E75-306CDA790856@microsoft.com...
> > Hi folks,
> >
> > I have a problem with XPe RAM boot and the hard disk volume mapping.
> > After running FBA and doing registry modifications described by Slobodon and
> > Pieter in
> >
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&edition=us&frame=right&th=a122cb8b26350253&seekm=s3r5nvs253iuh19uu55otpq1pq02gvv5lb%404ax.com#link9,
> > the IDE Disk was detectable and mountable from RAMDisk image only if two HDs
> > are presents. BTW, when the HD is alone, the RAMDisk image isn't capable to
> > mount the disk. Only RAMDisk device is visible as C:\. In this case, PnP
> > driver load fails with error CM_PROB_DRIVER_FAILED_LOAD - "Windows cannot
> > load the device driver for this hardware. The driver may be corrupted or
> > missing. (Code 39)" as reported by Setupapi.log.
> >
> > I have modified the registry with the settings described by Slobodan:
> >
> > 1) Deleted all registry kery from
> > "HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices"
> > (also the 'MountedDevices' key)
> >
> > 2) Deleted "SystemPartition" key from
> > "HKEY_LOCAL_MACHINE\SYSTEM\Setup"
> >
> > In any case, the RAMDisk image not mounts the HD partitions or the new HD to
> > format. If I plug-in an USB device, like a CF or HD, the drive letter mapping
> > fail everytime.
> >
> > How is possible to solve this problems? I try several combinations but the
> > problem
> > still here yet! Any suggests are welcome!
> >
> > Many thanks in advance for any assistance.
> >
> > Best regards,
> >
> > Paolo Margari
> >
> >
> > --------------------------------------------------------------------------------
> >
> > Dr. Paolo Margari, PHD
> > Research & Development Director
> >
> > Studio di Informatica
> > via L. Sanfelice, 25
> > I-50133 Firenze - Italy
> >
> > Tel. +39 055 561420
> > Fax +39 055 81131184
> > mobile +39 335 6122211
> >
> > e-mail: paolo.margari@tin.it
> > studio.informatica@tuttopmi.it
> >
> > ----------------------------------
> > Privacy and Confidentiality Notice:
> > The information contained in this electronic mail message is intended for
> > the named recipient(s) only. It may contain privileged and confidential
> > information. If you are not an intended recipient, you must not copy,
> > forward, distribute or take any action in reliance on it. If you have
> > received this electronic mail message in error, please notify the sender
> > immediately.
> > ----------------------------------
>
>
>



Relevant Pages

  • RE: SATA Driver Image Partition
    ... Linux distro MUST has driver for SATA controller or no ... What is the point of the image if they are on the disk? ... will be able to use it for specific partitions. ...
    (RedHat)
  • Re: Problems with Adaptec SCSI-cards
    ... The disk shows fine. ... > partitions to the disk and it writes the boot record fine. ... What options did you give the driver? ... the old pci card, ...
    (comp.os.linux.misc)
  • Re: Problems with Adaptec SCSI-cards
    ... The disk shows fine. ... a>>> partitions to the disk and it writes the boot record fine. ... a> Kernel is 2.6.9, the driver is aic7xxx. ... a>> the old pci card, ...
    (comp.os.linux.misc)
  • LVM on SW RAID for sarge - success
    ... I've just had success migrating Debian Sarge to root on LVM on RAID. ... First make sure the SCSI BIOS boots from the first disk. ... I made reiserfs on all the filesystem partitions and completed the ... The remaining two disks were partitioned and used to create RAID arrays ...
    (Debian-User)
  • Re: Replace SCSI Drive
    ... from there you can manipulate other hard drives attached to the machine. ... It should 'just work' but watch out that you keep disk devices ... vi-a) Write a BSD partition table into the slice, then set up your required FreeBSD partitions: ... items under the 'Custom Install' to achieve the desired result. ...
    (freebsd-questions)