Skip to contentSkip to conversation

[2.4.25], [aic79xx-2.0.8] problems with aic79xx on 2.4 (fwd)

DISCUSSION Ari 3 participants 3 messages Apr 6, 2004 – Apr 15, 2004 SCSI

lore
Share & tools
lore

Ari

author
#0 lore raw
Quoted 9 lines · Abhishek Rai

I have an Adaptec 29320A Ultra320 SCSI host bus adapter with which I connect to a SCSI array of 9 disks, each of which is capable of 320MBps. Initially, in the BIOS settings, I configure each disk to operate at 160MBps. aic79xx-2.0.8 driver for 2.4 works just fine on 2.4.25 with this setting. I am able to create a raid device on top of this 9-disk array, and everything works fine.

Now, I configure each disk in the BIOS settings to operate at 320MBps. I now start having trouble beginning with aic79xx module insertion itself.

Hi,
I've ran into similar problems with the same controller and same disks (Maxtor Atlas 10K4 73G WLS, mine are revision DFV0 however). After a lot of frustration including changing all related hardware, especially the cabling, resultless googling, etc, I found the solution:
Speeding down the disks does not really help. It works better, but under stress load (3 bonnie++ at the same time) they quickly produce lost SCB commands, even at 80Mhz.
What fixed it for me was limiting the Tagged Queuing depth to 16 (in kernel config). After my raid5 array worked flawlessly under a 24h 3 simultaneous bonnie++ test.
I've found some hints googling that there might be a firmware problem related to this (which should be fixed with the DFV0 version on my drives, but obviously is not).
Anyhow, try to reduce tagged queuing to 16, if that fixes it, it will also confirm my findings.

Best Regards
Andy

#1 lore raw

Hello,

I would recommend reducing TCQ depth too - I have also had troubles with recent Maxtor Atlas disks / Adaptec / aic79xx and reducing TCQ depth solved the problem.

Interesting note though - the troubles only showed with Adaptec controller. When I have replaced the Adaptec aic79xx SCSI card with Tekram Ultra320 one the system worked without problem.

Quoted 17 lines · Ari

Hi,
I've ran into similar problems with the same controller and same disks (Maxtor Atlas 10K4 73G WLS, mine are revision DFV0 however). After a lot of frustration including changing all related hardware, especially the cabling, resultless googling, etc, I found the solution:
Speeding down the disks does not really help. It works better, but under stress load (3 bonnie++ at the same time) they quickly produce lost SCB commands, even at 80Mhz.
What fixed it for me was limiting the Tagged Queuing depth to 16 (in kernel config). After my raid5 array worked flawlessly under a 24h 3 simultaneous bonnie++ test.
I've found some hints googling that there might be a firmware problem related to this (which should be fixed with the DFV0 version on my drives, but obviously is not).
Anyhow, try to reduce tagged queuing to 16, if that fixes it, it will also confirm my findings.

David Haring

#2 lore raw
Quoted 29 lines

I would recommend reducing TCQ depth too - I have also had troubles with recent Maxtor Atlas disks / Adaptec / aic79xx and reducing TCQ depth solved the problem.

Interesting note though - the troubles only showed with Adaptec controller. When I have replaced the Adaptec aic79xx SCSI card with Tekram Ultra320 one the system worked without problem.

Quoted 17 lines · Ari

Hi,
I've ran into similar problems with the same controller and same disks (Maxtor Atlas 10K4 73G WLS, mine are revision DFV0 however). After a lot of frustration including changing all related hardware, especially the cabling, resultless googling, etc, I found the solution:
Speeding down the disks does not really help. It works better, but under stress load (3 bonnie++ at the same time) they quickly produce lost SCB commands, even at 80Mhz.
What fixed it for me was limiting the Tagged Queuing depth to 16 (in kernel config). After my raid5 array worked flawlessly under a 24h 3 simultaneous bonnie++ test.
I've found some hints googling that there might be a firmware problem related to this (which should be fixed with the DFV0 version on my drives, but obviously is not).
Anyhow, try to reduce tagged queuing to 16, if that fixes it, it will also confirm my findings.

Quoted 4 lines

David Haring

Yes it worked ! reducing tcq depth from 32 to 16. In summary: With a tagged queue depth of 32 and at 320MBps per disk, when I use a single disk out of the 9 disk scsi array I have, all's well. However when I try to use all of them (as in a raid), they fail terribly. Reducinig disk speeds to 160MBps resolves the problem and alls fine again. But of course I need higher speeds. For that, reducing TCQ to 16 while still having each disk operate at 320MBps works fine.

thanks
Abhishek