none
PCI Device Driver Not Loaded RRS feed

  • Question

  • I’m developing a PCI Device Driver for an IO board generating external interrupt.

    I created the usual DLL with the different entries (Init, Ioctl, …) and create the registry entries :

    [HKEY_LOCAL_MACHINE\Drivers\Builtin\PCI\Template\PIOD48]

        "Dll"="PIOD48.Dll"

        "Class"=dword:02

        "SubClass"=dword:80

        "ProgIF"=dword:00

        "VendorID"=multi_sz:"E159"

        "DeviceID"=multi_sz:"0001"

        "Prefix"="PIO"

        "flags"=dword:0

    I changed the DEBUGZONE for the PCIBUS module and debug step by step PCIEnum, the board is detected but not loaded.

    The messages are :

    4294774108 PID:400002 TID:bf0006 PCIBUS!PCICfgFindMatch: Matched device 5/14/0 with registry key 'Drivers\BuiltIn\PCI\Template\PIOD48'

    4294774108 PID:400002 TID:bf0006 PCIBUS!PCIRequestResources: I/O Resource Manager request for I/O range 0xE400-0xE4FF

    4294774108 PID:400002 TID:bf0006 PCIBUS!PCIRequestResources: I/O Resource Manager request for IRQ 10

    4294774108 PID:400002 TID:bf0006 PCIBUS!PCIRequestResourcesEx: I/O Resource Manager request for IRQ 10 with flag 0 failed

    4294774109 PID:400002 TID:bf0006 PCIbus!PCIEnum: WARNING: Resource request for device 5:14:0 failed

    It’s seems that the IRQ 10 is not available, I inserted new entries in the registry to use the interrupt sharing, no success anymore.

        "IsrDll"="giisr.dll"

        "IsrHandler"="ISRHandler"

    I don’t know what I have to do now! The BIOS allow this IRQ and it is impossible to change the hardware IRQ for the PCI board.

    Could you please help me to resolve this issue ?

    Thank you,

    Philippe

    Friday, March 21, 2014 4:49 PM

Answers

  • I found the problem, after connecting the serial port to have more debug information on boot, I seen that KITL is using IRQ 10 and this interrupt is not longer available for other devices.

    Enabling adapter ints...
    +RTL8139EnableInts()..
    -RTL8139EnableInts()..
    Reserve KITL IRQ: Reserved IRQ 10.  Other device drivers will not load on this IRQ.

    Philippe

    • Marked as answer by pcbuch Wednesday, March 26, 2014 10:59 AM
    Wednesday, March 26, 2014 10:58 AM