Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] ZFS module does not compile with 6.2.8_1
@ 2023-03-25 14:04 gtryujb
  2023-03-25 16:30 ` classabbyamp
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gtryujb @ 2023-03-25 14:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2713 bytes --]

New issue by gtryujb on void-packages repository

https://github.com/void-linux/void-packages/issues/43013

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.21_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFF

### Package(s) Affected

zfs-2.1.9_1 linux6.2-6.2.8_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

The module compiles and installs.

### Actual behaviour

The ZFS module fails to compile against 6.2.8_1.

`xbps-reconfigure -f linux6.2`:
```
linux6.2: configuring ...
Executing post-install kernel hook: 10-dkms ...
Available DKMS module: nvidia-525.89.02.
Available DKMS module: zfs-2.1.9.
Building DKMS module: nvidia-525.89.02... done.
Building DKMS module: zfs-2.1.9... FAILED!
Generating kernel module dependency lists... done.
Executing post-install kernel hook: 20-initramfs ...
dracut-install: Failed to find module 'zfs'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.b8v8th/initramfs --kerneldir /lib/modules/6.2.8_1/ -m zfs
dracut: installkernel failed in module zfs
Executing post-install kernel hook: 50-efibootmgr ...
Executing post-install kernel hook: 50-grub ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.8_1
Found linux image: /boot/vmlinuz-6.1.21_1
Found initrd image: /boot/initramfs-6.1.21_1.img
Found linux image: /boot/vmlinuz-6.1.19_1
Found initrd image: /boot/initramfs-6.1.19_1.img
Found linux image: /boot/vmlinuz-5.19.17_1
Found initrd image: /boot/initramfs-5.19.17_1.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
linux6.2: configured successfully.
```

End of `/var/lib/dkms/zfs/2.1.9/build/make.log`:
```
  LD [M]  /var/lib/dkms/zfs/2.1.9/build/module/zstd/zzstd.o  
  LD [M]  /var/lib/dkms/zfs/2.1.9/build/module/zfs/zfs.o
  MODPOST /var/lib/dkms/zfs/2.1.9/build/module/Module.symvers
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_start_io_acct'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_end_io_acct_remapped'
make[2]: *** [scripts/Makefile.modpost:138: /var/lib/dkms/zfs/2.1.9/build/module/Module.symvers] Error 1
make[1]: *** [Makefile:1973: modpost] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-6.2.8_1'
make: *** [Makefile:55: modules-Linux] Error 2
make: Leaving directory '/var/lib/dkms/zfs/2.1.9/build/module'
```

### Steps to reproduce

1. `xbps-reconfigure -f linux6.2`

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZFS module does not compile with 6.2.8_1
  2023-03-25 14:04 [ISSUE] ZFS module does not compile with 6.2.8_1 gtryujb
@ 2023-03-25 16:30 ` classabbyamp
  2023-03-28 18:56 ` adrian-bl
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: classabbyamp @ 2023-03-25 16:30 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 183 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/43013#issuecomment-1483864074

Comment:
I don't think zfs supports 6.2 yet

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZFS module does not compile with 6.2.8_1
  2023-03-25 14:04 [ISSUE] ZFS module does not compile with 6.2.8_1 gtryujb
  2023-03-25 16:30 ` classabbyamp
@ 2023-03-28 18:56 ` adrian-bl
  2023-03-31 17:56 ` [ISSUE] [CLOSED] " ahesford
  2023-03-31 17:56 ` ahesford
  3 siblings, 0 replies; 5+ messages in thread
From: adrian-bl @ 2023-03-28 18:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

New comment by adrian-bl on void-packages repository

https://github.com/void-linux/void-packages/issues/43013#issuecomment-1487447556

Comment:
> I don't think zfs supports 6.2 yet

ZFS worked well up until and including 6.2.7 - that's a breakage in 6.2.8+

The related ZOL issue is at https://github.com/openzfs/zfs/issues/14658 and https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5f27571382ca42daa3e3d40d1b252bf18c2b61d2 seems to be the commit which broke it.

The fix on the ZOL side seems to be https://github.com/openzfs/zfs/pull/14677 which is likely included in 2.1.10




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ZFS module does not compile with 6.2.8_1
  2023-03-25 14:04 [ISSUE] ZFS module does not compile with 6.2.8_1 gtryujb
                   ` (2 preceding siblings ...)
  2023-03-31 17:56 ` [ISSUE] [CLOSED] " ahesford
@ 2023-03-31 17:56 ` ahesford
  3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-03-31 17:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 467 bytes --]

New comment by ahesford on void-packages repository

https://github.com/void-linux/void-packages/issues/43013#issuecomment-1492383164

Comment:
If we decide to bump `linux` to point to `linux6.2` before ZFS has a release that includes that patch, we may pull the patch locally. In the meantime, failure to build on `linux6.2` is not unexpected and we can't assume successful builds on prior releases in the series imply ongoing functionality. This is not a Void bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ISSUE] [CLOSED] ZFS module does not compile with 6.2.8_1
  2023-03-25 14:04 [ISSUE] ZFS module does not compile with 6.2.8_1 gtryujb
  2023-03-25 16:30 ` classabbyamp
  2023-03-28 18:56 ` adrian-bl
@ 2023-03-31 17:56 ` ahesford
  2023-03-31 17:56 ` ahesford
  3 siblings, 0 replies; 5+ messages in thread
From: ahesford @ 2023-03-31 17:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2716 bytes --]

Closed issue by gtryujb on void-packages repository

https://github.com/void-linux/void-packages/issues/43013

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.21_1 x86_64 GenuineIntel uptodate rrrrmmnFFFFFF

### Package(s) Affected

zfs-2.1.9_1 linux6.2-6.2.8_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

The module compiles and installs.

### Actual behaviour

The ZFS module fails to compile against 6.2.8_1.

`xbps-reconfigure -f linux6.2`:
```
linux6.2: configuring ...
Executing post-install kernel hook: 10-dkms ...
Available DKMS module: nvidia-525.89.02.
Available DKMS module: zfs-2.1.9.
Building DKMS module: nvidia-525.89.02... done.
Building DKMS module: zfs-2.1.9... FAILED!
Generating kernel module dependency lists... done.
Executing post-install kernel hook: 20-initramfs ...
dracut-install: Failed to find module 'zfs'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D /var/tmp/dracut.b8v8th/initramfs --kerneldir /lib/modules/6.2.8_1/ -m zfs
dracut: installkernel failed in module zfs
Executing post-install kernel hook: 50-efibootmgr ...
Executing post-install kernel hook: 50-grub ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.2.8_1
Found linux image: /boot/vmlinuz-6.1.21_1
Found initrd image: /boot/initramfs-6.1.21_1.img
Found linux image: /boot/vmlinuz-6.1.19_1
Found initrd image: /boot/initramfs-6.1.19_1.img
Found linux image: /boot/vmlinuz-5.19.17_1
Found initrd image: /boot/initramfs-5.19.17_1.img
Warning: os-prober will not be executed to detect other bootable partitions.
Systems on them will not be added to the GRUB boot configuration.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
linux6.2: configured successfully.
```

End of `/var/lib/dkms/zfs/2.1.9/build/make.log`:
```
  LD [M]  /var/lib/dkms/zfs/2.1.9/build/module/zstd/zzstd.o  
  LD [M]  /var/lib/dkms/zfs/2.1.9/build/module/zfs/zfs.o
  MODPOST /var/lib/dkms/zfs/2.1.9/build/module/Module.symvers
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_start_io_acct'
ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'bio_end_io_acct_remapped'
make[2]: *** [scripts/Makefile.modpost:138: /var/lib/dkms/zfs/2.1.9/build/module/Module.symvers] Error 1
make[1]: *** [Makefile:1973: modpost] Error 2
make[1]: Leaving directory '/usr/src/kernel-headers-6.2.8_1'
make: *** [Makefile:55: modules-Linux] Error 2
make: Leaving directory '/var/lib/dkms/zfs/2.1.9/build/module'
```

### Steps to reproduce

1. `xbps-reconfigure -f linux6.2`

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-03-31 17:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-25 14:04 [ISSUE] ZFS module does not compile with 6.2.8_1 gtryujb
2023-03-25 16:30 ` classabbyamp
2023-03-28 18:56 ` adrian-bl
2023-03-31 17:56 ` [ISSUE] [CLOSED] " ahesford
2023-03-31 17:56 ` ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).