public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
@ 2008-10-25  7:21 Maciej Rutecki
  2008-10-25 10:59 ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Maciej Rutecki @ 2008-10-25  7:21 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: linux-acpi, lenb, fabio.comolli, Rafael J. Wysocki

During suspend to ram I have this message:

ACPI Warning (nspredef-0852): \_WAK: Return type mismatch - found
Integer, expected Package [20080926]

s2ram seems works OK

dmesg, acpidump:
http://unixy.pl/maciek/download/kernel/2.6.28-rc1_wak/

-- 
Maciej Rutecki
http://www.maciek.unixy.pl

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25  7:21 [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...] Maciej Rutecki
@ 2008-10-25 10:59 ` Rafael J. Wysocki
  2008-10-25 11:43   ` Henrique de Moraes Holschuh
  0 siblings, 1 reply; 8+ messages in thread
From: Rafael J. Wysocki @ 2008-10-25 10:59 UTC (permalink / raw)
  To: Maciej Rutecki; +Cc: Linux Kernel Mailing List, linux-acpi, lenb, fabio.comolli

On Saturday, 25 of October 2008, Maciej Rutecki wrote:
> During suspend to ram I have this message:
> 
> ACPI Warning (nspredef-0852): \_WAK: Return type mismatch - found
> Integer, expected Package [20080926]
> 
> s2ram seems works OK
> 
> dmesg, acpidump:
> http://unixy.pl/maciek/download/kernel/2.6.28-rc1_wak/

IMO it's yet another incarnation of
http://bugzilla.kernel.org/show_bug.cgi?id=11822

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25 10:59 ` Rafael J. Wysocki
@ 2008-10-25 11:43   ` Henrique de Moraes Holschuh
  0 siblings, 0 replies; 8+ messages in thread
From: Henrique de Moraes Holschuh @ 2008-10-25 11:43 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Maciej Rutecki, Linux Kernel Mailing List, linux-acpi, lenb,
	fabio.comolli

On Sat, 25 Oct 2008, Rafael J. Wysocki wrote:
> On Saturday, 25 of October 2008, Maciej Rutecki wrote:
> > During suspend to ram I have this message:
> > 
> > ACPI Warning (nspredef-0852): \_WAK: Return type mismatch - found
> > Integer, expected Package [20080926]
> > 
> > s2ram seems works OK
> > 
> > dmesg, acpidump:
> > http://unixy.pl/maciek/download/kernel/2.6.28-rc1_wak/
> 
> IMO it's yet another incarnation of
> http://bugzilla.kernel.org/show_bug.cgi?id=11822

If this is an outright violation of the ACPI spec, let me know (and if
possible, please tell me the spec page).  This is the kind of thing I expect
it would be a no-brainer to get Lenovo to fix with a BIOS update.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
       [not found]   ` <fa.Rzh43vSl9NX1QQ2nOYQSgEJcZAw@ifi.uio.no>
@ 2008-10-25 17:10     ` Robert Hancock
  2008-10-25 18:04       ` Rafael J. Wysocki
  0 siblings, 1 reply; 8+ messages in thread
From: Robert Hancock @ 2008-10-25 17:10 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh
  Cc: Rafael J. Wysocki, Maciej Rutecki, Linux Kernel Mailing List,
	linux-acpi, lenb, fabio.comolli

Henrique de Moraes Holschuh wrote:
> On Sat, 25 Oct 2008, Rafael J. Wysocki wrote:
>> On Saturday, 25 of October 2008, Maciej Rutecki wrote:
>>> During suspend to ram I have this message:
>>>
>>> ACPI Warning (nspredef-0852): \_WAK: Return type mismatch - found
>>> Integer, expected Package [20080926]
>>>
>>> s2ram seems works OK
>>>
>>> dmesg, acpidump:
>>> http://unixy.pl/maciek/download/kernel/2.6.28-rc1_wak/
>> IMO it's yet another incarnation of
>> http://bugzilla.kernel.org/show_bug.cgi?id=11822
> 
> If this is an outright violation of the ACPI spec, let me know (and if
> possible, please tell me the spec page).  This is the kind of thing I expect
> it would be a no-brainer to get Lenovo to fix with a BIOS update.

I don't think this is the same issue, but in both cases it looks like 
the BIOS AML code is wrong (just judging from the output, haven't looked 
at the dump yet). _WAK is supposed to return a package of 2 DWORD 
values, a bit field of conditions that occurred during sleep, and the 
effective S-state the system actually entered (section 7.3.7 of the ACPI 
3.0 spec). Presumably the BIOS is returning a single integer.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25 17:10     ` Robert Hancock
@ 2008-10-25 18:04       ` Rafael J. Wysocki
  2008-10-25 18:51         ` Maciej Rutecki
  2008-11-30  5:03         ` Len Brown
  0 siblings, 2 replies; 8+ messages in thread
From: Rafael J. Wysocki @ 2008-10-25 18:04 UTC (permalink / raw)
  To: Robert Hancock
  Cc: Henrique de Moraes Holschuh, Maciej Rutecki,
	Linux Kernel Mailing List, linux-acpi, lenb, fabio.comolli

On Saturday, 25 of October 2008, Robert Hancock wrote:
> Henrique de Moraes Holschuh wrote:
> > On Sat, 25 Oct 2008, Rafael J. Wysocki wrote:
> >> On Saturday, 25 of October 2008, Maciej Rutecki wrote:
> >>> During suspend to ram I have this message:
> >>>
> >>> ACPI Warning (nspredef-0852): \_WAK: Return type mismatch - found
> >>> Integer, expected Package [20080926]
> >>>
> >>> s2ram seems works OK
> >>>
> >>> dmesg, acpidump:
> >>> http://unixy.pl/maciek/download/kernel/2.6.28-rc1_wak/
> >> IMO it's yet another incarnation of
> >> http://bugzilla.kernel.org/show_bug.cgi?id=11822
> > 
> > If this is an outright violation of the ACPI spec, let me know (and if
> > possible, please tell me the spec page).  This is the kind of thing I expect
> > it would be a no-brainer to get Lenovo to fix with a BIOS update.
> 
> I don't think this is the same issue, but in both cases it looks like 
> the BIOS AML code is wrong (just judging from the output, haven't looked 
> at the dump yet). _WAK is supposed to return a package of 2 DWORD 
> values, a bit field of conditions that occurred during sleep, and the 
> effective S-state the system actually entered (section 7.3.7 of the ACPI 
> 3.0 spec). Presumably the BIOS is returning a single integer.

The underlying issue is we've never reported such BIOS bugs before and now we
do that unconditionally.  IMnshO, this should only be done if ACPI debugging is
enabled.

While I can see a value in doing that always, IMO such a change should only be
made after a big announcement.

Thanks,
Rafael

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25 18:04       ` Rafael J. Wysocki
@ 2008-10-25 18:51         ` Maciej Rutecki
  2008-10-27 20:19           ` Maciej Rutecki
  2008-11-30  5:03         ` Len Brown
  1 sibling, 1 reply; 8+ messages in thread
From: Maciej Rutecki @ 2008-10-25 18:51 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Robert Hancock, Henrique de Moraes Holschuh,
	Linux Kernel Mailing List, linux-acpi, lenb, fabio.comolli

Suspend to ram, but another machine (previous PC, now laptop) and
another problem:

ACPI: EC: missing confirmations, switch off interrupt mode.
ACPI Exception (evregion-0419): AE_TIME, Returned by Handler for
[EmbeddedControl] [20080926]
ACPI Error (psparse-0524): Method parse/execution failed [\_TZ_.C31E]
(Node f7019858), AE_TIME
ACPI Error (psparse-0524): Method parse/execution failed
[\_TZ_.TZ3_._TMP] (Node f7019ed0), AE_TIME

It doesn't happened immediately after s2ram but is correlation between
s2ram and this error.

Thermal zone seems OK (fan works)

Dmesg, acpidump:
http://unixy.pl/maciek/download/kernel/2.6.28-rc1_tz/

Regards
-- 
Maciej Rutecki
http://www.maciek.unixy.pl

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25 18:51         ` Maciej Rutecki
@ 2008-10-27 20:19           ` Maciej Rutecki
  0 siblings, 0 replies; 8+ messages in thread
From: Maciej Rutecki @ 2008-10-27 20:19 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Robert Hancock, Henrique de Moraes Holschuh,
	Linux Kernel Mailing List, linux-acpi, lenb, fabio.comolli

2008/10/25 Maciej Rutecki <maciej.rutecki@gmail.com>:
> Suspend to ram, but another machine (previous PC, now laptop) and
> another problem:
>
> ACPI: EC: missing confirmations, switch off interrupt mode.
> ACPI Exception (evregion-0419): AE_TIME, Returned by Handler for
> [EmbeddedControl] [20080926]
> ACPI Error (psparse-0524): Method parse/execution failed [\_TZ_.C31E]
> (Node f7019858), AE_TIME
> ACPI Error (psparse-0524): Method parse/execution failed
> [\_TZ_.TZ3_._TMP] (Node f7019ed0), AE_TIME
>
> It doesn't happened immediately after s2ram but is correlation between
> s2ram and this error.

I was wrong; it happens not only after suspend to ram but sometimes
after normal boot.


-- 
Maciej Rutecki
http://www.maciek.unixy.pl

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...]
  2008-10-25 18:04       ` Rafael J. Wysocki
  2008-10-25 18:51         ` Maciej Rutecki
@ 2008-11-30  5:03         ` Len Brown
  1 sibling, 0 replies; 8+ messages in thread
From: Len Brown @ 2008-11-30  5:03 UTC (permalink / raw)
  To: Rafael J. Wysocki
  Cc: Robert Hancock, Henrique de Moraes Holschuh, Maciej Rutecki,
	Linux Kernel Mailing List, linux-acpi, fabio.comolli


> The underlying issue is we've never reported such BIOS bugs before and now we
> do that unconditionally.  IMnshO, this should only be done if ACPI debugging is
> enabled.
> 
> While I can see a value in doing that always, IMO such a change should only be
> made after a big announcement.

I agree that we were aggressive in shipping this checking in 2.6.28-rc.

The checking has no functional effect, except to issue a console warning,
so I figured it had limited down-side.

It actually paid off almost immediately by pointing out why
a Linux bug was provoked on jejb's test box.

I had figured on making it CONFIG_ACPI_DEBUG for the
final release, but at this point we've seen only the
_BIF and _WAK warnings -- and they're both dealt with
via the patches queued for Linus.

So at this point, I'm inclined to keep this checking enabled in
2.6.28-final, independent of CONFIG_ACPI_DEBUG.

-Len




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-11-30  5:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-25  7:21 [Re: Linux 2.6.28-rc1] ACPI Warning (nspredef-0852)[...] Maciej Rutecki
2008-10-25 10:59 ` Rafael J. Wysocki
2008-10-25 11:43   ` Henrique de Moraes Holschuh
     [not found] <fa.1HaqObZirROiyqr922A7hRDVc54@ifi.uio.no>
     [not found] ` <fa.SvX6X2rOJRj5l1wwqyz6iNq7qHU@ifi.uio.no>
     [not found]   ` <fa.Rzh43vSl9NX1QQ2nOYQSgEJcZAw@ifi.uio.no>
2008-10-25 17:10     ` Robert Hancock
2008-10-25 18:04       ` Rafael J. Wysocki
2008-10-25 18:51         ` Maciej Rutecki
2008-10-27 20:19           ` Maciej Rutecki
2008-11-30  5:03         ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox