Deployment Solution

 View Only
  • 1.  DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 08, 2009 06:23 AM
    Hello everyone,

    I'm currently facing a problem with DS 6.9 SP2.

    I created an image on a Dell Optiplex 755.
    To create this Image, I used a custom XP SP3 CD, in which I injected all the different storage driver we needed (I used Nlite).

    The image works fine, i deployed it on differente machines (GX 260, GX 270, HP 7100, HP 7600).

    But, on our newly received Optiplex 760, once the image is deployed, Windows Starts booting then reboots, again and again.
    I suspected a storage driver problem.
    I selected "Legacy mode" on the SATA operation mode in the BIOS, then the image deployed fine and Windows booted normally.

    So this really seems to be coming from the SATA controller.

    I thought I could add the driver to DeployAnywhere. Maybe this would work.
    So I went on the Dell Website, downloaded the Intel Matrix Storage driver floppy package (which contains TXTSETUP.OEM and the driver).
    Then I opened the DeployAnywhere Driver Database manager, clicked on the Storage Driver tab then Add New Driver
    I entered the location, a friendly name, and checked the OS the driver was made for : XP

    When I get deep down the list, i can see my newly add driver, BUT (and that's what surprises me) under Supported OS I can see :

    0x8086        x64_2003 x64_2008 x64_VISTA x64_XP

    It seems that DeployAwywhere sees it as an x64 driver, but it's not ! I went on the Dell Website, chose Optiplex 760 as the product, then Windows XP
    So it's really the correct driver. I even tried with the official Intel generic driver, same thing.

    So in fact I don't really know where to look for, is it a problem with DeployAnywhere ? With my image ? With The Matrix Storage driver ??

    I'm really helpless right now...

    In advance, thank you.


  • 2.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 08, 2009 11:13 AM
    I had a ton of problems getting my 760s to boot as well.

    I can send you the drivers that I am using for the model specific driver copy but I suspect that you'll still run in to the same issue.

    I remedied (and only partially isolated) the problem by attacking sysprep.inf and the CriticalDeviceDatabase key in the registry.  I restored the factory image to a 760 and then ran sysprep -bmsd and grabbed the sysprep.inf file.  I then looked for any missing IASTOR/IAAHCI lines as compared to my master sysprep.inf file. 

    After that, I went to HKLM\SYSTEM\Control\CurrentControlSet and exported the CriticalDeviceDatabase key. My rudimentary understanding of this key is that it is what the OS uses to load critical drivers (which would include SATA drivers) as it is booting. If you're missing the entry that corresponds to your particular drive/controller, you'll get a BSOD.

    I exported my SYSTEM hive from my master image and compared the ControlSet001\CriticalDeviceDatabase key with the one I collected from the factory image.  This proved a bit tedious, so I mounted the system key from my image in the registry editor. Then, I edited the .reg file from the factory image to point to the mounted CriticalDevicedatabse key, imported the updated .reg file, unmounted the SYSTEM hive, and added it to my master image.

    I know this is convoluted, and I'm more than willing to pass on whatever files/information that you'd like. This problem took forever to resolve and, admittedly, this is more of a workaround than a fix. However, sometimes you need to cut your losses and move on.

    Good luck!
    Mike






  • 3.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 08, 2009 12:35 PM
    I did the same process as Mike mentions when we first got our Optiplex 755's, 760's and Latitude E series laptops.  Here's my reg files that I had to inject into my image for the 755 and 760.   In addition, I added the latest drivers in the appropriate locations on my master image.  With regards to the reg files, the best thing is to do the compare process like Mike mentions on your own so my little disclaimer is to ***Use this info at your own risk***.

    AHCI Registry Entries for Optiplex 755  – install on master image before sysprep and have CD with drivers in CD drive during sysprep:

    Windows Registry Editor Version 5.00


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_2922&cc_0106]
    "Service"="iaStor"
    "ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"


    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor]
    "Type"=dword:00000001
    "Start"=dword:00000000
    "Group"="SCSI miniport"
    "ErrorControl"=dword:00000001
    "ImagePath"="system32\\drivers\\iaStor.sys"
    "tag"=dword:00000019
    "DisplayName"="Intel AHCI Controller"

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters]
    "queuePriorityEnable"=dword:00000000
    "BusType"=dword:00000003

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\PnpInterface]
    "5"=dword:00000001

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port0]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port1]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port2]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port3]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port4]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Parameters\Port5]
    "AN"=dword:00000000
    "LPM"=dword:00000000
    "LPMSTATE"=dword:00000000
    "LPMDSTATE"=dword:00000001
    "GTF"=dword:00000000
    "DIPM"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Enum]
    "0"="PCI\\VEN_8086&DEV_2922&SUBSYS_02111028&REV_02\\3&172e68dd&0&FA"
    "Count"=dword:00000001
    "NextInstance"=dword:00000001


    AHCI Registry Entries for 760, E6400 and E6500 computers – install on master image before sysprep and have CD with drivers in CD drive during sysprep:

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#ven_8086&dev_3a02&cc_0106]
    "Service"="iaStor"
    "ClassGUID"="{4D36E96A-E325-11CE-BFC1-08002BE10318}"


    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iastor\Enum]
    "0"="PCI\\VEN_8086&DEV_2922&SUBSYS_02111028&REV_02\\3&172e68dd&0&FA"
    "Count"=dword:00000002
    "NextInstance"=dword:00000002
    "1"="PCI\\VEN_8086&DEV_3A02&SUBSYS_027F1028&REV_02\\3&172e68dd&0&FA"




  • 4.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 08, 2009 03:50 PM
    This process is such a pain.


  • 5.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 09, 2009 09:01 AM
    "This process is such a pain".    You got that right! 


  • 6.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 09, 2009 09:21 AM
    Adding Intel SATA drivers

    I see tons of different models every engagement, and I will have to say as newer models come out the SATA drives and drivers in general are becoming more of a pain.


  • 7.  RE: DeployAniwhere and Optiplex 760 : Strange Matrix Storage behavior

    Posted Jul 15, 2009 03:49 AM
    OK, thanks !

    If I'm courageous enough, I'll give it a try, otherwise, I'll juste put the storage controller in Legacy Mode....


    And, about the DeployAnywhere bug ? Anyone has a clue ?