http://bugzilla.kernel.org/show_bug.cgi?id=6328
[EMAIL PROTECTED] changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|loop in acpi initialisation |loop in acpi initialisation
|code |code
------- Additional Comments From [EMAIL PROTECTED] 2006-04-04 07:29 -------
I think the problem is that we execute methods on the hot plug controler for an
unexisting bus.
There is a method that loops on a particular field:
Method (WSOB, 0, NotSerialized)
{
While (SOBO)
{
Noop
}
}
I checked that the following patch fixes the problem:
--- linux-2.6.16-old/drivers/acpi/namespace/nsinit.c 2006-03-31
18:26:23.000000000 +0200
+++ linux-2.6.16-new/drivers/acpi/namespace/nsinit.c 2006-04-03
14:57:28.000000000 +0200
@@ -362,19 +362,6 @@ acpi_ns_init_one_device(acpi_handle obj_
info->device_count++;
/*
- * Check if the _INI method exists for this device -
- * if _INI does not exist, there is no need to run _STA
- * No _INI means device requires no initialization
- */
- status = acpi_ns_search_node(*ACPI_CAST_PTR(u32, METHOD_NAME__INI),
- device_node, ACPI_TYPE_METHOD, &ini_node);
- if (ACPI_FAILURE(status)) {
- /* No _INI method found - move on to next device */
-
- return_ACPI_STATUS(AE_OK);
- }
-
- /*
* Run _STA to determine if we can run _INI on the device -
* the device must be present before _INI can be run.
* However, _STA is not required - assume device present if no _STA
@@ -405,6 +392,17 @@ acpi_ns_init_one_device(acpi_handle obj_
}
/*
+ * Check if the _INI method exists for this device -
+ * No _INI means device requires no initialization
+ */
+ status = acpi_ns_search_node(*ACPI_CAST_PTR(u32, METHOD_NAME__INI),
+ device_node, ACPI_TYPE_METHOD, &ini_node);
+ if (ACPI_FAILURE(status)) {
+ /* No _INI method found - move on to next device */
+ return_ACPI_STATUS(AE_OK);
+ }
+
+ /*
* The device is present and _INI exists. Run the _INI method.
* (We already have the _INI node from above)
*/
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla