Bug 5728
Summary: | Warning **** Large Reference Count - Asus A2500H laptop | ||
---|---|---|---|
Product: | ACPI | Reporter: | Vincenzo Laurenziello (vincenx) |
Component: | ACPICA-Core | Assignee: | Lin Ming (ming.m.lin) |
Status: | REJECTED INVALID | ||
Severity: | low | CC: | acpi-bugzilla, bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.13 | Subsystem: | |
Regression: | --- | Bisected commit-id: | |
Attachments: |
my dmesg
acpidump madt dmesg -s400000 > dmesg_2.6.16-rc1 dmesg -s400000 > dmesg_2.6.16-rc1 dmidecode lspci -vv cat /proc/interrupts acpidump -o acpidump.log i have selected the rows This is my original DSDT I edit the original DSDT Max level Debug Messages file from /var/log showing resume from suspend, acpi info & problem starting |
Description
Vincenzo Laurenziello
2005-12-12 01:44:41 UTC
probably it crash my laptop at "suspend time"! Please attach the output from acpidump, available in the latest pmtools: http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils/ sorry i have changed the kernel and with 2.6.14.5 no problem found. Created attachment 6952 [details]
my dmesg
dmesg -s64000
Created attachment 6953 [details]
acpidump
/usr/src/pmtools/acpidump/acpidump -o acpidump.log
Created attachment 6954 [details]
madt
/usr/src/pmtools/acpidump/acpidump | /usr/src/pmtools/acpidump/acpixtract APIC
| /usr/src/pmtools/madt/madt
these three files are created by a 2.6.15 version! thanks. please re-open if you see this in 2.6.15 or later. dmesg, acpidump and madt, that i attached in 7 gen of this year, are on 2.6.15! Then i re-open it! Hi! I have patched my vanilla 2.6.15.1 whith acpi revision of 20050902... and it don't work! :( 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 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) Created attachment 7130 [details]
dmidecode
dmidecode of my laptop
Created attachment 7131 [details]
lspci -vv
this is my lspci -vv
Created attachment 7133 [details]
cat /proc/interrupts
This is my /proc/interrupts
Created attachment 7135 [details]
acpidump -o acpidump.log
This is my acpidump
Need some idea of what is going on when the first such message appears. Increase the size of the dmesg buffer if necessary. 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 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!
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. 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! 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 #
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 #
Created attachment 7199 [details]
Max level Debug
Max level Debug on first Warning
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 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 Created attachment 7286 [details]
Messages file from /var/log showing resume from suspend, acpi info & problem starting
messages file. gzipped...
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 I had a mistake! This warning exists also on the new DSDT! Sorry! re-assign to lin ming "Large Reference Count" is usually the result of recursive reference increment. Have a look at bug 5358 can you please try latest kernel? 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. |