zfs-dkms FTBFS on Linux 6.10/s390x

Bug #2071774 reported by Paolo Pisati
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
High
bugproxy
zfs-linux (Ubuntu)
Status tracked in Oracular
Oracular
Fix Released
Undecided
Unassigned

Bug Description

ZFS FTBFS on Linux 6.10/s390x - full build log: https://launchpadlibrarian.net/737125941/buildlog_ubuntu-oracular-s390x.linux-unstable_6.10.0-12.12_BUILDING.txt.gz

```
  CC [M] <<DKMSDIR>>/build/zfs/2.2.4/build/module/os/linux/zfs/zvol_os.o
  LD [M] <<DKMSDIR>>/build/zfs/2.2.4/build/module/spl.o
  LD [M] <<DKMSDIR>>/build/zfs/2.2.4/build/module/zfs.o
  MODPOST <<DKMSDIR>>/build/zfs/2.2.4/build/module/Module.symvers
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'vm_layout'
make[6]: *** [scripts/Makefile.modpost:145: <<DKMSDIR>>/build/zfs/2.2.4/build/module/Module.symvers] Error 1
make[5]: *** [<<DKMSDIR>>/headers/linux-headers-6.10.0-12-generic/Makefile:1891: modpost] Error 2
```

same issue is 100% reproducible with upstream zfs (plus the 6.10 compatiblity patches on top): https://github.com/openzfs/zfs/pull/16250#issuecomment-2202351855

Frank Heimes (fheimes)
tags: added: s390x
tags: added: reverse-proxy-bugzilla
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
assignee: nobody → bugproxy (bugproxy)
bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-207402 severity-medium targetmilestone-inin---
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
importance: Undecided → High
Revision history for this message
bugproxy (bugproxy) wrote : Fix __pa/__va for modules under non-GPL licenses

------- Comment on attachment From <email address hidden> 2024-07-17 11:08 EDT-------

This patch is in the queue and will address the ZFS build problem.

Revision history for this message
Kleber Sacilotto de Souza (kleber-souza) wrote :

Hi Vasily,

Thank you for providing a patch to fix the issue.

Is the patch available in any public git tree? Is it expected to be sent upstream for 6.11 (or even 6.10 stable)?

Changed in zfs-linux (Ubuntu Oracular):
status: New → In Progress
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → In Progress
Revision history for this message
Paolo Pisati (p-pisati) wrote :

Without a clear provenance (e.g. the patch doesn't go upstream) it might look like we are just circumventing the GPL license: not an "ideal" situation.

Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2024-07-17 12:24 EDT-------
The patch will probably be sent upstream for 6.11 next week, and hopefully picked up in 6.10 stable. I'll post links once they are available.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2024-07-29 04:38 EDT-------
Merged in Linus tree

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v6.11-rc1&id=e188e5d5ffd01d484b5255b88739fcf67b300223

Also picked into the 6.10-stable tree queue

bugproxy (bugproxy)
tags: added: targetmilestone-inin2410
removed: targetmilestone-inin---
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this has landed in 6.10.3

Revision history for this message
Timo Aaltonen (tjaalton) wrote :
Changed in zfs-linux (Ubuntu Oracular):
status: In Progress → Fix Released
Revision history for this message
Frank Heimes (fheimes) wrote :

Thanks for confirming, Timo!

Changed in ubuntu-z-systems:
status: In Progress → Fix Released
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.