I'm modifying the toaster bus sample to support other devices, and no
matter what resources I request for these devices, the PnP system tries
to rebalance and (eventually) fails. I can't figure out what resources
are in conflict.

Here is the output from kd for the resources I'm requesting for this
particular device:

ResReqList: Interface: ffffffff, Bus: fff, Slot: 0, AlternativeLists: 1
Alternative List: DescCount: 1
Opt: 1, Share: 3 IO Min: 0:00000000, Max: 0:0000ffff, Algn: 1, Len
1

This port range does include some ports that are not in use by any
other device, as near as I can tell from the other Resource Requirement
Lists printed out in kd. Is there another way to see where the conflict
is happening?

One other curious thing: My bus driver FDO gets
IRP_MN_QUERY_STOP_DEVICE, which it succeeds, and then it immediately
gets IRP_MN_CANCEL_STOP_DEVICE. Could that be part of the problem, and
if so, how do I find out who's failing the QUERY_STOP_DEVICE?

Thanks,
John

Re: What is causing this rebalance? by Doron

Doron
Tue Jun 20 21:02:38 CDT 2006

if you are root enumerated, then the PDO for your stack is probably failing
the query stop. are you trying to claim a resource that is already in use?

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"jr" <jrice@wyse.com> wrote in message
news:1150848794.320439.152060@c74g2000cwc.googlegroups.com...
> I'm modifying the toaster bus sample to support other devices, and no
> matter what resources I request for these devices, the PnP system tries
> to rebalance and (eventually) fails. I can't figure out what resources
> are in conflict.
>
> Here is the output from kd for the resources I'm requesting for this
> particular device:
>
> ResReqList: Interface: ffffffff, Bus: fff, Slot: 0, AlternativeLists: 1
> Alternative List: DescCount: 1
> Opt: 1, Share: 3 IO Min: 0:00000000, Max: 0:0000ffff, Algn: 1, Len
> 1
>
> This port range does include some ports that are not in use by any
> other device, as near as I can tell from the other Resource Requirement
> Lists printed out in kd. Is there another way to see where the conflict
> is happening?
>
> One other curious thing: My bus driver FDO gets
> IRP_MN_QUERY_STOP_DEVICE, which it succeeds, and then it immediately
> gets IRP_MN_CANCEL_STOP_DEVICE. Could that be part of the problem, and
> if so, how do I find out who's failing the QUERY_STOP_DEVICE?
>
> Thanks,
> John
>



Re: What is causing this rebalance? by jr

jr
Wed Jun 21 16:32:53 CDT 2006

I don't think I'm claiming a resource that's already in use.Is there
any way to tell what the conflic is aside from examining at the
resource requirements lists printed out in kd? Because I don't see the
conflict in those lists.

I am root enumerated. Why would the PDO below my bus FDO fail the query
stop?

Thanks for you help,
John


Doron Holan [MS] wrote:
> if you are root enumerated, then the PDO for your stack is probably failing
> the query stop. are you trying to claim a resource that is already in use?
>
> d
>
> --
> Please do not send e-mail directly to this alias. this alias is for
> newsgroup purposes only.
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>
> "jr" <jrice@wyse.com> wrote in message
> news:1150848794.320439.152060@c74g2000cwc.googlegroups.com...
> > I'm modifying the toaster bus sample to support other devices, and no
> > matter what resources I request for these devices, the PnP system tries
> > to rebalance and (eventually) fails. I can't figure out what resources
> > are in conflict.
> >
> > Here is the output from kd for the resources I'm requesting for this
> > particular device:
> >
> > ResReqList: Interface: ffffffff, Bus: fff, Slot: 0, AlternativeLists: 1
> > Alternative List: DescCount: 1
> > Opt: 1, Share: 3 IO Min: 0:00000000, Max: 0:0000ffff, Algn: 1, Len
> > 1
> >
> > This port range does include some ports that are not in use by any
> > other device, as near as I can tell from the other Resource Requirement
> > Lists printed out in kd. Is there another way to see where the conflict
> > is happening?
> >
> > One other curious thing: My bus driver FDO gets
> > IRP_MN_QUERY_STOP_DEVICE, which it succeeds, and then it immediately
> > gets IRP_MN_CANCEL_STOP_DEVICE. Could that be part of the problem, and
> > if so, how do I find out who's failing the QUERY_STOP_DEVICE?
> >
> > Thanks,
> > John
> >


Re: What is causing this rebalance? by jr

jr
Wed Jun 21 17:04:09 CDT 2006

I should also mention that the Resources tab for the enumerated device
in Device Manager lists:

I/O Range ?

And no conflicting devices.

-jr

jr wrote:
> I don't think I'm claiming a resource that's already in use.Is there
> any way to tell what the conflic is aside from examining at the
> resource requirements lists printed out in kd? Because I don't see the
> conflict in those lists.
>
> I am root enumerated. Why would the PDO below my bus FDO fail the query
> stop?
>
> Thanks for you help,
> John
>
>
> Doron Holan [MS] wrote:
> > if you are root enumerated, then the PDO for your stack is probably failing
> > the query stop. are you trying to claim a resource that is already in use?
> >
> > d
> >
> > --
> > Please do not send e-mail directly to this alias. this alias is for
> > newsgroup purposes only.
> > This posting is provided "AS IS" with no warranties, and confers no rights.
> >
> >
> > "jr" <jrice@wyse.com> wrote in message
> > news:1150848794.320439.152060@c74g2000cwc.googlegroups.com...
> > > I'm modifying the toaster bus sample to support other devices, and no
> > > matter what resources I request for these devices, the PnP system tries
> > > to rebalance and (eventually) fails. I can't figure out what resources
> > > are in conflict.
> > >
> > > Here is the output from kd for the resources I'm requesting for this
> > > particular device:
> > >
> > > ResReqList: Interface: ffffffff, Bus: fff, Slot: 0, AlternativeLists: 1
> > > Alternative List: DescCount: 1
> > > Opt: 1, Share: 3 IO Min: 0:00000000, Max: 0:0000ffff, Algn: 1, Len
> > > 1
> > >
> > > This port range does include some ports that are not in use by any
> > > other device, as near as I can tell from the other Resource Requirement
> > > Lists printed out in kd. Is there another way to see where the conflict
> > > is happening?
> > >
> > > One other curious thing: My bus driver FDO gets
> > > IRP_MN_QUERY_STOP_DEVICE, which it succeeds, and then it immediately
> > > gets IRP_MN_CANCEL_STOP_DEVICE. Could that be part of the problem, and
> > > if so, how do I find out who's failing the QUERY_STOP_DEVICE?
> > >
> > > Thanks,
> > > John
> > >