linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: sata_sil24 and sil-4726
       [not found]     ` <4704790C.7060901@gmail.com>
@ 2007-10-04  5:35       ` Igor Durdanovic
  2007-10-04  5:57         ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04  5:35 UTC (permalink / raw)
  To: Tejun Heo; +Cc: linux-ide


Tejun Heo writes:
> Igor Durdanovic wrote:
> > Tejun Heo writes:
> >> PMP patchset is not in mainline yet.  You need to apply patches from the
> >> following page.
> >>
> >>   http://home-tj.org/wiki/index.php/Libata-tj-stable
> > 
> > Yes! it works now (though there were tons of hard and soft resets
> > during booting, if you need log I can email it).
> 
> Yeah, please post the log.  Also, please cc linux-ide@vger.kernel.org.

No problem, here is the log of sata_sil24 while booting the kernel
2.6.22.1 on Dell latitude D820 with SIIG SC-SAE512-S1 SATA II
ExpressCard 54 connected to DS-2350S 5-BAY enclosure.

Regards, Igor

sata_sil24 0000:0d:00.0: version 1.0
ACPI: PCI Interrupt 0000:0d:00.0[A] -> GSI 19 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:0d:00.0 to 64
scsi2 : sata_sil24
scsi3 : sata_sil24
ata3: SATA max UDMA/100 cmd 0xf8d08000 ctl 0x00000000 bmdma 0x00000000 irq 16
ata4: SATA max UDMA/100 cmd 0xf8d0a000 ctl 0x00000000 bmdma 0x00000000 irq 16
ata3: SATA link down (SStatus 0 SControl 0)
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: softreset failed (SRST command error)
ata4.01: reset failed (errno=-5), retrying in 10 secs
ata4.01: hard resetting link
ata4.02: hard resetting link
ata4.02: COMRESET failed (errno=-5)
ata4.02: reset failed, giving up
ata4.15: hard resetting link
ata4: controller in dubious state, performing PORT_RST
ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.02: hard resetting link
ata4.02: softreset failed (SRST command error)
ata4.02: reset failed (errno=-5), retrying in 10 secs
ata4.02: hard resetting link
ata4.03: hard resetting link
ata4.03: COMRESET failed (errno=-5)
ata4.03: reset failed, giving up
ata4.15: hard resetting link
ata4: controller in dubious state, performing PORT_RST
ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.02: hard resetting link
ata4.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.03: hard resetting link
ata4.03: softreset failed (SRST command error)
ata4.03: reset failed (errno=-5), retrying in 10 secs
ata4.03: hard resetting link
ata4.04: hard resetting link
ata4.04: COMRESET failed (errno=-5)
ata4.04: reset failed, giving up
ata4.15: hard resetting link
ata4: controller in dubious state, performing PORT_RST
ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.02: hard resetting link
ata4.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.03: hard resetting link
ata4.03: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.04: hard resetting link
ata4.04: softreset failed (SRST command error)
ata4.04: reset failed (errno=-5), retrying in 10 secs
ata4.04: hard resetting link
ata4.05: hard resetting link
ata4.05: COMRESET failed (errno=-5)
ata4.05: reset failed, giving up
ata4.15: hard resetting link
ata4: controller in dubious state, performing PORT_RST
ata4.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.02: hard resetting link
ata4.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.03: hard resetting link
ata4.03: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.04: hard resetting link
ata4.04: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.05: hard resetting link
ata4.05: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.06: hard resetting link
ata4.06: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.00: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/100
ata4.01: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
ata4.01: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.01: configured for UDMA/100
ata4.02: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.02: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.02: configured for UDMA/100
ata4.03: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
ata4.03: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.03: configured for UDMA/100
ata4.04: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.04: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.04: configured for UDMA/100
ata4.05: ATA-6: Config  Disk, PLS12052, max UDMA/133
ata4.05: 640 sectors, multi 1: LBA 
ata4.05: device is on DMA blacklist, disabling DMA
ata4.05: configured for PIO4
ata4: EH complete
scsi 3:0:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdb: unknown partition table
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg2 type 0
scsi 3:1:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:1:0:0: [sdc] Write Protect is off
sd 3:1:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:1:0:0: [sdc] Write Protect is off
sd 3:1:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 3:1:0:0: [sdc] Attached SCSI disk
sd 3:1:0:0: Attached scsi generic sg3 type 0
scsi 3:2:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:2:0:0: [sdd] Write Protect is off
sd 3:2:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:2:0:0: [sdd] Write Protect is off
sd 3:2:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd1
sd 3:2:0:0: [sdd] Attached SCSI disk
sd 3:2:0:0: Attached scsi generic sg4 type 0
scsi 3:3:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:3:0:0: [sde] Write Protect is off
sd 3:3:0:0: [sde] Mode Sense: 00 3a 00 00
sd 3:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:3:0:0: [sde] Write Protect is off
sd 3:3:0:0: [sde] Mode Sense: 00 3a 00 00
sd 3:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1
sd 3:3:0:0: [sde] Attached SCSI disk
sd 3:3:0:0: Attached scsi generic sg5 type 0
scsi 3:4:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:4:0:0: [sdf] Write Protect is off
sd 3:4:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 3:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:4:0:0: [sdf] Write Protect is off
sd 3:4:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 3:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdf: sdf1 sdf2 sdf3 sdf4 < sdf5 sdf6 sdf7 sdf8 sdf9 sdf10 sdf11 >
sd 3:4:0:0: [sdf] Attached SCSI disk
sd 3:4:0:0: Attached scsi generic sg6 type 0
scsi 3:5:0:0: Direct-Access     ATA      Config  Disk     PLS1 PQ: 0 ANSI: 5
sd 3:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
sd 3:5:0:0: [sdg] Write Protect is off
sd 3:5:0:0: [sdg] Mode Sense: 00 3a 00 00
sd 3:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
sd 3:5:0:0: [sdg] Write Protect is off
sd 3:5:0:0: [sdg] Mode Sense: 00 3a 00 00
sd 3:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdg: unknown partition table
sd 3:5:0:0: [sdg] Attached SCSI disk
sd 3:5:0:0: Attached scsi generic sg7 type 0
video1394: Installed video1394 module
ieee1394: raw1394: /dev/raw1394 device initialized
eth1394: eth1: IPv4 over IEEE 1394 (fw-host0)
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input3
input: PC Speaker as /class/input/input4
i2c /dev entries driver
i2c-core: driver [dev_driver] registered
ACPI: PCI Interrupt 0000:00:1f.3[B] -> GSI 17 (level, low) -> IRQ 18
i801_smbus 0000:00:1f.3: SMBus using interrupt SMI#
i2c-adapter i2c-0: adapter [SMBus I801 adapter at 10c0] registered
i2c-dev: adapter [SMBus I801 adapter at 10c0] registered as minor 0
raid6: int32x1    750 MB/s
raid6: int32x2    800 MB/s
raid6: int32x4    593 MB/s
raid6: int32x8    632 MB/s
raid6: mmxx1     2296 MB/s
raid6: mmxx2     2871 MB/s
raid6: sse1x1    1546 MB/s
raid6: sse1x2    2125 MB/s
raid6: sse2x1    2941 MB/s
raid6: sse2x2    3375 MB/s
raid6: using algorithm sse2x2 (3375 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  7112.000 MB/sec
raid5: using function: pIII_sse (7112.000 MB/sec)
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  5:35       ` sata_sil24 and sil-4726 Igor Durdanovic
@ 2007-10-04  5:57         ` Tejun Heo
  2007-10-04  6:16           ` Igor Durdanovic
  0 siblings, 1 reply; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  5:57 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

Igor Durdanovic wrote:
> Tejun Heo writes:
>> Igor Durdanovic wrote:
>>> Tejun Heo writes:
>>>> PMP patchset is not in mainline yet.  You need to apply patches from the
>>>> following page.
>>>>
>>>>   http://home-tj.org/wiki/index.php/Libata-tj-stable
>>> Yes! it works now (though there were tons of hard and soft resets
>>> during booting, if you need log I can email it).
>> Yeah, please post the log.  Also, please cc linux-ide@vger.kernel.org.
> 
> No problem, here is the log of sata_sil24 while booting the kernel
> 2.6.22.1 on Dell latitude D820 with SIIG SC-SAE512-S1 SATA II
> ExpressCard 54 connected to DS-2350S 5-BAY enclosure.
> 
> Regards, Igor
> 
> sata_sil24 0000:0d:00.0: version 1.0
> ACPI: PCI Interrupt 0000:0d:00.0[A] -> GSI 19 (level, low) -> IRQ 16
> PCI: Setting latency timer of device 0000:0d:00.0 to 64
> scsi2 : sata_sil24
> scsi3 : sata_sil24
> ata3: SATA max UDMA/100 cmd 0xf8d08000 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata4: SATA max UDMA/100 cmd 0xf8d0a000 ctl 0x00000000 bmdma 0x00000000 irq 16
> ata3: SATA link down (SStatus 0 SControl 0)
> ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
> ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
> ata4.00: hard resetting link
> ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata4.01: hard resetting link
> ata4.01: softreset failed (SRST command error)
> ata4.01: reset failed (errno=-5), retrying in 10 secs

Eeeek, the above sequence repeats for each downstream port.  Weird.  How
reproducible is the problem?  Every time?

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  5:57         ` Tejun Heo
@ 2007-10-04  6:16           ` Igor Durdanovic
  2007-10-04  6:46             ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04  6:16 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Tejun Heo writes:
> > ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
> > ata4.00: hard resetting link
> > ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> > ata4.01: hard resetting link
> > ata4.01: softreset failed (SRST command error)
> > ata4.01: reset failed (errno=-5), retrying in 10 secs
> 
> Eeeek, the above sequence repeats for each downstream port.  Weird.  How
> reproducible is the problem?  Every time?

I just rebooted and got exactly the same log (did diff), it seems very
reproducible.

Regards, Igor

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  6:16           ` Igor Durdanovic
@ 2007-10-04  6:46             ` Tejun Heo
  2007-10-04  7:16               ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  6:46 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

Igor Durdanovic wrote:
> Tejun Heo writes:
>>> ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
>>> ata4.00: hard resetting link
>>> ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>>> ata4.01: hard resetting link
>>> ata4.01: softreset failed (SRST command error)
>>> ata4.01: reset failed (errno=-5), retrying in 10 secs
>> Eeeek, the above sequence repeats for each downstream port.  Weird.  How
>> reproducible is the problem?  Every time?
> 
> I just rebooted and got exactly the same log (did diff), it seems very
> reproducible.

Can you try to update the firmware as explained in the SIMG support page
and see whether that fixes the problem?

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  6:46             ` Tejun Heo
@ 2007-10-04  7:16               ` Tejun Heo
  2007-10-04  7:29                 ` Igor Durdanovic
  0 siblings, 1 reply; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  7:16 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Tejun Heo wrote:
> Igor Durdanovic wrote:
>> Tejun Heo writes:
>>>> ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
>>>> ata4.00: hard resetting link
>>>> ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
>>>> ata4.01: hard resetting link
>>>> ata4.01: softreset failed (SRST command error)
>>>> ata4.01: reset failed (errno=-5), retrying in 10 secs
>>> Eeeek, the above sequence repeats for each downstream port.  Weird.  How
>>> reproducible is the problem?  Every time?
>> I just rebooted and got exactly the same log (did diff), it seems very
>> reproducible.
> 
> Can you try to update the firmware as explained in the SIMG support page
> and see whether that fixes the problem?

Hmmm... Before doing that, do your drives spin up one-by-one as the
above probing progresses?

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:16               ` Tejun Heo
@ 2007-10-04  7:29                 ` Igor Durdanovic
  2007-10-04  7:34                   ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04  7:29 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Tejun Heo writes:
> > Can you try to update the firmware as explained in the SIMG support page
> > and see whether that fixes the problem?

I am actually trying to put all the sw on the array, will try to
update firmware later.

Have some weird problems .. the whole thing just froze, sigh.
Also, why can't I enable write-caching on each drive behind PM?


> Hmmm... Before doing that, do your drives spin up one-by-one as the
> above probing progresses?

Yes, the probing starts with the bottom drive and progresses to the
top. But it seems for each drive it resets (from the bottom) all
already probed drives.

Igor

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:29                 ` Igor Durdanovic
@ 2007-10-04  7:34                   ` Tejun Heo
  2007-10-04  7:42                     ` Tejun Heo
  2007-10-04  7:43                     ` Igor Durdanovic
  0 siblings, 2 replies; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  7:34 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

Igor Durdanovic wrote:
> Tejun Heo writes:
>>> Can you try to update the firmware as explained in the SIMG support page
>>> and see whether that fixes the problem?
> 
> I am actually trying to put all the sw on the array, will try to
> update firmware later.
> 
> Have some weird problems .. the whole thing just froze, sigh.
> Also, why can't I enable write-caching on each drive behind PM?

You should be.  What do you mean by not being able to enable write-caching?

>> Hmmm... Before doing that, do your drives spin up one-by-one as the
>> above probing progresses?
> 
> Yes, the probing starts with the bottom drive and progresses to the
> top. But it seems for each drive it resets (from the bottom) all
> already probed drives.

SRST failure puts the host port into non-responding state and the driver
resets the host port which in turn resets the PMP, so libata tries to
reinitialize everything.  Can you post boot log with printk timestamp
(CONFIG_PRINTK_TIME) turned on?

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:34                   ` Tejun Heo
@ 2007-10-04  7:42                     ` Tejun Heo
  2007-10-04 13:36                       ` Igor Durdanovic
  2007-10-04  7:43                     ` Igor Durdanovic
  1 sibling, 1 reply; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  7:42 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]

Tejun Heo wrote:
> Igor Durdanovic wrote:
>> Tejun Heo writes:
>>>> Can you try to update the firmware as explained in the SIMG support page
>>>> and see whether that fixes the problem?
>> I am actually trying to put all the sw on the array, will try to
>> update firmware later.
>>
>> Have some weird problems .. the whole thing just froze, sigh.
>> Also, why can't I enable write-caching on each drive behind PM?
> 
> You should be.  What do you mean by not being able to enable write-caching?
> 
>>> Hmmm... Before doing that, do your drives spin up one-by-one as the
>>> above probing progresses?
>> Yes, the probing starts with the bottom drive and progresses to the
>> top. But it seems for each drive it resets (from the bottom) all
>> already probed drives.
> 
> SRST failure puts the host port into non-responding state and the driver
> resets the host port which in turn resets the PMP, so libata tries to
> reinitialize everything.  Can you post boot log with printk timestamp
> (CONFIG_PRINTK_TIME) turned on?
> 

Also, does the attached patch change the behavior?

-- 
tejun

[-- Attachment #2: fix-wait --]
[-- Type: text/plain, Size: 568 bytes --]

---
 drivers/ata/libata-eh.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: work/drivers/ata/libata-eh.c
===================================================================
--- work.orig/drivers/ata/libata-eh.c
+++ work/drivers/ata/libata-eh.c
@@ -2180,7 +2180,8 @@ int ata_eh_reset(struct ata_link *link, 
 				"(errno=%d), retrying in %u secs\n",
 				rc, (jiffies_to_msecs(delta) + 999) / 1000);
 
-			schedule_timeout_uninterruptible(delta);
+			while (delta)
+				delta = schedule_timeout_uninterruptible(delta);
 		}
 
 		if (rc == -EPIPE ||

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:34                   ` Tejun Heo
  2007-10-04  7:42                     ` Tejun Heo
@ 2007-10-04  7:43                     ` Igor Durdanovic
  2007-10-04  7:47                       ` Tejun Heo
  1 sibling, 1 reply; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04  7:43 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Tejun Heo writes:
> > Have some weird problems .. the whole thing just froze, sigh.
> > Also, why can't I enable write-caching on each drive behind PM?
> 
> You should be.  What do you mean by not being able to enable
> write-caching?

Had a major crash (had to push the switch off) and now things behave
very different!

Now when I say hdparm -W1 /dev/sdb and then check, the write cache is
finally on!

Also, the booting went without a hitch see log at the end.


> SRST failure puts the host port into non-responding state and the driver
> resets the host port which in turn resets the PMP, so libata tries to
> reinitialize everything.  Can you post boot log with printk timestamp
> (CONFIG_PRINTK_TIME) turned on?

Will do if the hard/soft reset appears again, for the moment
everything behaves differently from before (maybe because the card did
not reset the array when I switched the laptop off?)

Igor


sata_sil24 0000:0d:00.0: version 1.0
ACPI: PCI Interrupt 0000:0d:00.0[A] -> GSI 19 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:0d:00.0 to 64
scsi2 : sata_sil24
scsi3 : sata_sil24
ata3: SATA max UDMA/100 cmd 0xf8d08000 ctl 0x00000000 bmdma 0x00000000 irq 16
ata4: SATA max UDMA/100 cmd 0xf8d0a000 ctl 0x00000000 bmdma 0x00000000 irq 16
ata3: SATA link down (SStatus 0 SControl 0)
ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
ata4.00: hard resetting link
ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.01: hard resetting link
ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.02: hard resetting link
ata4.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.03: hard resetting link
ata4.03: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.04: hard resetting link
ata4.04: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.05: hard resetting link
ata4.05: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
ata4.06: hard resetting link
ata4.06: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata4.00: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.00: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.00: configured for UDMA/100
ata4.01: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
ata4.01: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.01: configured for UDMA/100
ata4.02: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.02: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.02: configured for UDMA/100
ata4.03: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
ata4.03: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.03: configured for UDMA/100
ata4.04: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
ata4.04: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
ata4.04: configured for UDMA/100
ata4.05: ATA-6: Config  Disk, PLS12052, max UDMA/133
ata4.05: 640 sectors, multi 1: LBA 
ata4.05: device is on DMA blacklist, disabling DMA
ata4.05: configured for PIO4
ata4: EH complete
scsi 3:0:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:0:0:0: [sdb] Write Protect is off
sd 3:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 3:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 >
sd 3:0:0:0: [sdb] Attached SCSI disk
sd 3:0:0:0: Attached scsi generic sg2 type 0
scsi 3:1:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:1:0:0: [sdc] Write Protect is off
sd 3:1:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:1:0:0: [sdc] Write Protect is off
sd 3:1:0:0: [sdc] Mode Sense: 00 3a 00 00
sd 3:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1 sdc2 sdc3 < sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 >
sd 3:1:0:0: [sdc] Attached SCSI disk
sd 3:1:0:0: Attached scsi generic sg3 type 0
scsi 3:2:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:2:0:0: [sdd] Write Protect is off
sd 3:2:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:2:0:0: [sdd] Write Protect is off
sd 3:2:0:0: [sdd] Mode Sense: 00 3a 00 00
sd 3:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdd: sdd1 sdd2 sdd3 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 >
sd 3:2:0:0: [sdd] Attached SCSI disk
sd 3:2:0:0: Attached scsi generic sg4 type 0
scsi 3:3:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:3:0:0: [sde] Write Protect is off
sd 3:3:0:0: [sde] Mode Sense: 00 3a 00 00
sd 3:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:3:0:0: [sde] Write Protect is off
sd 3:3:0:0: [sde] Mode Sense: 00 3a 00 00
sd 3:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sde: sde1 sde2 sde3 < sde5 sde6 sde7 sde8 sde9 sde10 >
sd 3:3:0:0: [sde] Attached SCSI disk
sd 3:3:0:0: Attached scsi generic sg5 type 0
scsi 3:4:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
sd 3:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:4:0:0: [sdf] Write Protect is off
sd 3:4:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 3:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 3:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
sd 3:4:0:0: [sdf] Write Protect is off
sd 3:4:0:0: [sdf] Mode Sense: 00 3a 00 00
sd 3:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdf: sdf1 sdf2 sdf3 < sdf5 sdf6 sdf7 sdf8 sdf9 sdf10 >
sd 3:4:0:0: [sdf] Attached SCSI disk
sd 3:4:0:0: Attached scsi generic sg6 type 0
scsi 3:5:0:0: Direct-Access     ATA      Config  Disk     PLS1 PQ: 0 ANSI: 5
sd 3:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
sd 3:5:0:0: [sdg] Write Protect is off
sd 3:5:0:0: [sdg] Mode Sense: 00 3a 00 00
sd 3:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 3:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
sd 3:5:0:0: [sdg] Write Protect is off
sd 3:5:0:0: [sdg] Mode Sense: 00 3a 00 00
sd 3:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
 sdg: unknown partition table
sd 3:5:0:0: [sdg] Attached SCSI disk
sd 3:5:0:0: Attached scsi generic sg7 type 0

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:43                     ` Igor Durdanovic
@ 2007-10-04  7:47                       ` Tejun Heo
  2007-10-04 13:49                         ` Igor Durdanovic
  2007-10-08  0:27                         ` Igor Durdanovic
  0 siblings, 2 replies; 14+ messages in thread
From: Tejun Heo @ 2007-10-04  7:47 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

Igor Durdanovic wrote:
>> SRST failure puts the host port into non-responding state and the driver
>> resets the host port which in turn resets the PMP, so libata tries to
>> reinitialize everything.  Can you post boot log with printk timestamp
>> (CONFIG_PRINTK_TIME) turned on?
> 
> Will do if the hard/soft reset appears again, for the moment
> everything behaves differently from before (maybe because the card did
> not reset the array when I switched the laptop off?)

You probably need to power off the array to reproduce the problem.

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:42                     ` Tejun Heo
@ 2007-10-04 13:36                       ` Igor Durdanovic
  2007-10-08  1:06                         ` Tejun Heo
  0 siblings, 1 reply; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04 13:36 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Tejun Heo writes:
> > SRST failure puts the host port into non-responding state and the driver
> > resets the host port which in turn resets the PMP, so libata tries to
> > reinitialize everything.  Can you post boot log with printk timestamp
> > (CONFIG_PRINTK_TIME) turned on?
> > 
> 
> Also, does the attached patch change the behavior?

There are some problems because system keeps freezing, I have changed
the expresscard, but overall behavior is the same. 

The patch has not changed anything, here is the log with PRINTK_TIME.

Regards, Igor

[    5.507000] sata_sil24 0000:0d:00.0: version 1.0
[    5.507000] ACPI: PCI Interrupt 0000:0d:00.0[A] -> GSI 19 (level, low) -> IRQ 16
[    5.507000] PCI: Setting latency timer of device 0000:0d:00.0 to 64
[    5.507000] scsi2 : sata_sil24
[    5.507000] scsi3 : sata_sil24
[    5.507000] ata3: SATA max UDMA/100 cmd 0xf8d08000 ctl 0x00000000 bmdma 0x00000000 irq 16
[    5.507000] ata4: SATA max UDMA/100 cmd 0xf8d0a000 ctl 0x00000000 bmdma 0x00000000 irq 16
[    7.639000] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[    7.727000] ata3.15: Port Multiplier 1.1, 0x1095:0x4726 r31, 7 ports, feat 0x1/0x9
[    7.815000] ata3.00: hard resetting link
[    8.285000] ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    8.296000] ata3.01: hard resetting link
[    8.822000] ata3.01: softreset failed (SRST command error)
[    8.822000] ata3.01: reset failed (errno=-5), retrying in 10 secs
[   18.296000] ata3.01: hard resetting link
[   19.877000] ata3.02: hard resetting link
[   20.383000] ata3.02: COMRESET failed (errno=-5)
[   20.636000] ata3.02: reset failed, giving up
[   20.636000] ata3.15: hard resetting link
[   20.636000] ata3: controller in dubious state, performing PORT_RST
[   22.790000] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   22.878000] ata3.00: hard resetting link
[   23.348000] ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   23.359000] ata3.01: hard resetting link
[   23.873000] ata3.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   23.884000] ata3.02: hard resetting link
[   24.409000] ata3.02: softreset failed (SRST command error)
[   24.409000] ata3.02: reset failed (errno=-5), retrying in 10 secs
[   33.884000] ata3.02: hard resetting link
[   35.465000] ata3.03: hard resetting link
[   35.971000] ata3.03: COMRESET failed (errno=-5)
[   36.224000] ata3.03: reset failed, giving up
[   36.224000] ata3.15: hard resetting link
[   36.224000] ata3: controller in dubious state, performing PORT_RST
[   38.378000] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   38.466000] ata3.00: hard resetting link
[   38.936000] ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   38.947000] ata3.01: hard resetting link
[   39.461000] ata3.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   39.472000] ata3.02: hard resetting link
[   39.986000] ata3.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   39.997000] ata3.03: hard resetting link
[   40.522000] ata3.03: softreset failed (SRST command error)
[   40.522000] ata3.03: reset failed (errno=-5), retrying in 10 secs
[   49.997000] ata3.03: hard resetting link
[   51.578000] ata3.04: hard resetting link
[   52.084000] ata3.04: COMRESET failed (errno=-5)
[   52.337000] ata3.04: reset failed, giving up
[   52.337000] ata3.15: hard resetting link
[   52.337000] ata3: controller in dubious state, performing PORT_RST
[   54.491000] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   54.579000] ata3.00: hard resetting link
[   55.049000] ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   55.060000] ata3.01: hard resetting link
[   55.574000] ata3.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   55.585000] ata3.02: hard resetting link
[   56.099000] ata3.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   56.110000] ata3.03: hard resetting link
[   56.624000] ata3.03: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   56.635000] ata3.04: hard resetting link
[   57.160000] ata3.04: softreset failed (SRST command error)
[   57.160000] ata3.04: reset failed (errno=-5), retrying in 10 secs
[   66.635000] ata3.04: hard resetting link
[   67.963000] ata3.05: hard resetting link
[   68.469000] ata3.05: COMRESET failed (errno=-5)
[   68.722000] ata3.05: reset failed, giving up
[   68.722000] ata3.15: hard resetting link
[   68.722000] ata3: controller in dubious state, performing PORT_RST
[   70.876000] ata3.15: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   70.964000] ata3.00: hard resetting link
[   71.434000] ata3.00: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   71.445000] ata3.01: hard resetting link
[   71.959000] ata3.01: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   71.970000] ata3.02: hard resetting link
[   72.484000] ata3.02: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   72.495000] ata3.03: hard resetting link
[   73.009000] ata3.03: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   73.020000] ata3.04: hard resetting link
[   73.534000] ata3.04: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   73.534000] ata3.05: hard resetting link
[   74.004000] ata3.05: SATA link up 3.0 Gbps (SStatus 123 SControl 0)
[   74.004000] ata3.06: hard resetting link
[   74.474000] ata3.06: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[   74.517000] ata3.00: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
[   74.517000] ata3.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[   74.576000] ata3.00: configured for UDMA/100
[   74.619000] ata3.01: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
[   74.619000] ata3.01: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   74.677000] ata3.01: configured for UDMA/100
[   74.728000] ata3.02: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
[   74.728000] ata3.02: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   74.786000] ata3.02: configured for UDMA/100
[   74.833000] ata3.03: ATA-7: ST3750640AS, 3.AAD, max UDMA/133
[   74.833000] ata3.03: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   74.891000] ata3.03: configured for UDMA/100
[   74.941000] ata3.04: ATA-7: ST3750640AS, 3.AAE, max UDMA/133
[   74.941000] ata3.04: 1465149168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[   74.999000] ata3.04: configured for UDMA/100
[   74.999000] ata3.05: ATA-6: Config  Disk, PLS12052, max UDMA/133
[   74.999000] ata3.05: 640 sectors, multi 1: LBA 
[   74.999000] ata3.05: device is on DMA blacklist, disabling DMA
[   74.999000] ata3.05: configured for PIO4
[   75.022000] ata3: EH complete
[   77.042000] ata4: SATA link down (SStatus 0 SControl 0)
[   77.042000] scsi 2:0:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
[   77.042000] sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[   77.042000] sd 2:0:0:0: [sdb] Write Protect is off
[   77.042000] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   77.042000] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.042000] sd 2:0:0:0: [sdb] 1465149168 512-byte hardware sectors (750156 MB)
[   77.042000] sd 2:0:0:0: [sdb] Write Protect is off
[   77.042000] sd 2:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[   77.042000] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.042000]  sdb: sdb1 sdb2 sdb3 < sdb5 sdb6 sdb7 sdb8 sdb9 sdb10 >
[   77.126000] sd 2:0:0:0: [sdb] Attached SCSI disk
[   77.126000] sd 2:0:0:0: Attached scsi generic sg2 type 0
[   77.126000] scsi 2:1:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
[   77.127000] sd 2:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[   77.127000] sd 2:1:0:0: [sdc] Write Protect is off
[   77.127000] sd 2:1:0:0: [sdc] Mode Sense: 00 3a 00 00
[   77.127000] sd 2:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.127000] sd 2:1:0:0: [sdc] 1465149168 512-byte hardware sectors (750156 MB)
[   77.127000] sd 2:1:0:0: [sdc] Write Protect is off
[   77.127000] sd 2:1:0:0: [sdc] Mode Sense: 00 3a 00 00
[   77.127000] sd 2:1:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.127000]  sdc: sdc1 sdc2 sdc3 < sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 >
[   77.210000] sd 2:1:0:0: [sdc] Attached SCSI disk
[   77.210000] sd 2:1:0:0: Attached scsi generic sg3 type 0
[   77.211000] scsi 2:2:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
[   77.211000] sd 2:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
[   77.211000] sd 2:2:0:0: [sdd] Write Protect is off
[   77.211000] sd 2:2:0:0: [sdd] Mode Sense: 00 3a 00 00
[   77.211000] sd 2:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.211000] sd 2:2:0:0: [sdd] 1465149168 512-byte hardware sectors (750156 MB)
[   77.211000] sd 2:2:0:0: [sdd] Write Protect is off
[   77.211000] sd 2:2:0:0: [sdd] Mode Sense: 00 3a 00 00
[   77.211000] sd 2:2:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.211000]  sdd: sdd1 sdd2 sdd3 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 >
[   77.297000] sd 2:2:0:0: [sdd] Attached SCSI disk
[   77.297000] sd 2:2:0:0: Attached scsi generic sg4 type 0
[   77.297000] scsi 2:3:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
[   77.298000] sd 2:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
[   77.298000] sd 2:3:0:0: [sde] Write Protect is off
[   77.298000] sd 2:3:0:0: [sde] Mode Sense: 00 3a 00 00
[   77.298000] sd 2:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.298000] sd 2:3:0:0: [sde] 1465149168 512-byte hardware sectors (750156 MB)
[   77.298000] sd 2:3:0:0: [sde] Write Protect is off
[   77.298000] sd 2:3:0:0: [sde] Mode Sense: 00 3a 00 00
[   77.298000] sd 2:3:0:0: [sde] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.298000]  sde: sde1 sde2 sde3 < sde5 sde6 sde7 sde8 sde9 sde10 >
[   77.363000] sd 2:3:0:0: [sde] Attached SCSI disk
[   77.363000] sd 2:3:0:0: Attached scsi generic sg5 type 0
[   77.363000] scsi 2:4:0:0: Direct-Access     ATA      ST3750640AS      3.AA PQ: 0 ANSI: 5
[   77.363000] sd 2:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
[   77.363000] sd 2:4:0:0: [sdf] Write Protect is off
[   77.363000] sd 2:4:0:0: [sdf] Mode Sense: 00 3a 00 00
[   77.363000] sd 2:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.363000] sd 2:4:0:0: [sdf] 1465149168 512-byte hardware sectors (750156 MB)
[   77.363000] sd 2:4:0:0: [sdf] Write Protect is off
[   77.363000] sd 2:4:0:0: [sdf] Mode Sense: 00 3a 00 00
[   77.363000] sd 2:4:0:0: [sdf] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   77.364000]  sdf: sdf1 sdf2 sdf3 < sdf5 sdf6 sdf7 sdf8 sdf9 sdf10 >
[   77.438000] sd 2:4:0:0: [sdf] Attached SCSI disk
[   77.438000] sd 2:4:0:0: Attached scsi generic sg6 type 0
[   77.438000] scsi 2:5:0:0: Direct-Access     ATA      Config  Disk     PLS1 PQ: 0 ANSI: 5
[   77.438000] sd 2:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
[   77.438000] sd 2:5:0:0: [sdg] Write Protect is off
[   77.438000] sd 2:5:0:0: [sdg] Mode Sense: 00 3a 00 00
[   77.438000] sd 2:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   77.438000] sd 2:5:0:0: [sdg] 640 512-byte hardware sectors (0 MB)
[   77.438000] sd 2:5:0:0: [sdg] Write Protect is off
[   77.438000] sd 2:5:0:0: [sdg] Mode Sense: 00 3a 00 00
[   77.439000] sd 2:5:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   77.439000]  sdg: unknown partition table
[   77.439000] sd 2:5:0:0: [sdg] Attached SCSI disk
[   77.439000] sd 2:5:0:0: Attached scsi generic sg7 type 0

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:47                       ` Tejun Heo
@ 2007-10-04 13:49                         ` Igor Durdanovic
  2007-10-08  0:27                         ` Igor Durdanovic
  1 sibling, 0 replies; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-04 13:49 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

There is definitely a problem with hdparm and the 
SIL-3132 <-> SIL-4726

Now I can not turn the write caching off:

pts/1#> hdparm -W 0 /dev/sdb

/dev/sdb:
 setting drive write-caching to 0 (off)
pts/1#> hdparm -i /dev/sdb

/dev/sdb:

 Model=ST3750640AS                             , FwRev=3.AAE   , SerialNo=            5QD106AK
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode

Igor

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04  7:47                       ` Tejun Heo
  2007-10-04 13:49                         ` Igor Durdanovic
@ 2007-10-08  0:27                         ` Igor Durdanovic
  1 sibling, 0 replies; 14+ messages in thread
From: Igor Durdanovic @ 2007-10-08  0:27 UTC (permalink / raw)
  To: Tejun Heo; +Cc: idurdanovic, linux-ide

Hi Tejun,

I have made the following experimental observation on the
SIL-3132 <-> SIL-4726 writing speed.

I have 5 Seagate 750GB disks, each running at 3.0 Gbps
All have write-cache enabled.

I can write to 1 disk at 74MB/s

Writing to 2 disks simultaneously, the speed drops down to 37MB/s
per disk (sum is still 74MB/s)

Writing to 3 disks simultaneously, the speed drops down to 25MB/s
per disk, etc.

Any idea why each disk gets only a fraction of the bandwidth when
accessed simultaneously? The port multiplier ought to sustain 300MB/s


Thanks, Igor

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: sata_sil24 and sil-4726
  2007-10-04 13:36                       ` Igor Durdanovic
@ 2007-10-08  1:06                         ` Tejun Heo
  0 siblings, 0 replies; 14+ messages in thread
From: Tejun Heo @ 2007-10-08  1:06 UTC (permalink / raw)
  To: idurdanovic; +Cc: linux-ide

Igor Durdanovic wrote:
> Tejun Heo writes:
>>> SRST failure puts the host port into non-responding state and the driver
>>> resets the host port which in turn resets the PMP, so libata tries to
>>> reinitialize everything.  Can you post boot log with printk timestamp
>>> (CONFIG_PRINTK_TIME) turned on?
>>>
>> Also, does the attached patch change the behavior?
> 
> There are some problems because system keeps freezing, I have changed
> the expresscard, but overall behavior is the same. 
> 
> The patch has not changed anything, here is the log with PRINTK_TIME.

Thanks.  Will try to reproduce the problem and fix it.

-- 
tejun

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-10-08  1:06 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <18180.26625.216781.626572@kitty1.shrimp.net>
     [not found] ` <470468EE.909@gmail.com>
     [not found]   ` <18180.30643.554165.292012@kitty1.shrimp.net>
     [not found]     ` <4704790C.7060901@gmail.com>
2007-10-04  5:35       ` sata_sil24 and sil-4726 Igor Durdanovic
2007-10-04  5:57         ` Tejun Heo
2007-10-04  6:16           ` Igor Durdanovic
2007-10-04  6:46             ` Tejun Heo
2007-10-04  7:16               ` Tejun Heo
2007-10-04  7:29                 ` Igor Durdanovic
2007-10-04  7:34                   ` Tejun Heo
2007-10-04  7:42                     ` Tejun Heo
2007-10-04 13:36                       ` Igor Durdanovic
2007-10-08  1:06                         ` Tejun Heo
2007-10-04  7:43                     ` Igor Durdanovic
2007-10-04  7:47                       ` Tejun Heo
2007-10-04 13:49                         ` Igor Durdanovic
2007-10-08  0:27                         ` Igor Durdanovic

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).