Re: READ LOG DMA EXT failed, trying unqueued

From: Martin K. Petersen
Date: Tue May 19 2015 - 07:49:23 EST


>>>>> "Sergey" == Sergey Senozhatsky <sergey.senozhatsky@xxxxxxxxx> writes:

Sergey> Hello, my laptop doesn't boot anymore, spinning in "READ LOG DMA
Sergey> EXT failed, trying unqueued". any reason it loops forever?

Does the patch below help?

Also, please let us know which drive you have and send us the output of:

# smartctl -l gplog,0x13 /dev/sdN

Thanks!

--
Martin K. Petersen Oracle Linux Engineering


diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c
index 2893563d0537..2b370ee0ae86 100644
--- a/drivers/ata/libata-eh.c
+++ b/drivers/ata/libata-eh.c
@@ -1521,6 +1521,7 @@ retry:
} else {
tf.command = ATA_CMD_READ_LOG_EXT;
tf.protocol = ATA_PROT_PIO;
+ dma = false;
}
tf.lbal = log;
tf.lbam = page;


--
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/