Re: SATA Cold Boot problems on >2.6.25 with NV

From: Tejun Heo
Date: Mon Sep 01 2008 - 07:20:04 EST


Konstantin Kletschke wrote:
>> when ATAPI CHECK SENSE handling somehow failed to tell EH that it was an
>> exception not worth whining about. Maybe EH action mask is not being
>> cleared properly?
>
> Hmn, to take my pants down entirely: What is this "EH"?

libata EH == libatata exception handling.

> And how does the change of the .reset function affect this? May be, I
> will take a look onto this.

Your controller is raising exception continuously for some reason.
Have no idea yet.

Can you please apply the attached patch and post the resulting dmesg?

--
tejun
---
drivers/ata/libata-eh.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Index: tree0/drivers/ata/libata-eh.c
===================================================================
--- tree0.orig/drivers/ata/libata-eh.c
+++ tree0/drivers/ata/libata-eh.c
@@ -1890,8 +1890,8 @@ static void ata_eh_link_report(struct at
nr_failed++;
}

- if (!nr_failed && !ehc->i.err_mask)
- return;
+ //if (!nr_failed && !ehc->i.err_mask)
+ // return;

frozen = "";
if (ap->pflags & ATA_PFLAG_FROZEN)