public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* Symbios Logic 53C876 detected as 53C875, then doesn't work
@ 2006-08-12  8:17 Chris Stromsoe
  2006-08-12 13:22 ` Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Stromsoe @ 2006-08-12  8:17 UTC (permalink / raw)
  To: linux-scsi

I have several Symbios Logic 53c875 cards that I'm trying to get working 
with 2.6.17.8 i386.  The cards are all functional under Solaris and were 
pulled from E450 within the last week.

One of the cards is not recognized at all (PCI ID 1000:0007).  The other 
cards are PCI ID 1000:000f.

Booting with with the 1000:000f cards and append="sym53c8xx.verb=2" gives 
me:

PCI: Enabling device 0000:01:02.0 (0000 -> 0003)
PCI: Setting latency timer of device 0000:01:02.0 to 64
sym0: <875> rev 0x14 at pci 0000:01:02.0 irq 0
sym0: clock multiplier found
sym0: No NVRAM, ID 7, Fast-20, HVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/ce/a8/01/80/24
sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/80/01/08/24
CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff.
sym0: CACHE INCORRECTLY CONFIGURED.
sym0: giving up ...

PCI: Enabling device 0000:01:02.1 (0000 -> 0003)
PCI: Setting latency timer of device 0000:01:02.1 to 64
sym0: <875> rev 0x14 at pci 0000:01:02.1 irq 0
sym0: clock multiplier found
sym0: No NVRAM, ID 7, Fast-20, HVD, parity checking
sym0: open drain IRQ line driver, using on-chip SRAM
sym0: using LOAD/STORE-based firmware.
sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/ce/a8/01/80/24
sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/80/01/08/24
CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff.
sym0: CACHE INCORRECTLY CONFIGURED.
sym0: giving up ...



lspci -vvv -n shows:

0000:01:02.0 0100: 1000:000f (rev 14)
         Subsystem: 4028:0080
         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR+ <PERR+
         Region 0: I/O ports at 1000 [size=256]
         Region 1: Memory at 88003000 (32-bit, non-prefetchable) [size=256]
         Region 2: Memory at 88000000 (32-bit, non-prefetchable) [size=4K]
         Region 4: Memory at <ignored> (32-bit, non-prefetchable)
         Region 5: I/O ports at 82000020 [size=16]
         Expansion ROM at 88002000 [disabled] [size=2K]

0000:01:02.1 0100: 1000:000f (rev 14)
         Subsystem: 4028:0080
         Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
         Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
         Region 0: I/O ports at 1400 [size=256]
         Region 1: Memory at 88003100 (32-bit, non-prefetchable) [size=256]
         Region 2: Memory at 88001000 (32-bit, non-prefetchable) [size=4K]
         Region 4: Memory at <ignored> (32-bit, non-prefetchable)
         Region 5: I/O ports at c2000020 [size=16]
         Expansion ROM at 88002800 [disabled] [size=2K]



Any ideas?



-Chris

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

* Re: Symbios Logic 53C876 detected as 53C875, then doesn't work
  2006-08-12  8:17 Symbios Logic 53C876 detected as 53C875, then doesn't work Chris Stromsoe
@ 2006-08-12 13:22 ` Matthew Wilcox
  2006-08-12 20:24   ` Chris Stromsoe
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2006-08-12 13:22 UTC (permalink / raw)
  To: Chris Stromsoe; +Cc: linux-scsi

On Sat, Aug 12, 2006 at 01:17:53AM -0700, Chris Stromsoe wrote:
> I have several Symbios Logic 53c875 cards that I'm trying to get working 
> with 2.6.17.8 i386.  The cards are all functional under Solaris and were 
> pulled from E450 within the last week.
> 
> One of the cards is not recognized at all (PCI ID 1000:0007).  The other 
> cards are PCI ID 1000:000f.

Can you try swapping the cards around?  I don't know of a device with ID
0007.  Being one bit different from 000f (which is the correct ID for
both the 875 and 876 chips) makes me suspicious it may be in a defective
PCI slot.  I had one of those recently with an Asus Nvidia board.

> Booting with with the 1000:000f cards and append="sym53c8xx.verb=2" gives 
> me:
> 
> PCI: Enabling device 0000:01:02.0 (0000 -> 0003)
> PCI: Setting latency timer of device 0000:01:02.0 to 64
> sym0: <875> rev 0x14 at pci 0000:01:02.0 irq 0
> sym0: clock multiplier found
> sym0: No NVRAM, ID 7, Fast-20, HVD, parity checking
> sym0: open drain IRQ line driver, using on-chip SRAM
> sym0: using LOAD/STORE-based firmware.
> sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/ce/a8/01/80/24
> sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/80/01/08/24
> CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff.
> sym0: CACHE INCORRECTLY CONFIGURED.
> sym0: giving up ...

I don't like the look of this.  If you're getting ffffffff back from
those particular registers, the chip has clearly gone fatal.  But I use
875 controllers *all the time*, so there's something odd going on here.
I don't know what to suggest at this point, I'm afraid.

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

* Re: Symbios Logic 53C876 detected as 53C875, then doesn't work
  2006-08-12 13:22 ` Matthew Wilcox
@ 2006-08-12 20:24   ` Chris Stromsoe
  2006-08-12 20:32     ` Matthew Wilcox
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Stromsoe @ 2006-08-12 20:24 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-scsi

On Sat, 12 Aug 2006, Matthew Wilcox wrote:
> On Sat, Aug 12, 2006 at 01:17:53AM -0700, Chris Stromsoe wrote:
>
>> I have several Symbios Logic 53c875 cards that I'm trying to get 
>> working with 2.6.17.8 i386.  The cards are all functional under Solaris 
>> and were pulled from E450 within the last week.
>>
>> One of the cards is not recognized at all (PCI ID 1000:0007).  The 
>> other cards are PCI ID 1000:000f.
>
> Can you try swapping the cards around?  I don't know of a device with ID 
> 0007.  Being one bit different from 000f (which is the correct ID for 
> both the 875 and 876 chips) makes me suspicious it may be in a defective 
> PCI slot.  I had one of those recently with an Asus Nvidia board.

I have two cards that detect as 0007 in the particular slot and one that 
detects as 000f.  Moving a 0007 to a different slot detects it as 000f. 
The slots are on a 64-bit pci riser card, so it's possible that there is a 
bad connection on one of the fingers.  I'll try the boards in a different 
machien and see it makes any difference.

>> Booting with with the 1000:000f cards and append="sym53c8xx.verb=2" 
>> gives me:
>>
>> PCI: Enabling device 0000:01:02.0 (0000 -> 0003)
>> PCI: Setting latency timer of device 0000:01:02.0 to 64
>> sym0: <875> rev 0x14 at pci 0000:01:02.0 irq 0
>> sym0: clock multiplier found
>> sym0: No NVRAM, ID 7, Fast-20, HVD, parity checking
>> sym0: open drain IRQ line driver, using on-chip SRAM
>> sym0: using LOAD/STORE-based firmware.
>> sym0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 07/ce/a8/01/80/24
>> sym0: final   SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/46/80/01/08/24
>> CACHE TEST FAILED: reg dstat-sstat2 readback ffffffff.
>> sym0: CACHE INCORRECTLY CONFIGURED.
>> sym0: giving up ...
>
> I don't like the look of this.  If you're getting ffffffff back from 
> those particular registers, the chip has clearly gone fatal.  But I use 
> 875 controllers *all the time*, so there's something odd going on here. 
> I don't know what to suggest at this point, I'm afraid.

Whenever the cards are detected as 000f they have given me that error at 
boot.  The cards came from Sun and are running Sun firmware if that makes 
any difference at all.  Up until a week ago they were all functioning in a 
couple of Sun E450 running Solaris 9 without any visible problems.


-Chris

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

* Re: Symbios Logic 53C876 detected as 53C875, then doesn't work
  2006-08-12 20:24   ` Chris Stromsoe
@ 2006-08-12 20:32     ` Matthew Wilcox
  2006-08-12 20:43       ` Chris Stromsoe
  0 siblings, 1 reply; 5+ messages in thread
From: Matthew Wilcox @ 2006-08-12 20:32 UTC (permalink / raw)
  To: Chris Stromsoe; +Cc: linux-scsi

On Sat, Aug 12, 2006 at 01:24:15PM -0700, Chris Stromsoe wrote:
> I have two cards that detect as 0007 in the particular slot and one that 
> detects as 000f.  Moving a 0007 to a different slot detects it as 000f. 
> The slots are on a 64-bit pci riser card, so it's possible that there is a 
> bad connection on one of the fingers.  I'll try the boards in a different 
> machien and see it makes any difference.

Definitely sounds like dodgy connections.

> >I don't like the look of this.  If you're getting ffffffff back from 
> >those particular registers, the chip has clearly gone fatal.  But I use 
> >875 controllers *all the time*, so there's something odd going on here. 
> >I don't know what to suggest at this point, I'm afraid.
> 
> Whenever the cards are detected as 000f they have given me that error at 
> boot.  The cards came from Sun and are running Sun firmware if that makes 
> any difference at all.  Up until a week ago they were all functioning in a 
> couple of Sun E450 running Solaris 9 without any visible problems.

Actually, there's no firmware on the cards; the firmware is built into
the driver and uploaded to the onboard ram at initialisation time.

If there's dodgy connectors, then the card probably detected a PCI
parity error and went fatal.  I think it'd be useful to leverage the
PCI error recovery framework to at least display a useful error message
to the user on systems with little or no support for error *recovery*.

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

* Re: Symbios Logic 53C876 detected as 53C875, then doesn't work
  2006-08-12 20:32     ` Matthew Wilcox
@ 2006-08-12 20:43       ` Chris Stromsoe
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Stromsoe @ 2006-08-12 20:43 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-scsi

On Sat, 12 Aug 2006, Matthew Wilcox wrote:

> If there's dodgy connectors, then the card probably detected a PCI 
> parity error and went fatal.  I think it'd be useful to leverage the PCI 
> error recovery framework to at least display a useful error message to 
> the user on systems with little or no support for error *recovery*.

It's definitely a PCI problem.  Moving all of the cards to a different 
system detects them properly.  Thanks for the pointer.

-Chris

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

end of thread, other threads:[~2006-08-12 20:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-12  8:17 Symbios Logic 53C876 detected as 53C875, then doesn't work Chris Stromsoe
2006-08-12 13:22 ` Matthew Wilcox
2006-08-12 20:24   ` Chris Stromsoe
2006-08-12 20:32     ` Matthew Wilcox
2006-08-12 20:43       ` Chris Stromsoe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox