[LinuxBIOS] [PATCH] fix port 0 on sata controller 0 for ck804 based boards
ward at gnu.org
Sat Dec 8 22:55:04 CET 2007
On Sun, Nov 18, 2007 at 03:09:13AM +0100, Uwe Hermann wrote:
> On Thu, Nov 15, 2007 at 03:44:07PM -0500, Ward Vandewege wrote:
> > The ck804 code in the LB tree does not properly initialize all SATA ports.
> > The situation is currently as follows for boards with 4 SATA ports:
> > * sata controller 0: both ports 100% dead (no drives detected)
> > * sata controller 1: port 0 ok; port 1 sees drive but times out when trying
> > to access it
> Can you elaborate how you tested this?
Uhm, boot with 4 drives in the machine? It's immediately obvious from the
boot logs (and the long delays for the drives that are half-detected).
> Here's what I was able to test on the ASUS A8N-E. The ports are numbered 1-4
> on the PCB, not sure how that maps to your numbers above. I used a 40 GB
> SATA disk with 'IDE_DISK_POLL_DELAY = 1' in FILO as well as the 5
> seconds spin-up delay patch from the wiki.
> Without patches:
> - Port 1, 2 don't work.
> - Port 3: Works (hde in FILO), I can boot from the SATA disk.
> - Port 4: Works (hdg in FILO), I can boot from the SATA disk.
> No change in behaviour with your patch applied. Ports 1/2 broken, 3/4 work.
Did you check that the SATA controller PCI ids are the same?
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator
More information about the coreboot