none
PCI-e Serial card driver problem with XPE

    Question

  • Hi guys,

    I have XPE image with XP Pro component and pretty much everything enabled so the XPE looks and feels just like XP Pro.  The device I deployed my image on has a Startech PCI express Serial card.  This card provides 2 serial ports over pci-e.

    I cannot get the provided XP driver to work on XPE.  It gives me the following error:
    "The driver installation file for this device is missing a necessary entry.  This may be because the INF was written for Windows 95 or later." 
    This same driver installs on XP perfectly.

    More detail errors in setupapi.txt
    "Error 0xe0000219: The installation failed because a function driver was not specified for this device instance."

    I have not ran tap.exe on the pc with this card installed because we have just introduced this card recently, so I'm going to rebuild my device component list with tap and try it again, which will hopefully solve the problem.  In the mean time if anyone knows what the problem could be feel free to share your ideas.

    thanks
    Friday, February 06, 2009 7:01 PM

All replies

  • Just a little update.  i've ran tap on the pc with this troubled card and xp pro isntalled with all the drivers and rebuilt my XPE image using the new device.pmq file but that didnt help with the driver install.

    here's the detailed error log from setupapi.log

    I hope someone can give me some suggestions on what the problem maybe.

    #-019 Searching for hardware ID(s): pci\ven_9710&dev_9835&subsys_00021000&rev_01,pci\ven_9710&dev_9835&subsys_00021000,pci\ven_9710&dev_9835&cc_070002,pci\ven_9710&dev_9835&cc_0700
    #-018 Searching for compatible ID(s): pci\ven_9710&dev_9835&rev_01,pci\ven_9710&dev_9835,pci\ven_9710&cc_070002,pci\ven_9710&cc_0700,pci\ven_9710,pci\cc_070002,pci\cc_0700
    #-019 Searching for hardware ID(s): pci\ven_9710&dev_9835&subsys_00021000&rev_01,pci\ven_9710&dev_9835&subsys_00021000,pci\ven_9710&dev_9835&cc_070002,pci\ven_9710&dev_9835&cc_0700
    #-018 Searching for compatible ID(s): pci\ven_9710&dev_9835&rev_01,pci\ven_9710&dev_9835,pci\ven_9710&cc_070002,pci\ven_9710&cc_0700,pci\ven_9710,pci\cc_070002,pci\cc_0700
    #I022 Found "PCI\VEN_9710&DEV_9835&SUBSYS_00021000&REV_01" in f:\drivers\shared\serial\startek\win2k_xp_2003server\NmXpMf.inf; Device: "MosChip PCI Multi-IO Controller"; Driver: "MosChip PCI Multi-IO Controller"; Provider: "MosChip Technology"; Mfg: "MosChip Technology"; Section name: "CONFIG35_0U2S.mf".
    #I023 Actual install section: [CONFIG35_0U2S.mf]. Rank: 0x00000000. Effective driver date: 11/27/2006.
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #I063 Selected driver installs from section [CONFIG35_0U2S.mf] in "f:\drivers\shared\serial\startek\win2k_xp_2003server\nmxpmf.inf".
    #I320 Class GUID of device remains: {4D36E971-E325-11CE-BFC1-08002BE10318}.
    #I060 Set selected driver.
    #I058 Selected best compatible driver.
    #-124 Doing copy-only install of "PCI\VEN_9710&DEV_9835&SUBSYS_00021000&REV_01\5&34B95A88&0&000020".
    #E366 An unsigned or incorrectly signed file "f:\drivers\shared\serial\startek\win2k_xp_2003server\nmxpmf.inf" for driver "MosChip PCI Multi-IO Controller" will be installed (Policy=Warn, user said ok). Error 0xe000022f: The third-party INF does not contain digital signature information.
    #W187 Install failed, attempting to restore original files.
    #E362 An unsigned or incorrectly signed file "f:\drivers\shared\serial\startek\win2k_xp_2003server\nmxpmf.inf" for driver "MosChip PCI Multi-IO Controller" will be installed (Policy=Warn). Error 0xe000022f: The third-party INF does not contain digital signature information.
    #E197 Writing "C:\WINDOWS\INF\NmXpMf.inf" to "C:\WINDOWS\INF" is not an approved method of installing INF files. Use a 'CopyINF' entry instead.
    #E197 Writing "C:\WINDOWS\INF\Nm2kNull.inf" to "C:\WINDOWS\INF" is not an approved method of installing INF files. Use a 'CopyINF' entry instead.
    #E197 Writing "C:\WINDOWS\INF\Nm2kUnus.inf" to "C:\WINDOWS\INF" is not an approved method of installing INF files. Use a 'CopyINF' entry instead.
    #E197 Writing "C:\WINDOWS\INF\NmPorts.inf" to "C:\WINDOWS\INF" is not an approved method of installing INF files. Use a 'CopyINF' entry instead.
    #-166 Device install function: DIF_REGISTER_COINSTALLERS.
    #I056 Coinstallers registered.
    #-166 Device install function: DIF_INSTALLINTERFACES.
    #-011 Installing section [CONFIG35_0U2S.mf.Interfaces] from "f:\drivers\shared\serial\startek\win2k_xp_2003server\nmxpmf.inf".
    #I054 Interfaces installed.
    #-166 Device install function: DIF_INSTALLDEVICE.
    #I123 Doing full install of "PCI\VEN_9710&DEV_9835&SUBSYS_00021000&REV_01\5&34B95A88&0&000020".
    #E275 Error while installing services. Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
    #E122 Device install failed. Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
    #E157 Default installer failed. Error 0xe0000219: The installation failed because a function driver was not specified for this device instance.
    #I060 Set selected driver.
    #I125 Installing NULL driver for "PCI\VEN_9710&DEV_9835&SUBSYS_00021000&REV_01\5&34B95A88&0&000020".
    #I121 Device install of "PCI\VEN_9710&DEV_9835&SUBSYS_00021000&REV_01\5&34B95A88&0&000020" finished successfully.
    • Proposed as answer by NmXpMf Thursday, November 19, 2009 12:50 AM
    Friday, February 06, 2009 11:57 PM
  • Can you post the INF file?

    -Sean



    www.sjjmicro.com / www.seanliming.com, Book Author - XP Embedded Advanced, XPe Supplemental Toolkit
    Saturday, February 07, 2009 6:12 AM
  • I have fixed this problem by adding Multiport Communications Port and Device: MultiPortSerial :)
    Tuesday, February 10, 2009 7:03 PM
  • Could you possibly elaborate on how you fixed this? I'm having the same problem.
    Thursday, March 11, 2010 12:55 PM
  • can you detail this?, I am trying but no answer yet,

     

    thank you

    Friday, November 05, 2010 12:38 PM
  • Having just figured out enough from this posting to get past the same problem with windows 7 embedded standard I thought I would say what was meant above.

    In order to make it work with the image builder wizard follow these steps.

    First install once without the serial driver.

    Follow the instructions in 

    http://blogs.msdn.com/b/windows-embedded/archive/2011/03/10/regenerating-answer-file-from-an-existing-device-using-pkgscn-and-tap.aspx


    to get the pmq and answer file onto a usb stick.

    Load Image configuration editor and follow the instructions at the above link to import the two files you just created.

    Now add 'Packages/driver/multiport serial/multiport serial adapter driver'  by right clicking and then add to answer file.

    Take your answer file back on your usb stick.  Rerun the image builder wizard on your target machine. Making sure it does not pick up wrong xml file from the usb stick.  Supply the answer file.

    Now when in windows you should be able to install the serial port card driver without error.



    Thursday, October 03, 2013 1:46 PM