NetBSD Problem Report #40676

From www@NetBSD.org  Tue Feb 17 15:36:24 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 828A763BB35
	for <gnats-bugs@gnats.netbsd.org>; Tue, 17 Feb 2009 15:36:24 +0000 (UTC)
Message-Id: <20090217153624.23AF063BAB8@narn.NetBSD.org>
Date: Tue, 17 Feb 2009 15:36:24 +0000 (UTC)
From: oshima-ya@yagoto-urayama.jp
Reply-To: oshima-ya@yagoto-urayama.jp
To: gnats-bugs@NetBSD.org
Subject: ACPI Exception AE_AML_NO_OPERAND when booting on VAIO P
X-Send-Pr-Version: www-1.0

>Number:         40676
>Category:       port-i386
>Synopsis:       ACPI Exception AE_AML_NO_OPERAND when booting on VAIO P
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    jmcneill
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 17 15:40:00 +0000 2009
>Closed-Date:    Tue Feb 24 02:51:04 +0000 2009
>Last-Modified:  Tue Feb 24 02:51:04 +0000 2009
>Originator:     Yasushi Oshima
>Release:        NetBSD 5.99.7
>Organization:
>Environment:
NetBSD vaiop 5.99.7 NetBSD 5.99.7 (GENERIC) #0: Wed Feb 11 00:42:39 JST 2009
	oshima@sweety:/export/current/src/sys/arch/i386/compile/GENERIC

>Description:
When boot GENERIC kernel on my VAIO P, the following error occurs.

ACPI Exception (tbxface-0657): AE_AML_NO_OPERAND, While loading namespace from ACPI tables [20080321]
ACPI: unable to load tables: AE_AML_NO_OPERAND

After that, many devices cannot be detected, and then hangup.
it is the same in NetBSD 5.0RC2.

However in NetBSD 4.0,  It normally detects.

acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <  Sony,    VAIO,20081208>, AslId <    ,01000013>
acpi0: SCI interrupting at int 9

>How-To-Repeat:
Boot current or netbsd-5 kernel with acpi on VAIO P
>Fix:
This is an acpica's bug.

See http://bugzilla.kernel.org/show_bug.cgi?id=10606

Fix patch:

diff -u -r1.4 sys/dist/acpica/dsfield.c
--- sys/dist/acpica/dsfield.c   12 Apr 2008 16:16:07 -0000      1.4
+++ sys/dist/acpica/dsfield.c
@@ -561,11 +561,6 @@
         return_ACPI_STATUS (AE_BAD_PARAMETER);
     }

-    if (!Arg)
-    {
-        return_ACPI_STATUS (AE_AML_NO_OPERAND);
-    }
-
     /* Creating new namespace node(s), should not already exist */

     Flags = ACPI_NS_NO_UPSEARCH | ACPI_NS_DONT_OPEN_SCOPE |


the boot messages is as follows:

acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <  Sony,    VAIO,20081208>, AslId <    ,01000013>
acpi0: SCI interrupting at int 9

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-i386-maintainer->jmcneill
Responsible-Changed-By: jmcneill@NetBSD.org
Responsible-Changed-When: Tue, 17 Feb 2009 23:32:37 +0000
Responsible-Changed-Why:
I'll take it.


From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40676 CVS commit: src/sys/dist/acpica
Date: Tue, 17 Feb 2009 23:34:19 +0000 (UTC)

 Module Name:	src
 Committed By:	jmcneill
 Date:		Tue Feb 17 23:34:19 UTC 2009

 Modified Files:
 	src/sys/dist/acpica: dsfield.c

 Log Message:
 PR# port-i386/40676: ACPI Exception AE_AML_NO_OPERAND when booting on VAIO P

 Fix to allow zero-length ASL field declarations:

   http://bugzilla.kernel.org/show_bug.cgi?id=10606


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.5 src/sys/dist/acpica/dsfield.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->pending-pullups
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 17 Feb 2009 23:38:54 +0000
State-Changed-Why:
Pullup requested.


From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/40676 CVS commit: [netbsd-5] src/sys/dist/acpica
Date: Tue, 24 Feb 2009 02:45:21 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Tue Feb 24 02:45:21 UTC 2009

 Modified Files:
 	src/sys/dist/acpica [netbsd-5]: dsfield.c

 Log Message:
 Pull up following revision(s) (requested by jmcneill in ticket #472):
 	sys/dist/acpica/dsfield.c: revision 1.5
 PR port-i386/40676: ACPI Exception AE_AML_NO_OPERAND when booting on VAIO P
 Fix to allow zero-length ASL field declarations:
   http://bugzilla.kernel.org/show_bug.cgi?id=10606


 To generate a diff of this commit:
 cvs rdiff -r1.4 -r1.4.14.1 src/sys/dist/acpica/dsfield.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 24 Feb 2009 02:51:04 +0000
State-Changed-Why:
Pulled up to NetBSD 5.0.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.