Bug 5955
Summary: | Speed negotiation between scsi driver aic79xx and hardware raid (IFT-7200) fails | ||
---|---|---|---|
Product: | SCSI Drivers | Reporter: | Horst Prote (prote) |
Component: | Other | Assignee: | Hannes Reinecke (hare) |
Status: | CLOSED PATCH_ALREADY_AVAILABLE | ||
Severity: | high | CC: | kernel |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.16-rc1 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
kernel-config-x86-2.6.16-rc1
complete dmesg output of vanilla 2.6.16-rc1 complete /proc/scsi/aic79xx/0 of vanilla 2.6.16-rc1 kernel-config-x86-2.6.17-rc5 complete dmesg output of vanilla 2.6.17-rc5 complete /proc/scsi/aic79xx/0 of vanilla 2.6.17-rc5 |
Description
Horst Prote
2006-01-25 07:22:03 UTC
Created attachment 7136 [details]
kernel-config-x86-2.6.16-rc1
Created attachment 7137 [details]
complete dmesg output of vanilla 2.6.16-rc1
Created attachment 7138 [details]
complete /proc/scsi/aic79xx/0 of vanilla 2.6.16-rc1
Today I tried kernel 2.6.17-rc5 (vanilla kernel without gentoo patches) and with two changes in the Adaptec BIOS (both are required for success): - changing speed for ID 1 (the SCSI ID of the RAID) from 320 to 160 - disabled Domain Validation speed negotiation between scsi driver aic79xx and raid was successfull (from dmesg): Linux version 2.6.17-rc5 (root@kresse) (gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)) #1 SMP PREEMPT Wed Jun 7 18:03:19 CEST 2006 ... scsi0 : Adaptec AIC79XX PCI-X SCSI HBA DRIVER, Rev 3.0 <Adaptec AIC7902 Ultra320 SCSI adapter> aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs Vendor: IFT Model: IFT-7200 Rev: 231T Type: Direct-Access ANSI SCSI revision: 04 target0:0:1: asynchronous scsi0:A:1:0: Tagged Queuing enabled. Depth 48 target0:0:1: Beginning Domain Validation target0:0:1: wide asynchronous target0:0:1: FAST-80 WIDE SCSI 160.0 MB/s DT (12.5 ns, offset 62) target0:0:1: Domain Validation skipping write tests target0:0:1: Ending Domain Validation ... For the kernel config, complete dmesg output and /proc/scsi/aic79xx/0 see the attachments. Created attachment 8273 [details]
kernel-config-x86-2.6.17-rc5
Created attachment 8274 [details]
complete dmesg output of vanilla 2.6.17-rc5
Created attachment 8275 [details]
complete /proc/scsi/aic79xx/0 of vanilla 2.6.17-rc5
So where is the Problem? If you disable Domain Validation from the BIOS it'll only affect the BIOS scan, not the Linux driver. And yes, there are broken backplanes which do _not_ support 320MB/s transfers, mostly the external ones. For those we can't really adjust DV properly but they rather have to be set via the BIOS (those values will be read from the linux driver). So we can close this issue, right? Right! But let me one thing point out: I also tried Gentoo's 2.6.14-hardened-r8 with the two changes in the Adaptec BIOS but had no success. That's because I fixed the driver in the meantime :-) |