Problem with concurrent SATA-Writes
Hello Jeff, hello to the linux-ide-list!
I already posted this to the lkml, but unfortunately I got no usefull answer. I think the problem is related to the SIL-Driver so maybe you are the right person to contact - or someone at the linux-ide-list...
If you need any other informations or logs please tell me. I really want to use these discs.
Tobias
Original Msg:
--------
I have a problem with two SATA-Discs. I have an onboard SIL3114 with four SATA-Ports an onboard NVIDIA with two SATA-Ports - both controllers are disable via BIOS (and are not detected by Linux)(only for this test of course - normally I have other HDD on this ports). The only controller that is found is the add-on controller in a PCI-Slot (SIL3112). And that is the one I have trouble with.
If I read or write (via dd) from the first one -> no problems. Same when read or write from the second or when I read (only read!) from both at the same time. Data-Transfer-Rate is around 45MB/s for each HDD.
The problem occures when I try to write on both discs at the same time. For example I write /dev/zero to the first one and then start to write /dev/zero to the second one. The System-Load goes up to 4 with nearly 100% io-wait and nearly no write-access to the drives.
Any hints?
- no errormessages in syslog
- happens with Kernel 2.6.11.7 and with 2.6.12-rc5
- HDDs are Samsung Spinpoint 200GB
- (I use the SCSI-SATA-Drivers)
Quoted 5 lines · Tobias Reinhard
Hello Jeff, hello to the linux-ide-list!
I already posted this to the lkml, but unfortunately I got no usefull answer. I think the problem is related to the SIL-Driver so maybe you are the right person to contact - or someone at the linux-ide-list...
If you need any other informations or logs please tell me. I really want to use these discs.
Yes, I think this is the third time I've read your email. You can stop posting it now.
Sometimes we just don't have time to read and respond to every support request. If you absolutely require support, please use a paid support channel like SuSE or Red Hat.
Jeff
Quoted 3 lines · Jeff Garzik
Yes, I think this is the third time I've read your email. You can stop posting it now.
Sometimes we just don't have time to read and respond to every support request. If you absolutely require support, please use a paid support channel like SuSE or Red Hat.
Sorry if I annoyed or bothered You or any other one on the list.
I didn't expect that You or any other immediately care about my problems and solve them or already have a solution. I could try to fix the driver myself but as it seems to be a SIL-specific Problem I need the help or some hints from someone who has the (nda-)docs. Maybe they already noted this as an errata for which some kind of quirk is needed.
I worked-around the problem by putting the discs on a different controller. It seems that this only happens with these Samsung-drives on this controller.
Just in case you face this or a similar Problem in the future or find the time to investigate it...
BTW: with the siimage driver the transfer-rate is low (20MB/s instead of 45MB/s) but at least it's working.
BTW2: same with 2.6.12-rc5-mm2
Tobias
Quoted 11 lines · Tobias Reinhard
Quoted 3 lines · Jeff Garzik
Yes, I think this is the third time I've read your email. You can stop posting it now.
Sometimes we just don't have time to read and respond to every support request. If you absolutely require support, please use a paid support channel like SuSE or Red Hat.
Sorry if I annoyed or bothered You or any other one on the list.
I didn't expect that You or any other immediately care about my problems and solve them or already have a solution. I could try to fix the driver myself but as it seems to be a SIL-specific Problem I need the help or some hints from someone who has the (nda-)docs. Maybe they already noted this as an errata for which some kind of quirk is needed.
The sata_sil hardware docs are public:
http://gkernel.sourceforge.net/specs/sii/3112A_SiI-DS-0095-B2.pdf.bz2
Jeff