Driver fails at Reboot.

Hi All,

I am working on an NDIS Miniport Driver. Problem i am facing is as
follows:

  1. Installed the driver and while installing i don’t face any problem like
    bug_checks or etc.
  2. When i reboot the machine the driver fails at NdisOpenConfiguration()
    function calling. Here it doesn’t even display the status which is sent as
    a parameter to the function, it panics. The driver stack is as follows:

kd> !analyze -v
*******************************************************************************

*
*
* Bugcheck Analysis
*
*
*
*******************************************************************************

DRIVER_CORRUPTED_EXPOOL (c5)
An attempt was made to access a pageable (or completely invalid) address
at an
interrupt request level (IRQL) that is too high. This is
caused by drivers that have corrupted the system pool. Run the driver
verifier against any new (or suspect) drivers, and if that doesn’t turn up
the culprit, then use gflags to enable special pool.
Arguments:
Arg1: 00000000, memory referenced
Arg2: 00000002, IRQL
Arg3: 00000001, value 0 = read operation, 1 = write operation
Arg4: 8046ab77, address which referenced memory

Debugging Details:

Database SolnDb not connected

DEFAULT_BUCKET_ID: DRIVER_FAULT

BUGCHECK_STR: 0xC5

LAST_CONTROL_TRANSFER: from 8042c0c3 to 80455d74

STACK_TEXT:
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77 nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @ 769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78 w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908 NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230 NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8 nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7b8 804e8468 fcda3228 f081f88c fcd57808
nt!IopProcessStartDevicesWorker+0x55
f081f7c8 8049a483 fcd57808 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7ec 804e8468 fcd57808 f081f88c fcd95568
nt!IopProcessStartDevicesWorker+0x55
f081f7fc 8049a483 fcd95568 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f820 804e8468 fcd95568 f081f88c fcdbaba8
nt!IopProcessStartDevicesWorker+0x55
f081f830 8049a483 fcdbaba8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f854 8049a41a fcdbaba8 f081f88c 00000003
nt!IopProcessStartDevicesWorker+0x55
f081f870 80551487 fcdba848 f081f88c 80087000
nt!IopProcessStartDevices+0x43
f081f8c0 8054fa33 00000000 00000032 00000000
nt!IopInitializeSystemDrivers+0x5d
f081fa58 8054e7be 80087000 00000000 00000000 nt!IoInitSystem+0x644
f081fda8 804553af 80087000 00000000 00000000 nt!Phase1Initialization+0x71b
f081fddc 804695b2 8054e10a 80087000 00000000
nt!PspSystemThreadStartup+0x69
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16

FOLLOWUP_IP:
w2lan!NICReadRegParameters+2e
f04627cf 837df400 cmp dword ptr [ebp-0xc],0x0

FOLLOWUP_NAME: MachineOwner

SYMBOL_NAME: w2lan!NICReadRegParameters+2e

MODULE_NAME: w2lan

IMAGE_NAME: w2lan.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 3f014eb7

STACK_COMMAND: kb

BUCKET_ID: 0xC5_w2lan!NICReadRegParameters+2e

Followup: MachineOwner

kd> .trap
kd> kb
ChildEBP RetAddr Args to Child
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77 nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @ 769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78 w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908 NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230 NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8 nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f

In the above stack you can see that the driver fails at the below points
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @ 769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78 w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]

In the NICReadRegParameters driver is trying to read the registry
parameters, but it fails at NdisOpenConfiguration() function. So can
anyone suggest as what exactly i am doing wrong?

Thanks in Advance.

vishwanath M.

Vishwanth,
Can you please tell us what is the IRQL before you called
NdisOpenConfiguration? This call has to be made at IRQL = PASSIVE_LEVEL.
Print the IRQL using function KeGetCurrentIrql.

-Srin.

-----Original Message-----
From: VishwanathM [mailto:xxxxx@wipro.com]
Sent: Tuesday, July 01, 2003 2:28 AM
To: NT Developers Interest List
Subject: [ntdev] Driver fails at Reboot.

Hi All,

I am working on an NDIS Miniport Driver. Problem i am facing is as
follows:

  1. Installed the driver and while installing i don’t face any problem
    like
    bug_checks or etc.
  2. When i reboot the machine the driver fails at
    NdisOpenConfiguration()
    function calling. Here it doesn’t even display the status which is
    sent as
    a parameter to the function, it panics. The driver stack is as
    follows:

kd> !analyze -v

************************************************************************
**

*****

*
*
* Bugcheck Analysis
*
*
*

************************************************************************
**

*****

DRIVER_CORRUPTED_EXPOOL (c5)
An attempt was made to access a pageable (or completely invalid)
address
at an
interrupt request level (IRQL) that is too high. This is
caused by drivers that have corrupted the system pool. Run the driver
verifier against any new (or suspect) drivers, and if that doesn’t
turn up
the culprit, then use gflags to enable special pool.
Arguments:
Arg1: 00000000, memory referenced
Arg2: 00000002, IRQL
Arg3: 00000001, value 0 = read operation, 1 = write operation
Arg4: 8046ab77, address which referenced memory

Debugging Details:

Database SolnDb not connected

DEFAULT_BUCKET_ID: DRIVER_FAULT

BUGCHECK_STR: 0xC5

LAST_CONTROL_TRANSFER: from 8042c0c3 to 80455d74

STACK_TEXT:
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77
nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908
NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230
NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8
nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7b8 804e8468 fcda3228 f081f88c fcd57808
nt!IopProcessStartDevicesWorker+0x55
f081f7c8 8049a483 fcd57808 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7ec 804e8468 fcd57808 f081f88c fcd95568
nt!IopProcessStartDevicesWorker+0x55
f081f7fc 8049a483 fcd95568 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f820 804e8468 fcd95568 f081f88c fcdbaba8
nt!IopProcessStartDevicesWorker+0x55
f081f830 8049a483 fcdbaba8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f854 8049a41a fcdbaba8 f081f88c 00000003
nt!IopProcessStartDevicesWorker+0x55
f081f870 80551487 fcdba848 f081f88c 80087000
nt!IopProcessStartDevices+0x43
f081f8c0 8054fa33 00000000 00000032 00000000
nt!IopInitializeSystemDrivers+0x5d
f081fa58 8054e7be 80087000 00000000 00000000 nt!IoInitSystem+0x644
f081fda8 804553af 80087000 00000000 00000000
nt!Phase1Initialization+0x71b
f081fddc 804695b2 8054e10a 80087000 00000000
nt!PspSystemThreadStartup+0x69
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16

FOLLOWUP_IP:
w2lan!NICReadRegParameters+2e
f04627cf 837df400 cmp dword ptr [ebp-0xc],0x0

FOLLOWUP_NAME: MachineOwner

SYMBOL_NAME: w2lan!NICReadRegParameters+2e

MODULE_NAME: w2lan

IMAGE_NAME: w2lan.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 3f014eb7

STACK_COMMAND: kb

BUCKET_ID: 0xC5_w2lan!NICReadRegParameters+2e

Followup: MachineOwner

kd> .trap
kd> kb
ChildEBP RetAddr Args to Child
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77
nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908
NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230
NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8
nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f

In the above stack you can see that the driver fails at the below
points
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]

In the NICReadRegParameters driver is trying to read the registry
parameters, but it fails at NdisOpenConfiguration() function. So can
anyone suggest as what exactly i am doing wrong?

Thanks in Advance.

vishwanath M.


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

Looks like you are trying to access a pageable memory at IRQL > PASSIVE
level.

-----Original Message-----
From: xxxxx@NAI.com [mailto:xxxxx@NAI.com]
Sent: Tuesday, July 01, 2003 3:18 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Driver fails at Reboot.

Vishwanth,
Can you please tell us what is the IRQL before you called
NdisOpenConfiguration? This call has to be made at IRQL = PASSIVE_LEVEL.
Print the IRQL using function KeGetCurrentIrql.

-Srin.

-----Original Message-----
From: VishwanathM [mailto:xxxxx@wipro.com]
Sent: Tuesday, July 01, 2003 2:28 AM
To: NT Developers Interest List
Subject: [ntdev] Driver fails at Reboot.

Hi All,

I am working on an NDIS Miniport Driver. Problem i am facing is as
follows:

  1. Installed the driver and while installing i don’t face any problem
    like
    bug_checks or etc.
  2. When i reboot the machine the driver fails at
    NdisOpenConfiguration()
    function calling. Here it doesn’t even display the status which is
    sent as
    a parameter to the function, it panics. The driver stack is as
    follows:

kd> !analyze -v

************************************************************************
**

*****

*
*
* Bugcheck Analysis
*
*
*

************************************************************************
**

*****

DRIVER_CORRUPTED_EXPOOL (c5)
An attempt was made to access a pageable (or completely invalid)
address
at an
interrupt request level (IRQL) that is too high. This is
caused by drivers that have corrupted the system pool. Run the driver
verifier against any new (or suspect) drivers, and if that doesn’t
turn up
the culprit, then use gflags to enable special pool.
Arguments:
Arg1: 00000000, memory referenced
Arg2: 00000002, IRQL
Arg3: 00000001, value 0 = read operation, 1 = write operation
Arg4: 8046ab77, address which referenced memory

Debugging Details:

Database SolnDb not connected

DEFAULT_BUCKET_ID: DRIVER_FAULT

BUGCHECK_STR: 0xC5

LAST_CONTROL_TRANSFER: from 8042c0c3 to 80455d74

STACK_TEXT:
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77
nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908
NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230
NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8
nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7b8 804e8468 fcda3228 f081f88c fcd57808
nt!IopProcessStartDevicesWorker+0x55
f081f7c8 8049a483 fcd57808 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f7ec 804e8468 fcd57808 f081f88c fcd95568
nt!IopProcessStartDevicesWorker+0x55
f081f7fc 8049a483 fcd95568 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f820 804e8468 fcd95568 f081f88c fcdbaba8
nt!IopProcessStartDevicesWorker+0x55
f081f830 8049a483 fcdbaba8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f854 8049a41a fcdbaba8 f081f88c 00000003
nt!IopProcessStartDevicesWorker+0x55
f081f870 80551487 fcdba848 f081f88c 80087000
nt!IopProcessStartDevices+0x43
f081f8c0 8054fa33 00000000 00000032 00000000
nt!IopInitializeSystemDrivers+0x5d
f081fa58 8054e7be 80087000 00000000 00000000 nt!IoInitSystem+0x644
f081fda8 804553af 80087000 00000000 00000000
nt!Phase1Initialization+0x71b
f081fddc 804695b2 8054e10a 80087000 00000000
nt!PspSystemThreadStartup+0x69
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16

FOLLOWUP_IP:
w2lan!NICReadRegParameters+2e
f04627cf 837df400 cmp dword ptr [ebp-0xc],0x0

FOLLOWUP_NAME: MachineOwner

SYMBOL_NAME: w2lan!NICReadRegParameters+2e

MODULE_NAME: w2lan

IMAGE_NAME: w2lan.sys

DEBUG_FLR_IMAGE_TIMESTAMP: 3f014eb7

STACK_COMMAND: kb

BUCKET_ID: 0xC5_w2lan!NICReadRegParameters+2e

Followup: MachineOwner

kd> .trap
kd> kb
ChildEBP RetAddr Args to Child
f081ee48 8042c0c3 00000003 f081ee90 00000000
nt!RtlpBreakWithStatusInstruction
f081ee78 8042c487 00000003 00000000 8046ab77
nt!KiBugCheckDebugBreak+0x31
f081f204 8046856f 0000000a 00000000 00000002 nt!KeBugCheckEx+0x390
f081f204 8046ab77 0000000a 00000000 00000002 nt!KiTrap0E+0x27c
f081f2b8 fc8d47fa 00000000 00000000 2020444e
nt!ExAllocatePoolWithTag+0x490
f081f2c8 f04627cf f081f318 f081f310 f081f528
NDIS!NdisOpenConfiguration+0xf
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]
f081f4f8 fc8d62b4 fcd51890 f081f528 f081f501
NDIS!ndisMInitializeAdapter+0x341
f081f5f4 fc8ca7f9 00000000 fcd51890 00000000
NDIS!ndisInitializeAdapter+0xcf
f081f634 fc8cbf04 fcd50230 fcdaa908 fcdaa908
NDIS!ndisPnPStartDevice+0xdb
f081f670 8041f79f fcd50230 fcdaa9c0 fcd50230
NDIS!ndisPnPDispatch+0x3d6
f081f684 8049ac37 00020000 fcdaeac8 00000000 nt!IopfCallDriver+0x35
f081f6b0 80428dca fcd50230 f081f6d0 f081f6f8
nt!IopSynchronousCall+0xca
f081f6fc 804bb96f fcdae6f0 00000000 fcdaeac8 nt!IopStartDevice+0x127
f081f730 804bb945 fcdaeac8 f081f88c 00000000
nt!IopStartAndEnumerateDevice+0x22
f081f750 804e8468 fcdaeac8 f081f88c fcd563a8
nt!IopProcessStartDevicesWorker+0x72
f081f760 8049a483 fcd563a8 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f
f081f784 804e8468 fcd563a8 f081f88c fcda3228
nt!IopProcessStartDevicesWorker+0x55
f081f794 8049a483 fcda3228 8049a42b f081f88c
nt!IopForAllChildDeviceNodes+0x1f

In the above stack you can see that the driver fails at the below
points
f081f324 f0460624 fcd65008 f081f528 00000000
w2lan!NICReadRegParameters+0x2e [C:\w2lan_cpu_vishu\w2lan_init.c @
769]
f081f370 fc8d8b67 f081f4ac f081f4b0 fc8c7e78
w2lan!W2Lan_Initialize+0xd1
[C:\w2lan_cpu_vishu\w2lan_main.c @ 262]

In the NICReadRegParameters driver is trying to read the registry
parameters, but it fails at NdisOpenConfiguration() function. So can
anyone suggest as what exactly i am doing wrong?

Thanks in Advance.

vishwanath M.


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


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