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

Ingo Molnar
2007-03-08T19:28:15Z

* Linus Torvalds <torvalds@linux-foundation.org> 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 */