* ACPI Error (utglobal-0126)
@ 2008-01-15 13:10 Erwan Velu
2008-01-15 16:57 ` Len Brown
2008-01-16 1:38 ` Zhang Rui
0 siblings, 2 replies; 4+ messages in thread
From: Erwan Velu @ 2008-01-15 13:10 UTC (permalink / raw)
To: linux-acpi
Hey folks,
I'm running a 2.6.24-rc7 on my Samsung R70 in 64bit mode.
While booting up, the ACPI shows me this error :
ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFFE [20070126]
Pid: 1950, comm: modprobe Not tainted 2.6.24-laptop-0.rc7.1mdv #1
Call Trace:
[<ffffffff8038bd86>] acpi_ut_update_ref_count+0x50/0x9d
[<ffffffff8038c231>] acpi_format_exception+0x2c/0x35
[<ffffffff8038afcb>] acpi_ut_exception+0x25/0x8c
[<ffffffff8037662c>] acpi_evaluate_integer+0xb6/0xc7
[<ffffffff8821dd0a>] :video:acpi_video_bus_add+0xcc9/0xce2
[<ffffffff802c45e8>] ifind+0x58/0xd0
[<ffffffff8038f33c>] acpi_device_probe+0x43/0x91
[<ffffffff803c31cc>] driver_probe_device+0x9c/0x1b0
[<ffffffff803c3499>] __driver_attach+0xc9/0xd0
[<ffffffff803c33d0>] __driver_attach+0x0/0xd0
[<ffffffff803c23ad>] bus_for_each_dev+0x4d/0x80
[<ffffffff803c281c>] bus_add_driver+0xac/0x220
[<ffffffff8822303c>] :video:acpi_video_init+0x3c/0x5e
[<ffffffff802622ae>] sys_init_module+0x18e/0x19a0
[<ffffffff802522b0>] autoremove_wake_function+0x0/0x30
[<ffffffff8020c34e>] system_call+0x7e/0x83
ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device [20070126]
input: Video Bus as /class/input/input7
I would love helping you in fixing that.
How Can I Help ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI Error (utglobal-0126)
2008-01-15 13:10 ACPI Error (utglobal-0126) Erwan Velu
@ 2008-01-15 16:57 ` Len Brown
2008-01-16 1:38 ` Zhang Rui
1 sibling, 0 replies; 4+ messages in thread
From: Len Brown @ 2008-01-15 16:57 UTC (permalink / raw)
To: Erwan Velu, Zhang, Rui; +Cc: linux-acpi
On Tuesday 15 January 2008 08:10, Erwan Velu wrote:
> Hey folks,
>
> I'm running a 2.6.24-rc7 on my Samsung R70 in 64bit mode.
> While booting up, the ACPI shows me this error :
>
> ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFFE [20070126]
> Pid: 1950, comm: modprobe Not tainted 2.6.24-laptop-0.rc7.1mdv #1
>
> Call Trace:
> [<ffffffff8038bd86>] acpi_ut_update_ref_count+0x50/0x9d
> [<ffffffff8038c231>] acpi_format_exception+0x2c/0x35
> [<ffffffff8038afcb>] acpi_ut_exception+0x25/0x8c
> [<ffffffff8037662c>] acpi_evaluate_integer+0xb6/0xc7
> [<ffffffff8821dd0a>] :video:acpi_video_bus_add+0xcc9/0xce2
> [<ffffffff802c45e8>] ifind+0x58/0xd0
> [<ffffffff8038f33c>] acpi_device_probe+0x43/0x91
> [<ffffffff803c31cc>] driver_probe_device+0x9c/0x1b0
> [<ffffffff803c3499>] __driver_attach+0xc9/0xd0
> [<ffffffff803c33d0>] __driver_attach+0x0/0xd0
> [<ffffffff803c23ad>] bus_for_each_dev+0x4d/0x80
> [<ffffffff803c281c>] bus_add_driver+0xac/0x220
> [<ffffffff8822303c>] :video:acpi_video_init+0x3c/0x5e
> [<ffffffff802622ae>] sys_init_module+0x18e/0x19a0
> [<ffffffff802522b0>] autoremove_wake_function+0x0/0x30
> [<ffffffff8020c34e>] system_call+0x7e/0x83
>
> ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device [20070126]
> input: Video Bus as /class/input/input7
>
> I would love helping you in fixing that.
> How Can I Help ?
you just did:-)
Rui,
acpi_video_bus_get_one_device() is returning -errno style status,
but acpi_video_bus_get_devices() is expecting an ACPICA style status
status = acpi_video_bus_get_one_device(dev, video);
if (ACPI_FAILURE(status)) {
ACPI_EXCEPTION((AE_INFO, status, "Cant attach device"));
continue;
}
looks like this was true in 2.6.23 as well...
-Len
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI Error (utglobal-0126)
2008-01-15 13:10 ACPI Error (utglobal-0126) Erwan Velu
2008-01-15 16:57 ` Len Brown
@ 2008-01-16 1:38 ` Zhang Rui
2008-01-16 9:20 ` Erwan Velu
1 sibling, 1 reply; 4+ messages in thread
From: Zhang Rui @ 2008-01-16 1:38 UTC (permalink / raw)
To: Erwan Velu; +Cc: linux-acpi
Hi,
On Tue, 2008-01-15 at 14:10 +0100, Erwan Velu wrote:
> Hey folks,
>
> I'm running a 2.6.24-rc7 on my Samsung R70 in 64bit mode.
> While booting up, the ACPI shows me this error :
>
> ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFFE [20070126]
Hmm, return value is -ENOENT which means video bus failed to evaluated
the _ADR method of the video device.
Please open a bug at
http://bugzilla.kernel.org/enter_bug.cgi?product=ACPI
and assign it to me.
Please attach the dmesg output and acpidump as well.
> Pid: 1950, comm: modprobe Not tainted 2.6.24-laptop-0.rc7.1mdv #1
>
> Call Trace:
> [<ffffffff8038bd86>] acpi_ut_update_ref_count+0x50/0x9d
> [<ffffffff8038c231>] acpi_format_exception+0x2c/0x35
> [<ffffffff8038afcb>] acpi_ut_exception+0x25/0x8c
> [<ffffffff8037662c>] acpi_evaluate_integer+0xb6/0xc7
> [<ffffffff8821dd0a>] :video:acpi_video_bus_add+0xcc9/0xce2
> [<ffffffff802c45e8>] ifind+0x58/0xd0
> [<ffffffff8038f33c>] acpi_device_probe+0x43/0x91
> [<ffffffff803c31cc>] driver_probe_device+0x9c/0x1b0
> [<ffffffff803c3499>] __driver_attach+0xc9/0xd0
> [<ffffffff803c33d0>] __driver_attach+0x0/0xd0
> [<ffffffff803c23ad>] bus_for_each_dev+0x4d/0x80
> [<ffffffff803c281c>] bus_add_driver+0xac/0x220
> [<ffffffff8822303c>] :video:acpi_video_init+0x3c/0x5e
> [<ffffffff802622ae>] sys_init_module+0x18e/0x19a0
> [<ffffffff802522b0>] autoremove_wake_function+0x0/0x30
> [<ffffffff8020c34e>] system_call+0x7e/0x83
>
> ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device [20070126]
> input: Video Bus as /class/input/input7
>
Please try this patch first.
From: Zhang Rui <rui.zhang@intel.com>
acpi_video_bus_get_one_device() is returning -errno style status,
but acpi_video_bus_get_devices() is expecting an ACPICA style status
Fix this and check the return value of acpi_video_device_enumerate as well.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/acpi/video.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
Index: linux-2.6/drivers/acpi/video.c
===================================================================
--- linux-2.6.orig/drivers/acpi/video.c
+++ linux-2.6/drivers/acpi/video.c
@@ -1530,7 +1530,7 @@ static int acpi_video_device_enumerate(s
status = acpi_evaluate_object(video->device->handle, "_DOD", NULL, &buffer);
if (!ACPI_SUCCESS(status)) {
ACPI_EXCEPTION((AE_INFO, status, "Evaluating _DOD"));
- return status;
+ return -EIO;
}
dod = buffer.pointer;
@@ -1699,13 +1699,18 @@ acpi_video_bus_get_devices(struct acpi_v
int status = 0;
struct acpi_device *dev;
- acpi_video_device_enumerate(video);
+ status = acpi_video_device_enumerate(video);
+ if (status) {
+ ACPI_DEBUG_PRINT((ACPI_DB_ERROR,
+ "Failed to enumerate devices\n"));;
+ return status;
+ }
list_for_each_entry(dev, &device->children, node) {
status = acpi_video_bus_get_one_device(dev, video);
- if (ACPI_FAILURE(status)) {
- ACPI_EXCEPTION((AE_INFO, status, "Cant attach device"));
+ if (status) {
+ ACPI_EXCEPTION((AE_INFO, AE_ERROR, "Cant attach device"));
continue;
}
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: ACPI Error (utglobal-0126)
2008-01-16 1:38 ` Zhang Rui
@ 2008-01-16 9:20 ` Erwan Velu
0 siblings, 0 replies; 4+ messages in thread
From: Erwan Velu @ 2008-01-16 9:20 UTC (permalink / raw)
To: Zhang Rui; +Cc: linux-acpi
[...]
> Please try this patch first.
> From: Zhang Rui <rui.zhang@intel.com>
I'm sorry but I can't patch my 2.6.24-rc7 or even the rc8 with that
patch. The patch is rejected. On which kernel should I apply that
patch ?
Erwan,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-16 9:20 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 13:10 ACPI Error (utglobal-0126) Erwan Velu
2008-01-15 16:57 ` Len Brown
2008-01-16 1:38 ` Zhang Rui
2008-01-16 9:20 ` Erwan Velu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox