PDO not able to link to driver

Hi,

My bus driver is creating the PDO for another bus enumerated device. When
the system asked for “New device Found”, I installed the driver for it.

But when I reboot the machine (at that time also bus driver creates PDO for
the same device) the kernel doesn’t link the driver with this PDO and again
ask for “New Device found”.

Now I can see the two entries for the bus enumerated devices in in registry
HKLM\CurrentControlSet\Enum where I was expecting one.

Any idea what could be the reason of kernel not linking the PDOs to its
installed driver after reboot the machine?

Thanks

  • Bill

Planning a family vacation? Check out the MSN Family Travel guide!
http://dollar.msn.com

Are all the IDs (bus id, instance id, hw ids, compat ids) the same
across enumerations? Is the parent itself being enumerated by the same
bus? Is the parent’s bus also giving out the same information both
times?

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
Sent: Friday, July 23, 2004 1:01 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] PDO not able to link to driver

Hi,

My bus driver is creating the PDO for another bus enumerated device.
When
the system asked for “New device Found”, I installed the driver for it.

But when I reboot the machine (at that time also bus driver creates PDO
for
the same device) the kernel doesn’t link the driver with this PDO and
again
ask for “New Device found”.

Now I can see the two entries for the bus enumerated devices in in
registry
HKLM\CurrentControlSet\Enum where I was expecting one.

Any idea what could be the reason of kernel not linking the PDOs to its
installed driver after reboot the machine?

Thanks

  • Bill

Planning a family vacation? Check out the MSN Family Travel guide!
http://dollar.msn.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks Don

Yes, the bus id, instance id hw ids are same both of the times. Not using
the compat id.

The only difference is that it is being enumerated by different bus (which
is a PCI adapter).

I have two PCI adapters which are enumerating the PDOs. but the sequence in
which PCI bus enumerates these adapters differs between two reboots.

Does that matter? If yes then Is there a way to ask PCI bus to enumerate my
PCI adapters in a fixed manner (means Adapter A always comes before adapter
B)?

Thanks

  • Bill

From: “Doron Holan”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Fri, 23 Jul 2004 13:07:39 -0700
>
>Are all the IDs (bus id, instance id, hw ids, compat ids) the same
>across enumerations? Is the parent itself being enumerated by the same
>bus? Is the parent’s bus also giving out the same information both
>times?
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
>Sent: Friday, July 23, 2004 1:01 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] PDO not able to link to driver
>
>Hi,
>
>My bus driver is creating the PDO for another bus enumerated device.
>When
>the system asked for “New device Found”, I installed the driver for it.
>
>But when I reboot the machine (at that time also bus driver creates PDO
>for
>the same device) the kernel doesn’t link the driver with this PDO and
>again
>ask for “New Device found”.
>
>Now I can see the two entries for the bus enumerated devices in in
>registry
>HKLM\CurrentControlSet\Enum where I was expecting one.
>
>Any idea what could be the reason of kernel not linking the PDOs to its
>installed driver after reboot the machine?
>
>Thanks
>
>- Bill
>
>
>Planning a family vacation? Check out the MSN Family Travel guide!
>http://dollar.msn.com
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN
Money. http://special.msn.com/money/0407debt.armx

A child is not identified by itself. It’s uniqueness is also defined by
its parent. For instance, if you plug in a usb device into 2 separate
ports sequentially on the same hub, it will be installed twice b/c the
OS doesn’t know it is the same device.

Now, with that said, try reporting that you enumerate unique IDs (in
your device capabilities)…that will make your device id more of an
identifier. I think as long as there is a common ancestor between your
2 enumerators, this should work, but I don’t know the exact algorithm
how pnp determines when a unique device is new again.

d

btw it’s Doron, not Don

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
Sent: Friday, July 23, 2004 1:39 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] PDO not able to link to driver

Thanks Don

Yes, the bus id, instance id hw ids are same both of the times. Not
using
the compat id.

The only difference is that it is being enumerated by different bus
(which
is a PCI adapter).

I have two PCI adapters which are enumerating the PDOs. but the sequence
in
which PCI bus enumerates these adapters differs between two reboots.

Does that matter? If yes then Is there a way to ask PCI bus to enumerate
my
PCI adapters in a fixed manner (means Adapter A always comes before
adapter
B)?

Thanks

  • Bill

From: “Doron Holan”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Fri, 23 Jul 2004 13:07:39 -0700
>
>Are all the IDs (bus id, instance id, hw ids, compat ids) the same
>across enumerations? Is the parent itself being enumerated by the same
>bus? Is the parent’s bus also giving out the same information both
>times?
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
>Sent: Friday, July 23, 2004 1:01 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] PDO not able to link to driver
>
>Hi,
>
>My bus driver is creating the PDO for another bus enumerated device.
>When
>the system asked for “New device Found”, I installed the driver for it.
>
>But when I reboot the machine (at that time also bus driver creates PDO
>for
>the same device) the kernel doesn’t link the driver with this PDO and
>again
>ask for “New Device found”.
>
>Now I can see the two entries for the bus enumerated devices in in
>registry
>HKLM\CurrentControlSet\Enum where I was expecting one.
>
>Any idea what could be the reason of kernel not linking the PDOs to its
>installed driver after reboot the machine?
>
>Thanks
>
>- Bill
>
>
>Planning a family vacation? Check out the MSN Family Travel guide!
>http://dollar.msn.com
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN

Money. http://special.msn.com/money/0407debt.armx


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks a lot for the help Doron

I created a unique instance id for the same adapter across various reboots
and it worked.

  • Bill

From: “Doron Holan”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Fri, 23 Jul 2004 13:55:24 -0700
>
>A child is not identified by itself. It’s uniqueness is also defined by
>its parent. For instance, if you plug in a usb device into 2 separate
>ports sequentially on the same hub, it will be installed twice b/c the
>OS doesn’t know it is the same device.
>
>Now, with that said, try reporting that you enumerate unique IDs (in
>your device capabilities)…that will make your device id more of an
>identifier. I think as long as there is a common ancestor between your
>2 enumerators, this should work, but I don’t know the exact algorithm
>how pnp determines when a unique device is new again.
>
>d
>
>btw it’s Doron, not Don
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
>Sent: Friday, July 23, 2004 1:39 PM
>To: Windows System Software Devs Interest List
>Subject: RE: [ntdev] PDO not able to link to driver
>
>Thanks Don
>
>Yes, the bus id, instance id hw ids are same both of the times. Not
>using
>the compat id.
>
>The only difference is that it is being enumerated by different bus
>(which
>is a PCI adapter).
>
>I have two PCI adapters which are enumerating the PDOs. but the sequence
>in
>which PCI bus enumerates these adapters differs between two reboots.
>
>Does that matter? If yes then Is there a way to ask PCI bus to enumerate
>my
>PCI adapters in a fixed manner (means Adapter A always comes before
>adapter
>B)?
>
>Thanks
>- Bill
>
> >From: “Doron Holan”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >Subject: RE: [ntdev] PDO not able to link to driver
> >Date: Fri, 23 Jul 2004 13:07:39 -0700
> >
> >Are all the IDs (bus id, instance id, hw ids, compat ids) the same
> >across enumerations? Is the parent itself being enumerated by the same
> >bus? Is the parent’s bus also giving out the same information both
> >times?
> >
> >-----Original Message-----
> >From: xxxxx@lists.osr.com
> >[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
> >Sent: Friday, July 23, 2004 1:01 PM
> >To: Windows System Software Devs Interest List
> >Subject: [ntdev] PDO not able to link to driver
> >
> >Hi,
> >
> >My bus driver is creating the PDO for another bus enumerated device.
> >When
> >the system asked for “New device Found”, I installed the driver for it.
> >
> >But when I reboot the machine (at that time also bus driver creates PDO
> >for
> >the same device) the kernel doesn’t link the driver with this PDO and
> >again
> >ask for “New Device found”.
> >
> >Now I can see the two entries for the bus enumerated devices in in
> >registry
> >HKLM\CurrentControlSet\Enum where I was expecting one.
> >
> >Any idea what could be the reason of kernel not linking the PDOs to its
> >installed driver after reboot the machine?
> >
> >Thanks
> >
> >- Bill
> >
> >
> >Planning a family vacation? Check out the MSN Family Travel guide!
> >http://dollar.msn.com
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

>Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN
>
>Money. http://special.msn.com/money/0407debt.armx
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/

The short answer to “Is there a way to ask PCI bus to enumerate my PCI
adapters in a fixed manner (means Adapter A always comes before adapter B)?”
Is ‘no’. The long answer is of course yes, but it is going to require a lot
of work on your part.

=====================
Mark Roddy

-----Original Message-----
From: Bill Wells [mailto:xxxxx@hotmail.com]
Sent: Friday, July 23, 2004 4:39 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] PDO not able to link to driver

Thanks Don

Yes, the bus id, instance id hw ids are same both of the times. Not using
the compat id.

The only difference is that it is being enumerated by different bus (which
is a PCI adapter).

I have two PCI adapters which are enumerating the PDOs. but the sequence in
which PCI bus enumerates these adapters differs between two reboots.

Does that matter? If yes then Is there a way to ask PCI bus to enumerate my
PCI adapters in a fixed manner (means Adapter A always comes before adapter
B)?

Thanks

  • Bill

From: “Doron Holan”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Fri, 23 Jul 2004 13:07:39 -0700
>
>Are all the IDs (bus id, instance id, hw ids, compat ids) the same
>across enumerations? Is the parent itself being enumerated by the same
>bus? Is the parent’s bus also giving out the same information both
>times?
>
>-----Original Message-----
>From: xxxxx@lists.osr.com
>[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
>Sent: Friday, July 23, 2004 1:01 PM
>To: Windows System Software Devs Interest List
>Subject: [ntdev] PDO not able to link to driver
>
>Hi,
>
>My bus driver is creating the PDO for another bus enumerated device.
>When
>the system asked for “New device Found”, I installed the driver for it.
>
>But when I reboot the machine (at that time also bus driver creates PDO
>for the same device) the kernel doesn’t link the driver with this PDO
>and again ask for “New Device found”.
>
>Now I can see the two entries for the bus enumerated devices in in
>registry HKLM\CurrentControlSet\Enum where I was expecting one.
>
>Any idea what could be the reason of kernel not linking the PDOs to its
>installed driver after reboot the machine?
>
>Thanks
>
>- Bill
>
>
>Planning a family vacation? Check out the MSN Family Travel guide!
>http://dollar.msn.com
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com


Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN
Money. http://special.msn.com/money/0407debt.armx


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Thanks Mark,

I would like to know about the long answer “Yes”. Could you please provide
some pointers in that direction - that is how to implement that Adapter A
always get enumerated before adapter B?

  • Bill

From: “Roddy, Mark”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Mon, 26 Jul 2004 09:22:35 -0400
>
>The short answer to “Is there a way to ask PCI bus to enumerate my PCI
>adapters in a fixed manner (means Adapter A always comes before adapter
>B)?”
>Is ‘no’. The long answer is of course yes, but it is going to require a lot
>of work on your part.
>
>
>
>=====================
>Mark Roddy
>
>-----Original Message-----
>From: Bill Wells [mailto:xxxxx@hotmail.com]
>Sent: Friday, July 23, 2004 4:39 PM
>To: Windows System Software Devs Interest List
>Subject: RE: [ntdev] PDO not able to link to driver
>
>Thanks Don
>
>Yes, the bus id, instance id hw ids are same both of the times. Not using
>the compat id.
>
>The only difference is that it is being enumerated by different bus (which
>is a PCI adapter).
>
>I have two PCI adapters which are enumerating the PDOs. but the sequence in
>which PCI bus enumerates these adapters differs between two reboots.
>
>Does that matter? If yes then Is there a way to ask PCI bus to enumerate my
>PCI adapters in a fixed manner (means Adapter A always comes before adapter
>B)?
>
>Thanks
>- Bill
>
> >From: “Doron Holan”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >Subject: RE: [ntdev] PDO not able to link to driver
> >Date: Fri, 23 Jul 2004 13:07:39 -0700
> >
> >Are all the IDs (bus id, instance id, hw ids, compat ids) the same
> >across enumerations? Is the parent itself being enumerated by the same
> >bus? Is the parent’s bus also giving out the same information both
> >times?
> >
> >-----Original Message-----
> >From: xxxxx@lists.osr.com
> >[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
> >Sent: Friday, July 23, 2004 1:01 PM
> >To: Windows System Software Devs Interest List
> >Subject: [ntdev] PDO not able to link to driver
> >
> >Hi,
> >
> >My bus driver is creating the PDO for another bus enumerated device.
> >When
> >the system asked for “New device Found”, I installed the driver for it.
> >
> >But when I reboot the machine (at that time also bus driver creates PDO
> >for the same device) the kernel doesn’t link the driver with this PDO
> >and again ask for “New Device found”.
> >
> >Now I can see the two entries for the bus enumerated devices in in
> >registry HKLM\CurrentControlSet\Enum where I was expecting one.
> >
> >Any idea what could be the reason of kernel not linking the PDOs to its
> >installed driver after reboot the machine?
> >
> >Thanks
> >
> >- Bill
> >
> >
> >Planning a family vacation? Check out the MSN Family Travel guide!
> >http://dollar.msn.com
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com To
> >unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

>Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN
>Money. http://special.msn.com/money/0407debt.armx
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@stratus.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

It requires a filter driver or similar intermediate driver that sits between
the ‘real’ bus and your adapter pdos and enforces whatever enumeration order
you need by refusing to allow the disordered pdo into the system until the
correct time. Of course there are lots of issues here that I am waving away.

=====================
Mark Roddy

-----Original Message-----
From: Bill Wells [mailto:xxxxx@hotmail.com]
Sent: Monday, July 26, 2004 12:39 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] PDO not able to link to driver

Thanks Mark,

I would like to know about the long answer “Yes”. Could you please provide
some pointers in that direction - that is how to implement that Adapter A
always get enumerated before adapter B?

  • Bill

From: “Roddy, Mark”
>Reply-To: “Windows System Software Devs Interest List”
>
>To: “Windows System Software Devs Interest List”
>Subject: RE: [ntdev] PDO not able to link to driver
>Date: Mon, 26 Jul 2004 09:22:35 -0400
>
>The short answer to “Is there a way to ask PCI bus to enumerate my PCI
>adapters in a fixed manner (means Adapter A always comes before adapter
>B)?”
>Is ‘no’. The long answer is of course yes, but it is going to require a
>lot of work on your part.
>
>
>
>=====================
>Mark Roddy
>
>-----Original Message-----
>From: Bill Wells [mailto:xxxxx@hotmail.com]
>Sent: Friday, July 23, 2004 4:39 PM
>To: Windows System Software Devs Interest List
>Subject: RE: [ntdev] PDO not able to link to driver
>
>Thanks Don
>
>Yes, the bus id, instance id hw ids are same both of the times. Not
>using the compat id.
>
>The only difference is that it is being enumerated by different bus
>(which is a PCI adapter).
>
>I have two PCI adapters which are enumerating the PDOs. but the
>sequence in which PCI bus enumerates these adapters differs between two
reboots.
>
>Does that matter? If yes then Is there a way to ask PCI bus to
>enumerate my PCI adapters in a fixed manner (means Adapter A always
>comes before adapter B)?
>
>Thanks
>- Bill
>
> >From: “Doron Holan”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >
> >Subject: RE: [ntdev] PDO not able to link to driver
> >Date: Fri, 23 Jul 2004 13:07:39 -0700
> >
> >Are all the IDs (bus id, instance id, hw ids, compat ids) the same
> >across enumerations? Is the parent itself being enumerated by the
> >same bus? Is the parent’s bus also giving out the same information
> >both times?
> >
> >-----Original Message-----
> >From: xxxxx@lists.osr.com
> >[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
> >Sent: Friday, July 23, 2004 1:01 PM
> >To: Windows System Software Devs Interest List
> >Subject: [ntdev] PDO not able to link to driver
> >
> >Hi,
> >
> >My bus driver is creating the PDO for another bus enumerated device.
> >When
> >the system asked for “New device Found”, I installed the driver for it.
> >
> >But when I reboot the machine (at that time also bus driver creates
> >PDO for the same device) the kernel doesn’t link the driver with this
> >PDO and again ask for “New Device found”.
> >
> >Now I can see the two entries for the bus enumerated devices in in
> >registry HKLM\CurrentControlSet\Enum where I was expecting one.
> >
> >Any idea what could be the reason of kernel not linking the PDOs to
> >its installed driver after reboot the machine?
> >
> >Thanks
> >
> >- Bill
> >
> >
> >Planning a family vacation? Check out the MSN Family Travel guide!
> >http://dollar.msn.com
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as:
> >xxxxx@windows.microsoft.com To unsubscribe send a blank email to
> >xxxxx@lists.osr.com
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

>Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from
>MSN Money. http://special.msn.com/money/0407debt.armx
>
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@stratus.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com
>
>—
>Questions? First check the Kernel Driver FAQ at
>http://www.osronline.com/article.cfm?id=256
>
>You are currently subscribed to ntdev as: xxxxx@hotmail.com To
>unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee(r)
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Yes. This is so not only in Windows.

For instance, FreeBSD’s “smbfs” has a bug in resolving NetBIOS names (the
bug is not in a kernel module, but in libsmb.so.1 used by mount_smbfs).

Due to this bug, the broadcast name resolution can run only either using
WINS server or using broadcasts on the first interface on the machine. It
cannot resolve by broadcasts on other interfaces. This is a bug, since the
“smbclient” tool from Samba does this properly, as does Windows.

The next amazing thing is that the order of network interfaces (as used by
“ifconfig”) is determined by physical PCI slots only, and cannot be
influenced neither by conf files nor by kernel rebuild.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Roddy, Mark”
To: “Windows System Software Devs Interest List”
Sent: Monday, July 26, 2004 5:22 PM
Subject: RE: [ntdev] PDO not able to link to driver

> The short answer to “Is there a way to ask PCI bus to enumerate my PCI
> adapters in a fixed manner (means Adapter A always comes before adapter B)?”
> Is ‘no’. The long answer is of course yes, but it is going to require a lot
> of work on your part.
>
>
>
> =====================
> Mark Roddy
>
> -----Original Message-----
> From: Bill Wells [mailto:xxxxx@hotmail.com]
> Sent: Friday, July 23, 2004 4:39 PM
> To: Windows System Software Devs Interest List
> Subject: RE: [ntdev] PDO not able to link to driver
>
> Thanks Don
>
> Yes, the bus id, instance id hw ids are same both of the times. Not using
> the compat id.
>
> The only difference is that it is being enumerated by different bus (which
> is a PCI adapter).
>
> I have two PCI adapters which are enumerating the PDOs. but the sequence in
> which PCI bus enumerates these adapters differs between two reboots.
>
> Does that matter? If yes then Is there a way to ask PCI bus to enumerate my
> PCI adapters in a fixed manner (means Adapter A always comes before adapter
> B)?
>
> Thanks
> - Bill
>
> >From: “Doron Holan”
> >Reply-To: “Windows System Software Devs Interest List”
> >
> >To: “Windows System Software Devs Interest List”
> >Subject: RE: [ntdev] PDO not able to link to driver
> >Date: Fri, 23 Jul 2004 13:07:39 -0700
> >
> >Are all the IDs (bus id, instance id, hw ids, compat ids) the same
> >across enumerations? Is the parent itself being enumerated by the same
> >bus? Is the parent’s bus also giving out the same information both
> >times?
> >
> >-----Original Message-----
> >From: xxxxx@lists.osr.com
> >[mailto:xxxxx@lists.osr.com] On Behalf Of Bill Wells
> >Sent: Friday, July 23, 2004 1:01 PM
> >To: Windows System Software Devs Interest List
> >Subject: [ntdev] PDO not able to link to driver
> >
> >Hi,
> >
> >My bus driver is creating the PDO for another bus enumerated device.
> >When
> >the system asked for “New device Found”, I installed the driver for it.
> >
> >But when I reboot the machine (at that time also bus driver creates PDO
> >for the same device) the kernel doesn’t link the driver with this PDO
> >and again ask for “New Device found”.
> >
> >Now I can see the two entries for the bus enumerated devices in in
> >registry HKLM\CurrentControlSet\Enum where I was expecting one.
> >
> >Any idea what could be the reason of kernel not linking the PDOs to its
> >installed driver after reboot the machine?
> >
> >Thanks
> >
> >- Bill
> >
> >
> >Planning a family vacation? Check out the MSN Family Travel guide!
> >http://dollar.msn.com
> >
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >—
> >Questions? First check the Kernel Driver FAQ at
> >http://www.osronline.com/article.cfm?id=256
> >
> >You are currently subscribed to ntdev as: xxxxx@hotmail.com To
> >unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

> Overwhelmed by debt? Find out how to ‘Dig Yourself Out of Debt’ from MSN
> Money. http://special.msn.com/money/0407debt.armx
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@stratus.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com