Re: overcoming known kernel bug

2017-12-19 Thread Brian Oney
Thank you for the advice. I have gotten that far and went that far again.
Below is what I am doing:

kversion="4.14.2"
cd ~/kernel/linux-$kversion
# uname -r
# 4.9.0-4-amd64
cp /boot/config-`uname -r` .config
yes '' | make oldconfig
# There are TONS of new options
make -j 4 deb-pkg

I get everything I would expect (other than the compilation directory being
19GB) and can successfully install the debs. When I restart things, my
keyboard doesn't work (well it types tons of the character 'o'. I also get
the error that module 'pcskr' is already loaded. I will try to get this
puppy booted and ssh into it. Any further tips would be appreciated!

Cheers


overcoming known kernel bug

2017-12-12 Thread Brian Oney
Dear Debian User List,

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-
  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!

Cheers,
Brian