Latest working kernel version: unknown Earliest failing kernel version:unknown Distribution: Mandriva 2008.1 Alpha 2 Hardware Environment: Samsung R70 (BIOS UE6) Software Environment: 64Bit Problem Description: When booting up my system, I can see this error in my dmesg. As requested on the linux-acpi mailing list, I'm opening that bug. Here come the dmesg : ACPI Error (utglobal-0126): Unknown exception code: 0xFFFFFFFE [20070126] Pid: 1952, comm: modprobe Not tainted 2.6.24-laptop-0.rc7.2mdv #1 Call Trace: [<ffffffff8038bd2e>] acpi_ut_update_ref_count+0x50/0x9d [<ffffffff8038c1d9>] acpi_format_exception+0x2c/0x35 [<ffffffff8038af73>] acpi_ut_exception+0x25/0x8c [<ffffffff803765cc>] acpi_evaluate_integer+0xb6/0xc7 [<ffffffff881dcd0a>] :video:acpi_video_bus_add+0xcc9/0xce2 [<ffffffff802c46a8>] ifind+0x58/0xd0 [<ffffffff8038f2e8>] acpi_device_probe+0x43/0x91 [<ffffffff803c321c>] driver_probe_device+0x9c/0x1b0 [<ffffffff803c34e9>] __driver_attach+0xc9/0xd0 [<ffffffff803c3420>] __driver_attach+0x0/0xd0 [<ffffffff803c23fd>] bus_for_each_dev+0x4d/0x80 [<ffffffff803c286c>] bus_add_driver+0xac/0x220 [<ffffffff8814603c>] :video:acpi_video_init+0x3c/0x5e [<ffffffff8026236e>] sys_init_module+0x18e/0x19a0 [<ffffffff802522f0>] autoremove_wake_function+0x0/0x30 [<ffffffff8020c34e>] system_call+0x7e/0x83 ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device [20070126] Steps to reproduce: Just bootup on that system.
Created attachment 14476 [details] Acpi dump from a Samsung R70 (Bios UE6)
Would you please attach the full dmesg?
Created attachment 14477 [details] video fixup Does this patch help?
I can't post the complete dmesg and test this patch by now, my ssh connexion is down :/ I'll post answers this evening (in 6-7 hours from now). Thanks, Erwan
Created attachment 14482 [details] dmesg
I did apply patch (id=14477) on my rc7. I now have this line in my dmesg, the calltrace I was reporting had disapeared. ACPI Exception (video-1726): AE_ERROR, Cant attach device [20070126] How can we go further ?
is there any plan to make this patch applied on 2.6.24 to avoid this ugly output on the console ?
I think we can try to push it to 2.6.25. re comment #6: could you get the return value of acpi_video_bus_get_one_device? a one line change may be helpful: -ACPI_EXCEPTION((AE_INFO, status, "Cant attach device")); +printk("acpi_video_bus_get_one_device failed, return value is %d\n", status));
here's the result: acpi_video_bus_get_one_device failed, return value is -2
what does this error code really means ? My keyboard keys for brightness doesn't works, could it be related to that acpi_video bug ? Erwan
Created attachment 14528 [details] ACPI video debug patch >could it be related to that acpi_video bug ? Yes. Please apply this patch on top of the previous one and attach the full dmesg output.
Here come the results : ACPI Exception (video-1461): AE_NOT_FOUND, Evaluating _ADR method failed [20070126] acpi_video_bus_get_one_device failed, return value is -2
Yes, here is the problem: ACPI video extension requires a _ADR method for every video devices. From the acpidump of your laptop, apparently device AMW0 violates the ACPI spec and that's why we get this exception. But this should has no impact on your laptop, right?
yes, it seems it works. The brightness keys works in console, so everything is ok. I now don't have anymore a oops in my console. What does _ADR usually provides more ? Should I contact the manufacturer to make him fixing that ?
Created attachment 14653 [details] patch: don't throw out an exception
Created attachment 14654 [details] patch: don't throw out an exception
Erwan, please try the patch in comment#16. you should get a warn message if CONFIG_ACPI_DEBUG is set.
thx
is it available upstream now ?
Not yet. Len, I think the patch in comment #16 is ready for upstream. :)
by the way, thanks for the time you spent on it.
patch in comment #16 applied to acpi-test
shipped in linux-2.6.26-rc7 commit d385c2a85877f0cb785070094edf9a624c090d68 Author: Zhang Rui <rui.zhang@intel.com> Date: Sat Jun 14 01:01:18 2008 -0400 ACPI Exception (video-1721): UNKNOWN_STATUS_CODE, Cant attach device