Bug 14379

Summary: ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String
Product: ACPI Reporter: Rafael J. Wysocki (rjw)
Component: ACPICA-CoreAssignee: acpi_acpica-core (acpi_acpica-core)
Status: CLOSED CODE_FIX    
Severity: normal CC: acpi-bugzilla, cornogle, lenb, Robert.Moore
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.32-rc Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 14230    
Attachments: Silence _BIF warn patch
bisectlog

Description Rafael J. Wysocki 2009-10-11 20:54:15 UTC
Subject    : ACPI Warning for \_SB_.BAT0._BIF: Converted Buffer to expected String at index 9 (20090903/nsrepair-132)
Submitter  : Justin Mattock <justinmattock@gmail.com>
Date       : 2009-10-08 21:46
References : http://marc.info/?l=linux-kernel&m=125504031328941&w=4

This entry is being used for tracking a regression from 2.6.31.  Please don't
close it until the problem is fixed in the mainline.
Comment 1 Alexey Starikovskiy 2009-10-11 21:46:16 UTC
Created attachment 23347 [details]
Silence _BIF warn patch

please check this patch
Comment 2 Justin P. Mattock 2009-10-12 03:18:21 UTC
Created attachment 23354 [details]
bisectlog

here is the results of git bisect:

d9adc2e031bd22d5d9607a53a8d3b30e0b675f39 is the first bad commit
commit d9adc2e031bd22d5d9607a53a8d3b30e0b675f39
Author: Lin Ming <ming.m.lin@intel.com>
Date:   Mon Jul 27 11:31:10 2009 +0800

    ACPICA: reformat predefined method table, no functional change
    
    Reformatted the methods that return package objects.
    
    Signed-off-by: Lin Ming <ming.m.lin@intel.com>
    Signed-off-by: Len Brown <len.brown@intel.com>

:040000 040000 17c30a6e75ce2fafc677b32bdcf3fbecae8458ab f43e38a2a4034bcc73ef14943e61187f11b08731 M      drivers

I will try and plugin individual commits to narrow this down when I get a chance.
Comment 3 Rafael J. Wysocki 2009-10-12 21:05:14 UTC
First-Bad-Commit : d9adc2e031bd22d5d9607a53a8d3b30e0b675f39
Comment 4 Rafael J. Wysocki 2009-10-12 21:56:03 UTC
Handled-By : Alexey Starikovskiy <astarikovskiy@suse.de>
Patch : http://bugzilla.kernel.org/attachment.cgi?id=23347
Comment 5 Robert Moore 2009-10-12 21:59:01 UTC
The warnings can be safely ignored. The driver handles these cases correctly.
Comment 6 Robert Moore 2009-10-14 13:06:04 UTC
Please post the acpidump for the machine so we can examine the _BIF method.
Comment 7 Rafael J. Wysocki 2009-11-17 22:27:09 UTC
On Tuesday 17 November 2009, Justin P. Mattock wrote:
> Rafael J. Wysocki wrote:
> > This message has been generated automatically as a part of a report
> > of recent regressions.
> >
> > The following bug entry is on the current list of known regressions
> > from 2.6.31.  Please verify if it still should be listed and let me know
> > (either way).
> >
> >
> > Bug-Entry   : http://bugzilla.kernel.org/show_bug.cgi?id=14379
> > Subject             : ACPI Warning for _SB_.BAT0._BIF: Converted Buffer to
> expected String
> > Submitter   : Justin Mattock<justinmattock@gmail.com>
> > Date                : 2009-10-08 21:46 (40 days old)
> > References  : http://marc.info/?l=linux-kernel&m=125504031328941&w=4
> > Handled-By  : Alexey Starikovskiy<astarikovskiy@suse.de>
> > Patch               : http://bugzilla.kernel.org/attachment.cgi?id=23347
> >
> >
> >
> >    
> o.k. just pulled the latest to see, and
> the warning message is there.
> so yes this bug report should be open
> until this is fixed.
Comment 8 Len Brown 2009-11-25 02:35:46 UTC
patch in comment #1 is applied to the acpi tree
Comment 9 Christian Hartmann 2009-12-01 10:29:22 UTC
pulled and build just now a fresh kernel today from linus/2.6.git.

Linux oddysseus 2.6.32-rc8a #7 Tue Dec 1 10:24:42 CET 2009 i686 GNU/Linux

No "ACPI Warning for" messages anymore. Looks good.