sata_sil.c, firmware information
Hello.
Tree weeks ago I've read in my /usr/src/linux/drivers/scsi/sata_sil.c file that my hard disk is backlisted.
I comment the line:
{ "ST3200822AS", SIL_QUIRK_MOD15WRITE }
and it works fine (and faster) !!!
My chipset is sil3114, and the firmware version of the hard disk is 3.01.
Info in dmesg:
**
scsi3 : sata_sil
Vendor: ATA Model: ST3200822AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: ST3200822AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05
**
I have two hard disk, using dmraid and my motherboard is "ASUS A8N SLI Deluxe".
Doing "hdparam -I /dev/sda":
**
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
**
¿why is not configured in udma6 by default? ("hdparm -X70 /dev/sda" not work).
Best regards.
Virginio García López
Signature · 1 line
http://virginiogl.blogspot.com/
Hi,
Upgrade your kernel, in newer ones SIL_QUIRK_MOD15WRITE quirk is not applied for sil3114 controllers.
Bartlomiej
Quoted 46 lines · Virginio GL
Hello.
Tree weeks ago I've read in my
/usr/src/linux/drivers/scsi/sata_sil.cfile that my hard disk is backlisted.I comment the line:
{ "ST3200822AS",SIL_QUIRK_MOD15WRITE}
and it works fine (and faster) !!!My chipset is sil3114, and the firmware version of the hard disk is 3.01.
Info in dmesg:
**
scsi3 :sata_silVendor: ATA Model: ST3200822AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05 Vendor: ATA Model: ST3200822AS Rev: 3.01 Type: Direct-Access ANSI SCSI revision: 05**
I have two hard disk, using dmraid and my motherboard is "ASUS A8N SLI Deluxe".
Doing "hdparam -I
/dev/sda":**
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
**¿why is not configured in udma6 by default? ("hdparm -X70
/dev/sda" not work).Best regards.
Virginio García López
Quoted 13 lines · Virginio GL
Doing "hdparam -I
/dev/sda":**
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum R/W multiple sector transfer: Max = 16 Current = 16 Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
**
Quoted 1 line
¿why is not configured in udma6 by default? ("hdparm -X70
/dev/sda" not work).
Does attached patch work for you?
Bartlomiej
[PATCH] sata_sil: fix UDMA masks
Maximum available UDMA mode is UDMA6 not UDMA5.
drivers/scsi/sata_sil.c +3 -3
@@ -185,7 +185,7 @@ ATA_FLAG_SRST | ATA_FLAG_MMIO, .pio_mask = 0x1f, /* pio0-4 */ .mwdma_mask = 0x07, /* mwdma0-2 */ - .udma_mask = 0x3f, /* udma0-5 */ + .udma_mask = 0x7f, /* udma0-6 */ .port_ops = &sil_ops, }, /* sil_3112_15w - keep it sync'd w/ sil_3112 */ {
@@ -195,7 +195,7 @@ SIL_FLAG_MOD15WRITE, .pio_mask = 0x1f, /* pio0-4 */ .mwdma_mask = 0x07, /* mwdma0-2 */ - .udma_mask = 0x3f, /* udma0-5 */ + .udma_mask = 0x7f, /* udma0-6 */ .port_ops = &sil_ops, }, /* sil_3114 */ {
@@ -204,7 +204,7 @@ ATA_FLAG_SRST | ATA_FLAG_MMIO, .pio_mask = 0x1f, /* pio0-4 */ .mwdma_mask = 0x07, /* mwdma0-2 */ - .udma_mask = 0x3f, /* udma0-5 */ + .udma_mask = 0x7f, /* udma0-6 */ .port_ops = &sil_ops, }, };
Yes. I've upgrade my kernel to 2.6.14 and apply the patch and work perfectly. Thank you very much.
Quoted 20 lines · Bartlomiej Zolnierkiewicz
Quoted 13 lines · Virginio GL
Doing "hdparam -I
/dev/sda":**
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific
minimum R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 udma6
Cycle time: min=120ns recommended=120ns
**Quoted 2 lines
¿why is not configured in udma6 by default? ("hdparm -X70
/dev/sda" not work).Does attached patch work for you?
Bartlomiej
Signature · 1 line
http://virginiogl.blogspot.com/