Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223149 > unrolled thread

Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64)

Started by"Steve M. Robbins" <steve@sumost.ca>
First post2024-12-07 23:00 +0100
Last post2024-12-09 17:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64) "Steve M. Robbins" <steve@sumost.ca> - 2024-12-07 23:00 +0100
    Bug#1089488: [Pkg-zfsonlinux-devel] Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64) Steven Robbins <steve@sumost.ca> - 2024-12-09 17:50 +0100

#1223149 — Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64)

From"Steve M. Robbins" <steve@sumost.ca>
Date2024-12-07 23:00 +0100
SubjectBug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64)
Message-ID<JRb0d-evAF-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: zfs-dkms
Version: 2.2.6-2
Severity: important
Tags: upstream

The build log shows a warning: "kmem_cache_create" redefined so I suspect an
upstream fix is required.

  CC [M]  /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-xdr.o
In file included from /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-
generic.c:31:
/var/lib/dkms/zfs/2.2.6/build/include/os/linux/spl/sys/kmem_cache.h:205:9:
warning: "kmem_cache_create" redefined
  205 | #define kmem_cache_create(name, size, align, ctor, dtor, rclm, priv,
vmp, fl) \
      |         ^~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-
headers-6.12.3-common/include/linux/fs.h:45,
                 from /usr/src/linux-
headers-6.12.3-common/include/linux/compat.h:17,
                 from /usr/src/linux-
headers-6.12.3-common/arch/x86/include/asm/ia32.h:7,
                 from /usr/src/linux-
headers-6.12.3-common/arch/x86/include/asm/elf.h:10,
                 from /usr/src/linux-
headers-6.12.3-common/include/linux/elf.h:6,
                 from /usr/src/linux-
headers-6.12.3-common/include/linux/module.h:19,
                 from
/var/lib/dkms/zfs/2.2.6/build/include/os/linux/spl/sys/sysmacros.h:27,
                 from /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-
generic.c:27:
/usr/src/linux-headers-6.12.3-common/include/linux/slab.h:404:9: note: this is
the location of the previous definition



-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.10-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages zfs-dkms depends on:
ii  debconf [debconf-2.0]  1.5.87
ii  dkms                   3.1.0-1
ii  file                   1:5.45-3+b1
ii  libc6-dev [libc-dev]   2.40-4
ii  libpython3-stdlib      3.12.7-1
ii  lsb-release            12.1-1
ii  perl                   5.40.0-8

Versions of packages zfs-dkms recommends:
ii  linux-libc-dev  6.12.3-1
ii  zfs-zed         2.2.6-2
ii  zfsutils-linux  2.2.6-2

Versions of packages zfs-dkms suggests:
ii  debhelper  13.20

-- debconf information:
* zfs-dkms/note-incompatible-licenses:
  zfs-dkms/stop-build-for-unknown-kernel: true
  zfs-dkms/stop-build-for-32bit-kernel: true

[toc] | [next] | [standalone]


#1223354 — Bug#1089488: [Pkg-zfsonlinux-devel] Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64)

FromSteven Robbins <steve@sumost.ca>
Date2024-12-09 17:50 +0100
SubjectBug#1089488: [Pkg-zfsonlinux-devel] Bug#1089488: zfs-dkms: module build fails for kernel: 6.12.3-amd64 (x86_64)
Message-ID<JRP7j-fu7t-3@gated-at.bofh.it>
In reply to#1223149

[Multipart message — attachments visible in raw view] — view raw

Much appreciated, Craig!  

I started using zfs a year ago and was naively thinking that the Debian 
package system somehow "handled" things.  I see that is not the case.  What 
can be done better?


On Sunday, December 8, 2024 7:53:03 P.M. CST Craig Sanders wrote:

> If you use ZFS (or ANY other non-standard kernel module, including other
> dkms modules) then it is strongly recommended that you **DO NOT UPGRADE
> YOUR KERNEL UNTIL YOU HAVE VERIFIED THAT THE NEW KERNEL WORKS WITH THE
> MODULE(S) YOU NEED**.
> 
> This can not be emphasised enough 

I agree.  After reading up more on this (thanks to pointers in the upstream 
bug), I learned about the "META" file from zfs that notes the maximum kernel 
version and have since backed off to 6.10.

I sent a note directly to the pkg-zfsonlinux-devel mailing list suggesting 
that it would be helpful to indeed emphasize this more to users of Debian zfs 
packages.

It seems my email got lost, so I'll just re-ask the question here: could the 
maximum linux version be better conveyed to package users?  For example could 
there be a package conflict added to prevent me from upgrading the kernel?

[ ... lots of great advice, snipped ... ]

-Steve

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web