DKMS make.log for intel-i915-dkms-0.5949.220707.2.1013 for kernel 6.5.0-41-generic (x86_64)
Fri 12 Jul 15:53:00 EEST 2024
Generating local configuration database from kernel ...Kernel version parse failed!
make: *** [Makefile:183: olddefconfig] Error 1
expr: non-integer argument
set -e; mkdir -p /var/lib/dkms/intel-i915-dkms/0.5949.220707.2.1013/build/backport-include/linux/; { echo '#define UBUNTU_BACKPORT_MAJOR 41'; echo '#define UBUNTU_BACKPORT_MINOR 41~22'; echo '#define UBUNTU_BACKPORT_RELEASE_VERSION(a,b) (((a) << 16) + ((b) << 8))'; echo '#define UBUNTU_BACKPORT_RELEASE_COD>Generating local configuration database from kernel ...Kernel version parse failed!
make[1]: *** [Makefile:183: modules] Error 1
make: *** [Makefile:31: default] Error 2
Hello, trying to install ARC310 driver on Ubuntu Server 22.04 with 6.5 kernel and I get this error.
I am using
apt install -y intel-i915-dkms
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
intel-i915-dkms is already the newest version (0.5949.220707.2.5.17.0.1013+i5-1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up intel-i915-dkms (0.5949.220707.2.5.17.0.1013+i5-1) ...
Removing old intel-i915-dkms-0.5949.220707.2.1013 DKMS files...
Deleting module intel-i915-dkms-0.5949.220707.2.1013 completely from the DKMS tree.
Loading new intel-i915-dkms-0.5949.220707.2.1013 DKMS files...
Building for 6.5.0-41-generic
Building initial module for 6.5.0-41-generic
Error! Bad return status for module build on kernel: 6.5.0-41-generic (x86_64)
Consult /var/lib/dkms/intel-i915-dkms/0.5949.220707.2.1013/build/make.log for more information.
dpkg: error processing package intel-i915-dkms (--configure):
installed intel-i915-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
intel-i915-dkms
Any suggestions, please?
連結已複製
The guide at https://dgpu-docs.intel.com/driver/client/overview.html is not working, I can't build the module locally for either kernel 5.15 or 6.5 hwe.
Can some Intel Linux chad look at this please and give some pointers?
Should I post in a different area of the forums?
Root cause:
linux-hwe-6.5-headers-6.5.0-18/include/drm/display/drm_dp_mst_helper.h:835:int drm_dp_calc_pbn_mode(int clock, int bpp, bool dsc);
linux-hwe-6.5-headers-6.5.0-41/include/drm/display/drm_dp_mst_helper.h:835:int drm_dp_calc_pbn_mode(int clock, int bpp);
drm_dp_calc_pbn_mode() prototype has changed in 6.5.0-41, leading to mismatch with i915-dkms.
Possible solution:
After installing Ubuntu 22.04 (say 22.04.4), don't apt upgrade, especially don't install & upgrade linux-image-generic-hwe-22.04.
To turn off Ubuntu Unattended-Upgrades:
Beside the crash report in the previous post, I have attached a report generated by Intel SSU.
Please let me know how to proceed.
Both kernel version recommended in Intel guides (mainline 5.15 and hwe 6.5) do not work out of the box.
I am running Ubuntu 22.04.4 Server, everything should install.
PS: I have edited some S/N for privacy.
Is there a specific PPA I should add?
I am running Ubuntu Server 22.04.4
Which user guide are you following?
You should do some steps similar below :
