[ofw] Make all funcions no-pagable?

James Yang jyang at xsigo.com
Mon Mar 2 15:28:41 PST 2009


Hi,

 

We discussed this topic before. Today I saw system hangs during shutdown
again. This time function __restore_pci_config caused the page out
problem and stopped forever. Attached is the stack.

 

Is there any simple way to disable all the page pragma? Or we have to go
to each line the take them out?

#pragma alloc_text (PAGE, __restore_pci_config).

 

Thanks,

James

 

------------------------------------------------------------------------
----------

fffffadf`243d4680 fffff800`01027682 nt!KiSwapContext+0x85

fffffadf`243d4800 fffff800`0102828e nt!KiSwapThread+0x3c9

fffffadf`243d4860 fffff800`01056806 nt!KeWaitForSingleObject+0x5a6

fffffadf`243d48e0 fffff800`01017091 nt!MiWaitForInPageComplete+0x66

fffffadf`243d4970 fffff800`01043d24 nt!MiDispatchFault+0x1845

fffffadf`243d4ab0 fffff800`0102d459 nt!MmAccessFault+0xbb3

fffffadf`243d4b80 fffffadf`29367b60 nt!KiPageFault+0x119

fffffadf`243d4d18 fffffadf`2933ff57 mlx4_bus!__restore_pci_config
[c:\windows-openib\src\winib-1864a\hw\mlx4\kernel\bus\drv\pci.c @ 163]

fffffadf`243d4d20 fffffadf`2934cc63 mlx4_bus!pci_hca_reset+0x667
[c:\windows-openib\src\winib-1864a\hw\mlx4\kernel\bus\drv\pci.c @ 381]

fffffadf`243d4de0 fffffadf`2933c077 mlx4_bus!mlx4_remove_one+0x1bf
[c:\windows-openib\src\winib-1864a\hw\mlx4\kernel\bus\net\main.c @ 1090]

fffffadf`243d4e20 fffffadf`2933c502 mlx4_bus!__stop_card+0x37
[c:\windows-openib\src\winib-1864a\hw\mlx4\kernel\bus\drv\drv.c @ 355]

fffffadf`243d4e50 fffffadf`294e3217 mlx4_bus!EvtDeviceD0Exit+0xf2
[c:\windows-openib\src\winib-1864a\hw\mlx4\kernel\bus\drv\drv.c @ 414]

fffffadf`243d4ea0 fffffadf`294e2d91
wdf01000!FxPkgPnp::PowerGotoDxIoStopped+0x243

fffffadf`243d4f50 fffffadf`294e1f5d
wdf01000!FxPkgPnp::PowerGotoDNotZeroIoStopped+0x9

fffffadf`243d4f80 fffffadf`294e1837
wdf01000!FxPkgPnp::PowerEnterNewState+0x345

fffffadf`243d50f0 fffffadf`294e1596
wdf01000!FxPkgPnp::PowerProcessEventInner+0x13f

fffffadf`243d51c0 fffffadf`294f29a6
wdf01000!FxPkgPnp::PowerProcessEvent+0x436

fffffadf`243d5290 fffffadf`294ee72d
wdf01000!FxPkgPnp::NotPowerPolOwnerGotoDx+0xe

fffffadf`243d52c0 fffffadf`294edecc
wdf01000!FxPkgPnp::PowerPolicyEnterNewState+0x345

fffffadf`243d5430 fffffadf`294edc29
wdf01000!FxPkgPnp::PowerPolicyProcessEventInner+0x144

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofw/attachments/20090302/35bf42ae/attachment.html>


More information about the ofw mailing list