lkml.org 
[lkml]   [2004]   [Sep]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSun, 12 Sep 2004 00:48:12 -0700
FromAndrew Morton <>
SubjectRe: Possible dcache BUG
"Udo A. Steinberg" <us15@os.inf.tu-dresden.de> wrote:
>
> On Sun, 12 Sep 2004 00:16:26 -0700 Andrew Morton (AM) wrote:
> 
>  AM> Random guess: acpi_evaluate_object() is returning an error but is
>  AM> allocating memory anyway.
>  AM> 
>  AM> In acpi_battery_get_status():
>  AM> 
>  AM> 	status = acpi_evaluate_object(battery->handle, "_BST", NULL, &buffer);
>  AM> 	if (ACPI_FAILURE(status)) {
>  AM> 		ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error evaluating _BST\n"));
>  AM> 		return_VALUE(-ENODEV);
>  AM> 	}
>  AM> 
>  AM> Is that failure path being taken?
> 
>  Is there a way for me to find that out without recompiling and rebooting?

Not sure.  Looks like you need to set CONFIG_ACPI_DEBUG and then put the
right number into /proc/acpi/debug_layer.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:06    [from the cache]
©2003-2008