#1064010 Kernel not compiling missing file drm_irq.h

#1064010#5
Date:
2024-02-15 17:08:52 UTC
From:
To:
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: network
Image version: 5.10.0-28
Date: <Date and time of the install>

Machine: Asus motherboard, AMD Threadripper, AMD graphic cards
Partitions: <df -Tl will do; the raw partition table is preferred>


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [ ]
Detect network card:    [ ]
Configure network:      [ ]
Detect media:           [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Install base system:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>
I am trying to upgrade to Bookworm, but the kernel is not compiling
correctly.

Whe running apt-get upgrade I get erors about the kernel installing/building
and it tells me to look in the file  /var/lib/dkms/evdi/1.7.0/build/make.log

Below is a snippet of when it starts to indicate a failure to find a file.

In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_ioc32.c:32:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_ioc32.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_main.c:20:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_main.o] Error 1
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_gem.c:16:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_painter.c:19:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_gem.o] Error 1
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_painter.o] Error 1
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_encoder.c:21:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_encoder.o] Error 1
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_connector.c:19:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_modeset.c:25:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_connector.o] Error 1
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_modeset.o] Error 1
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_drv.c:20:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_cursor.c:33:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.o] Error 1
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_cursor.o] Error 1
In file included from /var/lib/dkms/evdi/1.7.0/build/evdi_fb.c:31:
/var/lib/dkms/evdi/1.7.0/build/evdi_drv.h:24:10: fatal error:
drm/drm_irq.h: No
such file or directory
   24 | #include <drm/drm_irq.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [/usr/src/linux-
headers-6.1.0-18-common/scripts/Makefile.build:255:
/var/lib/dkms/evdi/1.7.0/build/evdi_fb.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.1.0-18-common/Makefile:2039:
/var/lib/dkms/evdi/1.7.0/build] Error 2
make[1]: Leaving directory '/usr/src/l



Please make sure that any installation logs that you think would
be useful are attached to this report. (You can find them in the
installer system in /var/log/ and later on the installed system
under /var/log/installer.) Please compress large files using gzip.

#1064010#10
Date:
2024-02-16 13:40:48 UTC
From:
To:
Are you doing an installation or an upgrade ? From/to which version(s) ?

This looks like bug#1017058
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1017058> which was
fixed in evdi 1.12.0 available in bookworm. Your evdi version 1.7.0
seems to be outdated, even bullseye has evdi 1.9.0.