Re: Multiple problems with the Linux kernel on an AMD desktop

From: RogÃrio Brito
Date: Fri Nov 25 2016 - 11:06:33 EST


Dear Boris and Clemens,

First of all, thank you very much for your replies. They are very much
appreciated.

On Nov 25 2016, Borislav Petkov wrote:
> On Thu, Nov 24, 2016 at 09:39:57PM -0200, RogÃrio Brito wrote:
> > Before I go on describing the problems that I have, I want to say that I can
> > bisect the kernel, apply patches and give feedback for the problems that I
> > am seeing.
>
> Good. We're going to need them.

Great. I'm willing to do that.

In fact, I have quite a few computers that are not running Linux that well
at this moment and I guess that lack of report from final users (or,
perhaps, reports being lost in the way) prevents those problems from getting
fixed.

Ihope that my efforts will help other users to have fewer problems with
Linux on older machines, at least.

> Please checkout lates Linus kernel:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git
>
> build it, boot it on your machine, catch dmesg and send it to me.

To speed things up a bit, I grabbed Ubuntu's precompiled 4.8 and 4.9-rc6
(without any patches on top of Linus's tree) and booted on this machine.

The scanner problem is still there with vanilla 4.8 (with the irqpoll
option), but is gone with vanilla 4.9-rc6 (with the irqpoll option).

I guess that backports of fixes to this (once detected) are needed for
-stable kernels that distributions are shipping with?

The other problems ("nobody cared" and the flood of evbug/lost xx rtc
interrupts messages) remain with 4.9-rc6.

Interestingly, for a layman like me:

* if I remove the irqpoll option, the "hpet1: lost xx rtc interrupts" messages
are gone, but I still get messages like

[ 130.007219] evbug: Event. Dev: input6, Type: 0, Code: 0, Value: 0
[ 130.167191] evbug: Event. Dev: input6, Type: 4, Code: 4, Value: 458767
[ 130.167195] evbug: Event. Dev: input6, Type: 1, Code: 38, Value: 1
[ 130.167197] evbug: Event. Dev: input6, Type: 0, Code: 0, Value: 0
[ 130.247174] evbug: Event. Dev: input6, Type: 4, Code: 4, Value: 458767

* if I keep the irqpoll option, I get both "hpet1: lost xx rtc interrupts"
AND the evbug messages remain.

I'm attaching the dmesg of 4.9-rc6 both with and without irqpoll to this
message.

I'm now going to chase the information regarding /proc/interrupts that
Clemens asked about.


Thanks,

--
RogÃrio Brito : rbrito@{ime.usp.br,gmail.com} : GPG key 4096R/BCFCAAAA
http://rb.doesntexist.org/blog : Projects : https://github.com/rbrito/
DebianQA: http://qa.debian.org/developer.php?login=rbrito%40ime.usp.br

Attachment: dmesg-4.9.0-040900rc6-generic-with-irqpoll-1480088522.log.gz
Description: application/gzip

Attachment: dmesg-4.9.0-040900rc6-generic-without-irqpoll-1480087431.log.gz
Description: application/gzip