[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: overcoming known kernel bug



On 12/12/17 05:30, Brian Oney wrote:
I am having trouble with my 2016 lenovo thinkpad yoga 11e (3rd gen) running
the current version of debian stable (stretch). The on wake-from-suspend
the fan runs on high.

Specifically, I have:

~ $ uname -a
Linux tinkbox 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
GNU/Linux

On wake-from-suspend:

   ~ $ sensors
   thinkpad-isa-0000
   Adapter: ISA adapter
   fan1:        6125 RPM

   acpitz-virtual-0
   Adapter: Virtual device
   temp1:        +65.0°C  (crit = +90.0°C)


The acpitz-virtual-0 pegs the temperature at 65°C and won't let it go.
Therefore the fan attempts liftoff.

I could attach the output of 'reportbug kernel', but the problem is known
and the bug is described in:

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

The bug is present up until it's fix in kernel 4.13.4 or something around
that time. The solution is to install a much newer kernel (or downgrade).

Being lazy I tried to just install the latest backported kernel
(linux-image-4.13.0-0.bpo.1-amd64). That doesn't work.

What I find most interesting would be to compile a slimmer, faster kernel,
but I have failed (after consulting the debian kernel handbook). One thing
or the other doesn't work afterwards. Also, I run out of disk space lately
(15Gb is huge!)  My idea was to use the old kernel configuration (with
'make olddefconfig'), but there are so many new options and I honestly have
no clue how to get an overview and make an informed decision.
I would report this as a low priority kernel bug but it's (far) upstream.
It's also a known problem, which isn't necessarily debian's problem.

I would appreciate any advice. I bought this laptop because it's tough and
has a good battery. Any laptop that misbehaves on wake-from-suspend is not
a very useful laptop (Imagine a meeting with a constantly whining laptop).
Thanks in advance!

Debian 9 on certain laptops seems to have polling loop issues that manifest when the graphical login screen is displayed and when the screen saver is displayed. These are deal-breaker bugs that will burn up your CPU and suck your battery dry. Here's the bug report for my Dell Inspiron E1505/6400:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878313

The fact that it has been ignored for 2 months is not encouraging.


My work-around has been to pull the battery, plug in the power adapter, run:

    cpufreq-set -g powersave

to minimize heating/ damage when I log out/ screen lock, and run:

    cpufreq-set -g ondemand

when I log in.


I read a post somewhere that someone had found a way to muck with configuration settings and make at least some of the problems go away, but I don't have that URL.


Looking at the Debian Testing kernel packages, it doesn't look like Testing includes the bug fixes you mention (?):

    https://packages.debian.org/testing/kernel/


Ideas:

1.  Go older -- e.g. Debian 8 or Debian 7.

2.  Go bleeding edge -- e.g. Debian Unstable, Fedora, or Arch.

3.  Run Windows and a hypervisor.


David


Reply to: