3.1rc10 null pointer dereference ideapad_backlight_notify_power
In kernels 3.1rc9 and 3.1rc10 (from the ubuntu mainline repo) I get a crash when disabling and then enabling the screen backlight with the alt+f2 key on a lenovo ideapad S12 (intel version). The crash does not occur with 3.0 kernels in ubuntu. I have not tested earlier 3.1 rcs.
The crash message scrolls to fast to see, it is not writen to a log, and i dont see it on a USB serial console (I may be doing something wrong, but I do see other messages during boot). I managed to get some photos of the message. interesting parts are:
BUG: unable to handle kernel NULL pointer dereference at 00000008 IP: [<f807b29e>] ideapad_backlight_notify_power+0x2e/0x40 [ideapad_laptop] *pde = 00000000 Oops: 0002 [#1] SMP
call trace functions:ideapad_acpi_notifyacpi_device_notifyacpi_ev_notify_dispachacpi_os_execute_deferredprocess_one_work
? acpi_os_wait_events_complete
????????? can't read this one
kthreadkthread_bindkernel_thread_helper
i put the photos at http://www.hep.manchester.ac.uk/u/sam/pub/ideapad/
if it would be helpfull, i could try a few more times for sharper photos. please let me know if there is any other useful information you need.
thanks,
sam
Quoted 27 lines · Sam Tygier
In kernels 3.1rc9 and 3.1rc10 (from the ubuntu mainline repo) I get a crash when disabling and then enabling the screen backlight with the alt+f2 key on a lenovo ideapad S12 (intel version). The crash does not occur with 3.0 kernels in ubuntu. I have not tested earlier 3.1 rcs.
The crash message scrolls to fast to see, it is not writen to a log, and i dont see it on a USB serial console (I may be doing something wrong, but I do see other messages during boot). I managed to get some photos of the message. interesting parts are:
BUG: unable to handle kernel NULL pointer dereference at 00000008 IP: [<f807b29e>] ideapad_backlight_notify_power+0x2e/0x40 [ideapad_laptop] *pde = 00000000 Oops: 0002 [#1] SMPcall trace functions:
ideapad_acpi_notifyacpi_device_notifyacpi_ev_notify_dispachacpi_os_execute_deferredprocess_one_work
?acpi_os_wait_events_complete
????????? can't read this one
kthreadkthread_bindkernel_thread_helper
Quoted 5 lines
i put the photos at http://www.hep.manchester.ac.uk/u/sam/pub/ideapad/
if it would be helpfull, i could try a few more times for sharper photos. please let me know if there is any other useful information you need.
Looks light it may be changed via the acpi video driver where ->blight is NULL. Adding Ike and Matthew to the cc.
Quoted 29 lines · David Rientjes
Quoted 27 lines · Sam Tygier
In kernels 3.1rc9 and 3.1rc10 (from the ubuntu mainline repo) I get a crash when disabling and then enabling the screen backlight with the alt+f2 key on a lenovo ideapad S12 (intel version). The crash does not occur with 3.0 kernels in ubuntu. I have not tested earlier 3.1 rcs.
The crash message scrolls to fast to see, it is not writen to a log, and i dont see it on a USB serial console (I may be doing something wrong, but I do see other messages during boot). I managed to get some photos of the message. interesting parts are:
BUG: unable to handle kernel NULL pointer dereference at 00000008 IP: [<f807b29e>] ideapad_backlight_notify_power+0x2e/0x40 [ideapad_laptop] *pde = 00000000 Oops: 0002 [#1] SMPcall trace functions:
ideapad_acpi_notifyacpi_device_notifyacpi_ev_notify_dispachacpi_os_execute_deferredprocess_one_work
?acpi_os_wait_events_complete
????????? can't read this one
kthreadkthread_bindkernel_thread_helper
Quoted 9 lines
Quoted 5 lines
i put the photos at http://www.hep.manchester.ac.uk/u/sam/pub/ideapad/
if it would be helpfull, i could try a few more times for sharper photos. please let me know if there is any other useful information you need.
Looks light it may be changed via the acpi video driver where ->blight is NULL. Adding Ike and Matthew to the cc.
This issue has been reported[1] and patch[2] is ready.
[1] http://www.mail-archive.com/[email protected]/msg02340.html
[2] http://www.mail-archive.com/[email protected]/msg02343.html
http://www.mail-archive.com/[email protected]/msg02346.html
Thanks for reporting this issue.
Quoted 7 lines · Ike Panhc
This issue has been reported[1] and patch[2] is ready.
[1] http://www.mail-archive.com/[email protected]/msg02340.html
[2] http://www.mail-archive.com/[email protected]/msg02343.html
http://www.mail-archive.com/[email protected]/msg02346.html
It certainly looks like the patch in [2] will fix the issue, but it looks like those are from a couple months ago and I'm still not seeing it in linux-next. Matthew, how is this going to Linus and will it be cc'd to [email protected]?
Quoted 6 lines · Ike Panhc
Quoted 5 lines
This issue has been reported[1] and patch[2] is ready.
[1] http://www.mail-archive.com/[email protected]/msg02340.html
Quoted 8 lines
Quoted 3 lines
[2] http://www.mail-archive.com/[email protected]/msg02343.html
http://www.mail-archive.com/[email protected]/msg02346.htmlIt certainly looks like the patch in [2] will fix the issue, but it looks like those are from a couple months ago and I'm still not seeing it in linux-next. Matthew, how is this going to Linus and will it be cc'd to [email protected]?
the patch works for me (i applied it to kernel between r10 and 3.1 final). for some reason i don't understand i had to apply the patch by hand.
my git diff says:
drivers/platform/x86/ideapad-laptop.c +0 -0
@@ -492,6 +492,9 @@ static void ideapad_backlight_notify_power(struct ideapad_private *priv)
{
unsigned long power;
struct backlight_device *blightdev = priv->blightdev; +
+ if (!blightdev)
+ return;
if (read_ec_data(ideapad_handle, 0x18, &power)) return;
i am not quite sure of the etiquette, should I repost the patch in its original form, or my version, or can someone else get this included.
thanks
sam
David Rientjes
Tested-by Sam TygierQuoted 10 lines · Sam Tygier
Quoted 10 lines · Ike Panhc
Quoted 8 lines
This issue has been reported[1] and patch[2] is ready.
[1] http://www.mail-archive.com/[email protected]/msg02340.html
[2] http://www.mail-archive.com/[email protected]/msg02343.html
http://www.mail-archive.com/[email protected]/msg02346.html
Quoted 8 lines
Quoted 4 lines
It certainly looks like the patch in [2] will fix the issue, but it looks like those are from a couple months ago and I'm still not seeing it in linux-next. Matthew, how is this going to Linus and will it be cc'd to [email protected]?
the patch works for me (i applied it to kernel between r10 and 3.1 final). for some reason i don't understand i had to apply the patch by hand.
So we can add your
to the patch.
Quoted 2 lines
i am not quite sure of the etiquette, should I repost the patch in its original form, or my version, or can someone else get this included.
This will go through Matthew's tree and hopefully also backported to stable through [email protected]. Matthew?