Public bug reported:

The intel-ipu6-dkms package consistently fails to install on Ubuntu
24.04.2 LTS with the 6.14.0-24-generic kernel. The installation process
fails during the DKMS module compilation phase, specifically indicating
a syntax error within the ipu.c source code when attempting to use the
MODULE_IMPORT_NS macro. This prevents the driver from being built and
configured, likely resulting in non-functional camera support for Intel
IPU6 hardware.

Operating System:
# Output of: lsb_release -a
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.2 LTS
Release:    24.04
Codename:   noble

Kernel Version:
# Output of: uname -r
6.14.0-24-generic

Output from sudo apt install intel-ipu6-dkms (or sudo apt upgrade when it tried 
to configure):
# PASTE THE FULL OUTPUT FROM YOUR TERMINAL HERE, SIMILAR TO THIS:
# temesio@temesio-Latitude-7450:~$ sudo apt install intel-ipu6-dkms
# Reading package lists... Done
# ...
# Building for 6.14.0-24-generic
# Building initial module for 6.14.0-24-generic
# ERROR: Cannot create report: [Errno 17] File exists: 
'/var/crash/intel-ipu6-dkms.0.crash'
# Error! Bad return status for module build on kernel: 6.14.0-24-generic 
(x86_64)
# Consult 
/var/lib/dkms/ipu6-drivers/0~git202406240945.aecec2aa-0ubuntu2~24.04.3/build/make.log
 for more information.
# dpkg: error processing package intel-ipu6-dkms (--configure):
#   installed intel-ipu6-dkms package post-installation script subprocess 
returned error exit status 10
# Errors were encountered while processing:
#   intel-ipu6-dkms
# E: Sub-process /usr/bin/dpkg returned an error code (1)


Relevant excerpts from make.log (as indicated by the error message):
# PASTE THE RELEVANT LINES FROM THE MAKE.LOG FILE HERE, SPECIFICALLY:
#    from drivers/media/pci/intel/ipu6/../ipu.c:4:
# drivers/media/pci/intel/ipu6/../ipu.c:964:18: error: expected ‘,’ or ‘;’ 
before ‘INTEL_IPU_BRIDGE’
#   964 | MODULE_IMPORT_NS(INTEL_IPU_BRIDGE);
#       |                   ^~~~~~~~~~~~~~~~
# /usr/src/linux-headers-6.14.0-24-generic/include/linux/moduleparam.h:26:61: 
note: in definition of macro ‘__MODULE_INFO’
#    26 |                                 = __MODULE_INFO_PREFIX 
__stringify(tag) "=" info
#       |                                                                       
         ^~~~
# /usr/src/linux-headers-6.14.0-24-generic/include/linux/module.h:301:33: note: 
in expansion of macro ‘MODULE_INFO’
#   301 | #define MODULE_IMPORT_NS(ns)    MODULE_INFO(import_ns, ns)
#       |                                 ^~~~~~~~~~~
# drivers/media/pci/intel/ipu6/../ipu.c:964:1: note: in expansion of macro 
‘MODULE_IMPORT_NS’
#   964 | MODULE_IMPORT_NS(INTEL_IPU_BRIDGE);
#       | ^~~~~~~~~~~~~~~~
# drivers/media/i2c/ov13858_intel.c: In function ‘ov13858_do_get_pad_format’:
# drivers/media/i2c/ov13858_intel.c:1585:29: warning: unused variable ‘sd’ 
[-Wunused-variable]
#  1585 |           struct v4l2_subdev *sd = &ov13858->sd;
#       |                               ^~
# make[6]: *** 
[/usr/src/linux-headers-6.14.0-24-generic/scripts/Makefile.build:207: 
drivers/media/pci/intel/ipu6/../ipu.o] Error 1
# ... (and any other relevant error lines at the end of the log)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: intel-ipu6-dkms 0~git202406240945.aecec2aa-0ubuntu2~24.04.3
ProcVersionSignature: Ubuntu 6.14.0-24.24~24.04.3-generic 6.14.6
Uname: Linux 6.14.0-24-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.8
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Mon Jul 28 11:38:38 2025
InstallationDate: Installed on 2025-07-07 (21 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
ProcEnviron:
 LANG=en_US.UTF-8
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
 XDG_RUNTIME_DIR=<set>
SourcePackage: ipu6-drivers
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: ipu6-drivers (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2118923

Title:
  intel-ipu6-dkms: Fails to install due to compilation error on Ubuntu
  24.04.2 LTS with Kernel 6.14.0-24-generic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2118923/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to