Capturing or filter IOCTL code's used by a retail device driver

Is there a way to determine the driver’s custom IOCTL Device Control code’s,
especially in a retail version of a driver?

Are there utilities out there that can already do this? if not, would I have
to create a filter driver perhaps to spy and monitor what IOCTL codes are
used?

Reason im asking this is because we are using a 3ware raid controller, the
configuration of the raid controller is managed via a web interface. I need
to programmatically tell the raid controller to rescan its ports for newly
inserted drives (this is normally done via the web interface) I can only
assume that somewhere along the line an IOCTL code is used to tell the
device driver to scan the ports.

My problem is that I want to find this illusive IOCTL code.

Regards
James

This email and any files attached are intended for the addressee and may
contain information of a confidential nature. If you are not the intended
recipient, be aware that this email was sent to you in error and you should
not disclose, distribute, print, copy or make other use of this email or its
attachments. Such actions, in fact, may be unlawful. In compliance with
the various Regulations and Acts, General Dynamics UK Limited reserves the
right to monitor (and examine for viruses) all emails and email attachments,
both inbound and outbound. Email communications and their attachments may
not be secure or error- or virus-free and the company does not accept
liability or responsibility for such matters or the consequences thereof.
Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
England and Wales No: 1911653.

I added a flowchart generator to the Compuware TrueCoverage
program (part of DriverStudio) when I worked there. You get a 2D
or a 3D version of the diagram, and it’s jolly simple to see
what’s going on. You don’t need either source code or symbols to
get a meaningful diagram, although it helps. The problem is, of
course, that software is really expensive.

Alberto.

----- Original Message -----
From: “James Dunning”
To: “Windows System Software Devs Interest List”

Sent: Thursday, December 08, 2005 8:31 AM
Subject: [ntdev] Capturing or filter IOCTL code’s used by a
retail device driver

>
> Is there a way to determine the driver’s custom IOCTL Device
> Control code’s,
> especially in a retail version of a driver?
>
> Are there utilities out there that can already do this? if
> not, would I have
> to create a filter driver perhaps to spy and monitor what
> IOCTL codes are
> used?
>
> Reason im asking this is because we are using a 3ware raid
> controller, the
> configuration of the raid controller is managed via a web
> interface. I need
> to programmatically tell the raid controller to rescan its
> ports for newly
> inserted drives (this is normally done via the web interface)
> I can only
> assume that somewhere along the line an IOCTL code is used to
> tell the
> device driver to scan the ports.
>
> My problem is that I want to find this illusive IOCTL code.
>
> Regards
> James
>
> This email and any files attached are intended for the
> addressee and may
> contain information of a confidential nature. If you are not
> the intended
> recipient, be aware that this email was sent to you in error
> and you should
> not disclose, distribute, print, copy or make other use of
> this email or its
> attachments. Such actions, in fact, may be unlawful. In
> compliance with
> the various Regulations and Acts, General Dynamics UK Limited
> reserves the
> right to monitor (and examine for viruses) all emails and
> email attachments,
> both inbound and outbound. Email communications and their
> attachments may
> not be secure or error- or virus-free and the company does not
> accept
> liability or responsibility for such matters or the
> consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA.
> Registered in
> England and Wales No: 1911653.
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@ieee.org
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com

Try WDMSniffer from Compuware. It’s a part of DriverStudio.

Some time ago, there is a free tool - DevFilter. You can get IOCTL_CODE with
it. Now, you need to pay some money to get the newest version.

Regards,
ZG [@ Sydney]
Windows Driver Developer

“James Dunning” wrote in message
news:xxxxx@ntdev…
>
> Is there a way to determine the driver’s custom IOCTL Device Control
> code’s,
> especially in a retail version of a driver?
>
> Are there utilities out there that can already do this? if not, would I
> have
> to create a filter driver perhaps to spy and monitor what IOCTL codes are
> used?
>
> Reason im asking this is because we are using a 3ware raid controller, the
> configuration of the raid controller is managed via a web interface. I
> need
> to programmatically tell the raid controller to rescan its ports for newly
> inserted drives (this is normally done via the web interface) I can only
> assume that somewhere along the line an IOCTL code is used to tell the
> device driver to scan the ports.
>
> My problem is that I want to find this illusive IOCTL code.
>
> Regards
> James
>
> This email and any files attached are intended for the addressee and may
> contain information of a confidential nature. If you are not the intended
> recipient, be aware that this email was sent to you in error and you
> should
> not disclose, distribute, print, copy or make other use of this email or
> its
> attachments. Such actions, in fact, may be unlawful. In compliance with
> the various Regulations and Acts, General Dynamics UK Limited reserves the
> right to monitor (and examine for viruses) all emails and email
> attachments,
> both inbound and outbound. Email communications and their attachments may
> not be secure or error- or virus-free and the company does not accept
> liability or responsibility for such matters or the consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
> England and Wales No: 1911653.
>
>

Hi,

You can try IRPTracker: http://www.osronline.com/article.cfm?article=199

-scott


Scott Noone
Software Engineer
OSR Open Systems Resources, Inc.
http://www.osronline.com

“James Dunning” wrote in message
news:xxxxx@ntdev…
>
> Is there a way to determine the driver’s custom IOCTL Device Control
> code’s,
> especially in a retail version of a driver?
>
> Are there utilities out there that can already do this? if not, would I
> have
> to create a filter driver perhaps to spy and monitor what IOCTL codes are
> used?
>
> Reason im asking this is because we are using a 3ware raid controller, the
> configuration of the raid controller is managed via a web interface. I
> need
> to programmatically tell the raid controller to rescan its ports for newly
> inserted drives (this is normally done via the web interface) I can only
> assume that somewhere along the line an IOCTL code is used to tell the
> device driver to scan the ports.
>
> My problem is that I want to find this illusive IOCTL code.
>
> Regards
> James
>
> This email and any files attached are intended for the addressee and may
> contain information of a confidential nature. If you are not the intended
> recipient, be aware that this email was sent to you in error and you
> should
> not disclose, distribute, print, copy or make other use of this email or
> its
> attachments. Such actions, in fact, may be unlawful. In compliance with
> the various Regulations and Acts, General Dynamics UK Limited reserves the
> right to monitor (and examine for viruses) all emails and email
> attachments,
> both inbound and outbound. Email communications and their attachments may
> not be secure or error- or virus-free and the company does not accept
> liability or responsibility for such matters or the consequences thereof.
> Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered in
> England and Wales No: 1911653.
>
>

Have you considered asking 3ware?

-p

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of James Dunning
Sent: Thursday, December 08, 2005 5:31 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Capturing or filter IOCTL code’s used by a retail
device driver

Is there a way to determine the driver’s custom IOCTL Device Control
code’s, especially in a retail version of a driver?

Are there utilities out there that can already do this? if not, would I
have to create a filter driver perhaps to spy and monitor what IOCTL
codes are used?

Reason im asking this is because we are using a 3ware raid controller,
the configuration of the raid controller is managed via a web interface.
I need to programmatically tell the raid controller to rescan its ports
for newly inserted drives (this is normally done via the web interface)
I can only assume that somewhere along the line an IOCTL code is used to
tell the device driver to scan the ports.

My problem is that I want to find this illusive IOCTL code.

Regards
James

This email and any files attached are intended for the addressee and may
contain information of a confidential nature. If you are not the
intended recipient, be aware that this email was sent to you in error
and you should not disclose, distribute, print, copy or make other use
of this email or its attachments. Such actions, in fact, may be
unlawful. In compliance with the various Regulations and Acts, General
Dynamics UK Limited reserves the right to monitor (and examine for
viruses) all emails and email attachments, both inbound and outbound.
Email communications and their attachments may not be secure or error-
or virus-free and the company does not accept liability or
responsibility for such matters or the consequences thereof.
Registered Office: 100 New Bridge Street, London EC4V 6JA. Registered
in England and Wales No: 1911653.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

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