Sil3114 controller?

Markus at kpnqwest.ch Markus at kpnqwest.ch
Tue Jan 13 13:24:18 PST 2004


> I have a dual Opteron system on a Tyan Tiger K8W (S2875).  

I have a S2885.

> I have attempted to install via the 5.2-RELEASE ISO's.  Problem:  CD boots 
> fine, but my SATA drives (two Seagate Barracuda 7200.7 120G) were not 
> detected.  I don't see anything in the release notes specific to the 
> controller or the drives.
> 
> The motherboard has the same Sil3114 SATA controller as the Tyan Thunder K8W 
> (S2885).  I have seen other posts to this list that indicate success in 
> installing FreeBSD on the Thunder K8W, so I'm wondering why I can't see the 
> drives on my system.

I made a simple modification to the driver which essentially maps the 3114 as
a 3112, which works, sort of (not with the recent changes though, I'm getting
those "TIMEOUT - ATAPI_IDENTIFY retrying messages" that others had mentioned
as well). The drives do not go into SATA DMA mode (150Mbps), but I have the 
slight suspicion the code doesn't really support those yet with the SiL chipsets.

On very high load on the drives, I sometimes get 
  ad4: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
style errors, but all in all, it's working very nicely.


Index: ata-chipset.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v
retrieving revision 1.54
diff -r1.54 ata-chipset.c
1587c1587,1588
<     {{ ATA_SII3112,   0x02, SIIMEMIO, 0,       ATA_SA150, "SiI 3112" },
---
>     {{ ATA_SII3114,   0x02, SIIMEMIO, 0,       ATA_SA150, "SiI 3114" },
>      { ATA_SII3112,   0x02, SIIMEMIO, 0,       ATA_SA150, "SiI 3112" },
Index: ata-pci.h
===================================================================
RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v
retrieving revision 1.20
diff -r1.20 ata-pci.h
163a164
> #define ATA_SII3114           0x31141095


atapci0: <SiI 3114 SATA150 controller> port 0x8400-0x840f,0x8480-0x8483,0x8800-0x8807,0x8880-0x8883,0x8c00-0x8c07 mem 0xff3ffc00-0xff3fffff irq 17 at device 11.0 on pci3
atapci0: [MPSAFE]
ad4: 76319MB <ST380013AS> [155061/16/63] at ata2-master UDMA100
ad6: 76319MB <ST380013AS> [155061/16/63] at ata3-master UDMA100
GEOM: create disk ad4 dp=0xffffff0001110ea0
ad4: 76319MB <ST380013AS> [155061/16/63] at ata2-master UDMA100
GEOM: create disk ad6 dp=0xffffff00015d04a0
ad6: 76319MB <ST380013AS> [155061/16/63] at ata3-master UDMA100
GEOM: create disk ar0 dp=0xffffff007b687270
ar0: 76319MB <ATA RAID1 array> [9729/255/63] status: READY subdisks:
 disk0 READY on ad4 at ata2-master
 disk1 READY on ad6 at ata3-master

Note: this is a FreeBSD type ATA-Raid, there's no support yet for native
RAID that is understood by the BIOS.

Cheers,
Markus
-- 
VIA NET.WORKS (Schweiz) AG
Riedstrasse 1, CH-6343 Rotkreuz, Switzerland
Telefon: +41 41 798 2121 / Fax: +41 41 798 2122
Markus Wild, Manager Engineering, e-mail: mwild at vianetworks.ch


More information about the freebsd-amd64 mailing list