I’m not receiving SRB_FUNCTION_SHUTDOWN calls within my SCSI miniport
driver; even through I’ve set the CachesData field of the
PORT_CONFIGURATION_INFORMATION block to 1.
Any ideas?
Thanks!
Vishwanath
Success is getting what you want. Happiness is wanting what you get.
http: Dale
Carnegie</http:>
Hi All,
I am working on windows SCSI Miniport driver for an HBA where I have to
flush and write back some data to NVRAM when the system shutdown or
reset. So I am dependent on SRB_FUNCTION_SHUTDOWN and SRB_FUNCTION_FLUSH
srb’s which will be sent by the port driver to a miniport driver
whenever the systems goes down or resets. From DDK it is said that if we
change the parameter CachesData to TRUE in
PORT_CONFIGURATION_INFORMATION structure in HwScsiFindAdapter() Routine
of miniport driver this would intimate Port driver to send
SRB_FUNCTION_SHUTDOWN whenever the system goes down. But this is not
happening in my case.
So I searched through Microsoft Knowledge base articles where this is a
problem already reported and they have released a patch for windows 98
and Me. Similarly one more article is there which says there will be
“Potential Data Loss Because of Lack of Shutdown Notification (Q286733)”
for windows 2000.
Below are the links:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286733
Windows 98:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.
com:80/support/kb/articles/q290/8/31.asp
http:.com:80/support/kb/articles/q290/8/31.asp&NoWebContent=1>
&NoWebContent=1
So can anyone let me know what I can do to resolve this issue?
Thanks,
Vishwanath
Success is getting what you want. Happiness is wanting what you get.
http: Dale
Carnegie</http:></http:>
> Similarly one more article is there which says there will be "Potential Data Loss Because of Lack of Shutdown
Notification (Q286733)" for windows 2000.
The same article has a resolution para as well :). Checkout your dmio.sys timestamp.
If that doesn’t help, can you do the flushing in your HwScsiAdapterControl (ScsiStopAdapter ) ?
-Bandeep
“Maram,Vishwanath” wrote in message news:xxxxx@ntdev…
Hi All,
I am working on windows SCSI Miniport driver for an HBA where I have to flush and write back some data to NVRAM when the system shutdown or reset. So I am dependent on SRB_FUNCTION_SHUTDOWN and SRB_FUNCTION_FLUSH srb’s which will be sent by the port driver to a miniport driver whenever the systems goes down or resets. From DDK it is said that if we change the parameter CachesData to TRUE in PORT_CONFIGURATION_INFORMATION structure in HwScsiFindAdapter() Routine of miniport driver this would intimate Port driver to send SRB_FUNCTION_SHUTDOWN whenever the system goes down. But this is not happening in my case.
So I searched through Microsoft Knowledge base articles where this is a problem already reported and they have released a patch for windows 98 and Me. Similarly one more article is there which says there will be “Potential Data Loss Because of Lack of Shutdown Notification (Q286733)” for windows 2000.
Below are the links:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286733
Windows 98:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q290/8/31.asp&NoWebContent=1
So can anyone let me know what I can do to resolve this issue?
Thanks,
Vishwanath
Success is getting what you want. Happiness is wanting what you get. Dale Carnegie
HwScsiAdapterControl() is not called if the SRB_Shut_down is not called. I tried even with Win2K Sp4. The SBR_Shut_down is not called at all, Unless you are controlling the boot device.
. I think to avoid this problem, write the dirty flags on the first write. If the volume is used for read only, no status update is needed!!!
Vu
“Bandeep Singh” wrote in message news:xxxxx@ntdev…
> Similarly one more article is there which says there will be “Potential Data Loss Because of Lack of Shutdown
> Notification (Q286733)” for windows 2000.
The same article has a resolution para as well :). Checkout your dmio.sys timestamp.
If that doesn’t help, can you do the flushing in your HwScsiAdapterControl (ScsiStopAdapter ) ?
-Bandeep
“Maram,Vishwanath” wrote in message news:xxxxx@ntdev…
Hi All,
I am working on windows SCSI Miniport driver for an HBA where I have to flush and write back some data to NVRAM when the system shutdown or reset. So I am dependent on SRB_FUNCTION_SHUTDOWN and SRB_FUNCTION_FLUSH srb’s which will be sent by the port driver to a miniport driver whenever the systems goes down or resets. From DDK it is said that if we change the parameter CachesData to TRUE in PORT_CONFIGURATION_INFORMATION structure in HwScsiFindAdapter() Routine of miniport driver this would intimate Port driver to send SRB_FUNCTION_SHUTDOWN whenever the system goes down. But this is not happening in my case.
So I searched through Microsoft Knowledge base articles where this is a problem already reported and they have released a patch for windows 98 and Me. Similarly one more article is there which says there will be “Potential Data Loss Because of Lack of Shutdown Notification (Q286733)” for windows 2000.
Below are the links:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286733
Windows 98:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q290/8/31.asp&NoWebContent=1
So can anyone let me know what I can do to resolve this issue?
Thanks,
Vishwanath
Success is getting what you want. Happiness is wanting what you get. Dale Carnegie