Sil 3124: "softreset failed (SRST command error)"
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
Quoted 4 lines · Jeremy Sanders
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
Quoted 6 lines · Jeremy Sanders
Quoted 4 lines · Jeremy Sanders
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-
Quoted 7 lines
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?
Signature · 1 line
tejun
Quoted 1 line · Tejun Heo
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
Quoted 4 lines · Jeremy Sanders
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.
Signature · 4 lines
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
Quoted 3 lines · Tim Small
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
Quoted 11 lines · Jeremy Sanders
Quoted 3 lines · Tim Small
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
Quoted 13 lines · On Thursday 14 October 2010 14:19:07 Jeremy Sanders wrote:
Quoted 11 lines · Jeremy Sanders
Quoted 4 lines · Tim Small
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).
Quoted 6 lines
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.
Quoted 4 lines
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!
Signature · 1 line
Anssi Hannula