[Bug 60852] Random memory corruption reported after writing to /sys/module/drm_kms_helper/parameters/edid_firmware

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Tue Sep 10 07:10:04 PDT 2013


https://bugzilla.kernel.org/show_bug.cgi?id=60852

--- Comment #12 from Alex Villacis Lasso <avillaci at ceibo.fiec.espol.edu.ec> ---
(In reply to Jani Nikula from comment #11)
> Alternatively, please try this patch on top of 3.11, with
> CONFIG_FW_LOADER_USER_HELPER=y and the rc.local thing:
> 
> diff --git a/drivers/gpu/drm/drm_edid_load.c
> b/drivers/gpu/drm/drm_edid_load.c
> index 271b42b..7a0a1d3 100644
> --- a/drivers/gpu/drm/drm_edid_load.c
> +++ b/drivers/gpu/drm/drm_edid_load.c
> @@ -155,6 +155,13 @@ static u8 *edid_load(struct drm_connector *connector,
> const
>         err = request_firmware(&fw, name, &pdev->dev);
>         platform_device_unregister(pdev);
>  
> +       if (err)
> +               goto out;
> +       else {
> +               err = -EINVAL;
> +               goto relfw_out;
> +       }
> +
>         if (err) {
>                 i = 0;
>                 while (i < GENERIC_EDIDS && strcmp(name,
> generic_edid_name[i]))
> 
> If you can reproduce the issue with this, the problem is in the firmware
> loader.

Not exactly what I expected. I recompiled the test kernel with this patch. The
boot process ran normally, except that there was no backtrace at that moment,
and the screen resolution failed to change. However, after a few hours, I
attempted to shut down, and then the system hung on the shutdown splash screen.
The keyboard was unresponsive. I could not even dismiss the splash screen to
check whether there was a backtrace behind.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the intel-gfx-bugs mailing list