2023-03-21 15:29:25 |
Roxana Nicolescu |
bug |
|
|
added bug |
2023-03-21 15:29:43 |
Roxana Nicolescu |
tags |
|
sru-20230227 |
|
2023-03-21 15:34:04 |
Roxana Nicolescu |
attachment added |
|
ipu6-drivers.patch https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2012407/+attachment/5656326/+files/ipu6-drivers.patch |
|
2023-03-21 15:44:14 |
Roxana Nicolescu |
description |
SRU justification:
[Impact]
This is encountered on linux kernel derivatives with fewer configuration options enabled.
First time saw on jammy:linux-kvm-1029.
During build, it fails with the following error:
...
SRU justification:
[Impact]
This is encountered on linux kernel derivatives with fewer configuration options enabled.
First time seen on jammy:linux-kvm-1029.
During build, it fails with the following error:
...
Building module:
cleaning build area...
make -j1 KERNELRELEASE=5.15.0-1030-kvm KERNELRELEASE=5.15.0-1030-kvm KERNEL_SRC=/lib/modules/5.15.0-1030-kvm/build...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.0-1030-kvm (x86_64)
Consult /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log for more information.
E: ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1 failed to build for 5.15.0-1030-kvm
========== /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log ==========
DKMS make.log for ipu6-drivers-0~git202211220708.278b7e3d-0ubuntu0.22.04.1 for kernel 5.15.0-1030-kvm (x86_64)
Wed Mar 8 23:42:18 UTC 2023
make -C /lib/modules/5.15.0-1030-kvm/build M=/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-1030-kvm'
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-bus.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-dma.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-mmu.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-buttress.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-trace.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-cpd.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/ipu6.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-fw-com.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.o
/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.c: In function ‘ipu_isys_bridge_unregister_sensors’:
/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.c:283:17: error: implicit declaration of function ‘i2c_unregister_device’; did you mean ‘pci_unregister_driver’? [-Werror=implicit-function-declaration]
283 | i2c_unregister_device(sensor->vcm_i2c_client);
| ^~~~~~~~~~~~~~~~~~~~~
| pci_unregister_driver
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:297: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.o] Error 1
make[3]: *** [scripts/Makefile.build:560: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6] Error 2
make[2]: *** [scripts/Makefile.build:560: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel] Error 2
make[1]: *** [Makefile:1906: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1030-kvm'
make: *** [Makefile:37: all] Error 2
====================
./ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log
autopkgtest [23:42:45]: test dkms-autopkgtest: -----------------------]
autopkgtest [23:42:46]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
dkms-autopkgtest FAIL non-zero exit status 1
autopkgtest [23:42:46]: @@@@@@@@@@@@@@@@@@@@ summary
because CONFIG_I2C=n
[Fix]
Add a rule to avoid building ipu6-drivers when CONFIG_I2C=n
[Test Plan]
Install a new version of jammy:linux-kvm (1029 for example).
apt install ipu6-drivers will fail as described above.
After the fix, it will not built at all.
Once the package is in proposed, a new adt is triggered against proposed for jammy:linux-kvm.
[Where problems could occur]
Low possibility of new issues.
[Note]
This fix is not scalable in the sense that if configuration name changes, the module has to be changed as well. |
SRU justification:
[Impact]
This is encountered on linux kernel derivatives with fewer configuration options enabled.
First time seen on jammy:linux-kvm-1029.
During build, it fails with the following error:
...
Building module:
cleaning build area...
make -j1 KERNELRELEASE=5.15.0-1030-kvm KERNELRELEASE=5.15.0-1030-kvm KERNEL_SRC=/lib/modules/5.15.0-1030-kvm/build...........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.15.0-1030-kvm (x86_64)
Consult /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log for more information.
E: ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1 failed to build for 5.15.0-1030-kvm
========== /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log ==========
DKMS make.log for ipu6-drivers-0~git202211220708.278b7e3d-0ubuntu0.22.04.1 for kernel 5.15.0-1030-kvm (x86_64)
Wed Mar 8 23:42:18 UTC 2023
make -C /lib/modules/5.15.0-1030-kvm/build M=/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.0-1030-kvm'
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-bus.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-dma.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-mmu.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-buttress.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-trace.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-cpd.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/ipu6.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-fw-com.o
CC [M] /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.o
/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.c: In function ‘ipu_isys_bridge_unregister_sensors’:
/var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.c:283:17: error: implicit declaration of function ‘i2c_unregister_device’; did you mean ‘pci_unregister_driver’? [-Werror=implicit-function-declaration]
283 | i2c_unregister_device(sensor->vcm_i2c_client);
| ^~~~~~~~~~~~~~~~~~~~~
| pci_unregister_driver
cc1: some warnings being treated as errors
make[4]: *** [scripts/Makefile.build:297: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6/../ipu-isys-bridge.o] Error 1
make[3]: *** [scripts/Makefile.build:560: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel/ipu6] Error 2
make[2]: *** [scripts/Makefile.build:560: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/drivers/media/pci/intel] Error 2
make[1]: *** [Makefile:1906: /var/lib/dkms/ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-1030-kvm'
make: *** [Makefile:37: all] Error 2
====================
./ipu6-drivers/0~git202211220708.278b7e3d-0ubuntu0.22.04.1/build/make.log
autopkgtest [23:42:45]: test dkms-autopkgtest: -----------------------]
autopkgtest [23:42:46]: test dkms-autopkgtest: - - - - - - - - - - results - - - - - - - - - -
dkms-autopkgtest FAIL non-zero exit status 1
autopkgtest [23:42:46]: @@@@@@@@@@@@@@@@@@@@ summary
because CONFIG_I2C=n
[Fix]
Add a rule to avoid building ipu6-drivers when CONFIG_I2C=n
[Test Plan]
Install a new version of jammy:linux-kvm (1029 for example).
apt install ipu6-drivers will fail as described above.
After the fix, it will not built at all.
Once the package is in proposed, a new adt is triggered against proposed for jammy:linux-kvm.
[Where problems could occur]
Low possibility of new issues.
[Note]
This fix is not scalable in the sense that if configuration name changes, the module has to be changed as well. |
|
2023-03-21 15:48:37 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Jammy |
|
2023-03-21 15:48:37 |
Roxana Nicolescu |
bug task added |
|
ipu6-drivers (Ubuntu Jammy) |
|
2023-03-21 16:22:09 |
Ubuntu Foundations Team Bug Bot |
tags |
sru-20230227 |
patch sru-20230227 |
|
2023-03-21 16:22:15 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2023-04-14 12:32:53 |
Roxana Nicolescu |
attachment added |
|
ipu6-drivers-kinetic.debdiff https://bugs.launchpad.net/ubuntu/jammy/+source/ipu6-drivers/+bug/2012407/+attachment/5664014/+files/ipu6-drivers-kinetic.debdiff |
|
2023-04-14 12:33:18 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Kinetic |
|
2023-04-14 12:33:18 |
Roxana Nicolescu |
bug task added |
|
ipu6-drivers (Ubuntu Kinetic) |
|
2023-05-01 19:46:22 |
You-Sheng Yang |
ipu6-drivers (Ubuntu): status |
New |
Won't Fix |
|
2023-05-01 19:46:24 |
You-Sheng Yang |
ipu6-drivers (Ubuntu Jammy): status |
New |
Won't Fix |
|
2023-05-01 19:46:27 |
You-Sheng Yang |
ipu6-drivers (Ubuntu Kinetic): status |
New |
Won't Fix |
|
2023-05-01 19:49:09 |
You-Sheng Yang |
attachment removed |
ipu6-drivers.patch https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2012407/+attachment/5656326/+files/ipu6-drivers.patch |
|
|
2023-05-01 19:49:28 |
You-Sheng Yang |
attachment removed |
ipu6-drivers-kinetic.debdiff https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2012407/+attachment/5664014/+files/ipu6-drivers-kinetic.debdiff |
|
|
2023-06-29 12:05:18 |
Roxana Nicolescu |
ipu6-drivers (Ubuntu): status |
Won't Fix |
Confirmed |
|
2023-06-29 12:05:27 |
Roxana Nicolescu |
ipu6-drivers (Ubuntu Jammy): status |
Won't Fix |
Confirmed |
|
2023-06-29 12:05:30 |
Roxana Nicolescu |
ipu6-drivers (Ubuntu Kinetic): status |
Won't Fix |
Confirmed |
|
2023-06-29 12:05:36 |
Roxana Nicolescu |
nominated for series |
|
Ubuntu Lunar |
|
2023-06-29 12:05:36 |
Roxana Nicolescu |
bug task added |
|
ipu6-drivers (Ubuntu Lunar) |
|
2023-06-29 12:08:45 |
Roxana Nicolescu |
ipu6-drivers (Ubuntu Kinetic): status |
Confirmed |
Won't Fix |
|
2023-07-03 16:25:05 |
Ken VanDine |
removed subscriber Ubuntu Sponsors |
|
|
|
2023-07-11 16:10:27 |
You-Sheng Yang |
nominated for series |
|
Ubuntu Mantic |
|
2023-07-11 16:10:27 |
You-Sheng Yang |
bug task added |
|
ipu6-drivers (Ubuntu Mantic) |
|
2023-07-11 16:28:27 |
You-Sheng Yang |
ipu6-drivers (Ubuntu Mantic): status |
Confirmed |
In Progress |
|
2023-07-11 16:28:30 |
You-Sheng Yang |
ipu6-drivers (Ubuntu Mantic): importance |
Undecided |
High |
|
2023-07-11 16:28:32 |
You-Sheng Yang |
ipu6-drivers (Ubuntu Mantic): assignee |
|
You-Sheng Yang (vicamo) |
|
2023-07-11 16:42:55 |
You-Sheng Yang |
bug task added |
|
ivsc-driver (Ubuntu) |
|
2023-07-11 16:43:05 |
You-Sheng Yang |
ivsc-driver (Ubuntu Kinetic): status |
New |
Won't Fix |
|
2023-07-12 08:42:47 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu) |
|
|
2023-07-12 08:42:54 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu Jammy) |
|
|
2023-07-12 08:42:57 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu Kinetic) |
|
|
2023-07-12 08:43:04 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu Lunar) |
|
|
2023-07-12 08:43:09 |
You-Sheng Yang |
bug task deleted |
ivsc-driver (Ubuntu Mantic) |
|
|
2023-10-13 20:52:30 |
Launchpad Janitor |
ipu6-drivers (Ubuntu Lunar): status |
New |
Confirmed |
|