Activity log for bug #2011684

Date Who What changed Old value New value Message
2023-03-15 08:43:59 Andrea Righi bug added bug
2023-03-15 08:44:06 Andrea Righi nominated for series Ubuntu Lunar
2023-03-15 08:44:06 Andrea Righi bug task added oss4 (Ubuntu Lunar)
2023-03-15 08:45:48 Andrea Righi attachment added oss4-support-latest-ubuntu-linux-6.2.debdiff https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/2011684/+attachment/5654625/+files/oss4-support-latest-ubuntu-linux-6.2.debdiff
2023-03-15 08:46:32 Andrea Righi description [Impact] Trying to install oss4-dkms with the latest 6.2 kernel shows the following build error: /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: warning: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [- Wint-conversion] 4 | {0x46ca35f6, "oss_register_chrdev"}, | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: note: (near initialization for ‘____versions[0].crc’) /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: error: initializer element is not computable at load time [Test case] $ sudo apt install oss4-dkms [Fix] The latest 6.2 kernel includes a SAUCE patch to support a variable-length for the max size of symbol names. This seems to conflict with osscore_symbols.inc that defines a bunch of symbols in the old static size way. Looking at the code it seems pointless to define these symbols (and their modversion) manually, we can just let the kernel determine the right mod versioning during the regular build. [Regression potential] We may experience regressions / user-space incompatibilities with recent kernels >= 6.2 that are using oss4 (assuming anyone is still using the oss4 sound system). ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: oss4-dkms 4.2-build2020-1 ProcVersionSignature: User Name 6.2.0-17.17-generic 6.2.6 Uname: Linux 6.2.0-17-generic x86_64 NonfreeKernelModules: osscore ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: server CloudSerial: 20230301 Date: Wed Mar 15 08:39:07 2023 SourcePackage: oss4 UpgradeStatus: No upgrade log present (probably fresh install) [Impact] Trying to install oss4-dkms with the latest 6.2 kernel shows the following build error: /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: warning: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [- Wint-conversion]     4 | {0x46ca35f6, "oss_register_chrdev"},       | ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: note: (near initialization for ‘____versions[0].crc’) /var/lib/dkms/oss4/4.2-build2020/build/drivers/osscore_symbols.inc:4:14: error: initializer element is not computable at load time [Test case] $ sudo apt install oss4-dkms [Fix] The latest 6.2 kernel includes a SAUCE patch to support a variable-length for the max size of symbol names. This seems to conflict with osscore_symbols.inc that defines a bunch of symbols in the old static size way. Looking at the code it seems pointless to define these symbols (and their modversion) manually, we can just let the kernel determine the right mod versioning during the regular build. [Regression potential] We may experience regressions / user-space incompatibilities with recent kernels >= 6.2 that are using oss4 (assuming anyone is still using the oss4 sound system). Source code remains unchanged in kernels < 6.2. ProblemType: Bug DistroRelease: Ubuntu 23.04 Package: oss4-dkms 4.2-build2020-1 ProcVersionSignature: User Name 6.2.0-17.17-generic 6.2.6 Uname: Linux 6.2.0-17-generic x86_64 NonfreeKernelModules: osscore ApportVersion: 2.26.0-0ubuntu2 Architecture: amd64 CasperMD5CheckResult: unknown CloudBuildName: server CloudSerial: 20230301 Date: Wed Mar 15 08:39:07 2023 SourcePackage: oss4 UpgradeStatus: No upgrade log present (probably fresh install)
2023-03-15 20:22:49 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug cloud-image lunar third-party-packages amd64 apport-bug cloud-image lunar patch third-party-packages
2023-03-20 18:17:47 Andrea Righi bug added subscriber Ubuntu Sponsors Team
2023-03-21 09:49:36 Andrea Righi oss4 (Ubuntu Lunar): status New In Progress
2023-03-21 09:58:59 Andrea Righi oss4 (Ubuntu Lunar): status In Progress Fix Committed
2023-03-21 13:12:48 Launchpad Janitor oss4 (Ubuntu Lunar): status Fix Committed Fix Released
2023-03-21 13:57:45 Andrea Righi oss4 (Ubuntu Lunar): assignee Andrea Righi (arighi)
2023-03-21 13:57:51 Andrea Righi oss4 (Ubuntu Lunar): importance Undecided Medium