All of lore.kernel.org
 help / color / mirror / Atom feed
* Sil 3124: "softreset failed (SRST command error)"
@ 2010-10-11 15:44 Jeremy Sanders
  2010-10-11 19:54 ` Jeremy Sanders
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Sanders @ 2010-10-11 15:44 UTC (permalink / raw)
  To: linux-ide

Hi - I'm having problems getting a Sil 3124 card with a PCI-Express 1x
interface to work, see https://bugzilla.redhat.com/show_bug.cgi?id=641878
Here is the card:
 http://www.era-adapter.com/pciexpress-1x-to-4-ports-sata-ii-adapter-p-60.html

I hope this is an appropriate place to report this. I've tried both
the Fedora 12 (2.6.32.21) and Fedora 14 beta install kernel (2.6.35),
running x86-64.

I just get timeouts when booting with two drives attached:

Oct 11 12:47:29 xpc12 kernel: scsi7 : sata_sil24
Oct 11 12:47:29 xpc12 kernel: scsi6 : pata_jmicron
Oct 11 12:47:29 xpc12 kernel: scsi8 : sata_sil24
Oct 11 12:47:29 xpc12 kernel: scsi9 : sata_sil24
Oct 11 12:47:29 xpc12 kernel: scsi11 : sata_sil24
Oct 11 12:47:29 xpc12 kernel: ata9: SATA max UDMA/100 host m128@0xe2388000 port 0xe2380000 irq 18
Oct 11 12:47:29 xpc12 kernel: ata10: SATA max UDMA/100 host m128@0xe2388000 port 0xe2382000 irq 18
Oct 11 12:47:29 xpc12 kernel: ata11: SATA max UDMA/100 host m128@0xe2388000 port 0xe2384000 irq 18
Oct 11 12:47:29 xpc12 kernel: ata12: SATA max UDMA/100 host m128@0xe2388000 port 0xe2386000 irq 18
Oct 11 12:47:29 xpc12 kernel: scsi10 : pata_jmicron
Oct 11 12:47:29 xpc12 kernel: ata7: PATA max UDMA/100 cmd 0xd040 ctl 0xd030 bmdma 0xd000 irq 19
Oct 11 12:47:29 xpc12 kernel: ata8: PATA max UDMA/100 cmd 0xd020 ctl 0xd010 bmdma 0xd008 irq 19
Oct 11 12:47:29 xpc12 kernel: ata7.00: ATAPI: TSSTcorpCD/DVDW SH-S162A, TS01, max UDMA/33
Oct 11 12:47:29 xpc12 kernel: ata7.00: configured for UDMA/33
Oct 11 12:47:29 xpc12 kernel: ata9: SATA link down (SStatus 0 SControl 0)
Oct 11 12:47:29 xpc12 kernel: ata10: SATA link down (SStatus 0 SControl 0)
Oct 11 12:47:29 xpc12 kernel: ata11: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata11: reset failed (errno=-5), retrying in 8 secs
Oct 11 12:47:29 xpc12 kernel: ata11: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata11: reset failed (errno=-5), retrying in 8 secs
Oct 11 12:47:29 xpc12 kernel: ata11: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata11: reset failed (errno=-5), retrying in 33 secs
Oct 11 12:47:29 xpc12 kernel: ata11: limiting SATA link speed to 1.5 Gbps
Oct 11 12:47:29 xpc12 kernel: ata11: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata11: reset failed, giving up
Oct 11 12:47:29 xpc12 kernel: ata12: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata12: reset failed (errno=-5), retrying in 8 secs
Oct 11 12:47:29 xpc12 kernel: ata12: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata12: reset failed (errno=-5), retrying in 8 secs
Oct 11 12:47:29 xpc12 kernel: ata12: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata12: reset failed (errno=-5), retrying in 33 secs
Oct 11 12:47:29 xpc12 kernel: ata12: limiting SATA link speed to 1.5 Gbps
Oct 11 12:47:29 xpc12 kernel: ata12: softreset failed (SRST command error)
Oct 11 12:47:29 xpc12 kernel: ata12: reset failed, giving up

This is what lspci reports for the card and its PCIex to PCI-X bridge:
03:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) (prog-if 00 [Normal decode])
        Physical Slot: 0-1
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Bus: primary=03, secondary=04, subordinate=04, sec-latency=32
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: e2300000-e23fffff
        Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- <SERR- <PERR-
        BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
                PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Capabilities: [60] Express (v1) PCI/PCI-X Bridge, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <64ns, L1 <1us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- BrConfRtry-
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <1us, L1 <16us
                        ClockPM- Surprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; Disabled- Retrain- CommClk-
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
        Capabilities: [100 v1] Power Budgeting <?>
        Kernel modules: shpchp

04:00.0 RAID bus controller: Silicon Image, Inc. SiI 3124 PCI-X Serial ATA Controller (rev 01)
        Subsystem: Silicon Image, Inc. Device 7124
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
        Latency: 32, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 18
        Region 0: Memory at e2388000 (64-bit, non-prefetchable) [size=128]
        Region 2: Memory at e2380000 (64-bit, non-prefetchable) [size=32K]
        Region 4: I/O ports at e000 [size=16]
        Expansion ROM at e2300000 [disabled] [size=512K]
        Capabilities: [64] Power Management version 2
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
        Capabilities: [40] PCI-X non-bridge device
                Command: DPERE- ERO+ RBC=512 OST=12
                Status: Dev=ff:1f.0 64bit+ 133MHz+ SCD- USC- DC=simple DMMRBC=2048 DMOST=12 DMCRS=128 RSCEM- 266MHz- 
533MHz-
        Capabilities: [54] MSI: Enable- Count=1/1 Maskable- 64bit+
                Address: 0000000000000000  Data: 0000
        Kernel driver in use: sata_sil24
        Kernel modules: sata_sil24

The motherboard is an Intel DP43TF with Intel Q9650 CPU. I haven't configured
any RAID on the device.

Any ideas?

Thanks

Jeremy




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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-11 15:44 Sil 3124: "softreset failed (SRST command error)" Jeremy Sanders
@ 2010-10-11 19:54 ` Jeremy Sanders
  2010-10-12 13:45   ` Tejun Heo
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Sanders @ 2010-10-11 19:54 UTC (permalink / raw)
  To: linux-ide

Jeremy Sanders wrote:

> Hi - I'm having problems getting a Sil 3124 card with a PCI-Express 1x
> interface to work, see https://bugzilla.redhat.com/show_bug.cgi?id=641878
> Here is the card:
>  http://www.era-adapter.com/pciexpress-1x-to-4-ports-sata-ii-adapter-
p-60.html

I've now tried building the latest git module which doesn't work. I've tired 
commenting out the pcie_set_readrq(pdev, 4096) line - no luck. I've tried 
enabling MSI interrupts - it gets an MSI interrupt but fails in the same 
way. I've also tried disabling hard and soft resets - though it fails later 
in the initialization.

Jeremy





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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-11 19:54 ` Jeremy Sanders
@ 2010-10-12 13:45   ` Tejun Heo
  2010-10-12 15:30     ` Jeremy Sanders
  0 siblings, 1 reply; 8+ messages in thread
From: Tejun Heo @ 2010-10-12 13:45 UTC (permalink / raw)
  To: Jeremy Sanders; +Cc: linux-ide

On 10/11/2010 09:54 PM, Jeremy Sanders wrote:
> Jeremy Sanders wrote:
> 
>> Hi - I'm having problems getting a Sil 3124 card with a PCI-Express 1x
>> interface to work, see https://bugzilla.redhat.com/show_bug.cgi?id=641878
>> Here is the card:
>>  http://www.era-adapter.com/pciexpress-1x-to-4-ports-sata-ii-adapter-
> p-60.html
> 
> I've now tried building the latest git module which doesn't work. I've tired 
> commenting out the pcie_set_readrq(pdev, 4096) line - no luck. I've tried 
> enabling MSI interrupts - it gets an MSI interrupt but fails in the same 
> way. I've also tried disabling hard and soft resets - though it fails later 
> in the initialization.

Have you tried a different drive?

-- 
tejun

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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-12 13:45   ` Tejun Heo
@ 2010-10-12 15:30     ` Jeremy Sanders
  2010-10-12 15:42       ` Tim Small
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Sanders @ 2010-10-12 15:30 UTC (permalink / raw)
  To: linux-ide

Tejun Heo wrote:

> Have you tried a different drive?

I tried several of the same type (ST3500641AS) but they all failed in the 
same way. I've just tried a Hitachi 1TB which makes linux hang during 
booting at "Probing EDD".

I've also tried flashing the bios on the card with the latest "base" bios 
from  the SI website.  In that case it hangs at Probing EDD with both types 
of drive. The standard PC bios can see the drives. If I remove any drives 
plugged in, booting works okay.

I suppose it could be a broken card or an incompatibility with the 
motherboard.

Thanks

Jeremy



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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-12 15:30     ` Jeremy Sanders
@ 2010-10-12 15:42       ` Tim Small
  2010-10-13  9:14         ` Jeremy Sanders
  0 siblings, 1 reply; 8+ messages in thread
From: Tim Small @ 2010-10-12 15:42 UTC (permalink / raw)
  To: Jeremy Sanders; +Cc: linux-ide

On 12/10/10 16:30, Jeremy Sanders wrote:
> I suppose it could be a broken card or an incompatibility with the
> motherboard.
>
>    

Bad PCI express to PCI-X bridge chip maybe, or maybe the Linux bug lies 
there?  I have seen cards with 2 3132s on instead (and a PCI express 
bridge), perhaps it'd be worth trying one of those?

Tim.


-- 
South East Open Source Solutions Limited
Registered in England and Wales with company number 06134732.
Registered Office: 2 Powell Gardens, Redhill, Surrey, RH1 1TQ
VAT number: 900 6633 53  http://seoss.co.uk/ +44-(0)1273-808309


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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-12 15:42       ` Tim Small
@ 2010-10-13  9:14         ` Jeremy Sanders
  2010-10-14 13:19           ` Jeremy Sanders
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Sanders @ 2010-10-13  9:14 UTC (permalink / raw)
  To: linux-ide

Tim Small wrote:

> Bad PCI express to PCI-X bridge chip maybe, or maybe the Linux bug lies
> there?  I have seen cards with 2 3132s on instead (and a PCI express
> bridge), perhaps it'd be worth trying one of those?

It looks like the problem was an incompatibility with the Intel motherboard.

It seems to work fine in an old foxconn Athlon 64 motherboard (in the PCIex 
graphics slot when using a PCI card for video).

Jeremy




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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-13  9:14         ` Jeremy Sanders
@ 2010-10-14 13:19           ` Jeremy Sanders
  2010-10-18 19:36             ` Anssi Hannula
  0 siblings, 1 reply; 8+ messages in thread
From: Jeremy Sanders @ 2010-10-14 13:19 UTC (permalink / raw)
  To: linux-ide

Jeremy Sanders wrote:

> Tim Small wrote:
> 
>> Bad PCI express to PCI-X bridge chip maybe, or maybe the Linux bug lies
>> there?  I have seen cards with 2 3132s on instead (and a PCI express
>> bridge), perhaps it'd be worth trying one of those?
> 
> It looks like the problem was an incompatibility with the Intel
> motherboard.
> 
> It seems to work fine in an old foxconn Athlon 64 motherboard (in the
> PCIex graphics slot when using a PCI card for video).

Unfortunately it doesn't look like it works that well :-(

Read speeds to a standard drive are great - 70 MB/s.

Write speeds are awful - they range on one system at 17 MB/s down to a more 
modern system at 1.7 MB/s! There is no CPU load.

I assume this is a problem with the PCIe bridge. There are no errors or 
warnings given. I couldn't get MSI interrupts to work on this system.

Time to throw the card away I think!

Jeremy



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

* Re: Sil 3124: "softreset failed (SRST command error)"
  2010-10-14 13:19           ` Jeremy Sanders
@ 2010-10-18 19:36             ` Anssi Hannula
  0 siblings, 0 replies; 8+ messages in thread
From: Anssi Hannula @ 2010-10-18 19:36 UTC (permalink / raw)
  To: Jeremy Sanders; +Cc: linux-ide

On Thursday 14 October 2010 14:19:07 Jeremy Sanders wrote:
> Jeremy Sanders wrote:
> > Tim Small wrote:
> >> Bad PCI express to PCI-X bridge chip maybe, or maybe the Linux bug
> >> lies
> >> there?  I have seen cards with 2 3132s on instead (and a PCI express
> >> bridge), perhaps it'd be worth trying one of those?
> > 
> > It looks like the problem was an incompatibility with the Intel
> > motherboard.
> > 
> > It seems to work fine in an old foxconn Athlon 64 motherboard (in the
> > PCIex graphics slot when using a PCI card for video).
> 
> Unfortunately it doesn't look like it works that well :-(
> 
> Read speeds to a standard drive are great - 70 MB/s.
> 
> Write speeds are awful - they range on one system at 17 MB/s down to a more
> modern system at 1.7 MB/s! There is no CPU load.

For the record, I encountered the same issues some time ago.

I couldn't get a SiI 3124 based PCI-E card to work on an IIRC NVIDIA based 
(AMD) motherboard: I encountered the "softreset failed" messages.

I had a friend try the card on another system, and this time it reportedly 
detected the drives successfully but the performance was bad.

> I assume this is a problem with the PCIe bridge. There are no errors or
> warnings given. I couldn't get MSI interrupts to work on this system.
> 
> Time to throw the card away I think!

-- 
Anssi Hannula

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

end of thread, other threads:[~2010-10-18 19:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-11 15:44 Sil 3124: "softreset failed (SRST command error)" Jeremy Sanders
2010-10-11 19:54 ` Jeremy Sanders
2010-10-12 13:45   ` Tejun Heo
2010-10-12 15:30     ` Jeremy Sanders
2010-10-12 15:42       ` Tim Small
2010-10-13  9:14         ` Jeremy Sanders
2010-10-14 13:19           ` Jeremy Sanders
2010-10-18 19:36             ` Anssi Hannula

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.