Re: Device stack reordering when driver is reloaded



Is there a registry entry for the IBM driver as an upper (or possibly lower)
filter? If yes, can you show it. If not, you need to determine how the IBM
driver comes to be installed. I'd guess things work OK when you stack is
built at boot but not when it is later (re)built. That makes me wonder if
IBM has some "bus" logic somewhere to ensure the filter is placed on the
stack and isn't relying purely on the OS.

--
James Antognini
Windows DDK and WDK Support


This posting is provided "AS IS" with no warranties, and confers no rights.



"Ilya Konstantinov" <ilya.konstantinov@xxxxxxxxx> wrote in message
news:1129204210.786748.138640@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> On my system, my vendor (IBM) preinstalls a filter driver (IBM Active
> PCI a.k.a. ibmhpf.sys) that sits between the PCI bus and PCI device
> drivers (such as mine). It manages some IBM-specific PCI hotplug
> functionality and should be "transparent" to PCI device drivers. My
> device driver is not aware of this filter and continues to work as
> usual. However, after I reload my driver (Disable+Enable in the Device
> Manager), it would no longer operate normally, getting null MDLs in its
> DispatchRead routine. As you know, there can be two reasons for getting
> null MDLs:
> 1. Not having DO_DIRECT_IO in your DEVICE_OBJECT's Flags. (Obviously I
> always had this flag set.)
> 2. Passing a zero-sized buffer to ReadFile. (I don't do this.)
>
> Inspecting my device with Walter Oney's DevView revealed the reason:
> while my FDO has DO_DIRECT_IO in its flags, IBM's FiDO does not -- and
> IBM's FiDO has relocated from being between my FDO and the PCI bus, to
> be *on top* of my FDO!
>
> What can cause this FiDO (whose source code I obviously don't have) to
> be inserted at the right place on system startup, but at the wrong
> place on subsequent reload of my driver?
>


.



Relevant Pages

  • Re: getting handle to device
    ... Please do not send e-mail directly to this alias. ... I have a bus filter driver to pci.sys. ... My company builds PCI and PCIE ...
    (microsoft.public.development.device.drivers)
  • Re: Win2k3 R2 - Storage Reporting on File Svr Cluster (SCSI-Attach
    ... The 7.12 driver set from the link you gave me is actually the ones I used. ... I questioned the IBM hardware support staff I contacted on this ... Cluster Manager, I have an IPSHA Disk D: resource which is attached to the ...
    (microsoft.public.windows.server.clustering)
  • Re: Looking for drivers (WinXP or Linux) for an IBM 97P6513 (U320)
    ... I purchased an U320 SCSI card that used to be in an IBM AIX machine ... running on the PPC cpu without having supporting code for the HOST ... Where have IBM stated that Linux requires different microcode than AIX? ... this code also provides the API for the host driver - and therefore ...
    (comp.periphs.scsi)
  • Re: Mouse Driver
    ... don't really need the IBM support software. ... I would either uninstall the IBM Mouse ... > PC is a desktop and the mouse is connected by PS2. ... >>> Dell PC and for some reason the driver seems to go away. ...
    (microsoft.public.windowsxp.general)
  • Re: Looking for drivers (WinXP or Linux) for an IBM 97P6513 (U320)
    ... I purchased an U320 SCSI card that used to be in an IBM AIX machine ... running on the PPC cpu without having supporting code for the HOST ... Where have IBM stated that Linux requires different microcode than AIX? ... this code also provides the API for the host driver - and therefore ...
    (comp.periphs.scsi)

Loading