[ofa-general] WinOF 1.0.1 & SRPT Data Corruption

Vu Pham vu at mellanox.com
Thu Dec 13 23:11:44 PST 2007


I hit the same kind of corruption with linux srp & oracle 
several months ago.

I have not had the real solution/fix yet; however, the 
workaround for the corruption is running scst in single 
threaded mode.

Please apply this patch and re-test

thanks,
-vu

> Running SQLIOSIM Stress Test on Windows 2003 SR2 / WinOF 1.0.1 gives 
> multiple buffer validation failures. The same occurs with WinIB 1.3.0.
>  
>     Error: 0x80070467
>     Error Text: While accessing the hard disk, a disk operation failed 
> even after retries.
>     Description: Buffer validation failed on e:\sqlio.mdf Page: 3728, 
> offset 0x1000
>  
> In actual use, data is corrupted.
>  
> The Linux target side does not seem to provide any clues as to why this 
> is happening. But attached is dmesg anyways.
>  
> Current Configuration:
> - Windows 2003 SR2 SP1 / WinOF 1.0.1
> - Windows 2003 SR2 SP1 / WinIB 1.3.0
> - Linux 2.6.22-r9 / SRP Target git current / SCST svn Rev 234
>  
> SRP Target startup:
> ==============================
> modprobe scst
> modprobe scst_vdisk
> #echo "open nullio none 1024 NULLIO" > /proc/scsi_tgt/vdisk/vdisk
> echo "open testvol /root/testvol 512" > /proc/scsi_tgt/vdisk/vdisk
>  
> echo "add_group sql01" > /proc/scsi_tgt/scsi_tgt
>  
> #Mask LUNs to specific initiators
> echo "add 0x001a4bffff0cd041001708ffffd0dd60" > 
> /proc/scsi_tgt/groups/sql01/names
> echo "add 0x001a4bffff0cd042001708ffffd0dd60" > 
> /proc/scsi_tgt/groups/sql01/names
>  
> # Allocate disks to specific groups
> #echo "add nullio 9" > /proc/scsi_tgt/groups/Default/devices
> echo "add testvol 0" > /proc/scsi_tgt/groups/sql01/devices
>  
> # Load Infiniband SRP Target
> modprobe ib_srpt
> ==============================
>  
> Let me know what I can do to provide more detail on the issue on either 
> Windows or Linux side.
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

-------------- next part --------------
A non-text attachment was scrubbed...
Name: single_threaded_scst.patch
Type: text/x-diff
Size: 428 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071213/c2ce3cbb/attachment.patch>


More information about the general mailing list