← Back to team overview

debcrafters-packages team mailing list archive

[Bug 2111377] Re: sl-modem-dkms FTBS in Noble with the linux-6.14-hwe kernel

 

Debdiff to enable support for both 6.8 and 6.14 kernels.

** Changed in: sl-modem (Ubuntu Noble)
       Status: New => In Progress

** Description changed:

  [ Impact ]
  
  DKMS make.log for sl-modem-2.9.11~20110321 for kernel 6.14.0-15-generic (x86_64)
  Wed May 21 01:28:44 UTC 2025
  make: Entering directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
- 	obj-m= slusb.o 
- 	slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
+  obj-m= slusb.o
+  slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
  make modules -C /lib/modules/6.14.0-15-generic/build M=/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers
  make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic'
  make[2]: Entering directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
  warning: the compiler differs from the one used to build the kernel
-   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
-   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
-   CC [M]  st7554.o
+   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
+   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
+   CC [M]  st7554.o
  st7554.c:1047:20: error: ‘no_llseek’ undeclared here (not in a function); did you mean ‘noop_llseek’?
-  1047 |         .llseek =  no_llseek,
-       |                    ^~~~~~~~~
-       |                    noop_llseek
+  1047 |         .llseek =  no_llseek,
+       |                    ^~~~~~~~~
+       |                    noop_llseek
  make[4]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: st7554.o] Error 1
  make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2
  make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: __sub-make] Error 2
  make[2]: Leaving directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
  make[1]: *** [Makefile:251: __sub-make] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic'
  make: *** [Makefile:138: all] Error 2
  make: Leaving directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
  
  [ Test case ]
  
  Install the latest linux-6.14 kernel on Noble:
  
  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt install linux-generic-hwe-24.04-wip
  
  Install sl-modem-dkms
  
  $ sudo apt install sl-modem-dkms
  
  Load the modules:
  
- $ sudo modprobe
+ $ sudo modprobe slusb
+ $ sudo modprobe ungrab-winmodem
  
  The same procedure can be repeated on linux-6.8 to test for possible
  regressions.
  
  [ Fix ]
  
+ Apply patch from Debian (https://salsa.debian.org/debian/sl-
+ modem/-/blob/master/debian/patches/fix-linux-6.12-ftbfs.patch):
+ 
+ * debian/patches/fix-linux-6.12-ftbfs.patch
  
  [ Regression potential ]
  
  We may experience regressions in systems that are using the sl-modem
  drivers, especially with kernels >= 6.8 kernel.

** Patch added: "sl-modem-support-noble-6.14.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/2111377/+attachment/5879231/+files/sl-modem-support-noble-6.14.debdiff

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to sl-modem in Ubuntu.
https://bugs.launchpad.net/bugs/2111377

Title:
  sl-modem-dkms FTBS in Noble with the linux-6.14-hwe kernel

Status in sl-modem package in Ubuntu:
  New
Status in sl-modem source package in Noble:
  In Progress

Bug description:
  [ Impact ]

  DKMS make.log for sl-modem-2.9.11~20110321 for kernel 6.14.0-15-generic (x86_64)
  Wed May 21 01:28:44 UTC 2025
  make: Entering directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
   obj-m= slusb.o
   slamr-objs=amrmo_init.o sysdep_amr.o amrlibs.o
  make modules -C /lib/modules/6.14.0-15-generic/build M=/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers
  make[1]: Entering directory '/usr/src/linux-headers-6.14.0-15-generic'
  make[2]: Entering directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
  warning: the compiler differs from the one used to build the kernel
    The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
    CC [M]  st7554.o
  st7554.c:1047:20: error: ‘no_llseek’ undeclared here (not in a function); did you mean ‘noop_llseek’?
   1047 |         .llseek =  no_llseek,
        |                    ^~~~~~~~~
        |                    noop_llseek
  make[4]: *** [/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: st7554.o] Error 1
  make[3]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] Error 2
  make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: __sub-make] Error 2
  make[2]: Leaving directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'
  make[1]: *** [Makefile:251: __sub-make] Error 2
  make[1]: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic'
  make: *** [Makefile:138: all] Error 2
  make: Leaving directory '/var/lib/dkms/sl-modem/2.9.11~20110321/build/drivers'

  [ Test case ]

  Install the latest linux-6.14 kernel on Noble:

  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt install linux-generic-hwe-24.04-wip

  Install sl-modem-dkms

  $ sudo apt install sl-modem-dkms

  Load the modules:

  $ sudo modprobe slusb
  $ sudo modprobe ungrab-winmodem

  The same procedure can be repeated on linux-6.8 to test for possible
  regressions.

  [ Fix ]

  Apply patch from Debian (https://salsa.debian.org/debian/sl-
  modem/-/blob/master/debian/patches/fix-linux-6.12-ftbfs.patch):

  * debian/patches/fix-linux-6.12-ftbfs.patch

  [ Regression potential ]

  We may experience regressions in systems that are using the sl-modem
  drivers, especially with kernels >= 6.8 kernel.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sl-modem/+bug/2111377/+subscriptions



References