SATA on PowerPC460EX with 2.6.27 kernel

Thomas Bachman tbachman at annapmicro.com
Fri Jul 24 06:17:44 EST 2009


We're trying to use the SATA interface on our PowerPC460EX. 
We've applied the following patch:
 
http://markmail.org/message/p5kdgzyneuxzdvjh
 
Our kernel is based on AMCC's "Arches" eval board distro kernel
(2.6.27-rc5), 
and with this patch, we're able to get the SATA interface up and running,
insomuch as 
it can discover our hard disk. Unfortunately, we're not able to mount,
format, or do any 
other functions with the disk. We see the following in our logs:
 
sata-dwc sata-dwc.0: sata_dwc_error_intr SCR_ERROR=0x04050002
intpr=0x00000008 status=0x000000
80 dma_intp=0 pending=-1070221560 issued=4 dma_err_status=0x00000000
ata1: exception Emask 0x30 SAct 0x0 SErr 0x4050002 action 0xe frozen
ata1: SError: { RecovComm PHYRdyChg CommWake DevExch }
scsi 0:0:0:0: Direct-Access     ATA      TOSHIBA MK1216GS RS01 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
sd 0:0:0:0: [sda] 234441648 512-byte hardware sectors (120034 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 dma 4096 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
ata1.00: status: { DRDY }
ata1: link is slow to respond, please be patient (ready=0)
ata1: prereset failed (errno=-16)
ata1: reset failed, giving up
ata1.00: disabled
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
 unable to read partition table
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
 
 
The disk is a 120GB Toshiba hard drive, 1.5Gbps SATA.
 
I found that someone had a similar problem when going to a newer kernel:
 
http://lists-archives.org/linux-kernel/19814689-about-synopsys-designware-co
res-dwc-sata-host-driver.html
 
Has this been fixed? We weren't sure if this patch ever happened, and if so,
where we could get it. 
 
 
-Thomas Bachman
-Annapolis Micro Systems, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090723/10168244/attachment.htm>


More information about the Linuxppc-dev mailing list