[Bug 2011684] Re: oss4-dkms FTBS with the latest lunar kernel 6.2.0-17-generic

Launchpad Bug Tracker 2011684 at bugs.launchpad.net
Tue Mar 21 13:12:48 UTC 2023


This bug was fixed in the package oss4 - 4.2-build2020-1ubuntu1

---------------
oss4 (4.2-build2020-1ubuntu1) lunar; urgency=medium

  * Support variable name length module symbol names, introduced in linux
    6.2 (LP: #2011684):
    - debian/patches/505_support_linux_variable_modversion_length.patch

 -- Andrea Righi <andrea.righi at canonical.com>  Wed, 15 Mar 2023 08:03:57
+0000

** Changed in: oss4 (Ubuntu Lunar)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2011684

Title:
  oss4-dkms FTBS with the latest lunar kernel 6.2.0-17-generic

Status in oss4 package in Ubuntu:
  Fix Released
Status in oss4 source package in Lunar:
  Fix Released

Bug 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). 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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/2011684/+subscriptions




More information about the Ubuntu-sponsors mailing list