intel-ipu6-dkms FTBS with the latest linux 6.8 hwe kernel in jammy

Bug #2071334 reported by Andrea Righi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ipu6-drivers (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
New
Undecided
Unassigned

Bug Description

[Impact]

/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/i2c/hm11b1.c:907:18: error: implicit declaration of function ‘v4l2_subdev_get_try_format’; did you mean ‘v4l2_subdev_get_fmt’? [-Werror=implicit-function-declaration]
  907 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~
      | v4l2_subdev_get_fmt
/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/i2c/hm11b1.c:907:17: error: invalid type argument of unary ‘*’ (have ‘int’)
  907 | *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) = fmt->format;
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[Test case]

 $ sudo apt install intel-ipu6-dkms

[Fix]

Backport from Noble the required changes to properly support the new 6.8 kernel ABI.

[Regression potential]

We may experience regressions in system that are using the ipu6 camera, especially with the new 6.8 kernel.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: intel-ipu6-dkms 0~git202211220708.278b7e3d-0ubuntu0.22.04.1
ProcVersionSignature: User Name 6.8.0-35.35.1~22.04.1-lowlatency 6.8.4
Uname: Linux 6.8.0-35-lowlatency x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CloudArchitecture: x86_64
CloudID: nocloud
CloudName: unknown
CloudPlatform: nocloud
CloudSubPlatform: config-disk (/dev/vdb)
Date: Thu Jun 27 09:28:42 2024
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=C.UTF-8
 SHELL=/bin/bash
SourcePackage: ipu6-drivers
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Andrea Righi (arighi) wrote :
Revision history for this message
Andrea Righi (arighi) wrote :
Download full text (5.4 KiB)

Backporting the version from oracular allows to fix both the hwe 6.8 kernel and the GA 5.15 kernel.

Test build with 6.8:

intel-ipu6.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

intel-ipu6-isys.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

intel-ipu6-psys.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

hm11b1.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov01a1s.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov01a10.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov02c10.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov02e10.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov08a10.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov08x40.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov13858.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

ov8856.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

hm2170.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

hm2172.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

hi556.ko:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-35-lowlatency/updates/dkms/

Test build with GA 5.15:

intel-ipu6.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-115-generic/updates/dkms/

intel-ipu6-isys.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.15.0-115-generic/updates/dkms/

intel-ipu6-psys.ko:
Running module version sanity check.
 - Original module
   - No original module exists with...

Read more...

Revision history for this message
Andrea Righi (arighi) wrote :
tags: added: patch
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this does not need testing with the GA kernel, it was never useable for ipu6 (only oem-6.x was, and they're EOL with the 6.8 backport from noble)

Changed in ipu6-drivers (Ubuntu):
status: New → Invalid
Paolo Pisati (p-pisati)
tags: added: verification-done-jammy
tags: removed: verification-done-jammy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.