Re: kernel-4.9.270 crash

From: wim
Date: Tue Sep 07 2021 - 21:50:41 EST


On Mon, Sep 06, 2021 at 12:52:20PM +0200, Greg KH wrote:
> > > > >
> > > > > from kernel-4.9.270 up until now (4.9.282) I experience kernel crashes upon
> > > > > loading a GPU module.
> > > > > ...
> > >
> > > Do you have any kernel log messages when these crashes happen?
> > ...
> > Aug 1 20:51:24 djo kernel: [<f8bc4ef7>] ? 0xf8bc4ef7
>
> <snip>
>
> These aren't going to help us much, can you turn on debugging symbols
> for these crashes for us to see the symbol names?

ERROR: not enough memory to load nouveau.ko

i915.ko is smaller and my laptop is bigger. Identical crash, no symbols.


> > > Can you use 'git bisect' to track down the offending commit?
> >
> > If I would know how to do that
>
> 'man git bisect' should provide a tutorial on how to do this.

No, it does not.
It would have taken an enormous amount of time and GBs less if I'd found
earlier the only pointer on internet that stated:

cd linux
git remote add stable git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

and that brought me reasonably fast to this:

3bd3a8ca5a7b1530f463b6e1cc811c085e6ffa01 is the first bad commit
commit 3bd3a8ca5a7b1530f463b6e1cc811c085e6ffa01
Author: Maciej W. Rozycki <macro@xxxxxxxxxxx>
Date: Thu May 13 11:51:50 2021 +0200
...

> > > And why are you stuck on 4.9.y for these machines? Why not use 5.10 or
> > > newer?
> >
> > Because in 4.10 they dropped lirc-serial and I need that. The new ir-serial
> > is no replacement. (The last working version of LIRC is 0.9.6. After that
> > they destroyed transmitter support.)

Correction: lirc-0.9.0-rc6 it is.

> >
> If the new functionality is not working properly, please work with those
> developers to fix that up.

I can't. I can hardly write and compile 'Hello world', let alone fix some
complex fossil and abandoned software. To make a long LIRC story short:
LIRC got orphaned long ago. A dozen patches from Gentoo kept it alive (until
kernel-3.x where f_dentry got dropped, which gentoo never fixed). I managed
to get around that problem. By then there was a new maintainer that was not
interested in bug reports and clearly stated that he was against a transmitter
(over the serial port). The new LIRC-0.10 is not popular, to say the least.
The only route for IR blasting nowadays seems to be a RaspberryPi, where
Rasbian seems to have something like 'ir-ctl' outside of LIRC.

Regards, Wim.