Bug#655377: More on it

2012-01-12 Thread Artem X
I've compiled that patch with debian kernel (from linux-source-3.1)
and it works for me too.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFVLVSMQxsDFdXa-S0WkNEZi6iUFUW39k_0srtEtX98U=-+s...@mail.gmail.com



Bug#655377: Kernel panic when turning off screen backlight using laptop Fn key since 3.1 (has patch)

2012-01-10 Thread Artem X
Package: linux-image-3.1.0-1-amd64
Version: 3.1.6-1

Hello, there's patch available to fix the kernel panic when 'turning
off screen backlight'
which me and other people experienced (on various distros including
debian testing on lenovo).

Link to issue/patch: https://lkml.org/lkml/2011/10/19/485 includes
link to the PATCH in the bottom.

Thanks
-
Debian Testing installed 10 january 2012 on lenovo g series laptop



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFVLVSNZ0dU_UTh_hLpYzH9u2H-nYF=5lqbdfi8f6+0fmhp...@mail.gmail.com



Bug#655377:

2012-01-10 Thread Artem X
Patch also could be related to i386 architecture too IIRC.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAFVLVSPFiCD0rwPB_VPXdv0eoyCTp2VK=wtNDfrVHaL=gfy...@mail.gmail.com



Bug#655377: [?? - 3.1.6 regression] Kernel panic when turning off screen backlight using laptop Fn key

2012-01-10 Thread Jonathan Nieder
retitle 655377 [ideapad_laptop] NULL pointer dereference turning off backlight 
with fn key
# regression
severity 655377 important
tags 655377 + upstream fixed-upstream
reassign 655377 src:linux-2.6 3.1.6-1
quit

Hi,

Artem X wrote:

 Hello, there's patch available to fix the kernel panic when 'turning
 off screen backlight'
 which me and other people experienced (on various distros including
 debian testing on lenovo).

Might be fixed by v3.2-rc1~111^2~22 (ideapad: Check if acpi already
handle backlight power to avoid a page fault, 2011-10-23).  Could you
try a 3.2.y release candidate from experimental to check?

Thanks,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120110194046.GF22184@burratino



Bug#655377: [3.0 - 3.1 regression] Kernel panic when turning off screen backlight using laptop Fn key

2012-01-10 Thread Jonathan Nieder
tags 655377 + patch moreinfo
quit

Jonathan Nieder wrote:
 Artem X wrote:

 Hello, there's patch available to fix the kernel panic when 'turning
 off screen backlight'
 which me and other people experienced (on various distros including
 debian testing on lenovo).

 Might be fixed by v3.2-rc1~111^2~22 (ideapad: Check if acpi already
 handle backlight power to avoid a page fault, 2011-10-23).  Could you
 try a 3.2.y release candidate from experimental to check?

Even better, please try this patch against a 3.1.y kernel.org kernel.
Instructions for testing a patched kernel are at [1].

If it works, we can send it to Greg to consider applying to the 3.1.y
branch.

Luckily the ideapad-laptop backlight driver was only introduced in
v3.1-rc1~14^2~29, so older kernels do not have this bug.

Many thanks,
Jonathan

[1] 
http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-kernel-org-package

-- 8 --
From: Rene Bollford xsec...@googlemail.com
Date: Sun, 23 Oct 2011 09:56:42 +0200
Subject: ideapad: Check if acpi already handle backlight power to avoid a page 
fault

commit d4afc7754a60b885b63ef23fd194984e2d53a4e6 upstream.

This patch avoid a page fault in the ideapad-laptop extras when
turning the backlight power on or off.

Signed-off-by: Rene Bolldorf xsec...@googlemail.com
Signed-off-by: Matthew Garrett m...@redhat.com
Signed-off-by: Jonathan Nieder jrnie...@gmail.com
---
 drivers/platform/x86/ideapad-laptop.c |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/platform/x86/ideapad-laptop.c 
b/drivers/platform/x86/ideapad-laptop.c
index 0c595410e788..0d94eec00f4d 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -493,6 +493,8 @@ 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;
blightdev-props.power = power ? FB_BLANK_UNBLANK : FB_BLANK_POWERDOWN;
-- 
1.7.8.3




-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120110201508.GG22184@burratino



Bug#655377:

2012-01-10 Thread Artem X
Could you try a 3.2.y release candidate from experimental to check?

This issue is fixed for me in 3.2.0-rc7-amd64 in experimental.

---
Thanks



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafvlvsprrg4dp0bwcfa2-t0_qyuzkjyqrlkfz-mey6p+o-r...@mail.gmail.com



Bug#655377:

2012-01-10 Thread Artem X
Do i really need vanilla kernel?

Or can i apply that patch to debian testing kernel 3.1.0 by using
9.7.5. Compiling the kernel source: Debian standard method in debian
reference?



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafvlvsokj7wrxto_o-ofts4ugpg4eva6sza3ncps+kamach...@mail.gmail.com



Bug#655377: [ideapad_laptop] NULL pointer dereference turning off backlight with fn key

2012-01-10 Thread Jonathan Nieder
Artem X wrote:

 Or can i apply that patch to debian testing kernel 3.1.0 by using
 9.7.5. Compiling the kernel source: Debian standard method in debian
 reference?

That's almost as good, sure.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120110205939.GK22184@burratino



Bug#655377: marked as done ([ideapad_laptop] NULL pointer dereference turning off backlight with fn key)

2012-01-10 Thread Debian Bug Tracking System
Your message dated Tue, 10 Jan 2012 14:58:50 -0600
with message-id 20120110205850.GJ22184@burratino
and subject line Re: [ideapad_laptop] NULL pointer dereference turning off 
backlight with fn key
has caused the Debian Bug report #655377,
regarding [ideapad_laptop] NULL pointer dereference turning off backlight with 
fn key
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
655377: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655377
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Package: linux-image-3.1.0-1-amd64
Version: 3.1.6-1

Hello, there's patch available to fix the kernel panic when 'turning
off screen backlight'
which me and other people experienced (on various distros including
debian testing on lenovo).

Link to issue/patch: https://lkml.org/lkml/2011/10/19/485 includes
link to the PATCH in the bottom.

Thanks
-
Debian Testing installed 10 january 2012 on lenovo g series laptop


---End Message---
---BeginMessage---
Version: 3.2~rc7-1~experimental.1

Artem X wrote:

 Could you try a 3.2.y release candidate from experimental to check?

 This issue is fixed for me in 3.2.0-rc7-amd64 in experimental.

Yay. :)  Marking accordingly.

---End Message---


Bug#655377: [ideapad_laptop] NULL pointer dereference turning off backlight with fn key

2012-01-10 Thread Artem X
I've compiled vanilla 3.1.6 with that patch and turning off blacklight
was working.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cafvlvsop750x4l+qgr16qc53v+joksxa-ujskx3k0bx9kqo...@mail.gmail.com