Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2007 10:00:20 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        N. Harrington <drumslayer2@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: How to solve mysterious system lockups?
Message-ID:  <8229DFF3-1298-4692-A6CC-886EC2E97730@mac.com>
In-Reply-To: <798114.3933.qm@web34504.mail.mud.yahoo.com>
References:  <798114.3933.qm@web34504.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 4, 2007, at 8:49 PM, N. Harrington wrote:
>  Hi Garret
>  Here is the driver info.
>
> -- SATA
>
> atapci0: <SiI 3114 SATA150 controller> port
> 0xbc00-0xbc07,0xb400-0xb403,0xb000-0xb007,0xac00-0xac03,0xa800-0xa80f

Ah-- regrettably, the Silicon Image 3112 & 3114 chips have some  
significant hardware defects, which tend to show up more frequently  
when you put the disk system under significant load (especially  
RAID).  It's likely to be the case that switching to a better SATA  
controller would resolve the problems you are seeing with your SATA- 
based machines.

If you have a chance, perhaps see whether building a kernel with the  
following patch does anything to help the "disk lockups" you've seen:

--- sys/dev/ataata-chipset.c~      Wed Jun  1 14:24:26 2005
+++ sys/dev/ataata-chipset.c       Tue Jun  5 12:54:58 2007
@@ -2240,7 +2240,7 @@
      struct ata_pci_controller *ctlr = device_get_softc(dev);
      struct ata_chip_id *idx;
      static struct ata_chip_id ids[] =
-    {{ ATA_SII3114,   0x00, SIIMEMIO, SII4CH,   ATA_SA150, "SiI  
3114" },
+    {{ ATA_SII3114,   0x00, SIIMEMIO, (SII4CH|SIIBUG),  ATA_SA150,  
"SiI 3114" },
       { ATA_SII3512,   0x02, SIIMEMIO, 0,        ATA_SA150, "SiI  
3512" },
       { ATA_SII3112,   0x02, SIIMEMIO, 0,        ATA_SA150, "SiI  
3112" },
       { ATA_SII3112_1, 0x02, SIIMEMIO, 0,        ATA_SA150, "SiI  
3112" },

The effect of this change is to limit the SilI controller into doing  
DMA transfers which are smaller than 8KB, which seems to mitigate the  
most significant problems with the chipset, at the cost of some  
performance.

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8229DFF3-1298-4692-A6CC-886EC2E97730>