IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

hi all

Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
Install the driver and also Unload it using Instdrv.exe service program.

But after installing it and then rebooting the system leads to a BSOD
IRQL_NOT_LESS_OR_EQUAL.

These are the Registry settings:
ErrorControl -> 1
StartType -> 2(AUTO_START)
TYPE -> 1

Iam not able to figure out the problem. Can someone throw some light on
this.

with regards
ashok

I think u uninstalled it rather than unloaded it :slight_smile:

When ur driver code got executed after booting it has given this bugcheck,
means ur driver has a bug.

----- Original Message -----
From: “Ashok Kumar”
To: “NT Developers Interest List”
Sent: Friday, January 31, 2003 10:49 AM
Subject: [ntdev] IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

> hi all
>
> Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
> Install the driver and also Unload it using Instdrv.exe service program.
>
> But after installing it and then rebooting the system leads to a BSOD
> IRQL_NOT_LESS_OR_EQUAL.
>
> These are the Registry settings:
> ErrorControl -> 1
> StartType -> 2(AUTO_START)
> TYPE -> 1
>
> Iam not able to figure out the problem. Can someone throw some light on
> this.
>
> with regards
> ashok
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sasken.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Thanx Seshagiri,

U r right…I am installing and then uninstalling the driver using the
instdrv program from ddk…but , i can do this installing followed by
uninstalling and again installing n number of times and it all works fine…

but if I install and then reboot my system, it gives the
IRQL_NOT_LESS_OR_EQUAL on a BSOD…

any other reason strikes ur mind…

regds,

Ashok

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 10:58:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading
driver

I think u uninstalled it rather than unloaded it :slight_smile:

When ur driver code got executed after booting it has given this bugcheck,
means ur driver has a bug.

----- Original Message -----
From: “Ashok Kumar”
To: “NT Developers Interest List”
Sent: Friday, January 31, 2003 10:49 AM
Subject: [ntdev] IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

> hi all
>
> Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
> Install the driver and also Unload it using Instdrv.exe service program.
>
> But after installing it and then rebooting the system leads to a BSOD
> IRQL_NOT_LESS_OR_EQUAL.
>
> These are the Registry settings:
> ErrorControl -> 1
> StartType -> 2(AUTO_START)
> TYPE -> 1
>
> Iam not able to figure out the problem. Can someone throw some light on
> this.
>
> with regards
> ashok
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sasken.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

.

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

Debug into the code…There might be some code which is violating restrictions imposed at DISPATCH_LEVEL.

----- Original Message -----
From: Ashok Kumar
To: NT Developers Interest List
Sent: Friday, January 31, 2003 11:10 AM
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

Thanx Seshagiri,

U r right…I am installing and then uninstalling the driver using the instdrv program from ddk…but , i can do this installing followed by uninstalling and again installing n number of times and it all works fine…

but if I install and then reboot my system, it gives the IRQL_NOT_LESS_OR_EQUAL on a BSOD…

any other reason strikes ur mind…

regds,

Ashok

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 10:58:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

I think u uninstalled it rather than unloaded it :slight_smile:

When ur driver code got executed after booting it has given this bugcheck,
means ur driver has a bug.

----- Original Message -----
From: “Ashok Kumar”
To: “NT Developers Interest List”
Sent: Friday, January 31, 2003 10:49 AM
Subject: [ntdev] IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

> hi all
>
> Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
> Install the driver and also Unload it using Instdrv.exe service program.
>
> But after installing it and then rebooting the system leads to a BSOD
> IRQL_NOT_LESS_OR_EQUAL.
>
> These are the Registry settings:
> ErrorControl -> 1
> StartType -> 2(AUTO_START)
> TYPE -> 1
>
> Iam not able to figure out the problem. Can someone throw some light on
> this.
>
> with regards
> ashok
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sasken.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

.

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

Hi Seshagiri,

Thanx very much for your comments…

In ashok’s code, Only we have ISR running at DISPATCH_LEVEL… we had taken
care that, it doesn’t get executed during the load time…

I would like to know if there is any difference, on installing the driver
using the service, loading it and
when the driver gets loaded on system starting…We had kept the driver to
start at SYSTEM_AUTO_START(start -> 0x2)…

i thought it’s the same process should happen when i install and load the
driver using the service and after that, rebooting , and system loading the
driver…

if any violation in DISPATCH_LEVEL restrictions, then even when loading the
driver using instdrv program also should give the same
IRQL_NOT_LESS_OR_EQUAL BSOD right…??

any other suggestions pls…

bye,

ShivaP

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 11:42:09 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading
driver

Debug into the code…There might be some code which is violating
restrictions imposed at DISPATCH_LEVEL.

----- Original Message -----
From: Ashok Kumar
To: NT Developers Interest List
Sent: Friday, January 31, 2003 11:10 AM
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading
driver

Thanx Seshagiri,

U r right…I am installing and then uninstalling the driver using the
instdrv program from ddk…but , i can do this installing followed by
uninstalling and again installing n number of times and it all works fine…

but if I install and then reboot my system, it gives the
IRQL_NOT_LESS_OR_EQUAL on a BSOD…

any other reason strikes ur mind…

regds,

Ashok

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 10:58:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading
driver

I think u uninstalled it rather than unloaded it :slight_smile:

When ur driver code got executed after booting it has given this bugcheck,
means ur driver has a bug.

----- Original Message -----
From: “Ashok Kumar”
To: “NT Developers Interest List”
Sent: Friday, January 31, 2003 10:49 AM
Subject: [ntdev] IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

> hi all
>
> Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
> Install the driver and also Unload it using Instdrv.exe service program.
>
> But after installing it and then rebooting the system leads to a BSOD
> IRQL_NOT_LESS_OR_EQUAL.
>
> These are the Registry settings:
> ErrorControl -> 1
> StartType -> 2(AUTO_START)
> TYPE -> 1
>
> Iam not able to figure out the problem. Can someone throw some light on
> this.
>
> with regards
> ashok
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sasken.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

.

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system. —
You are currently subscribed to ntdev as: xxxxx@rassit.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

AUTO_START drivers/services start on Windows Start up…after the blue NT/black 2k screen and just before u get the login screen. When u install at run-time, driver will not be started automatically until u boot it. If you wan’t to start it as soon as u install, you can goto Control Panel/Device Manager, find you driver service and you can start it immediately from there.

Irresepective of all this your driver is giving bug when it actually LOADS (DriverEntry getting called).

----- Original Message -----
From: Shiva Prasad
To: NT Developers Interest List
Sent: Friday, January 31, 2003 11:49 AM
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

Hi Seshagiri,

Thanx very much for your comments…

In ashok’s code, Only we have ISR running at DISPATCH_LEVEL… we had taken care that, it doesn’t get executed during the load time…

I would like to know if there is any difference, on installing the driver using the service, loading it and
when the driver gets loaded on system starting…We had kept the driver to start at SYSTEM_AUTO_START(start -> 0x2)…

i thought it’s the same process should happen when i install and load the driver using the service and after that, rebooting , and system loading the driver…

if any violation in DISPATCH_LEVEL restrictions, then even when loading the driver using instdrv program also should give the same IRQL_NOT_LESS_OR_EQUAL BSOD right…??

any other suggestions pls…

bye,

ShivaP

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 11:42:09 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

Debug into the code…There might be some code which is violating restrictions imposed at DISPATCH_LEVEL.

----- Original Message -----
From: Ashok Kumar
To: NT Developers Interest List
Sent: Friday, January 31, 2003 11:10 AM
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

Thanx Seshagiri,

U r right…I am installing and then uninstalling the driver using the instdrv program from ddk…but , i can do this installing followed by uninstalling and again installing n number of times and it all works fine…

but if I install and then reboot my system, it gives the IRQL_NOT_LESS_OR_EQUAL on a BSOD…

any other reason strikes ur mind…

regds,

Ashok

-------Original Message-------

From: NT Developers Interest List
Date: Friday, January 31, 2003 10:58:48 AM
To: NT Developers Interest List
Subject: [ntdev] Re: IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

I think u uninstalled it rather than unloaded it :slight_smile:

When ur driver code got executed after booting it has given this bugcheck,
means ur driver has a bug.

----- Original Message -----
From: “Ashok Kumar”
To: “NT Developers Interest List”
Sent: Friday, January 31, 2003 10:49 AM
Subject: [ntdev] IRQL_NOT_LESS_OR_EQUAL on rebooting after loading driver

> hi all
>
> Iam writing a kernel driver for PCI card on WinNT 4.0. Iam able to
> Install the driver and also Unload it using Instdrv.exe service program.
>
> But after installing it and then rebooting the system leads to a BSOD
> IRQL_NOT_LESS_OR_EQUAL.
>
> These are the Registry settings:
> ErrorControl -> 1
> StartType -> 2(AUTO_START)
> TYPE -> 1
>
> Iam not able to figure out the problem. Can someone throw some light on
> this.
>
> with regards
> ashok
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@sasken.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>


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

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.

.

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system. —
You are currently subscribed to ntdev as: xxxxx@rassit.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE ADDRESSEE
and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify the sender
immediately, return the original mail to the sender and delete the
message from your system.