linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Levente Kurusa <levex@linux.com>
To: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>,
	linux-ide@vger.kernel.org
Subject: Re: Unexpected _GTF length (8)
Date: Sun, 22 Sep 2013 08:25:11 +0200	[thread overview]
Message-ID: <523E8D47.8040909@linux.com> (raw)
In-Reply-To: <CAMeQTsby_CoGq1xAKUEVg_yWyqSSMjfSf6gWWzFRR+-znpPVbw@mail.gmail.com>

2013-09-22 03:56 keltezéssel, Patrik Jakobsson írta:
> Hi,
>
> I've just got myself a MacBook Air 2013 and started looking at the dmesg output
> for 3.12-rc1 where I found this:
>
> ata1.00: unexpected _GTF length (8)
>
> The condition in libata-acpi.c that triggers this is:
>
> if (out_obj->buffer.length % REGS_PER_GTF)
>
> Where REGS_PER_GTF is defined as 7 which is correct according to ACPI specs.
> Since I'm getting a length of 8 I started digging in the ACPI code and found
> that the length is rounded up to acpi_size (u32 or u64 depending on arch). I
> cannot find any commits that recently touched this though I didn't really dig
> through it all.
>
> I've disassembled the SSDT for the "SataAhci" and everything looks ok. That
> code returns a 56 bit buffer. I also tried calling the _GTF method manually
> which returned the following (padded to 8 bytes by the ACPI code ofc).
>
> {0x10, 0x03, 0x00, 0x00, 0x00, 0xa0, 0xef, 0x00}
>
> Doing a quick google search gives me a few of these _GTF length errors dating
> back to at least 2011. What's going on here? Is this a known error?
>
> Thanks
> Patrik Jakobsson
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Hi,

Can you please post the outputs of dmesg and smartctl?
Maybe hdparm -I as well.
These information would greatly help us, in addition to those you
have supplied.

--
Regards,
Levente Kurusa

  reply	other threads:[~2013-09-22  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22  1:56 Unexpected _GTF length (8) Patrik Jakobsson
2013-09-22  6:25 ` Levente Kurusa [this message]
2013-09-22 15:06   ` Patrik Jakobsson
2013-09-22 15:59 ` Tejun Heo
2013-09-22 17:09   ` Patrik Jakobsson

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=523E8D47.8040909@linux.com \
    --to=levex@linux.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=patrik.r.jakobsson@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).