* sata_promise: which version/patch to test?
@ 2007-05-10 19:41 Peter Favrholdt
0 siblings, 0 replies; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-10 19:41 UTC (permalink / raw)
To: linux-ide
Hi,
I would like to help by testing the most recent version of the
sata_promise driver on my
Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
with 4 Seagate 500GB ES drives:
Model Number: ST3500630NS
Firmware Revision: 3.AEE
(with 1.5/3.0Gbps jumper removed = 3.0Gbps)
This setup experienced a problem a while ago which was fixed using
2.6.21-rc2 + Mikael Petterssons "force 1.5Gbps patch".
Could someone provide a hint on what sources/patches I should get?
E.g. vanilla 2.6.21.1 + ?
Thanks for listening.
Best regards,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
@ 2007-05-12 15:04 Mikael Pettersson
2007-05-12 18:23 ` Peter Favrholdt
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Mikael Pettersson @ 2007-05-12 15:04 UTC (permalink / raw)
To: linux-ide, linux-ide
On Thu, 10 May 2007 21:41:32 +0200, Peter Favrholdt wrote:
>I would like to help by testing the most recent version of the
>sata_promise driver on my
>
>Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>
>with 4 Seagate 500GB ES drives:
> Model Number: ST3500630NS
> Firmware Revision: 3.AEE
> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>
>This setup experienced a problem a while ago which was fixed using
>2.6.21-rc2 + Mikael Petterssons "force 1.5Gbps patch".
>
>Could someone provide a hint on what sources/patches I should get?
>
>E.g. vanilla 2.6.21.1 + ?
For a SATA 300 TX4 you should test version 2.07 of sata_promise.c.
You can get it in 2.6.21-git16, or 2.6.21-mm2 plus the following
two patches:
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-error_intr-abort_port-2.6.21-mm2
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-sataii-tx4-port-numbering-fix-2.6.21-mm2
or 2.6.21 plus the following three patches:
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
Note that this corrects the longstanding mis-enumeration
of ports on SATAII TX4 cards, so you may need to adjust
your /etc/fstab and boot-time root= parameter if you're
using hard-coded partition names.
/Mikael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-12 15:04 Mikael Pettersson
@ 2007-05-12 18:23 ` Peter Favrholdt
2007-05-12 18:31 ` Peter Favrholdt
2007-05-12 20:20 ` Peter Favrholdt
2007-05-27 23:00 ` Peter Favrholdt
2 siblings, 1 reply; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-12 18:23 UTC (permalink / raw)
To: Mikael Pettersson, linux-ide
Hi,
I've tested with 2.6.21.1 with the following patches (which applied
cleanly):
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
dmesg reports version 2.00 (you mentioned version 2.07?):
[ 42.091593] sata_promise 0000:01:08.0: version 2.00
[ 42.091852] ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
[ 42.091901] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNK3] -> GSI
11 (level, low) -> IRQ 11
[ 42.092028] sata_promise: applying SATAII-150/300 TX4 port numbering
workaround
The problem is still there. I'm doing:
dd if=/dev/sda of=/dev/null bs=1M &
dd if=/dev/sdb of=/dev/null bs=1M &
dd if=/dev/sdc of=/dev/null bs=1M &
dd if=/dev/sdd of=/dev/null bs=1M &
Then I used smartctl a number of times:
(for each in /dev/sd[abcd]; do smartctl -a -d ata $each ; sleep 5; done)
| grep -i "ATA Error Count"
This _sometimes_ produces the following in dmesg:
[ 1090.412643] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[ 1090.412801] ata1.00: (port_status 0x00001000)
[ 1090.412942] ata1.00: cmd 25/00:00:00:e5:cc/00:02:01:00:00/e0 tag 0
cdb 0x0 data 262144 in
[ 1090.412944] res 50/00:00:ff:e6:cc/00:00:01:00:00/e0 Emask
0x20 (host bus error)
[ 1090.462710] ata1.00: configured for UDMA/133
[ 1090.462865] ata1: EH complete
[ 1090.510793] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
[ 1090.555432] sda: Write Protect is off
[ 1090.555491] sda: Mode Sense: 00 3a 00 00
[ 1090.556570] SCSI device sda: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
But the dds continues afterwards (which is nice).
Then eventually one port gave up and didn't recover:
[ 1139.067245] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x1180000
action 0x2 frozen
[ 1139.067510] ata4.00: cmd c8/00:00:00:64:cb/00:00:00:00:00/e1 tag 0
cdb 0x0 data 131072 in
[ 1139.067513] res 40/00:01:09:4f:c2/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 1139.378689] ata4: soft resetting port
[ 1139.534682] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1169.529225] ata4.00: qc timeout (cmd 0xec)
[ 1169.529689] ata4.00: failed to IDENTIFY (I/O error, err_mask=0x104)
[ 1169.529829] ata4.00: revalidation failed (errno=-5)
[ 1169.530091] ata4: failed to recover some devices, retrying in 5 secs
[ 1174.530890] ata4: hard resetting port
[ 1175.006682] ata4: COMRESET failed (device not ready)
[ 1175.006829] ata4: hardreset failed, retrying in 5 secs
[ 1180.008469] ata4: hard resetting port
[ 1180.484212] ata4: COMRESET failed (device not ready)
[ 1180.484367] ata4: hardreset failed, retrying in 5 secs
[ 1185.486048] ata4: hard resetting port
[ 1185.961762] ata4: COMRESET failed (device not ready)
[ 1185.961920] ata4: reset failed, giving up
[ 1185.962056] ata4.00: disabled
[ 1185.962198] ata4: EH complete
[ 1185.962808] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1185.962940] end_request: I/O error, dev sdd, sector 30106624
[ 1185.963086] Buffer I/O error on device sdd, logical block 3763328
[ 1185.963297] Buffer I/O error on device sdd, logical block 3763329
[ 1185.963447] Buffer I/O error on device sdd, logical block 3763330
[ 1185.963586] Buffer I/O error on device sdd, logical block 3763331
[ 1185.963733] Buffer I/O error on device sdd, logical block 3763332
[ 1185.963872] Buffer I/O error on device sdd, logical block 3763333
[ 1185.963927] Buffer I/O error on device sdd, logical block 3763334
[ 1185.963982] Buffer I/O error on device sdd, logical block 3763335
[ 1185.964036] Buffer I/O error on device sdd, logical block 3763336
[ 1185.964089] Buffer I/O error on device sdd, logical block 3763337
[ 1185.964368] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1185.964493] end_request: I/O error, dev sdd, sector 30106880
[ 1185.965233] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1185.965376] end_request: I/O error, dev sdd, sector 30106624
[ 1185.967036] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1185.967287] end_request: I/O error, dev sdd, sector 30106624
[ 1233.061659] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1233.061799] end_request: I/O error, dev sdd, sector 0
[ 1233.061942] printk: 56 messages suppressed.
[ 1233.062074] Buffer I/O error on device sdd, logical block 0
[ 1233.062212] Buffer I/O error on device sdd, logical block 1
[ 1233.062446] Buffer I/O error on device sdd, logical block 2
[ 1233.062523] Buffer I/O error on device sdd, logical block 3
[ 1233.062575] Buffer I/O error on device sdd, logical block 4
[ 1233.062627] Buffer I/O error on device sdd, logical block 5
[ 1233.062680] Buffer I/O error on device sdd, logical block 6
[ 1233.062732] Buffer I/O error on device sdd, logical block 7
[ 1233.062784] Buffer I/O error on device sdd, logical block 8
[ 1233.063882] sd 4:0:0:0: SCSI error: return code = 0x00040000
[ 1233.064025] end_request: I/O error, dev sdd, sector 0
Here is the related part of my boot log:
[ 26.958676] hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
[ 27.019135] hdb: max request size: 128KiB
[ 27.019534] hdb: 156301488 sectors (80026 MB) w/2048KiB Cache,
CHS=65535/16/63, UDMA(100)
[ 27.019718] hdb: cache flushes not supported
[ 27.019775] hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 >
[ 27.092486] ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
[ 27.092535] ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNK1] -> GSI
11 (level, low) -> IRQ 11
[ 27.093787] ahc_pci:1:10:0: Host Adapter Bios disabled. Using
default SCSI device parameters
[ 42.091115] scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 7.0
[ 42.091117] <Adaptec 2902/04/10/15/20C/30C SCSI adapter>
[ 42.091119] aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
[ 42.091121]
[ 42.091593] sata_promise 0000:01:08.0: version 2.00
[ 42.091852] ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
[ 42.091901] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNK3] -> GSI
11 (level, low) -> IRQ 11
[ 42.092028] sata_promise: applying SATAII-150/300 TX4 port numbering
workaround
[ 42.092125] ata1: SATA max UDMA/133 cmd 0xe0816380 ctl 0xe08163b8
bmdma 0x00000000 irq 11
[ 42.092213] ata2: SATA max UDMA/133 cmd 0xe0816280 ctl 0xe08162b8
bmdma 0x00000000 irq 11
[ 42.092302] ata3: SATA max UDMA/133 cmd 0xe0816200 ctl 0xe0816238
bmdma 0x00000000 irq 11
[ 42.092389] ata4: SATA max UDMA/133 cmd 0xe0816300 ctl 0xe0816338
bmdma 0x00000000 irq 11
[ 42.092454] scsi1 : sata_promise
[ 42.558930] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 42.583253] ata1.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
[ 42.583301] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[ 42.591245] ata1.00: configured for UDMA/133
[ 42.591296] scsi2 : sata_promise
[ 43.058704] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 43.083021] ata2.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
[ 43.083069] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[ 43.107012] ata2.00: configured for UDMA/133
[ 43.107061] scsi3 : sata_promise
[ 43.147068] scsi 0:0:4:0: CD-ROM HP CD-Writer+ 9200
1.0e PQ: 0 ANSI: 4
[ 43.147139] target0:0:4: Beginning Domain Validation
[ 43.159571] target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
[ 43.168135] target0:0:4: Domain Validation skipping write tests
[ 43.168182] target0:0:4: Ending Domain Validation
[ 43.574474] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 43.598789] ata3.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
[ 43.598837] ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[ 43.606787] ata3.00: configured for UDMA/133
[ 43.606836] scsi4 : sata_promise
[ 43.716126] sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray
[ 43.716176] Uniform CD-ROM driver Revision: 3.20
[ 43.716270] sr 0:0:4:0: Attached scsi CD-ROM sr0
[ 43.716326] sr 0:0:4:0: Attached scsi generic sg0 type 5
[ 44.074248] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 44.098565] ata4.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
[ 44.098613] ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[ 44.122556] ata4.00: configured for UDMA/133
[ 44.122649] scsi 1:0:0:0: Direct-Access ATA ST3500630NS
3.AE PQ: 0 ANSI: 5
[ 44.122785] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.122843] sda: Write Protect is off
[ 44.122888] sda: Mode Sense: 00 3a 00 00
[ 44.122903] SCSI device sda: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.123002] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.123057] sda: Write Protect is off
[ 44.123102] sda: Mode Sense: 00 3a 00 00
[ 44.123115] SCSI device sda: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.123174] sda: unknown partition table
[ 44.130358] sd 1:0:0:0: Attached scsi disk sda
[ 44.130456] sd 1:0:0:0: Attached scsi generic sg1 type 0
[ 44.130557] scsi 2:0:0:0: Direct-Access ATA ST3500630NS
3.AE PQ: 0 ANSI: 5
[ 44.130687] SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.130742] sdb: Write Protect is off
[ 44.130787] sdb: Mode Sense: 00 3a 00 00
[ 44.130800] SCSI device sdb: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.130891] SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.130946] sdb: Write Protect is off
[ 44.130990] sdb: Mode Sense: 00 3a 00 00
[ 44.131004] SCSI device sdb: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.131062] sdb: unknown partition table
[ 44.140212] sd 2:0:0:0: Attached scsi disk sdb
[ 44.140310] sd 2:0:0:0: Attached scsi generic sg2 type 0
[ 44.140413] scsi 3:0:0:0: Direct-Access ATA ST3500630NS
3.AE PQ: 0 ANSI: 5
[ 44.140552] SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.140608] sdc: Write Protect is off
[ 44.140652] sdc: Mode Sense: 00 3a 00 00
[ 44.140666] SCSI device sdc: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.140755] SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.140810] sdc: Write Protect is off
[ 44.140855] sdc: Mode Sense: 00 3a 00 00
[ 44.140868] SCSI device sdc: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.140926] sdc: unknown partition table
[ 44.159100] sd 3:0:0:0: Attached scsi disk sdc
[ 44.159192] sd 3:0:0:0: Attached scsi generic sg3 type 0
[ 44.159293] scsi 4:0:0:0: Direct-Access ATA ST3500630NS
3.AE PQ: 0 ANSI: 5
[ 44.159417] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.159472] sdd: Write Protect is off
[ 44.159516] sdd: Mode Sense: 00 3a 00 00
[ 44.159530] SCSI device sdd: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.159613] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
[ 44.159667] sdd: Write Protect is off
[ 44.159712] sdd: Mode Sense: 00 3a 00 00
[ 44.159725] SCSI device sdd: write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 44.159783] sdd: unknown partition table
[ 44.181673] sd 4:0:0:0: Attached scsi disk sdd
[ 44.181767] sd 4:0:0:0: Attached scsi generic sg4 type 0
[ 44.181871] sata_sil 0000:01:0b.0: version 2.1
[ 44.181892] ACPI: PCI Interrupt 0000:01:0b.0[A] -> Link [LNK3] -> GSI
11 (level, low) -> IRQ 11
[ 44.182056] ata5: SATA max UDMA/100 cmd 0xe081e080 ctl 0xe081e08a
bmdma 0xe081e000 irq 11
[ 44.182141] ata6: SATA max UDMA/100 cmd 0xe081e0c0 ctl 0xe081e0ca
bmdma 0xe081e008 irq 11
[ 44.182208] scsi5 : sata_sil
[ 44.494036] ata5: SATA link down (SStatus 0 SControl 310)
[ 44.494092] scsi6 : sata_sil
[ 44.805896] ata6: SATA link down (SStatus 0 SControl 310)
I'll continue testing with the other kernels you suggested.
Please let me know if I can do anything else to help.
Best regards,
Peter
Mikael Pettersson wrote:
> On Thu, 10 May 2007 21:41:32 +0200, Peter Favrholdt wrote:
>> I would like to help by testing the most recent version of the
>> sata_promise driver on my
>>
>> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>>
>> with 4 Seagate 500GB ES drives:
>> Model Number: ST3500630NS
>> Firmware Revision: 3.AEE
>> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>>
>> This setup experienced a problem a while ago which was fixed using
>> 2.6.21-rc2 + Mikael Petterssons "force 1.5Gbps patch".
>>
>> Could someone provide a hint on what sources/patches I should get?
>>
>> E.g. vanilla 2.6.21.1 + ?
>
> For a SATA 300 TX4 you should test version 2.07 of sata_promise.c.
> You can get it in 2.6.21-git16, or 2.6.21-mm2 plus the following
> two patches:
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-error_intr-abort_port-2.6.21-mm2
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-sataii-tx4-port-numbering-fix-2.6.21-mm2
>
> or 2.6.21 plus the following three patches:
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
>
> Note that this corrects the longstanding mis-enumeration
> of ports on SATAII TX4 cards, so you may need to adjust
> your /etc/fstab and boot-time root= parameter if you're
> using hard-coded partition names.
>
> /Mikael
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-12 18:23 ` Peter Favrholdt
@ 2007-05-12 18:31 ` Peter Favrholdt
0 siblings, 0 replies; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-12 18:31 UTC (permalink / raw)
To: Mikael Pettersson, linux-ide
Replying to my own post:
Wanted to add that the ata1 port just died even without doing any
smartctl's - and not recovering.
BR Peter
Peter Favrholdt wrote:
> Hi,
>
> I've tested with 2.6.21.1 with the following patches (which applied
> cleanly):
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
>
>
> dmesg reports version 2.00 (you mentioned version 2.07?):
>
> [ 42.091593] sata_promise 0000:01:08.0: version 2.00
> [ 42.091852] ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
> [ 42.091901] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNK3] -> GSI
> 11 (level, low) -> IRQ 11
> [ 42.092028] sata_promise: applying SATAII-150/300 TX4 port numbering
> workaround
>
>
> The problem is still there. I'm doing:
>
> dd if=/dev/sda of=/dev/null bs=1M &
> dd if=/dev/sdb of=/dev/null bs=1M &
> dd if=/dev/sdc of=/dev/null bs=1M &
> dd if=/dev/sdd of=/dev/null bs=1M &
>
> Then I used smartctl a number of times:
>
> (for each in /dev/sd[abcd]; do smartctl -a -d ata $each ; sleep 5; done)
> | grep -i "ATA Error Count"
>
> This _sometimes_ produces the following in dmesg:
>
> [ 1090.412643] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> [ 1090.412801] ata1.00: (port_status 0x00001000)
> [ 1090.412942] ata1.00: cmd 25/00:00:00:e5:cc/00:02:01:00:00/e0 tag 0
> cdb 0x0 data 262144 in
> [ 1090.412944] res 50/00:00:ff:e6:cc/00:00:01:00:00/e0 Emask
> 0x20 (host bus error)
> [ 1090.462710] ata1.00: configured for UDMA/133
> [ 1090.462865] ata1: EH complete
> [ 1090.510793] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
> [ 1090.555432] sda: Write Protect is off
> [ 1090.555491] sda: Mode Sense: 00 3a 00 00
> [ 1090.556570] SCSI device sda: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
>
> But the dds continues afterwards (which is nice).
>
> Then eventually one port gave up and didn't recover:
>
> [ 1139.067245] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x1180000
> action 0x2 frozen
> [ 1139.067510] ata4.00: cmd c8/00:00:00:64:cb/00:00:00:00:00/e1 tag 0
> cdb 0x0 data 131072 in
> [ 1139.067513] res 40/00:01:09:4f:c2/00:00:00:00:00/00 Emask
> 0x4 (timeout)
> [ 1139.378689] ata4: soft resetting port
> [ 1139.534682] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 1169.529225] ata4.00: qc timeout (cmd 0xec)
> [ 1169.529689] ata4.00: failed to IDENTIFY (I/O error, err_mask=0x104)
> [ 1169.529829] ata4.00: revalidation failed (errno=-5)
> [ 1169.530091] ata4: failed to recover some devices, retrying in 5 secs
> [ 1174.530890] ata4: hard resetting port
> [ 1175.006682] ata4: COMRESET failed (device not ready)
> [ 1175.006829] ata4: hardreset failed, retrying in 5 secs
> [ 1180.008469] ata4: hard resetting port
> [ 1180.484212] ata4: COMRESET failed (device not ready)
> [ 1180.484367] ata4: hardreset failed, retrying in 5 secs
> [ 1185.486048] ata4: hard resetting port
> [ 1185.961762] ata4: COMRESET failed (device not ready)
> [ 1185.961920] ata4: reset failed, giving up
> [ 1185.962056] ata4.00: disabled
> [ 1185.962198] ata4: EH complete
> [ 1185.962808] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1185.962940] end_request: I/O error, dev sdd, sector 30106624
> [ 1185.963086] Buffer I/O error on device sdd, logical block 3763328
> [ 1185.963297] Buffer I/O error on device sdd, logical block 3763329
> [ 1185.963447] Buffer I/O error on device sdd, logical block 3763330
> [ 1185.963586] Buffer I/O error on device sdd, logical block 3763331
> [ 1185.963733] Buffer I/O error on device sdd, logical block 3763332
> [ 1185.963872] Buffer I/O error on device sdd, logical block 3763333
> [ 1185.963927] Buffer I/O error on device sdd, logical block 3763334
> [ 1185.963982] Buffer I/O error on device sdd, logical block 3763335
> [ 1185.964036] Buffer I/O error on device sdd, logical block 3763336
> [ 1185.964089] Buffer I/O error on device sdd, logical block 3763337
> [ 1185.964368] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1185.964493] end_request: I/O error, dev sdd, sector 30106880
> [ 1185.965233] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1185.965376] end_request: I/O error, dev sdd, sector 30106624
> [ 1185.967036] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1185.967287] end_request: I/O error, dev sdd, sector 30106624
> [ 1233.061659] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1233.061799] end_request: I/O error, dev sdd, sector 0
> [ 1233.061942] printk: 56 messages suppressed.
> [ 1233.062074] Buffer I/O error on device sdd, logical block 0
> [ 1233.062212] Buffer I/O error on device sdd, logical block 1
> [ 1233.062446] Buffer I/O error on device sdd, logical block 2
> [ 1233.062523] Buffer I/O error on device sdd, logical block 3
> [ 1233.062575] Buffer I/O error on device sdd, logical block 4
> [ 1233.062627] Buffer I/O error on device sdd, logical block 5
> [ 1233.062680] Buffer I/O error on device sdd, logical block 6
> [ 1233.062732] Buffer I/O error on device sdd, logical block 7
> [ 1233.062784] Buffer I/O error on device sdd, logical block 8
> [ 1233.063882] sd 4:0:0:0: SCSI error: return code = 0x00040000
> [ 1233.064025] end_request: I/O error, dev sdd, sector 0
>
> Here is the related part of my boot log:
>
> [ 26.958676] hda: hda1 hda2 < hda5 hda6 hda7 hda8 >
> [ 27.019135] hdb: max request size: 128KiB
> [ 27.019534] hdb: 156301488 sectors (80026 MB) w/2048KiB Cache,
> CHS=65535/16/63, UDMA(100)
> [ 27.019718] hdb: cache flushes not supported
> [ 27.019775] hdb: hdb1 hdb2 < hdb5 hdb6 hdb7 hdb8 hdb9 >
> [ 27.092486] ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 11
> [ 27.092535] ACPI: PCI Interrupt 0000:01:0a.0[A] -> Link [LNK1] -> GSI
> 11 (level, low) -> IRQ 11
> [ 27.093787] ahc_pci:1:10:0: Host Adapter Bios disabled. Using
> default SCSI device parameters
> [ 42.091115] scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev
> 7.0
> [ 42.091117] <Adaptec 2902/04/10/15/20C/30C SCSI adapter>
> [ 42.091119] aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
> [ 42.091121]
> [ 42.091593] sata_promise 0000:01:08.0: version 2.00
> [ 42.091852] ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
> [ 42.091901] ACPI: PCI Interrupt 0000:01:08.0[A] -> Link [LNK3] -> GSI
> 11 (level, low) -> IRQ 11
> [ 42.092028] sata_promise: applying SATAII-150/300 TX4 port numbering
> workaround
> [ 42.092125] ata1: SATA max UDMA/133 cmd 0xe0816380 ctl 0xe08163b8
> bmdma 0x00000000 irq 11
> [ 42.092213] ata2: SATA max UDMA/133 cmd 0xe0816280 ctl 0xe08162b8
> bmdma 0x00000000 irq 11
> [ 42.092302] ata3: SATA max UDMA/133 cmd 0xe0816200 ctl 0xe0816238
> bmdma 0x00000000 irq 11
> [ 42.092389] ata4: SATA max UDMA/133 cmd 0xe0816300 ctl 0xe0816338
> bmdma 0x00000000 irq 11
> [ 42.092454] scsi1 : sata_promise
> [ 42.558930] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 42.583253] ata1.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
> [ 42.583301] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
> [ 42.591245] ata1.00: configured for UDMA/133
> [ 42.591296] scsi2 : sata_promise
> [ 43.058704] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 43.083021] ata2.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
> [ 43.083069] ata2.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
> [ 43.107012] ata2.00: configured for UDMA/133
> [ 43.107061] scsi3 : sata_promise
> [ 43.147068] scsi 0:0:4:0: CD-ROM HP CD-Writer+ 9200
> 1.0e PQ: 0 ANSI: 4
> [ 43.147139] target0:0:4: Beginning Domain Validation
> [ 43.159571] target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 15)
> [ 43.168135] target0:0:4: Domain Validation skipping write tests
> [ 43.168182] target0:0:4: Ending Domain Validation
> [ 43.574474] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 43.598789] ata3.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
> [ 43.598837] ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
> [ 43.606787] ata3.00: configured for UDMA/133
> [ 43.606836] scsi4 : sata_promise
> [ 43.716126] sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda
> tray
> [ 43.716176] Uniform CD-ROM driver Revision: 3.20
> [ 43.716270] sr 0:0:4:0: Attached scsi CD-ROM sr0
> [ 43.716326] sr 0:0:4:0: Attached scsi generic sg0 type 5
> [ 44.074248] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
> [ 44.098565] ata4.00: ATA-7: ST3500630NS, 3.AEE, max UDMA/133
> [ 44.098613] ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 0/32)
> [ 44.122556] ata4.00: configured for UDMA/133
> [ 44.122649] scsi 1:0:0:0: Direct-Access ATA ST3500630NS
> 3.AE PQ: 0 ANSI: 5
> [ 44.122785] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.122843] sda: Write Protect is off
> [ 44.122888] sda: Mode Sense: 00 3a 00 00
> [ 44.122903] SCSI device sda: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.123002] SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.123057] sda: Write Protect is off
> [ 44.123102] sda: Mode Sense: 00 3a 00 00
> [ 44.123115] SCSI device sda: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.123174] sda: unknown partition table
> [ 44.130358] sd 1:0:0:0: Attached scsi disk sda
> [ 44.130456] sd 1:0:0:0: Attached scsi generic sg1 type 0
> [ 44.130557] scsi 2:0:0:0: Direct-Access ATA ST3500630NS
> 3.AE PQ: 0 ANSI: 5
> [ 44.130687] SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.130742] sdb: Write Protect is off
> [ 44.130787] sdb: Mode Sense: 00 3a 00 00
> [ 44.130800] SCSI device sdb: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.130891] SCSI device sdb: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.130946] sdb: Write Protect is off
> [ 44.130990] sdb: Mode Sense: 00 3a 00 00
> [ 44.131004] SCSI device sdb: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.131062] sdb: unknown partition table
> [ 44.140212] sd 2:0:0:0: Attached scsi disk sdb
> [ 44.140310] sd 2:0:0:0: Attached scsi generic sg2 type 0
> [ 44.140413] scsi 3:0:0:0: Direct-Access ATA ST3500630NS
> 3.AE PQ: 0 ANSI: 5
> [ 44.140552] SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.140608] sdc: Write Protect is off
> [ 44.140652] sdc: Mode Sense: 00 3a 00 00
> [ 44.140666] SCSI device sdc: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.140755] SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.140810] sdc: Write Protect is off
> [ 44.140855] sdc: Mode Sense: 00 3a 00 00
> [ 44.140868] SCSI device sdc: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.140926] sdc: unknown partition table
> [ 44.159100] sd 3:0:0:0: Attached scsi disk sdc
> [ 44.159192] sd 3:0:0:0: Attached scsi generic sg3 type 0
> [ 44.159293] scsi 4:0:0:0: Direct-Access ATA ST3500630NS
> 3.AE PQ: 0 ANSI: 5
> [ 44.159417] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.159472] sdd: Write Protect is off
> [ 44.159516] sdd: Mode Sense: 00 3a 00 00
> [ 44.159530] SCSI device sdd: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.159613] SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
> [ 44.159667] sdd: Write Protect is off
> [ 44.159712] sdd: Mode Sense: 00 3a 00 00
> [ 44.159725] SCSI device sdd: write cache: enabled, read cache:
> enabled, doesn't support DPO or FUA
> [ 44.159783] sdd: unknown partition table
> [ 44.181673] sd 4:0:0:0: Attached scsi disk sdd
> [ 44.181767] sd 4:0:0:0: Attached scsi generic sg4 type 0
> [ 44.181871] sata_sil 0000:01:0b.0: version 2.1
> [ 44.181892] ACPI: PCI Interrupt 0000:01:0b.0[A] -> Link [LNK3] -> GSI
> 11 (level, low) -> IRQ 11
> [ 44.182056] ata5: SATA max UDMA/100 cmd 0xe081e080 ctl 0xe081e08a
> bmdma 0xe081e000 irq 11
> [ 44.182141] ata6: SATA max UDMA/100 cmd 0xe081e0c0 ctl 0xe081e0ca
> bmdma 0xe081e008 irq 11
> [ 44.182208] scsi5 : sata_sil
> [ 44.494036] ata5: SATA link down (SStatus 0 SControl 310)
> [ 44.494092] scsi6 : sata_sil
> [ 44.805896] ata6: SATA link down (SStatus 0 SControl 310)
>
>
> I'll continue testing with the other kernels you suggested.
>
> Please let me know if I can do anything else to help.
>
> Best regards,
>
> Peter
>
> Mikael Pettersson wrote:
>> On Thu, 10 May 2007 21:41:32 +0200, Peter Favrholdt wrote:
>>> I would like to help by testing the most recent version of the
>>> sata_promise driver on my
>>>
>>> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>>>
>>> with 4 Seagate 500GB ES drives:
>>> Model Number: ST3500630NS
>>> Firmware Revision: 3.AEE
>>> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>>>
>>> This setup experienced a problem a while ago which was fixed using
>>> 2.6.21-rc2 + Mikael Petterssons "force 1.5Gbps patch".
>>>
>>> Could someone provide a hint on what sources/patches I should get?
>>>
>>> E.g. vanilla 2.6.21.1 + ?
>>
>> For a SATA 300 TX4 you should test version 2.07 of sata_promise.c.
>> You can get it in 2.6.21-git16, or 2.6.21-mm2 plus the following
>> two patches:
>>
>> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-error_intr-abort_port-2.6.21-mm2
>>
>> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-sataii-tx4-port-numbering-fix-2.6.21-mm2
>>
>>
>> or 2.6.21 plus the following three patches:
>>
>> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
>>
>> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
>>
>> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
>>
>>
>> Note that this corrects the longstanding mis-enumeration
>> of ports on SATAII TX4 cards, so you may need to adjust
>> your /etc/fstab and boot-time root= parameter if you're
>> using hard-coded partition names.
>>
>> /Mikael
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-12 15:04 Mikael Pettersson
2007-05-12 18:23 ` Peter Favrholdt
@ 2007-05-12 20:20 ` Peter Favrholdt
2007-05-27 23:00 ` Peter Favrholdt
2 siblings, 0 replies; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-12 20:20 UTC (permalink / raw)
To: Mikael Pettersson, linux-ide
I have now tested with 2.6.21-git16 with the same result: sda and sdd
froze after copying 1.7GB and 2.7GB respectively.
Here is dmesg output:
[ 59.070670] sata_promise 0000:01:08.0: version 2.07
<stuff deleted>
[ 402.136295] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
action 0x2 frozen
[ 402.136309] ata1.00: cmd c8/00:00:00:24:32/00:00:00:00:00/e0 tag 0
cdb 0x0 data 131072 in
[ 402.136311] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 402.448197] ata1: device not ready (errno=-19), forcing hardreset
[ 402.448205] ata1: hard resetting port
[ 402.923916] ata1: COMRESET failed (errno=-19)
[ 402.923924] ata1: reset failed (errno=-19), retrying in 10 secs
[ 412.444021] ata1: hard resetting port
[ 412.919420] ata1: COMRESET failed (errno=-19)
[ 412.919428] ata1: reset failed (errno=-19), retrying in 10 secs
[ 422.439142] ata1: hard resetting port
[ 422.914928] ata1: COMRESET failed (errno=-19)
[ 422.914937] ata1: reset failed (errno=-19), retrying in 35 secs
[ 437.712320] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
action 0x2 frozen
[ 437.712334] ata4.00: cmd c8/00:00:00:51:51/00:00:00:00:00/e0 tag 0
cdb 0x0 data 131072 in
[ 437.712337] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 438.024173] ata4: device not ready (errno=-19), forcing hardreset
[ 438.024182] ata4: hard resetting port
[ 438.499939] ata4: COMRESET failed (errno=-19)
[ 438.499948] ata4: reset failed (errno=-19), retrying in 10 secs
[ 448.019661] ata4: hard resetting port
[ 448.495452] ata4: COMRESET failed (errno=-19)
[ 448.495461] ata4: reset failed (errno=-19), retrying in 10 secs
[ 457.423447] ata1: hard resetting port
[ 457.899232] ata1: COMRESET failed (errno=-19)
[ 457.899240] ata1: reset failed, giving up
[ 457.899243] ata1.00: disabled
[ 457.899256] ata1: EH complete
[ 457.899541] sd 1:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 457.899548] end_request: I/O error, dev sda, sector 3286016
[ 457.899553] Buffer I/O error on device sda, logical block 410752
[ 457.899558] Buffer I/O error on device sda, logical block 410753
[ 457.899561] Buffer I/O error on device sda, logical block 410754
[ 457.899564] Buffer I/O error on device sda, logical block 410755
[ 457.899567] Buffer I/O error on device sda, logical block 410756
[ 457.899570] Buffer I/O error on device sda, logical block 410757
[ 457.899574] Buffer I/O error on device sda, logical block 410758
[ 457.899577] Buffer I/O error on device sda, logical block 410759
[ 457.899580] Buffer I/O error on device sda, logical block 410760
[ 457.899583] Buffer I/O error on device sda, logical block 410761
[ 457.899652] sd 1:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 457.899656] end_request: I/O error, dev sda, sector 3286272
[ 457.901641] sd 1:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 457.901650] end_request: I/O error, dev sda, sector 3286016
[ 457.903095] sd 1:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 457.903106] end_request: I/O error, dev sda, sector 3286016
[ 458.015257] ata4: hard resetting port
[ 458.490969] ata4: COMRESET failed (errno=-19)
[ 458.490978] ata4: reset failed (errno=-19), retrying in 35 secs
[ 492.999475] ata4: hard resetting port
[ 493.475271] ata4: COMRESET failed (errno=-19)
[ 493.475278] ata4: reset failed, giving up
[ 493.475281] ata4.00: disabled
[ 493.475295] ata4: EH complete
[ 493.475752] sd 4:0:0:0: [sdd] Result: hostbyte=0x04 driverbyte=0x00
[ 493.475758] end_request: I/O error, dev sdd, sector 5329152
[ 493.475762] printk: 56 messages suppressed.
[ 493.475766] Buffer I/O error on device sdd, logical block 666144
[ 493.475771] Buffer I/O error on device sdd, logical block 666145
[ 493.475775] Buffer I/O error on device sdd, logical block 666146
[ 493.475778] Buffer I/O error on device sdd, logical block 666147
[ 493.475781] Buffer I/O error on device sdd, logical block 666148
[ 493.475785] Buffer I/O error on device sdd, logical block 666149
[ 493.475788] Buffer I/O error on device sdd, logical block 666150
[ 493.475863] sd 4:0:0:0: [sdd] Result: hostbyte=0x04 driverbyte=0x00
[ 493.475867] end_request: I/O error, dev sdd, sector 5329408
[ 493.476664] sd 4:0:0:0: [sdd] Result: hostbyte=0x04 driverbyte=0x00
[ 493.476669] end_request: I/O error, dev sdd, sector 5329152
[ 493.477841] sd 4:0:0:0: [sdd] Result: hostbyte=0x04 driverbyte=0x00
[ 493.477845] end_request: I/O error, dev sdd, sector 5329152
Next I'll try with the 1.5Gbps patch...
BR Peter
Mikael Pettersson wrote:
> On Thu, 10 May 2007 21:41:32 +0200, Peter Favrholdt wrote:
>> I would like to help by testing the most recent version of the
>> sata_promise driver on my
>>
>> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>>
>> with 4 Seagate 500GB ES drives:
>> Model Number: ST3500630NS
>> Firmware Revision: 3.AEE
>> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>>
>> This setup experienced a problem a while ago which was fixed using
>> 2.6.21-rc2 + Mikael Petterssons "force 1.5Gbps patch".
>>
>> Could someone provide a hint on what sources/patches I should get?
>>
>> E.g. vanilla 2.6.21.1 + ?
>
> For a SATA 300 TX4 you should test version 2.07 of sata_promise.c.
> You can get it in 2.6.21-git16, or 2.6.21-mm2 plus the following
> two patches:
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-error_intr-abort_port-2.6.21-mm2
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-sataii-tx4-port-numbering-fix-2.6.21-mm2
>
> or 2.6.21 plus the following three patches:
>
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-1-separate-sata-pata-ops-2.6.21
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-2-error_intr-2.6.21
> http://user.it.uu.se/~mikpe/linux/patches/2.6/patch-sata_promise-3-sataii-tx4-port-numbering-fix-2.6.21
>
> Note that this corrects the longstanding mis-enumeration
> of ports on SATAII TX4 cards, so you may need to adjust
> your /etc/fstab and boot-time root= parameter if you're
> using hard-coded partition names.
>
> /Mikael
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-12 15:04 Mikael Pettersson
2007-05-12 18:23 ` Peter Favrholdt
2007-05-12 20:20 ` Peter Favrholdt
@ 2007-05-27 23:00 ` Peter Favrholdt
2007-05-28 5:59 ` Tomi Orava
2 siblings, 1 reply; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-27 23:00 UTC (permalink / raw)
To: linux-ide; +Cc: Mikael Pettersson
Hi,
I have tried exchanging SATA cables, but still have the problem with
sata_promise using 2.6.21-git16.
HW info:
Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
with 4 Seagate 500GB ES drives:
Model Number: ST3500630NS
Firmware Revision: 3.AEE
(with 1.5/3.0Gbps jumper removed = 3.0Gbps)
After doing:
dd if=/dev/sda of=/dev/null bs=1M &
dd if=/dev/sdb of=/dev/null bs=1M &
dd if=/dev/sdc of=/dev/null bs=1M &
dd if=/dev/sdd of=/dev/null bs=1M &
it runs fine for a while, then:
[ 3171.247821] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
action 0x2 frozen
[ 3171.247835] ata1.00: cmd c8/00:00:00:3c:35/00:00:00:00:00/ea tag 0
cdb 0x0 data 131072 in
[ 3171.247837] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 3171.559676] ata1: device not ready (errno=-19), forcing hardreset
[ 3171.559685] ata1: hard resetting port
[ 3172.035566] ata1: COMRESET failed (errno=-19)
[ 3172.035575] ata1: reset failed (errno=-19), retrying in 10 secs
[ 3181.555162] ata1: hard resetting port
[ 3182.031060] ata1: COMRESET failed (errno=-19)
[ 3182.031068] ata1: reset failed (errno=-19), retrying in 10 secs
[ 3191.550679] ata1: hard resetting port
[ 3192.026471] ata1: COMRESET failed (errno=-19)
[ 3192.026480] ata1: reset failed (errno=-19), retrying in 35 secs
[ 3226.534976] ata1: hard resetting port
[ 3227.010769] ata1: COMRESET failed (errno=-19)
[ 3227.010777] ata1: reset failed, giving up
[ 3227.010780] ata1.00: disabled
[ 3227.010792] ata1: EH complete
[ 3227.011088] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 3227.011094] end_request: I/O error, dev sda, sector 171260928
[ 3227.011099] Buffer I/O error on device sda, logical block 21407616
[ 3227.011104] Buffer I/O error on device sda, logical block 21407617
[ 3227.011108] Buffer I/O error on device sda, logical block 21407618
[ 3227.011112] Buffer I/O error on device sda, logical block 21407619
[ 3227.011115] Buffer I/O error on device sda, logical block 21407620
[ 3227.011119] Buffer I/O error on device sda, logical block 21407621
[ 3227.011122] Buffer I/O error on device sda, logical block 21407622
[ 3227.011126] Buffer I/O error on device sda, logical block 21407623
[ 3227.011130] Buffer I/O error on device sda, logical block 21407624
[ 3227.011133] Buffer I/O error on device sda, logical block 21407625
[ 3227.011161] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 3227.011165] end_request: I/O error, dev sda, sector 171261184
[ 3227.011297] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 3227.011301] end_request: I/O error, dev sda, sector 171260928
[ 3227.011327] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 3227.011332] end_request: I/O error, dev sda, sector 171260928
[4] Exit 1 dd if=/dev/sda of=/dev/null bs=1M (wd: ~)
Best regards,
Peter
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-27 23:00 ` Peter Favrholdt
@ 2007-05-28 5:59 ` Tomi Orava
2007-05-28 16:58 ` Peter Favrholdt
0 siblings, 1 reply; 10+ messages in thread
From: Tomi Orava @ 2007-05-28 5:59 UTC (permalink / raw)
To: Peter Favrholdt; +Cc: linux-ide, Mikael Pettersson
Hello,
> I have tried exchanging SATA cables, but still have the problem with
> sata_promise using 2.6.21-git16.
Unfortunately, I don't have any solution for you but I wanted to let you
know that you are not alone with this problem. I'm still running
with 2.6.21-rc3-git10 based kernel with promise_sata_1.5Gps.patch
and promise_enumeration.patch patches due to the fact that anything newer
just doesn't work at all (the system drops interface speeds to almost zero
due to errors as reported previosly on this list). My current (old)
kernel with patches still reports the following errors whenever there is
more load on the system, but at least the promise sata300tx4 card &
seagate 7200.10 disks do work (not well, but anyway):
ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
ata4.00: cmd 25/00:28:d7:be:99/00:00:17:00:00/e0 tag 0 cdb 0x0 data 20480 in
res 50/00:00:fe:be:99/00:00:46:9f:4a/e0 Emask 0x1 (device error)
ata4.00: configured for UDMA/133
ata4: EH complete
SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
I still don't understand why on earth the above errors get logged only for
the newer Seagate 7200.10 disks and never for the older 7200.7 disks.
00:0e.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA
300 TX4) (rev 02)
Subsystem: Promise Technology, Inc. PDC40718 (SATA 300 TX4)
Flags: bus master, 66MHz, medium devsel, latency 72, IRQ 16
I/O ports at ec00 [size=128]
I/O ports at e000 [size=256]
Memory at fe900000 (32-bit, non-prefetchable) [size=4K]
Memory at fe800000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at fe600000 [disabled] [size=32K]
Capabilities: [60] Power Management version 2
Disks:
pdc_port_start(port 0): adjusted SControl from 0x00000000 to 0x00000011
ata1: SATA max UDMA/133 cmd 0xf880a380 ctl 0xf880a3b8 bmdma 0x00000000 irq 16
pdc_port_start(port 1): adjusted SControl from 0x00000000 to 0x00000011
ata2: SATA max UDMA/133 cmd 0xf880a280 ctl 0xf880a2b8 bmdma 0x00000000 irq 16
pdc_port_start(port 2): adjusted SControl from 0x00000000 to 0x00000011
ata3: SATA max UDMA/133 cmd 0xf880a200 ctl 0xf880a238 bmdma 0x00000000 irq 16
pdc_port_start(port 3): adjusted SControl from 0x00000000 to 0x00000011
ata4: SATA max UDMA/133 cmd 0xf880a300 ctl 0xf880a338 bmdma 0x00000000 irq 16
scsi0 : sata_promise
Switched to high resolution mode on CPU 0
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata1.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata1.00: 390721968 sectors, multi 0: LBA48
ata1.00: configured for UDMA/133
scsi1 : sata_promise
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata2.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
ata2.00: 390721968 sectors, multi 0: LBA48
ata2.00: configured for UDMA/133
scsi2 : sata_promise
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata3.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
ata3.00: configured for UDMA/133
scsi3 : sata_promise
ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata4.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
ata4.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0 ANSI: 5
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0 ANSI: 5
SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
sdb: Write Protect is off
sdb: Mode Sense: 00 3a 00 00
SCSI device sdb: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sdb: sdb1 sdb2
sd 1:0:0:0: Attached scsi disk sdb
sd 1:0:0:0: Attached scsi generic sg1 type 0
scsi 2:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0 ANSI: 5
SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
sdc: Write Protect is off
sdc: Mode Sense: 00 3a 00 00
SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sdc: sdc1 sdc2
sd 2:0:0:0: Attached scsi disk sdc
sd 2:0:0:0: Attached scsi generic sg2 type 0
scsi 3:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0 ANSI: 5
SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
sdd: Write Protect is off
sdd: Mode Sense: 00 3a 00 00
SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sdd: sdd1 sdd2
sd 3:0:0:0: Attached scsi disk sdd
sd 3:0:0:0: Attached scsi generic sg3 type 0
Regards,
Tomi Orava
>
> HW info:
>
> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
> with 4 Seagate 500GB ES drives:
> Model Number: ST3500630NS
> Firmware Revision: 3.AEE
> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>
> After doing:
>
> dd if=/dev/sda of=/dev/null bs=1M &
> dd if=/dev/sdb of=/dev/null bs=1M &
> dd if=/dev/sdc of=/dev/null bs=1M &
> dd if=/dev/sdd of=/dev/null bs=1M &
>
> it runs fine for a while, then:
>
> [ 3171.247821] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
> action 0x2 frozen
> [ 3171.247835] ata1.00: cmd c8/00:00:00:3c:35/00:00:00:00:00/ea tag 0
> cdb 0x0 data 131072 in
> [ 3171.247837] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
> 0x4 (timeout)
> [ 3171.559676] ata1: device not ready (errno=-19), forcing hardreset
> [ 3171.559685] ata1: hard resetting port
> [ 3172.035566] ata1: COMRESET failed (errno=-19)
> [ 3172.035575] ata1: reset failed (errno=-19), retrying in 10 secs
> [ 3181.555162] ata1: hard resetting port
> [ 3182.031060] ata1: COMRESET failed (errno=-19)
> [ 3182.031068] ata1: reset failed (errno=-19), retrying in 10 secs
> [ 3191.550679] ata1: hard resetting port
> [ 3192.026471] ata1: COMRESET failed (errno=-19)
> [ 3192.026480] ata1: reset failed (errno=-19), retrying in 35 secs
> [ 3226.534976] ata1: hard resetting port
> [ 3227.010769] ata1: COMRESET failed (errno=-19)
> [ 3227.010777] ata1: reset failed, giving up
> [ 3227.010780] ata1.00: disabled
> [ 3227.010792] ata1: EH complete
> [ 3227.011088] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
> [ 3227.011094] end_request: I/O error, dev sda, sector 171260928
> [ 3227.011099] Buffer I/O error on device sda, logical block 21407616
> [ 3227.011104] Buffer I/O error on device sda, logical block 21407617
> [ 3227.011108] Buffer I/O error on device sda, logical block 21407618
> [ 3227.011112] Buffer I/O error on device sda, logical block 21407619
> [ 3227.011115] Buffer I/O error on device sda, logical block 21407620
> [ 3227.011119] Buffer I/O error on device sda, logical block 21407621
> [ 3227.011122] Buffer I/O error on device sda, logical block 21407622
> [ 3227.011126] Buffer I/O error on device sda, logical block 21407623
> [ 3227.011130] Buffer I/O error on device sda, logical block 21407624
> [ 3227.011133] Buffer I/O error on device sda, logical block 21407625
> [ 3227.011161] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
> [ 3227.011165] end_request: I/O error, dev sda, sector 171261184
> [ 3227.011297] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
> [ 3227.011301] end_request: I/O error, dev sda, sector 171260928
> [ 3227.011327] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
> [ 3227.011332] end_request: I/O error, dev sda, sector 171260928
> [4] Exit 1 dd if=/dev/sda of=/dev/null bs=1M (wd: ~)
--
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-28 5:59 ` Tomi Orava
@ 2007-05-28 16:58 ` Peter Favrholdt
2007-05-28 18:45 ` Tomi Orava
0 siblings, 1 reply; 10+ messages in thread
From: Peter Favrholdt @ 2007-05-28 16:58 UTC (permalink / raw)
To: Tomi Orava; +Cc: linux-ide, Mikael Pettersson
Hi Tomi,
Thanks for the reply :-)
I don't know if this would be possible for you, but I think it would be
interesting to see what would happen if you swapped the SATA cable on
one of your problem drives with one which is ok. In my system (four
identical drives) I have the feeling the problem is only on two of the
ports (the exact ports changed when the port enumeration patch went into
the kernel - it used to be sd[cd] and now it is sda and maybe sdb -
haven't tested that much yet).
If you try this - and the problem moves with the drive, then it must be
drive related and not the ports/driver.
Maybe we could collect some more information here:
http://sata300tx4.gratiswiki.dk
Best regards,
Peter
Tomi Orava wrote:
> Hello,
>
>> I have tried exchanging SATA cables, but still have the problem with
>> sata_promise using 2.6.21-git16.
>
> Unfortunately, I don't have any solution for you but I wanted to let you
> know that you are not alone with this problem. I'm still running
> with 2.6.21-rc3-git10 based kernel with promise_sata_1.5Gps.patch
> and promise_enumeration.patch patches due to the fact that anything newer
> just doesn't work at all (the system drops interface speeds to almost zero
> due to errors as reported previosly on this list). My current (old)
> kernel with patches still reports the following errors whenever there is
> more load on the system, but at least the promise sata300tx4 card &
> seagate 7200.10 disks do work (not well, but anyway):
>
> ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
> ata4.00: cmd 25/00:28:d7:be:99/00:00:17:00:00/e0 tag 0 cdb 0x0 data 20480 in
> res 50/00:00:fe:be:99/00:00:46:9f:4a/e0 Emask 0x1 (device error)
> ata4.00: configured for UDMA/133
> ata4: EH complete
> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
> sdd: Write Protect is off
> sdd: Mode Sense: 00 3a 00 00
> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
>
> I still don't understand why on earth the above errors get logged only for
> the newer Seagate 7200.10 disks and never for the older 7200.7 disks.
>
> 00:0e.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA
> 300 TX4) (rev 02)
> Subsystem: Promise Technology, Inc. PDC40718 (SATA 300 TX4)
> Flags: bus master, 66MHz, medium devsel, latency 72, IRQ 16
> I/O ports at ec00 [size=128]
> I/O ports at e000 [size=256]
> Memory at fe900000 (32-bit, non-prefetchable) [size=4K]
> Memory at fe800000 (32-bit, non-prefetchable) [size=128K]
> Expansion ROM at fe600000 [disabled] [size=32K]
> Capabilities: [60] Power Management version 2
>
> Disks:
>
> pdc_port_start(port 0): adjusted SControl from 0x00000000 to 0x00000011
> ata1: SATA max UDMA/133 cmd 0xf880a380 ctl 0xf880a3b8 bmdma 0x00000000 irq 16
> pdc_port_start(port 1): adjusted SControl from 0x00000000 to 0x00000011
> ata2: SATA max UDMA/133 cmd 0xf880a280 ctl 0xf880a2b8 bmdma 0x00000000 irq 16
> pdc_port_start(port 2): adjusted SControl from 0x00000000 to 0x00000011
> ata3: SATA max UDMA/133 cmd 0xf880a200 ctl 0xf880a238 bmdma 0x00000000 irq 16
> pdc_port_start(port 3): adjusted SControl from 0x00000000 to 0x00000011
> ata4: SATA max UDMA/133 cmd 0xf880a300 ctl 0xf880a338 bmdma 0x00000000 irq 16
> scsi0 : sata_promise
> Switched to high resolution mode on CPU 0
> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata1.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
> ata1.00: 390721968 sectors, multi 0: LBA48
> ata1.00: configured for UDMA/133
> scsi1 : sata_promise
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata2.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
> ata2.00: 390721968 sectors, multi 0: LBA48
> ata2.00: configured for UDMA/133
> scsi2 : sata_promise
> ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata3.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
> ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
> ata3.00: configured for UDMA/133
> scsi3 : sata_promise
> ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
> ata4.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
> ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
> ata4.00: configured for UDMA/133
> scsi 0:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0 ANSI: 5
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
> sda: Write Protect is off
> sda: Mode Sense: 00 3a 00 00
> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sda: sda1 sda2
> sd 0:0:0:0: Attached scsi disk sda
> sd 0:0:0:0: Attached scsi generic sg0 type 0
> scsi 1:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0 ANSI: 5
> SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
> sdb: Write Protect is off
> sdb: Mode Sense: 00 3a 00 00
> SCSI device sdb: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sdb: sdb1 sdb2
> sd 1:0:0:0: Attached scsi disk sdb
> sd 1:0:0:0: Attached scsi generic sg1 type 0
> scsi 2:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0 ANSI: 5
> SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 00 3a 00 00
> SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
> sdc: Write Protect is off
> sdc: Mode Sense: 00 3a 00 00
> SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sdc: sdc1 sdc2
> sd 2:0:0:0: Attached scsi disk sdc
> sd 2:0:0:0: Attached scsi generic sg2 type 0
> scsi 3:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0 ANSI: 5
> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
> sdd: Write Protect is off
> sdd: Mode Sense: 00 3a 00 00
> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
> sdd: Write Protect is off
> sdd: Mode Sense: 00 3a 00 00
> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
> support DPO or FUA
> sdd: sdd1 sdd2
> sd 3:0:0:0: Attached scsi disk sdd
> sd 3:0:0:0: Attached scsi generic sg3 type 0
>
>
> Regards,
> Tomi Orava
>
>> HW info:
>>
>> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>> with 4 Seagate 500GB ES drives:
>> Model Number: ST3500630NS
>> Firmware Revision: 3.AEE
>> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>>
>> After doing:
>>
>> dd if=/dev/sda of=/dev/null bs=1M &
>> dd if=/dev/sdb of=/dev/null bs=1M &
>> dd if=/dev/sdc of=/dev/null bs=1M &
>> dd if=/dev/sdd of=/dev/null bs=1M &
>>
>> it runs fine for a while, then:
>>
>> [ 3171.247821] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
>> action 0x2 frozen
>> [ 3171.247835] ata1.00: cmd c8/00:00:00:3c:35/00:00:00:00:00/ea tag 0
>> cdb 0x0 data 131072 in
>> [ 3171.247837] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
>> 0x4 (timeout)
>> [ 3171.559676] ata1: device not ready (errno=-19), forcing hardreset
>> [ 3171.559685] ata1: hard resetting port
>> [ 3172.035566] ata1: COMRESET failed (errno=-19)
>> [ 3172.035575] ata1: reset failed (errno=-19), retrying in 10 secs
>> [ 3181.555162] ata1: hard resetting port
>> [ 3182.031060] ata1: COMRESET failed (errno=-19)
>> [ 3182.031068] ata1: reset failed (errno=-19), retrying in 10 secs
>> [ 3191.550679] ata1: hard resetting port
>> [ 3192.026471] ata1: COMRESET failed (errno=-19)
>> [ 3192.026480] ata1: reset failed (errno=-19), retrying in 35 secs
>> [ 3226.534976] ata1: hard resetting port
>> [ 3227.010769] ata1: COMRESET failed (errno=-19)
>> [ 3227.010777] ata1: reset failed, giving up
>> [ 3227.010780] ata1.00: disabled
>> [ 3227.010792] ata1: EH complete
>> [ 3227.011088] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>> [ 3227.011094] end_request: I/O error, dev sda, sector 171260928
>> [ 3227.011099] Buffer I/O error on device sda, logical block 21407616
>> [ 3227.011104] Buffer I/O error on device sda, logical block 21407617
>> [ 3227.011108] Buffer I/O error on device sda, logical block 21407618
>> [ 3227.011112] Buffer I/O error on device sda, logical block 21407619
>> [ 3227.011115] Buffer I/O error on device sda, logical block 21407620
>> [ 3227.011119] Buffer I/O error on device sda, logical block 21407621
>> [ 3227.011122] Buffer I/O error on device sda, logical block 21407622
>> [ 3227.011126] Buffer I/O error on device sda, logical block 21407623
>> [ 3227.011130] Buffer I/O error on device sda, logical block 21407624
>> [ 3227.011133] Buffer I/O error on device sda, logical block 21407625
>> [ 3227.011161] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>> [ 3227.011165] end_request: I/O error, dev sda, sector 171261184
>> [ 3227.011297] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>> [ 3227.011301] end_request: I/O error, dev sda, sector 171260928
>> [ 3227.011327] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>> [ 3227.011332] end_request: I/O error, dev sda, sector 171260928
>> [4] Exit 1 dd if=/dev/sda of=/dev/null bs=1M (wd: ~)
>
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
2007-05-28 16:58 ` Peter Favrholdt
@ 2007-05-28 18:45 ` Tomi Orava
[not found] ` <465B2F1D.30509@how.dk>
0 siblings, 1 reply; 10+ messages in thread
From: Tomi Orava @ 2007-05-28 18:45 UTC (permalink / raw)
To: Peter Favrholdt; +Cc: linux-ide, Mikael Pettersson
Hi,
> I don't know if this would be possible for you, but I think it would be
> interesting to see what would happen if you swapped the SATA cable on
> one of your problem drives with one which is ok. In my system (four
> identical drives) I have the feeling the problem is only on two of the
> ports (the exact ports changed when the port enumeration patch went into
> the kernel - it used to be sd[cd] and now it is sda and maybe sdb -
> haven't tested that much yet).
>
> If you try this - and the problem moves with the drive, then it must be
> drive related and not the ports/driver.
I have tried changing the cables and host ports and
the errors do follow the newer seagate 7200.10 drives, so my understanding
is that the problem must be related to sata300tx4/driver & my newer disks.
The ports and cables work flawlessly with older 7200.7 drives time after
time.
> Maybe we could collect some more information here:
> http://sata300tx4.gratiswiki.dk
Hmm, good idea, as this problem seems to be a hard one to figure out.
Regards,
Tomi Orava
> Tomi Orava wrote:
>> Hello,
>>
>>> I have tried exchanging SATA cables, but still have the problem with
>>> sata_promise using 2.6.21-git16.
>>
>> Unfortunately, I don't have any solution for you but I wanted to let you
>> know that you are not alone with this problem. I'm still running
>> with 2.6.21-rc3-git10 based kernel with promise_sata_1.5Gps.patch
>> and promise_enumeration.patch patches due to the fact that anything
>> newer
>> just doesn't work at all (the system drops interface speeds to almost
>> zero
>> due to errors as reported previosly on this list). My current (old)
>> kernel with patches still reports the following errors whenever there is
>> more load on the system, but at least the promise sata300tx4 card &
>> seagate 7200.10 disks do work (not well, but anyway):
>>
>> ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
>> ata4.00: cmd 25/00:28:d7:be:99/00:00:17:00:00/e0 tag 0 cdb 0x0 data
>> 20480 in
>> res 50/00:00:fe:be:99/00:00:46:9f:4a/e0 Emask 0x1 (device
>> error)
>> ata4.00: configured for UDMA/133
>> ata4: EH complete
>> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
>> sdd: Write Protect is off
>> sdd: Mode Sense: 00 3a 00 00
>> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>>
>> I still don't understand why on earth the above errors get logged only
>> for
>> the newer Seagate 7200.10 disks and never for the older 7200.7 disks.
>>
>> 00:0e.0 Mass storage controller: Promise Technology, Inc. PDC40718 (SATA
>> 300 TX4) (rev 02)
>> Subsystem: Promise Technology, Inc. PDC40718 (SATA 300 TX4)
>> Flags: bus master, 66MHz, medium devsel, latency 72, IRQ 16
>> I/O ports at ec00 [size=128]
>> I/O ports at e000 [size=256]
>> Memory at fe900000 (32-bit, non-prefetchable) [size=4K]
>> Memory at fe800000 (32-bit, non-prefetchable) [size=128K]
>> Expansion ROM at fe600000 [disabled] [size=32K]
>> Capabilities: [60] Power Management version 2
>>
>> Disks:
>>
>> pdc_port_start(port 0): adjusted SControl from 0x00000000 to 0x00000011
>> ata1: SATA max UDMA/133 cmd 0xf880a380 ctl 0xf880a3b8 bmdma 0x00000000
>> irq 16
>> pdc_port_start(port 1): adjusted SControl from 0x00000000 to 0x00000011
>> ata2: SATA max UDMA/133 cmd 0xf880a280 ctl 0xf880a2b8 bmdma 0x00000000
>> irq 16
>> pdc_port_start(port 2): adjusted SControl from 0x00000000 to 0x00000011
>> ata3: SATA max UDMA/133 cmd 0xf880a200 ctl 0xf880a238 bmdma 0x00000000
>> irq 16
>> pdc_port_start(port 3): adjusted SControl from 0x00000000 to 0x00000011
>> ata4: SATA max UDMA/133 cmd 0xf880a300 ctl 0xf880a338 bmdma 0x00000000
>> irq 16
>> scsi0 : sata_promise
>> Switched to high resolution mode on CPU 0
>> ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> ata1.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
>> ata1.00: 390721968 sectors, multi 0: LBA48
>> ata1.00: configured for UDMA/133
>> scsi1 : sata_promise
>> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> ata2.00: ATA-6: ST3200822AS, 3.01, max UDMA/133
>> ata2.00: 390721968 sectors, multi 0: LBA48
>> ata2.00: configured for UDMA/133
>> scsi2 : sata_promise
>> ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> ata3.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
>> ata3.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
>> ata3.00: configured for UDMA/133
>> scsi3 : sata_promise
>> ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
>> ata4.00: ATA-7: ST3500630AS, 3.AAK, max UDMA/133
>> ata4.00: 976773168 sectors, multi 0: LBA48 NCQ (not used)
>> ata4.00: configured for UDMA/133
>> scsi 0:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0
>> ANSI: 5
>> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
>> sda: Write Protect is off
>> sda: Mode Sense: 00 3a 00 00
>> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> SCSI device sda: 390721968 512-byte hdwr sectors (200050 MB)
>> sda: Write Protect is off
>> sda: Mode Sense: 00 3a 00 00
>> SCSI device sda: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sda: sda1 sda2
>> sd 0:0:0:0: Attached scsi disk sda
>> sd 0:0:0:0: Attached scsi generic sg0 type 0
>> scsi 1:0:0:0: Direct-Access ATA ST3200822AS 3.01 PQ: 0
>> ANSI: 5
>> SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
>> sdb: Write Protect is off
>> sdb: Mode Sense: 00 3a 00 00
>> SCSI device sdb: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sdb: sdb1 sdb2
>> sd 1:0:0:0: Attached scsi disk sdb
>> sd 1:0:0:0: Attached scsi generic sg1 type 0
>> scsi 2:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0
>> ANSI: 5
>> SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
>> sdc: Write Protect is off
>> sdc: Mode Sense: 00 3a 00 00
>> SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> SCSI device sdc: 976773168 512-byte hdwr sectors (500108 MB)
>> sdc: Write Protect is off
>> sdc: Mode Sense: 00 3a 00 00
>> SCSI device sdc: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sdc: sdc1 sdc2
>> sd 2:0:0:0: Attached scsi disk sdc
>> sd 2:0:0:0: Attached scsi generic sg2 type 0
>> scsi 3:0:0:0: Direct-Access ATA ST3500630AS 3.AA PQ: 0
>> ANSI: 5
>> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
>> sdd: Write Protect is off
>> sdd: Mode Sense: 00 3a 00 00
>> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> SCSI device sdd: 976773168 512-byte hdwr sectors (500108 MB)
>> sdd: Write Protect is off
>> sdd: Mode Sense: 00 3a 00 00
>> SCSI device sdd: write cache: enabled, read cache: enabled, doesn't
>> support DPO or FUA
>> sdd: sdd1 sdd2
>> sd 3:0:0:0: Attached scsi disk sdd
>> sd 3:0:0:0: Attached scsi generic sg3 type 0
>>
>>
>> Regards,
>> Tomi Orava
>>
>>> HW info:
>>>
>>> Promise Technology, Inc. PDC40718 (SATA 300 TX4) (rev 02)
>>> with 4 Seagate 500GB ES drives:
>>> Model Number: ST3500630NS
>>> Firmware Revision: 3.AEE
>>> (with 1.5/3.0Gbps jumper removed = 3.0Gbps)
>>>
>>> After doing:
>>>
>>> dd if=/dev/sda of=/dev/null bs=1M &
>>> dd if=/dev/sdb of=/dev/null bs=1M &
>>> dd if=/dev/sdc of=/dev/null bs=1M &
>>> dd if=/dev/sdd of=/dev/null bs=1M &
>>>
>>> it runs fine for a while, then:
>>>
>>> [ 3171.247821] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
>>> action 0x2 frozen
>>> [ 3171.247835] ata1.00: cmd c8/00:00:00:3c:35/00:00:00:00:00/ea tag 0
>>> cdb 0x0 data 131072 in
>>> [ 3171.247837] res 40/00:28:00:00:00/00:00:00:00:00/00 Emask
>>> 0x4 (timeout)
>>> [ 3171.559676] ata1: device not ready (errno=-19), forcing hardreset
>>> [ 3171.559685] ata1: hard resetting port
>>> [ 3172.035566] ata1: COMRESET failed (errno=-19)
>>> [ 3172.035575] ata1: reset failed (errno=-19), retrying in 10 secs
>>> [ 3181.555162] ata1: hard resetting port
>>> [ 3182.031060] ata1: COMRESET failed (errno=-19)
>>> [ 3182.031068] ata1: reset failed (errno=-19), retrying in 10 secs
>>> [ 3191.550679] ata1: hard resetting port
>>> [ 3192.026471] ata1: COMRESET failed (errno=-19)
>>> [ 3192.026480] ata1: reset failed (errno=-19), retrying in 35 secs
>>> [ 3226.534976] ata1: hard resetting port
>>> [ 3227.010769] ata1: COMRESET failed (errno=-19)
>>> [ 3227.010777] ata1: reset failed, giving up
>>> [ 3227.010780] ata1.00: disabled
>>> [ 3227.010792] ata1: EH complete
>>> [ 3227.011088] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>>> [ 3227.011094] end_request: I/O error, dev sda, sector 171260928
>>> [ 3227.011099] Buffer I/O error on device sda, logical block 21407616
>>> [ 3227.011104] Buffer I/O error on device sda, logical block 21407617
>>> [ 3227.011108] Buffer I/O error on device sda, logical block 21407618
>>> [ 3227.011112] Buffer I/O error on device sda, logical block 21407619
>>> [ 3227.011115] Buffer I/O error on device sda, logical block 21407620
>>> [ 3227.011119] Buffer I/O error on device sda, logical block 21407621
>>> [ 3227.011122] Buffer I/O error on device sda, logical block 21407622
>>> [ 3227.011126] Buffer I/O error on device sda, logical block 21407623
>>> [ 3227.011130] Buffer I/O error on device sda, logical block 21407624
>>> [ 3227.011133] Buffer I/O error on device sda, logical block 21407625
>>> [ 3227.011161] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>>> [ 3227.011165] end_request: I/O error, dev sda, sector 171261184
>>> [ 3227.011297] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>>> [ 3227.011301] end_request: I/O error, dev sda, sector 171260928
>>> [ 3227.011327] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
>>> [ 3227.011332] end_request: I/O error, dev sda, sector 171260928
>>> [4] Exit 1 dd if=/dev/sda of=/dev/null bs=1M (wd:
>>> ~)
>>
>>
>
--
Tomi.Orava@ncircle.nullnet.fi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: sata_promise: which version/patch to test?
[not found] ` <52314.194.237.142.21.1181199147.squirrel@ncircle.nullnet.fi>
@ 2007-06-09 12:06 ` Peter Favrholdt
0 siblings, 0 replies; 10+ messages in thread
From: Peter Favrholdt @ 2007-06-09 12:06 UTC (permalink / raw)
To: Tomi Orava; +Cc: linux-ide
Tomi Orava wrote:
> Have you had time to check if the latest patch fixes our problems
> with promise-controller ?
>
> http://bugzilla.kernel.org/attachment.cgi?id=11694&action=view
>
> The above patch seems to apply to the latest rc4 kernel.
> I have not found the time to reboot my own server as of yet.
>
> Regards,
> Tomi Orava
Hi Tomi,
I have tested - but it didn't solve the problem.
Best regards,
Peter
[ 1076.900017] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x1380000
action 0x2 frozen
[ 1076.900031] ata1.00: cmd c8/00:00:00:16:e6/00:00:00:00:00/e1 tag 0
cdb 0x0 data 131072 in
[ 1076.900033] res 40/00:01:09:4f:c2/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 1082.249590] ata1: port is slow to respond, please be patient (Status
0xff)
[ 1086.951564] ata1: device not ready (errno=-16), forcing hardreset
[ 1086.951573] ata1: hard resetting port
[ 1092.465004] ata1: port is slow to respond, please be patient (Status
0xff)
[ 1096.998967] ata1: COMRESET failed (errno=-16)
[ 1096.998977] ata1: hard resetting port
[ 1102.512501] ata1: port is slow to respond, please be patient (Status
0xff)
[ 1107.046465] ata1: COMRESET failed (errno=-16)
[ 1107.046474] ata1: hard resetting port
[ 1112.559985] ata1: port is slow to respond, please be patient (Status
0xff)
[ 1142.058746] ata1: COMRESET failed (errno=-16)
[ 1142.058758] ata1: hard resetting port
[ 1147.068505] ata1: COMRESET failed (errno=-16)
[ 1147.068514] ata1: reset failed, giving up
[ 1147.068517] ata1.00: disabled
[ 1147.068531] ata1: EH complete
[ 1147.068962] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 1147.068968] end_request: I/O error, dev sda, sector 31856128
[ 1147.068972] Buffer I/O error on device sda, logical block 3982016
[ 1147.068978] Buffer I/O error on device sda, logical block 3982017
[ 1147.068981] Buffer I/O error on device sda, logical block 3982018
[ 1147.068985] Buffer I/O error on device sda, logical block 3982019
[ 1147.068989] Buffer I/O error on device sda, logical block 3982020
[ 1147.068992] Buffer I/O error on device sda, logical block 3982021
[ 1147.068996] Buffer I/O error on device sda, logical block 3982022
[ 1147.068999] Buffer I/O error on device sda, logical block 3982023
[ 1147.069003] Buffer I/O error on device sda, logical block 3982024
[ 1147.069006] Buffer I/O error on device sda, logical block 3982025
[ 1147.069037] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 1147.069041] end_request: I/O error, dev sda, sector 31856384
[ 1147.071273] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 1147.071282] end_request: I/O error, dev sda, sector 31856128
[ 1147.072482] sd 0:0:0:0: [sda] Result: hostbyte=0x04 driverbyte=0x00
[ 1147.072491] end_request: I/O error, dev sda, sector 31856128
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-06-09 12:05 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 19:41 sata_promise: which version/patch to test? Peter Favrholdt
-- strict thread matches above, loose matches on Subject: below --
2007-05-12 15:04 Mikael Pettersson
2007-05-12 18:23 ` Peter Favrholdt
2007-05-12 18:31 ` Peter Favrholdt
2007-05-12 20:20 ` Peter Favrholdt
2007-05-27 23:00 ` Peter Favrholdt
2007-05-28 5:59 ` Tomi Orava
2007-05-28 16:58 ` Peter Favrholdt
2007-05-28 18:45 ` Tomi Orava
[not found] ` <465B2F1D.30509@how.dk>
[not found] ` <55161.192.168.9.10.1180381276.squirrel@ncircle.nullnet.fi>
[not found] ` <465B35E1.1040306@how.dk>
[not found] ` <52314.194.237.142.21.1181199147.squirrel@ncircle.nullnet.fi>
2007-06-09 12:06 ` Peter Favrholdt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).