[ofw] RE: pnpdtest problems with IPoIB
Leonid Keller
leonid at mellanox.co.il
Sat Nov 15 13:13:56 PST 2008
See inline
> -----Original Message-----
> From: Fab Tillier [mailto:ftillier at windows.microsoft.com]
> Sent: Friday, November 14, 2008 6:20 PM
> To: Leonid Keller; Stan C. Smith
> Cc: ofw at lists.openfabrics.org
> Subject: RE: pnpdtest problems with IPoIB
>
> Hi Leo,
>
> >The test first sends IRP_MN_QUERY_STOP_DEVICE to IPoIB.
> >IPoIB skips it down to IB_BUS, it skips it down to MLX4_HCA
> and the latter >returns 103 (STATUS_PENDING), which get
> returned to PnP manager.
>
> Why is the bus driver passing the IRP from the PDO's device
> node down to its parent? The IPoIB instance is being
> QUERY_STOP'd, not the HCA. Why isn't the bus driver
> completing it (in the context of the PDO)?
My description was not exact, sorry.
The bus driver (bus_port_mgr.c) completes it OK.
But then PnP manager sends QUERY_STOP to the FDO (bus_pnp.c), which - as
FDO is expected to - skips it down the stack till the bus driver.
I've attached a trace with more prints.
Here is a quote from this trace with snips (lines 85-148):
cl_pnp() [
cl_pnp(): IRP_MN_QUERY_STOP_DEVICE for IPoIB
cl_pnp(): IrpComplete: complete IRP with status 0
cl_pnp() ]
cl_pnp() [
cl_pnp(): IRP_MN_QUERY_RESOURCE_REQUIREMENTS for IPoIB
cl_pnp(): IrpComplete: complete IRP with status 0xc00000bb
cl_pnp() ]
cl_pnp() [
cl_pnp(): IRP_MN_FILTER_RESOURCE_REQUIREMENTS for IPoIB
cl_pnp(): IrpComplete: complete IRP with status 0xc00000bb
cl_pnp() ]
cl_pnp() [
cl_pnp(): IRP_MN_QUERY_STOP_DEVICE for IB Bus
cl_pnp(): IrpSkip/IrpIgnore: passing down to PDO 92E964C0, ext 85BE83E0,
status 0
cl_pnp() [
cl_pnp(): IRP_MN_QUERY_STOP_DEVICE for MLX4_HCA driver
cl_pnp(): IrpSkip/IrpIgnore: passing down to PDO 87D77D58, ext 92E96578,
status 0
cl_pnp(): returned with status 0x103
cl_pnp() ]
cl_pnp(): returned with status 0x103
cl_pnp() ]
...
PNPFILTR: FilterCompletionRoutine Completed, event set.
PNPFILTR: FilterCancelStop Setting TestCompleteEvent for stack with PDO
0x874A8530
PNPFILTR: FilterCancelStop returning 0x00000000 for stack with PDO
0x874A8530
PNPFILTR: Query Result Wait Satisfied... 6
PNPFILTR: Number of IRPs Stored... 6
PNPFILTR: Query Result - Releasing the remove
PNPFILTR: Query Result -Result Stored Event set
Relevant Sequence of Irps:
IRP_MN_QUERY_PNP_DEVICE_STATE
IRP_MN_QUERY_STOP_DEVICE
IRP_MN_QUERY_RESOURCE_REQUIREMENTS
IRP_MN_FILTER_RESOURCE_REQUIREMENTS
IRP_MN_QUERY_INTERFACE
IRP_MN_CANCEL_STOP_DEVICE
Assert: Device node status not as expected: problem code 0
File=d:\rtm_test\testsrc\basetest\pnp\pnpdtest\user\pnpdtest.c,
Line=323
>
> -Fab
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SW304_pnpdtest_rebalance_failrestart_ad1_fail.txt
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20081115/0405768e/attachment.txt>
More information about the ofw
mailing list