Dear All,
Is there anything to be set in SCSI miniport
driver to make IOCTL_DISK_GET_CACHE_INFORMATION to
work? I am getting a win32 error code ‘50’ if I use
the DeviceIoControl() call on my physical drive. I
want to enable/disable the cache settings dynamically.
Thanks,
Janardhanan.R.
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
Some mode pages support I think.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Janardhanan R.”
To: “Windows System Software Devs Interest List”
Sent: Monday, September 20, 2004 7:56 AM
Subject: [ntdev] IOCTL_DISK_GET_CACHE_INFORMATION
> Dear All,
> Is there anything to be set in SCSI miniport
> driver to make IOCTL_DISK_GET_CACHE_INFORMATION to
> work? I am getting a win32 error code ‘50’ if I use
> the DeviceIoControl() call on my physical drive. I
> want to enable/disable the cache settings dynamically.
>
> Thanks,
> Janardhanan.R.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
You didn’t specify what kind of HBA this is (RAID, SCSI?). The answer
depends on that somewhat. The {scsi | stor} port drivers will pass a CDB
with MODE SENSE for page 8. If that succeeds, the appropriate bits will
translated and passed back (this info gets cached and influences other
commands). For setting write cache, MODE SELECT on page 8, with WCE set
must succeed. These port drivers assume that the device type is 0 (DASD)
so if it’s not a real disk device (e.g., a RAID set on a RAID HBA) you
need to do the “right thing”.
-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Monday, September 20, 2004 5:49 AM
Subject: Re: IOCTL_DISK_GET_CACHE_INFORMATION
Some mode pages support I think.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Janardhanan R.”
To: “Windows System Software Devs Interest List”
Sent: Monday, September 20, 2004 7:56 AM
Subject: [ntdev] IOCTL_DISK_GET_CACHE_INFORMATION
> Dear All,
> Is there anything to be set in SCSI miniport
> driver to make IOCTL_DISK_GET_CACHE_INFORMATION to
> work? I am getting a win32 error code ‘50’ if I use
> the DeviceIoControl() call on my physical drive. I
> want to enable/disable the cache settings dynamically.
>
> Thanks,
> Janardhanan.R.
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com