From: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
To: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>,
Hannes Reinecke <hare@suse.de>, Tejun Heo <tj@kernel.org>,
linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org,
Sergey Senozhatsky <sergey.senozhatsky.work@gmail.com>
Subject: Re: READ LOG DMA EXT failed, trying unqueued
Date: Tue, 19 May 2015 21:05:08 +0900 [thread overview]
Message-ID: <20150519120508.GB390@swordfish> (raw)
In-Reply-To: <yq1wq04kcso.fsf@sermon.lab.mkp.net>
Hello,
On (05/19/15 07:49), Martin K. Petersen wrote:
> Does the patch below help?
I think it should, I'll test it.
> Also, please let us know which drive you have and send us the output of:
>
> # smartctl -l gplog,0x13 /dev/sdN
>
hm...
sudo smartctl -l gplog,0x13 /dev/sda1
smartctl 6.3 2014-07-26 r3976 [x86_64-linux-4.1.0-rc3-dbg-00347-g0a60060-dirty] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
General Purpose Log 0x13 does not exist (override with '-T permissive' option)
fwiw, I did `dmesg | grep -i ata`
[ 0.472463] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 6 Gbps 0x10 impl SATA mode
[ 0.476304] ata1: DUMMY
[ 0.476391] ata2: DUMMY
[ 0.476478] ata3: DUMMY
[ 0.476565] ata4: DUMMY
[ 0.476654] ata5: SATA max UDMA/133 abar m2048@0xf7a1a000 port 0xf7a1a300 irq 30
[ 0.795403] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 0.798156] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 0.798160] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 0.798290] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 0.798696] ata5.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 0.798699] ata5.00: ATA-9: SAMSUNG MZMTE256HMHP-000, EXT49K0Q, max UDMA/133
[ 0.798821] ata5.00: 500118192 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[ 0.799576] ata5.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[ 0.799581] ata5.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[ 0.799705] ata5.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[ 0.800109] ata5.00: failed to get NCQ Send/Recv Log Emask 0x1
[ 0.800115] ata5.00: configured for UDMA/133
[ 0.800753] scsi 4:0:0:0: Direct-Access ATA SAMSUNG MZMTE256 9K0Q PQ: 0 ANSI: 5
it's a SAMSUNG MZMTE256 9K0Q.
-ss
>
> 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;
>
>
next prev parent reply other threads:[~2015-05-19 12:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 11:33 READ LOG DMA EXT failed, trying unqueued Sergey Senozhatsky
2015-05-19 11:49 ` Martin K. Petersen
2015-05-19 12:05 ` Sergey Senozhatsky [this message]
2015-05-19 12:10 ` Sergey Senozhatsky
2015-05-19 12:00 ` Sergey Senozhatsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150519120508.GB390@swordfish \
--to=sergey.senozhatsky@gmail.com \
--cc=hare@suse.de \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=sergey.senozhatsky.work@gmail.com \
--cc=tj@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.