dm-writeboost-dkms FTBS in Noble with the linux-6.17-hwe kernel

Bug #2133756 reported by John Cabaj
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dm-writeboost (Ubuntu)
New
Undecided
Unassigned
Noble
New
Undecided
Unassigned

Bug Description

[ Impact ]

DKMS make.log for dm-writeboost-2.2.16 for kernel 6.17.0-7-generic (x86_64)
Tue Dec 2 22:37:39 UTC 2025
make -C /lib/modules/6.17.0-7-generic/build M=/var/lib/dkms/dm-writeboost/2.2.16/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.17.0-7-generic'
make -C /var/lib/dkms/dm-writeboost/2.2.16/build \
-f /usr/src/linux-headers-6.17.0-7-generic/Makefile modules
make[2]: Entering directory '/var/lib/dkms/dm-writeboost/2.2.16/build'
make --no-print-directory -C /var/lib/dkms/dm-writeboost/2.2.16/build \
-f /usr/src/linux-headers-6.17.0-7-generic/Makefile modules
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
make -f /usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build obj=. need-builtin=1 need-modorder=1
# cmd_mod dm-writeboost.mod
  printf '%s
' dm-writeboost-target.o dm-writeboost-metadata.o dm-writeboost-daemon.o | awk '!x[$0]++ { print("./"$0) }' > dm-writeboost.mod
# CC [M] dm-writeboost-target.o
  gcc-13 -Wp,-MMD,./.dm-writeboost-target.o.d -nostdinc -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/generated/uapi -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler-version.h -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/kconfig.h -I/usr/src/linux-headers-6.17.0-7-generic/ubuntu/include -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5 -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"dm_writeboost_target"' -DKBUILD_MODNAME='"dm_writeboost"' -D__KBUILD_MODNAME=kmod_dm_writeboost -c -o dm-writeboost-target.o dm-writeboost-target.c ; /usr/src/linux-headers-6.17.0-7-generic/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --Werror --module dm-writeboost-target.o
# CC [M] dm-writeboost-metadata.o
  gcc-13 -Wp,-MMD,./.dm-writeboost-metadata.o.d -nostdinc -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/generated/uapi -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler-version.h -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/kconfig.h -I/usr/src/linux-headers-6.17.0-7-generic/ubuntu/include -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5 -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"dm_writeboost_metadata"' -DKBUILD_MODNAME='"dm_writeboost"' -D__KBUILD_MODNAME=kmod_dm_writeboost -c -o dm-writeboost-metadata.o dm-writeboost-metadata.c ; /usr/src/linux-headers-6.17.0-7-generic/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --Werror --module dm-writeboost-metadata.o
# CC [M] dm-writeboost-daemon.o
  gcc-13 -Wp,-MMD,./.dm-writeboost-daemon.o.d -nostdinc -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/include -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/arch/x86/include/generated/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/uapi -I/usr/src/linux-headers-6.17.0-7-generic/include/generated/uapi -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler-version.h -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/kconfig.h -I/usr/src/linux-headers-6.17.0-7-generic/ubuntu/include -include /usr/src/linux-headers-6.17.0-7-generic/include/linux/compiler_types.h -D__KERNEL__ -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -march=x86-64 -mtune=generic -mno-red-zone -mcmodel=kernel -mstack-protector-guard-reg=gs -mstack-protector-guard-symbol=__ref_stack_chk_guard -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -mharden-sls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fstrict-flex-arrays=3 -fno-strict-overflow -fno-stack-check -fconserve-stack -fno-builtin-wcslen -Wall -Wextra -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-dangling-pointer -Wvla-larger-than=1 -Wno-pointer-sign -Wcast-function-type -Wno-array-bounds -Wno-stringop-overflow -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wunused -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -Wno-unused-parameter -g -gdwarf-5 -fsanitize=bounds-strict -fsanitize=shift -fsanitize=bool -fsanitize=enum -DMODULE -DKBUILD_BASENAME='"dm_writeboost_daemon"' -DKBUILD_MODNAME='"dm_writeboost"' -D__KBUILD_MODNAME=kmod_dm_writeboost -c -o dm-writeboost-daemon.o dm-writeboost-daemon.c ; /usr/src/linux-headers-6.17.0-7-generic/tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix=16 --Werror --module dm-writeboost-daemon.o
dm-writeboost-target.c: In function ‘writeboost_io_hints’:
dm-writeboost-target.c:1903:9: error: implicit declaration of function ‘blk_limits_io_opt’ [-Werror=implicit-function-declaration]
 1903 | blk_limits_io_opt(limits, 4096);
      | ^~~~~~~~~~~~~~~~~
# cmd_gen_objtooldep dm-writeboost-daemon.o
   { echo ; echo 'dm-writeboost-daemon.o: $(wildcard /usr/src/linux-headers-6.17.0-7-generic/tools/objtool/objtool)' ; } >> ./.dm-writeboost-daemon.o.cmd
# cmd_gen_symversions_c dm-writeboost-daemon.o
  if nm dm-writeboost-daemon.o 2>/dev/null | grep -q ' __export_symbol_'; then nm dm-writeboost-daemon.o | sed -n 's/.* __export_symbol_\(.*\)//p' | /usr/src/linux-headers-6.17.0-7-generic/scripts/gendwarfksyms/gendwarfksyms dm-writeboost-daemon.o >> ./.dm-writeboost-daemon.o.cmd; fi
# cmd_gen_objtooldep dm-writeboost-metadata.o
   { echo ; echo 'dm-writeboost-metadata.o: $(wildcard /usr/src/linux-headers-6.17.0-7-generic/tools/objtool/objtool)' ; } >> ./.dm-writeboost-metadata.o.cmd
# cmd_gen_symversions_c dm-writeboost-metadata.o
  if nm dm-writeboost-metadata.o 2>/dev/null | grep -q ' __export_symbol_'; then nm dm-writeboost-metadata.o | sed -n 's/.* __export_symbol_\(.*\)//p' | /usr/src/linux-headers-6.17.0-7-generic/scripts/gendwarfksyms/gendwarfksyms dm-writeboost-metadata.o >> ./.dm-writeboost-metadata.o.cmd; fi
cc1: some warnings being treated as errors
make[4]: *** [/usr/src/linux-headers-6.17.0-7-generic/scripts/Makefile.build:287: dm-writeboost-target.o] Error 1
make[3]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:2016: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.17.0-7-generic/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/var/lib/dkms/dm-writeboost/2.2.16/build'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.17.0-7-generic'
make: *** [Makefile:11: all] Error 2

[ Test case ]

Install the latest linux-6.17 kernel on Noble:

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

Install dm-writeboost-dkms:

$ sudo apt install dm-writeboost-dkms

Module built and installed successfully.

Load the module:

$ sudo modprobe dm-writeboost

Modules loaded successfully.

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

[ Fix ]

Apply patches from dm-writeboost-dkms Questing release enabling 6.17

* debian/patches/fix-Dont-use-blk_limits_io-functions-in-6.12.patch

[ Regression potential ]

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

Revision history for this message
John Cabaj (john-cabaj) wrote :

2.2.16-0.1ubuntu2.1 -> 2.2.16-0.1ubuntu2.2 debdiff

description: updated
Revision history for this message
John Cabaj (john-cabaj) wrote :
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.