Bug 5728 - Warning **** Large Reference Count - Asus A2500H laptop
Summary: Warning **** Large Reference Count - Asus A2500H laptop
Status: REJECTED INVALID
Alias: None
Product: ACPI
Classification: Unclassified
Component: ACPICA-Core (show other bugs)
Hardware: i386 Linux
: P2 low
Assignee: Lin Ming
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 01:44 UTC by Vincenzo Laurenziello
Modified: 2008-06-03 23:57 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.13
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
my dmesg (30.34 KB, text/plain)
2006-01-07 05:13 UTC, Vincenzo Laurenziello
Details
acpidump (71.12 KB, text/plain)
2006-01-07 05:15 UTC, Vincenzo Laurenziello
Details
madt (382 bytes, text/plain)
2006-01-07 05:16 UTC, Vincenzo Laurenziello
Details
dmesg -s400000 > dmesg_2.6.16-rc1 (14.85 KB, text/plain)
2006-01-25 05:27 UTC, Vincenzo Laurenziello
Details
dmesg -s400000 > dmesg_2.6.16-rc1 (14.85 KB, text/plain)
2006-01-25 05:36 UTC, Vincenzo Laurenziello
Details
dmidecode (12.51 KB, text/plain)
2006-01-25 05:40 UTC, Vincenzo Laurenziello
Details
lspci -vv (9.36 KB, text/plain)
2006-01-25 05:58 UTC, Vincenzo Laurenziello
Details
cat /proc/interrupts (639 bytes, text/plain)
2006-01-25 06:20 UTC, Vincenzo Laurenziello
Details
acpidump -o acpidump.log (71.12 KB, text/plain)
2006-01-25 06:22 UTC, Vincenzo Laurenziello
Details
i have selected the rows (117.44 KB, text/plain)
2006-01-25 13:46 UTC, Vincenzo Laurenziello
Details
This is my original DSDT (127.00 KB, text/plain)
2006-01-27 05:58 UTC, Vincenzo Laurenziello
Details
I edit the original DSDT (127.03 KB, text/plain)
2006-01-27 06:03 UTC, Vincenzo Laurenziello
Details
Max level Debug (928.10 KB, text/plain)
2006-02-01 00:50 UTC, Vincenzo Laurenziello
Details
Messages file from /var/log showing resume from suspend, acpi info & problem starting (143.62 KB, application/octet-stream)
2006-02-10 01:21 UTC, Hamish Marson
Details

Description Vincenzo Laurenziello 2005-12-12 01:44:41 UTC
Most recent kernel where this bug did not occur:
Distribution:Open Suse 10
Hardware Environment: Asus A2500H laptop
Software Environment: kde
Problem Description: in my dmesg appears many of this row:
ACPI-0404: *** Warning: **** Warning **** Large Reference Count (2AE2) in object
dffee580

Steps to reproduce:
enabling error & warning in kernel configuration!
Comment 1 Vincenzo Laurenziello 2005-12-12 01:49:14 UTC
probably it crash my laptop at "suspend time"!
Comment 2 Len Brown 2005-12-21 18:37:45 UTC
Please attach the output from acpidump, available in the latest pmtools:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/ 
Comment 3 Vincenzo Laurenziello 2006-01-03 07:38:36 UTC
sorry i have changed the kernel and with 2.6.14.5 no problem found. 
Comment 4 Vincenzo Laurenziello 2006-01-07 05:13:46 UTC
Created attachment 6952 [details]
my dmesg

dmesg -s64000
Comment 5 Vincenzo Laurenziello 2006-01-07 05:15:05 UTC
Created attachment 6953 [details]
acpidump

/usr/src/pmtools/acpidump/acpidump -o acpidump.log
Comment 6 Vincenzo Laurenziello 2006-01-07 05:16:58 UTC
Created attachment 6954 [details]
madt

/usr/src/pmtools/acpidump/acpidump | /usr/src/pmtools/acpidump/acpixtract APIC
| /usr/src/pmtools/madt/madt
Comment 7 Vincenzo Laurenziello 2006-01-07 05:18:05 UTC
these three files are created by a 2.6.15 version!
Comment 8 Len Brown 2006-01-23 09:10:14 UTC
thanks.  please re-open if you see this in 2.6.15 or later.
Comment 9 Vincenzo Laurenziello 2006-01-23 09:44:41 UTC
dmesg, acpidump and madt, that i attached in 7 gen of this year, are on 2.6.15!
Then i re-open it!
Comment 10 Vincenzo Laurenziello 2006-01-25 01:50:30 UTC
Hi!
I have patched my vanilla 2.6.15.1 whith acpi revision of 20050902... and it
don't work! :(
Comment 11 Vincenzo Laurenziello 2006-01-25 05:27:29 UTC
Created attachment 7128 [details]
 dmesg -s400000 > dmesg_2.6.16-rc1 

This is a dmesg with a vanilla 2.6.16-rc1 and only patch is  this:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.16/acpi-release-20060113-2.6.16-rc1.diff.bz2
Comment 12 Vincenzo Laurenziello 2006-01-25 05:36:37 UTC
Created attachment 7129 [details]
 dmesg -s400000 > dmesg_2.6.16-rc1 

This is dmesg -s400000 on a vanilla 2.6.16-rc1 (...the only patch is:
http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/patches/release/2.6.16/acpi-release-20060113-2.6.16-rc1.diff.bz2)
Comment 13 Vincenzo Laurenziello 2006-01-25 05:40:58 UTC
Created attachment 7130 [details]
dmidecode

dmidecode of my laptop
Comment 14 Vincenzo Laurenziello 2006-01-25 05:58:01 UTC
Created attachment 7131 [details]
lspci -vv

this is my lspci -vv
Comment 15 Vincenzo Laurenziello 2006-01-25 06:20:11 UTC
Created attachment 7133 [details]
cat /proc/interrupts

This is my /proc/interrupts
Comment 16 Vincenzo Laurenziello 2006-01-25 06:22:51 UTC
Created attachment 7135 [details]
acpidump -o acpidump.log

This is my acpidump
Comment 17 Robert Moore 2006-01-25 10:57:01 UTC
Need some idea of what is going on when the first such message appears. 
Increase the size of the dmesg buffer if necessary.
Comment 18 Vincenzo Laurenziello 2006-01-25 13:27:41 UTC
This is a little problem! I try to attach my /var/log/messages but it is very
big (~ 38 MByte)!
I view this file and for now, i understand that the reference number begin
*always* with 401
Comment 19 Vincenzo Laurenziello 2006-01-25 13:46:25 UTC
Created attachment 7150 [details]
i have selected the rows 

this is a cut of the original /var/log/messages
it show 4 start up of my laptop!
Comment 20 Robert Moore 2006-01-26 15:36:00 UTC
Jan 25 21:20:01 vinTux cron[8741]: (root) CMD (test -x /usr/sbin/run-crons 
&& /usr/sbin/run-crons )
Jan 25 21:20:13 vinTux ACPI Warning (utdelete-0376): Large Reference Count 
(401) in object c1bdd6b4

Are these two messages related?

It's difficult to see what is going on here. Obviously, something is executing 
ACPI code, but what? You may have to enable debug tracing in the ACPI code 
after the warning first appears.
Comment 21 Vincenzo Laurenziello 2006-01-27 05:48:37 UTC
no!
"/usr/sbin/run-crons" is a bash script... it execute one of this:
--
vinx@vinTux /etc $ ls cron*
cron.deny  crontab

cron.d:

cron.daily:
slocate

cron.hourly:

cron.monthly:

cron.weekly:
makewhatis
vinx@vinTux /etc $
--

Now, I make the kernel with a debug... precisely:
vinx@vinTux /usr/src/linux-2.6.15 $ cat .config |grep DEBUG |grep y
CONFIG_PM_DEBUG=y
CONFIG_ACPI_DEBUG=y
CONFIG_PCI_DEBUG=y
CONFIG_DEBUG_DRIVER=y
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
vinx@vinTux /usr/src/linux-2.6.15 $  

but i don't have any additional info about acpi!
Comment 22 Vincenzo Laurenziello 2006-01-27 05:58:27 UTC
Created attachment 7163 [details]
This is my original DSDT

vinTux compiler # ./iasl -tc dsdt-original.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060113 [Jan 27 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt-original.dsl  1080:     Method (\_WAK, 1, NotSerialized)
Warning  2078 - 			 ^ Reserved method must return a value
(_WAK)

dsdt-original.dsl  1532:	     Method (SFRQ, 1, NotSerialized)
Warning  2085 - 				^ Not all control paths return
a value (SFRQ)

dsdt-original.dsl  1570:		 Release (MTXE)
Warning  2097 - 	    Statement is unreachable ^

dsdt-original.dsl  1643:	     Method (WDOG, 1, NotSerialized)
Warning  2085 - 				^ Not all control paths return
a value (WDOG)

ASL Input:  dsdt-original.dsl - 4210 lines, 130045 bytes, 1785 keywords
AML Output: DSDT.aml - 14605 bytes 515 named objects 1270 executable opcodes

Compilation complete. 0 Errors, 4 Warnings, 0 Remarks, 451 Optimizations
vinTux compiler #
Comment 23 Vincenzo Laurenziello 2006-01-27 06:03:36 UTC
Created attachment 7164 [details]
I edit the original DSDT

now it has a single warning!
vinTux compiler # ./iasl -tc dsdt.dsl

Intel ACPI Component Architecture
ASL Optimizing Compiler version 20060113 [Jan 27 2006]
Copyright (C) 2000 - 2006 Intel Corporation
Supports ACPI Specification Revision 3.0a

dsdt.dsl  1645: 	    Method (WDOG, 1, NotSerialized)
Warning  2085 - 		       ^ Not all control paths return a value
(WDOG)

ASL Input:  dsdt.dsl - 4212 lines, 130077 bytes, 1787 keywords
AML Output: DSDT.aml - 14613 bytes 515 named objects 1272 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 454 Optimizations
vinTux compiler #
Comment 24 Vincenzo Laurenziello 2006-02-01 00:50:48 UTC
Created attachment 7199 [details]
Max level Debug

Max level Debug on first Warning
Comment 25 Hamish Marson 2006-02-10 01:07:15 UTC
This also happens on my laptop (thinkpad r50p) after resuming from
suspend-to-ram. With kernel 2.6.15.2 as below.

Linux version 2.6.15.2 (root@ballbreaker) (gcc version 4.0.3 20060104
(prerelease) (Debian 4.0.2-6)) #1 PREEMPT Fri Feb 3 20:35:47 GMT 2006

Distribution:Debian SID
Hardware Environment: IBM Thinkpad r50p. 1.5GB RAM.

If you'd like more info I'm at hamish@travellingkiwi.com.

H
Comment 26 Hamish Marson 2006-02-10 01:19:59 UTC
Sorry... Forgot the log message...

It starts just after resume... I'll upload my messages file... It shows all the
ACPI info on resume & the sequence of when the problem kicks off on my laptop
Comment 27 Hamish Marson 2006-02-10 01:21:43 UTC
Created attachment 7286 [details]
Messages file from /var/log showing resume from suspend, acpi info & problem starting

messages file. gzipped...
Comment 28 Vincenzo Laurenziello 2006-02-28 10:07:49 UTC
Hi!

I finally resolv these warnings with a new dsdt (see
http://bugzilla.kernel.org/attachment.cgi?id=7164&action=view in this page)!

vinTux ~ # uname -r
2.6.16-rc5
vinTux ~ # cat /proc/acpi/info
version:                 20060127
vinTux ~ #

I patched this kernel for DSDT in built-in mode...

vinTux acpi # diff -ruNp osl.old osl.c
--- osl.old     2006-02-28 19:01:36.000000000 +0100
+++ osl.c       2006-02-28 19:01:48.000000000 +0100
@@ -25,6 +25,7 @@
  *
  */

+#include <acpi/dsdt_table.h>
 #include <linux/config.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
@@ -253,14 +254,8 @@ acpi_os_table_override(struct acpi_table
        if (!existing_table || !new_table)
                return AE_BAD_PARAMETER;

-#ifdef CONFIG_ACPI_CUSTOM_DSDT
-       if (strncmp(existing_table->signature, "DSDT", 4) == 0)
-               *new_table = (struct acpi_table_header *)AmlCode;
-       else
-               *new_table = NULL;
-#else
-       *new_table = NULL;
-#endif
+       *new_table = (strncmp(existing_table->signature, DSDT_SIG, 4)) ? NULL \
+                               : (struct acpi_table_header *) AmlCode;
        return AE_OK;
 }

vinTux acpi #   

Best Regards 
VinX
Comment 29 Vincenzo Laurenziello 2006-03-01 07:52:35 UTC
I had a mistake! 
This warning exists also on the new DSDT!
Sorry!
Comment 30 Fu Michael 2007-09-12 02:15:08 UTC
re-assign to lin ming
Comment 31 Lin Ming 2007-10-26 01:36:49 UTC
"Large Reference Count" is usually the result of recursive reference increment.

Have a look at bug 5358
Comment 32 Shaohua 2008-05-14 00:35:48 UTC
can you please try latest kernel?
Comment 33 Vincenzo Laurenziello 2008-05-14 01:39:04 UTC
Sorry, my asus a2500h is defunct... i cannot try on it.
Therefore, I think that this problem was caused by an hardware difect... and not on by a kernel bug.

Note You need to log in before you can comment on or make changes to this bug.