public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Lin Ming <ming.m.lin@intel.com>
To: Miles Lane <miles.lane@gmail.com>
Cc: ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>, Len Brown <lenb@kernel.org>,
	"rui.zhang" <rui.zhang@intel.com>
Subject: Re: 2.6.33-rc5-git2 -- ACPI Error: Attempt to CreateField of length zero (20091214/dsopcode-529)
Date: Wed, 27 Jan 2010 16:04:36 +0800	[thread overview]
Message-ID: <1264579476.7187.56.camel@minggr.sh.intel.com> (raw)
In-Reply-To: <efbf743b1001270005v301dbe34ia65b63973e761e8@mail.gmail.com>


> From: Miles Lane <miles.lane@gmail.com>
> Date: Wed, Jan 27, 2010 at 2:54 PM
> Subject: 2.6.33-rc5-git2 -- ACPI Error: Attempt to CreateField of
> length zero (20091214/dsopcode-529)
> To: ACPI Devel Maling List <linux-acpi@vger.kernel.org>, LKML
> <linux-kernel@vger.kernel.org>, Len Brown <lenb@kernel.org>
> 
> 
> I am not sure how much of this is due to a single cause.  Please let
> me know if you'd like me to send separate reports.
> 
> ACPI: EC: GPE = 0x1b, I/O: command/status = 0x66, data = 0x62
> ACPI Warning: Incorrect checksum in table [ATKG] - FA, should be 05
> (20091214/tbutils-314)
> 
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ACPI Error: Attempt to CreateField of length zero (20091214/dsopcode-529)
> ACPI Error (psparse-0537): Method parse/execution failed
> [\_SB_.PCI0.IDE0.RATA] (Node ffff88013f81a9e0), AE_AML_OPERAND_VALUE
> ACPI Error (psparse-0537): Method parse/execution failed
> [\_SB_.PCI0.IDE0.PRT1._GTF] (Node ffff88013f81ab20),
> AE_AML_OPERAND_VALUE
> ata2.00: _GTF evaluation failed (AE 0x3004)
> ata2.00: ATAPI: MATSHITADVD-RAM UJ892AS, 1.00, max UDMA/100, ATAPI AN
> ACPI Error: Attempt to CreateField of length zero (20091214/dsopcode-529)
> ACPI Error (psparse-0537): Method parse/execution failed
> [\_SB_.PCI0.IDE0.RATA] (Node ffff88013f81a9e0), AE_AML_OPERAND_VALUE
> ACPI Error (psparse-0537): Method parse/execution failed
> [\_SB_.PCI0.IDE0.PRT1._GTF] (Node ffff88013f81ab20),
> AE_AML_OPERAND_VALUE
> ata2.00: _GTF evaluation failed (AE 0x3004)
> ata2.00: configured for UDMA/100
> scsi 1:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ892AS  1.00 PQ: 0 ANSI: 5
> 

>From the DSDT,

 2522                 Method (RATA, 1, NotSerialized)
 2523                 {
 2524                     CreateByteField (Arg0, Zero, CMDN)
 2525                     Multiply (CMDN, 0x38, Local0)
 2526                     CreateField (Arg0, 0x08, Local0, RETB)
 2527                     Store (RETB, Debug)
 2528                     Return (RETB)
 2529                 }

 2546                 Name (ATP1, Buffer (0x32) {})
 2547                 Device (PRT1)
 2548                 {
 2549                     Name (_ADR, 0x0001FFFF)
 2550                     Method (_SDD, 1, NotSerialized)
 2551                     {
 2552                         Store (AGTF (Zero, Arg0), ATP1)
 2553                     }
 2554 
 2555                     Method (_GTF, 0, NotSerialized)
 2556                     {
 2557                         Return (RATA (ATP1))
 2558                     }
 2559                 }

It seems that ATP1 is not set correctly in PRT1._SDD.
Then ATP1 is passed into RATA and CMDN is created with value zero.
That causes the error message.

Lin Ming


  parent reply	other threads:[~2010-01-27  8:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-27  6:54 2.6.33-rc5-git2 -- ACPI Error: Attempt to CreateField of length zero (20091214/dsopcode-529) Miles Lane
2010-01-27  7:01 ` Lin Ming
2010-01-27  7:15   ` Miles Lane
     [not found] ` <efbf743b1001270005v301dbe34ia65b63973e761e8@mail.gmail.com>
2010-01-27  8:04   ` Lin Ming [this message]
2010-01-27 12:43     ` Miles Lane
2010-01-28  3:12       ` Lin Ming

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=1264579476.7187.56.camel@minggr.sh.intel.com \
    --to=ming.m.lin@intel.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles.lane@gmail.com \
    --cc=rui.zhang@intel.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