Closed giezi closed 10 years ago
This is really just guessing, but I would try to tweak these properties (http://www.opensource.apple.com/source/IOSCSIArchitectureModelFamily/IOSCSIArchitectureModelFamily-139.0.2/IOSCSIArchitectureModel/IOSCSIProtocolInterface.h):
// This key is used to define the Read Time Out for a particular device // This property overrides all of the protocol defaults // This Property is a value, in miliseconds
// This key is used to define the Maximum Write Time Out for a particular protocol // This property overrides all of the protocol defaults // This Property is a value, in miliseconds
You can find the property from several kernel extensions and I cannot tell which you should modify and if it is possible just to go and edit the Info.plist file.
grep -r 'Read Time Out Duration' /System/Library/Extensions/
For example IOAHCIFamily.kext/Contents/PlugIns/IOAHCISerialATAPI.kext/Contents/Info.plist:
<key>Read Time Out Duration</key>
<integer>15000</integer>
<key>Retry Count</key>
<integer>1</integer>
<key>Write Time Out Duration</key>
<integer>15000</integer>
Jarkko, thank you so much!
It seems that our SCSI Disk settings are within the AppleLSIFusion.kext > Info.plist. I'll test it soon and let you know!
Btw: are you aware of any option, how to overwrite specific settings within the Info.plist with every reboot?
Once again, many thanks! Reto
Could it be something with the kext cache ?
Anyway, I'll close this issue as it is not a defect.
Dear Jarkko
By googling for some OS X and SCSI related topics, I've come across your Github project page.
The reason for contacting you: I'm desperately looking for a hint/solution were I can modify/increase the disk time out parameter within OS X for my SCSI Disk in the Virtual Machine. Actually, I'm looking for exactly this here: http://kb.hurricane-ridge.com/os/freebsd/setting-scsi-timeout-values-for-freebsd-vms-on-vmwarenetapp but in my specific case for the OS X VM guests. I've already tried to add this FreeBSD parameter to the /etc/sysctl.conf but OS X doesn't recognize it.
Do you maybe have an idea where and how OS X is dealing with this? I'm also happy to pay you for the answer or any good hint :)
Many many thanks for your time! Respectfully, Reto