linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [SATA] Does SATA work with kernel > v2.6.25.7?
@ 2009-08-14 10:49 Olivier Croset
  2009-08-14 11:33 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Olivier Croset @ 2009-08-14 10:49 UTC (permalink / raw)
  To: linuxppc-dev

Hello everybody,

I'm working on a custom board with a Freescale 8347 CPU and a Silicon Image
SIL3512 SATA controller, which is on the PCI bus.

SATA is working with 2.6.22 but no more with 2.6.30.4. I tried different
parameters in the kernel configuration with no success. I got the following
output when Linux boots:

<snip>
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 160086528 512-byte hardware sectors: (81.9 GB/76.3 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support
DPO or FUA
 sda:<6>ata2: SATA link down (SStatus 0 SControl 310)
IP-Config: Complete:
     device=eth1, addr=192.0.0.238, mask=255.255.255.0, gw=192.0.0.128,
     host=xcom9347, domain=, nis-domain=(none),
     bootserver=192.0.0.64, rootserver=192.0.0.64, rootpath=
PHY: mdio@e0024520:09 - Link is Up - 100/Half
ata1: lost interrupt (Status 0x50)
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x06
end_request: I/O error, dev sda, sector 0
Buffer I/O error on device sda, logical block 0
ata1: lost interrupt (Status 0x50)
sd 0:0:0:0: [sda] Unhandled error code
sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x06
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
<snip>

Then, I can see /dev/sda but not /dev/sda1 (the partition actually exists).
I can get hard drive informations with hdparm -i and -I.

While browsing the web, I found the following message with the same kind of
errors:
http://linux.derkeiler.com/Mailing-Lists/Kernel/2009-03/msg08159.html

It is said that "the sata is only supported up to 2.6.25.7". Is it true for
all PowerPCs or only for 460EX CPU?

If SATA should work with 2.6.30.4, may I ask you to take a look to my config
file? (http://pastebin.com/f16067607)


Thanks,

Olivier

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

end of thread, other threads:[~2009-08-14 11:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-14 10:49 [SATA] Does SATA work with kernel > v2.6.25.7? Olivier Croset
2009-08-14 11:33 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).