Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131534

Summary: ACPI errors with kernel 2.6.16 (~amd64) up to 2.6.16.11 and 2.6.17-rc3
Product: Gentoo Linux Reporter: Carlo Marcelo Arenas Belon <carenas>
Component: [OLD] Core systemAssignee: Daniel Drake (RETIRED) <dsd>
Status: RESOLVED FIXED    
Severity: normal CC: kernel
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
URL: http://www.kernel.org/git/?p=linux/kernel/git/lenb/linux-acpi-2.6.git;a=commitdiff;h=52fc0b026e99b5d5d585095148d997d5634bbc25
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: acpi-handle-null-flood.patch
nsxfeval.c changes as part of acpica-20060210
snippet from nsxfeval.c changes part of acpica-20060210

Description Carlo Marcelo Arenas Belon 2006-04-27 23:17:13 UTC
triggered because of compilation problems of the DST and triggering the following errors :

Apr 16 23:20:25 laptop ACPI Error (nsxfeval-0242): Handle is NULL and Pathname i
s relative [20060127]
Apr 16 23:20:25 laptop ACPI Error (nsxfeval-0242): Handle is NULL and Pathname i
s relative [20060127]
Apr 16 23:20:25 laptop ACPI Error (nsxfeval-0242): Handle is NULL and Pathname i
s relative [20060127]
Apr 16 23:20:25 laptop ACPI Error (nsxfeval-0242): Handle is NULL and Pathname i
s relative [20060127]

as explained here :

http://www.ussg.iu.edu/hypermail/linux/kernel/0602.1/0692.html

the messages as bogus and had been fixed later as can be seen by the following patch :

http://www.kernel.org/git/?p=linux/kernel/git/lenb/linux-acpi-2.6.git;a=commitdiff_plain;h=52fc0b026e99b5d5d585095148d997d5634bbc25;hp=46358614ed5b031797522f1020e989c959a8d8a6

adding this patch to the gentoo provided patches, until it gets applied upstream (should had been part of this pull: http://lkml.org/lkml/2006/4/3/228 but it is still not applied as of 2.6.16-rc3) would prevent this issue to be raised and investigated further for all users running a 2.6.16 kernel the least.
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2006-04-28 16:22:59 UTC
Created attachment 85710 [details, diff]
acpi-handle-null-flood.patch

That patch is too large to include. Please confirm that this smaller one resolves your problem.
Comment 2 Carlo Marcelo Arenas Belon 2006-04-28 23:56:35 UTC
proposed patch confirmed to work.

i agree that a proposed fix shouldn't apply the full patch, but only the following snippet (composed mostly of formatting and other null changes) from that patch :

file:a95f636dc35d454e16865732cff8e4c57ab3731f -> file:71e7769d7dafcf66653cbb0d9ebb0f9e34c9b9c7

and obtained by doing (attached, even if i keep thinking there should be an easier way to get it)

mkdir -p ~a/drivers/acpi/namespace
git-cat-file blob a95f636dc35d454e16865732cff8e4c57ab3731f > ~/a/drivers/acpi/namespace/nsxfeval.c
mkdir -p ~/b/drivers/acpi/namespace
git-cat-file blob 71e7769d7dafcf66653cbb0d9ebb0f9e34c9b9c7 > ~/b/drivers/acpi/namespace/nsxfeval.c
cd
diff -urp a b > acpica-20060210-nsxfeval.patch
rm -rf a b

or the corresponding snippet from that patch (attached as acpica-20060210-nsxfeval-debug.patch), and this way preventing future merge conflicts or divergent code from upstream.

sadly on that line, confirmed with Len (the Linux ACPI maintainer) that this patchset won't be merged upstream until 2.6.18 the least.
Comment 3 Carlo Marcelo Arenas Belon 2006-04-28 23:58:02 UTC
Created attachment 85733 [details, diff]
nsxfeval.c changes as part of acpica-20060210
Comment 4 Carlo Marcelo Arenas Belon 2006-04-28 23:59:02 UTC
Created attachment 85735 [details, diff]
snippet from nsxfeval.c changes part of acpica-20060210
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2006-04-29 04:02:44 UTC
We'll only take whats necessary, the larger patch contains other code changes (and actually would increase the chance of conflict).

Thanks for testing.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-05-02 03:51:17 UTC
Fixed in gentoo-sources-2.6.16-r5 (genpatches-2.6.16-7)