Re: [2/6] 2.6.21-rc2: known regressions

From: Ingo Molnar
Date: Thu Mar 08 2007 - 14:28:32 EST



* Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> > 2. First disk access after resume takes a couple of minutes
> > (seemed instant with 2.6.20) during this time no new messages
> > show on console
>
> Yeah, there is some problem with SATA resume. It would be beautiful if
> the people who actually see this could narrow it down with bisection.
> "It works for me" is clearly the case for many people, but not all.

Thomas found a new twist to this today: applying the patch below (which
turns on ATA_DEBUG) made the SATA problem go away on his laptop.
Michael, could you try this patch, does it change the behavior of your
laptop in any way?

Ingo

---
include/linux/libata.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/include/linux/libata.h
===================================================================
--- linux.orig/include/linux/libata.h
+++ linux/include/linux/libata.h
@@ -51,7 +51,7 @@
* compile-time options: to be removed as soon as all the drivers are
* converted to the new debugging mechanism
*/
-#undef ATA_DEBUG /* debugging output */
+#define ATA_DEBUG 1 /* debugging output */
#undef ATA_VERBOSE_DEBUG /* yet more debugging output */
#undef ATA_IRQ_TRAP /* define to ack screaming irqs */
#undef ATA_NDEBUG /* define to disable quick runtime checks */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/