Re : sata_sil problems with SIL3512 controler on a ppc target

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



By checking the old 2.4.20 driver used for this device, I've found the following lines :
#ifdef CONFIG_BUFFALO_PLATFORM 
writel(0x10401554, mmio_base + 0x14c); 
writel(0x10401554, mmio_base + 0x1cc); 
#endif in the sil_init_one function (in sata_sil.c)... After some google searching, I've found this message from this mailing list : http://www.spinics.net/lists/linux-ide/msg00047.html
=> It says that for SiI 3114 contoler, we need to force write 0x10401554 instead of 0x10401555 in sfis_cfg (SATA FIS reception config register). By looking in the source code of the latest version, it looks like my controler (Sil 3512) is set to apply this workaround too, but according to my boot log, it's not applying it (It should write "Applying R_ERR on DMA / activate FIS errata fix" just after the error about the PCI cache). I'll add some traces to understand what's happening and I'll tell you ...
Sylver


----- Message d'origine ----
De : snatcher snatcher <snatcher93@xxxxxxxxxxxxxx>
À : linux-ide@xxxxxxxxxxxxxxx
Envoyé le : Jeudi, 9 Novembre 2006, 1h01mn 42s
Objet : sata_sil problems with SIL3512 controler on a ppc target

Hello,
I'm working on making a "Buffalo Terastation Pro" Hardware runs a 2.6 kernel (the stock kernel is a 2.4 one).
This hardware includes a powerpc 603e (running @ 266MHz) and two SATA SIL3512 controllers (as the device runs 4 drives) ...
At startup it's getting some problems with the controler, but i'm not able to understand what can be wrong ... I tried with a 2.6.18.2 kernel and a 2.6.19-rc5 kernel, and I have the same problem with both versions ...
Here is the "interesting" part of the kernel log (2.6.19-rc5 log):

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx 
sata_sil 0000:00:0c.0: cache line size not set.  Driver may not function 
ata1: SATA max UDMA/100 cmd 0xC9002C80 ctl 0xC9002C8A bmdma 0xC9002C00 irq 17 
ata2: SATA max UDMA/100 cmd 0xC9002CC0 ctl 0xC9002CCA bmdma 0xC9002C08 irq 17 
scsi0 : sata_sil 
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) 
ata1.00: ATA-7, max UDMA7, 488397168 sectors: LBA48 NCQ (depth 0/32) 
ata1.00: configured for UDMA/100 
scsi1 : sata_sil 
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300) 
ata2.00: ATA-7, max UDMA7, 488397168 sectors: LBA48 NCQ (depth 0/32) 
ata2.00: configured for UDMA/100 
scsi 0:0:0:0: Direct-Access     ATA      SAMSUNG SP2504C  VT10 PQ: 0 ANSI: 5 
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) 
sda: Write Protect is off 
SCSI device sda: drive cache: write back 
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB) 
sda: Write Protect is off 
SCSI device sda: drive cache: write back 
sda:<3>ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen 
ata1.00: (BMDMA stat 0x0) 
ata1.00: tag 0 cmd 0xc8 Emask 0x4 stat 0x40 err 0x0 (timeout) 
ata1: soft resetting port 
ata1: port is slow to respond, please be patient (Status 0xd8) 
ata1: port failed to respond (30 secs, Status 0xd8) 
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) 
ATA: abnormal status 0xD8 on port 0xC9002C87 
ATA: abnormal status 0xD8 on port 0xC9002C87 
ATA: abnormal status 0xD8 on port 0xC9002C87 
ATA: abnormal status 0xD8 on port 0xC9002C87 
ATA: abnormal status 0xD8 on port 0xC9002C87 
ata1.00: zero err_mask for failed internal command, assuming AC_ERR_OTHERAbout the "cache line size not set.  Driver may not function", I was able to force PCI cache function but it doesn't change anything ... I've also tried to compile the kernel with a gcc v4.1.2 with no change !
I really hope someone could help ... You can find complete boot logs for 2.6.18.2 & 2.6.19-rc5 here : http://forum.linkstationwiki.net/index.php?action=vthread&forum=15&topic=1302&page=1#msg17099

Thanks,
Sylver




    

    
        
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html





	

	
		
___________________________________________________________________________ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux