/home/bruce/rr.meta-oe/0002-vboxguestdrivers-fix-kernel-v6.5-build.patchFrom 2981fa9167f70444f657c53d80f23496b209b5bd Mon Sep 17 00:00:00 2001
Building against the 6.5+ kernel and headers resulted in a build failure due to missing detected features. We can fix the issues by bumping to 2.2.0-rc4
Bumping zfs to version zfs-2.2.0-rc4-35-g229ca7d73, which comprises the following commits:
739db06ce Tag 2.2.0-rc4
4da8c7d11 Intel QAT 1.7 compatibility
32949f256 Relax error reporting in zpool import and zpool split 79ac1b29d ZIL: Change ZIOs issue order.
7dc2baaa1 ZIL: Revert zl_lock scope reduction.
5a7cb0b06 ZIL: Tune some assertions.
400f56e3f dmu_buf_will_clone: change assertion to fix 32-bit compiler warning 63159e5bd checkstyle: fix action failures
7eabb0af3 Try to clarify wording to reduce zpool add incidents c65aaa838 Avoid save/restoring AMX registers to avoid a SPR erratum e99e684b3 zed: update zed.d/statechange-slot_off.sh
1b696429c Make zoned/jailed zfsprops(7) make more sense.
084ff4abd tests/block_cloning: rename and document get_same_blocks helper ab999406f Update outdated assertion from zio_write_compress d19304ffe zed: Add zedlet to power off slot when drive is faulted 92f095a90 copy_file_range: fix fallback when source create on same txg 645a7e4d9 Move zinject from openzfs-zfs-test to openzfs-zfsutils 95649854b dracut: support mountpoint=legacy for root dataset 895cb689d zfs_clone_range should return a descriptive error codes 6bdc7259d libzfs: sendrecv: send_progress_thread: handle SIGINFO/SIGUSR1 1e488eec6 linux/spl/kmem_cache: undefine kmem_cache_alloc before defining it c418edf1d Fix some typos
df8c9f351 ZIL: Second attempt to reduce scope of zl_issuer_lock. bb31ded68 ZIL: Replay blocks without next block pointer.
c1801cbe5 ZIL: Avoid dbuf_read() before dmu_sync().
ffaedf0a4 Remove fastwrite mechanism.
02ce9030e Avoid waiting in dmu_sync_late_arrival().
0ae7bfc0a zpool_vdev_remove() should handle EALREADY error return bd1eab16e linux: zfs: ctldir: set [amc]time to snapshot's creation property b3c1807d7 readmmap.c: fix building with MUSL libc
b5e245633 Check the return value in clonefile test
c47f0f441 linux/copy_file_range: properly request a fallback copy on Linux <5.3 12f2b1f65 zdb: include cloned blocks in block statistics
4a104ac04 Tag 2.2.0-rc3
c24a48063 BRT should return EOPNOTSUPP
36d1a3ef4 zts: block cloning tests
2768dc04c linux: implement filesystem-side copy/clone functions for EL7 3366ceaf3 linux: implement filesystem-side clone ioctls
5d12545da linux: implement filesystem-side copy/clone functions a3ea8c8ee dbuf_sync_leaf: check DB_READ in state assertions 0426e1327 dmu_buf_will_clone: only check that current txg is clean 8aa4f0f0f brt_vdev_realloc: use vmem_alloc for large allocation 7698503dc zfs_clone_range: use vmem_malloc for large allocation b9aa32ff3 zed: Reduce log noise for large JBODs
571762b29 Linux 6.4 compat: META
991834f5d Remove zl_issuer_lock from zil_suspend().
41a0f6627 ZIL: Fix config lock deadlock.
c79d1bae7 Update changelog for OpenZFS 2.2.0 release
70232483b Tag 2.2.0-rc2
c5273e0c3 shellcheck: disable "unreachable command" check [SC2317] 685ae4429 metaslab: tuneable to better control force ganging 81be809a2 Adjust prefetch parameters.
8a6fde821 Add explicit prefetches to bpobj_iterate().
b6f618f8f Don't emit cksum_{actual_expected} in ereport.fs.zfs.checksum events 51a2b5976 Don't emit checksum histograms in ereport.fs.zfs.checksum events 8c81c0b05 zed: Fix zed ASSERT on slot power cycle
b221f4394 Fix zpl_test_super race with zfs_umount
e037327bf spa_min_alloc should be GCD, not min
1a2e486d2 Don't panic if setting vdev properties is unsupported for this vdev type d8011707c Ignore pool ashift property during vdev attachment f5f5a2db9 Rollback before zfs root is mounted
83b0967c1 Do not request data L1 buffers on scan prefetch.
73ba5df31 Linux 6.5 compat: disk_check_media_change() was added 1bc244ae9 Linux 6.5 compat: BLK_STS_NEXUS renamed to BLK_STS_RESV_CONFLICT 931dc7055 Linux 6.5 compat: intptr_t definition is canonically signed 5299f4f28 set autotrim default to 'off' everywhere
f917cf1c0 Fix the ZFS checksum error histograms with larger record sizes 56ed389a5 Fix raw receive with different indirect block size. e613e4bbe Avoid extra snprintf() in dsl_deadlist_merge().
b4e630b00 Add missed DMU_PROJECTUSED_OBJECT prefetch.
bf6cd3079 FreeBSD: catch up to __FreeBSD_version 1400093
1266cebf8 FreeBSD: Fix build on stable/13 after 1302506.
---
Khem,
With 6.4 going EOL upstream, I'm rushing in a bump to v6.5 for OEcore.
This is a bump for btfs that solves issues in my tesing.
Bruce
meta-filesystems/recipes-filesystems/zfs/zfs_2.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-filesystems/recipes-filesystems/zfs/zfs_2.2.0.bb +1 -1
@@ -4,7 +4,7 @@ LICENSE = "CDDL-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa" HOMEPAGE ="https://github.com/openzfs/zfs" -SRCREV = "009d3288dea524c7ad373b04b65bee8bb6f0bfea" +SRCREV = "229ca7d738ccbf4c55076977467ee93e20b6f01b" SRC_URI = "git://github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \ file://0001-Define-strndupa-if-it-does-not-exist.patch \ file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \
Signature · 1 line
2.34.1
PATCH 2/2 vboxguestdrivers: fix kernel v6.5 build
From: Bruce Ashfield <[email protected]>
When building against the 6.5 kernel (and kernel headers), the following build error is encountered:
| vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:194:24: error: 'drm_fb_helper_sys_fillrect' undeclared here (not in a function); did you mean 'drm_fb_helper_lastclose'? | 194 | .fb_fillrect = drm_fb_helper_sys_fillrect, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | drm_fb_helper_lastclose | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:195:24: error: 'drm_fb_helper_sys_copyarea' undeclared here (not in a function); did you mean 'drm_fb_helper_set_par'? | 195 | .fb_copyarea = drm_fb_helper_sys_copyarea, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | drm_fb_helper_set_par | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:196:25: error: 'drm_fb_helper_sys_imageblit' undeclared here (not in a function) | 196 | .fb_imageblit = drm_fb_helper_sys_imageblit, | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
A patch from vbox-dev has been posted to fix the issue.
Upstream-Status: Submitted [https://www.mail-archive.com/[email protected]/msg10129.html]
---
Khem,
With 6.4 going EOL upstream, I'm rushing in a bump to v6.5 for OEcore.
This is a bump for the vboxguestdrives that solves issues in my tesing.
Bruce
.../0001-vbox_fb-fix-kernel-v6.5-build.patch | 50 +++++++++++++++++++ .../vboxguestdrivers_7.0.10.bb | 1 + 2 files changed, 51 insertions(+) create mode 100644 meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers/0001-vbox_fb-fix-kernel-v6.5-build.patch new file +50 -0
@@ -0,0 +1,50 @@ +From 4cf34517b0c793405dca154cc70c9b5d1a566a8a Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <[email protected]> +Date: Fri, 29 Sep 2023 14:52:50 -0400 +Subject: [PATCH] vbox_fb: fix kernel v6.5 build + +When building against the 6.5 kernel (and kernel headers), the following +build error is encountered: + + | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:194:24: error: 'drm_fb_helper_sys_fillrect' undeclared here (not in a function); did you mean 'drm_fb_helper_lastclose'? + | 194 | .fb_fillrect = drm_fb_helper_sys_fillrect, + | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | | drm_fb_helper_lastclose + | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:195:24: error: 'drm_fb_helper_sys_copyarea' undeclared here (not in a function); did you mean 'drm_fb_helper_set_par'? + | 195 | .fb_copyarea = drm_fb_helper_sys_copyarea, + | | ^~~~~~~~~~~~~~~~~~~~~~~~~~ + | | drm_fb_helper_set_par + | vboxguestdrivers/7.0.10/vboxguestdrivers-7.0.10/vboxvideo/vbox_fb.c:196:25: error: 'drm_fb_helper_sys_imageblit' undeclared here (not in a function) + | 196 | .fb_imageblit = drm_fb_helper_sys_imageblit, + | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ + +We backport a patch from vbox-dev to fix the issue. + +Upstream-Status: Submitted [https://www.mail-archive.com/[email protected]/msg10129.html] + +Signed-off-by: Bruce Ashfield <[email protected]> +--- + src/VBox/Additions/linux/drm/vbox_fb.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/VBox/Additions/linux/drm/vbox_fb.c b/src/VBox/Additions/linux/drm/vbox_fb.c +index 2a8c79ab..d453533c 100644 +--- a/src/VBox/Additions/linux/drm/vbox_fb.c ++++ b/src/VBox/Additions/linux/drm/vbox_fb.c +@@ -196,9 +196,13 @@ static struct fb_ops vboxfb_ops = { + .owner = THIS_MODULE, + .fb_check_var = drm_fb_helper_check_var, + .fb_set_par = drm_fb_helper_set_par, ++#if RTLNX_VER_MIN(6, 5, 0) ++ FB_DEFAULT_SYS_OPS, ++#else + .fb_fillrect = drm_fb_helper_sys_fillrect, + .fb_copyarea = drm_fb_helper_sys_copyarea, + .fb_imageblit = drm_fb_helper_sys_imageblit, ++#endif + .fb_pan_display = drm_fb_helper_pan_display, + .fb_blank = drm_fb_helper_blank, + .fb_setcmap = drm_fb_helper_setcmap, +-- +2.34.1 +
meta-oe/recipes-support/vboxguestdrivers/vboxguestdrivers_7.0.10.bb +1 -0
@@ -13,6 +13,7 @@ VBOX_NAME = "VirtualBox-${PV}" SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \ file://Makefile.utils \ + file://0001-vbox_fb-fix-kernel-v6.5-build.patch \ " SRC_URI[sha256sum] = "0b1e6d8b7f87d017c7fae37f80586acff04f799ffc1d51e995954d6415dee371"
Signature · 1 line
2.34.1
Looks like the scripts went nuts on the subject!
I'll resend a v2 with something that doesn't need to be manually fixed!
Bruce
Quoted 124 lines · On Fri, Sep 29, 2023 at 3:50 PM <[email protected]> wrote:
Building against the 6.5+ kernel and headers resulted in a build failure due to missing detected features. We can fix the issues by bumping to 2.2.0-rc4
Bumping zfs to version zfs-2.2.0-rc4-35-g229ca7d73, which comprises the following commits:
739db06ceTag 2.2.0-rc4
4da8c7d11Intel QAT 1.7 compatibility
32949f256Relax error reporting in zpool import and zpool split79ac1b29dZIL: Change ZIOs issue order.
7dc2baaa1ZIL: Revertzl_lockscope reduction.
5a7cb0b06ZIL: Tune some assertions.
400f56e3fdmu_buf_will_clone: change assertion to fix 32-bit compiler
warning
63159e5bdcheckstyle: fix action failures
7eabb0af3Try to clarify wording to reduce zpool add incidentsc65aaa838Avoid save/restoring AMX registers to avoid a SPR erratume99e684b3zed: updatezed.d/statechange-slot_off.sh1b696429cMake zoned/jailed zfsprops(7) make more sense.084ff4abdtests/block_cloning: rename and documentget_same_blocks
helper
ab999406fUpdate outdated assertion fromzio_write_compressd19304ffezed: Add zedlet to power off slot when drive is faulted92f095a90copy_file_range: fix fallback when source create on same txg645a7e4d9Move zinject from openzfs-zfs-test to openzfs-zfsutils95649854bdracut: support mountpoint=legacy for root dataset895cb689dzfs_clone_rangeshould return a descriptive error codes6bdc7259dlibzfs: sendrecv:send_progress_thread: handle
SIGINFO/SIGUSR1
1e488eec6linux/spl/kmem_cache: undefinekmem_cache_allocbefore
defining it
c418edf1dFix some typos
df8c9f351ZIL: Second attempt to reduce scope ofzl_issuer_lock.bb31ded68ZIL: Replay blocks without next block pointer.c1801cbe5ZIL: Avoiddbuf_read()beforedmu_sync().ffaedf0a4Remove fastwrite mechanism.
02ce9030eAvoid waiting indmu_sync_late_arrival().0ae7bfc0azpool_vdev_remove()should handle EALREADY error returnbd1eab16elinux: zfs: ctldir: set [amc]time to snapshot's creation
property
b3c1807d7readmmap.c: fix building with MUSL libc
b5e245633Check the return value in clonefile testc47f0f441linux/copy_file_range: properly request a fallback copy on
Linux <5.3
12f2b1f65zdb: include cloned blocks in block statistics4a104ac04Tag 2.2.0-rc3
c24a48063BRT should return EOPNOTSUPP
36d1a3ef4zts: block cloning tests
2768dc04clinux: implement filesystem-side copy/clone functions for EL73366ceaf3linux: implement filesystem-side clone ioctls5d12545dalinux: implement filesystem-side copy/clone functionsa3ea8c8eedbuf_sync_leaf: checkDB_READin state assertions0426e1327dmu_buf_will_clone: only check that current txg is clean8aa4f0f0fbrt_vdev_realloc: usevmem_allocfor large allocation7698503dczfs_clone_range: usevmem_mallocfor large allocationb9aa32ff3zed: Reduce log noise for large JBODs
571762b29Linux 6.4 compat: META
991834f5dRemovezl_issuer_lockfromzil_suspend().41a0f6627ZIL: Fix config lock deadlock.
c79d1bae7Update changelog for OpenZFS 2.2.0 release70232483bTag 2.2.0-rc2
c5273e0c3shellcheck: disable "unreachable command" check [SC2317]685ae4429metaslab: tuneable to better control force ganging81be809a2Adjust prefetch parameters.
8a6fde821Add explicit prefetches tobpobj_iterate().b6f618f8fDon't emit cksum_{actual_expected} in
ereport.fs.zfs.checksum events
51a2b5976Don't emit checksum histograms in ereport.fs.zfs.checksum
events
8c81c0b05zed: Fix zed ASSERT on slot power cycle
b221f4394Fixzpl_test_superrace withzfs_umount
e037327bfspa_min_allocshould be GCD, not min
1a2e486d2Don't panic if setting vdev properties is unsupported for
this vdev type
d8011707cIgnore pool ashift property during vdev attachmentf5f5a2db9Rollback before zfs root is mounted
83b0967c1Do not request data L1 buffers on scan prefetch.73ba5df31Linux 6.5 compat:disk_check_media_change()was added1bc244ae9Linux 6.5 compat:BLK_STS_NEXUSrenamed toBLK_STS_RESV_CONFLICT
931dc7055Linux 6.5 compat:intptr_tdefinition is canonically signed5299f4f28set autotrim default to 'off' everywheref917cf1c0Fix the ZFS checksum error histograms with larger record
sizes
56ed389a5Fix raw receive with different indirect block size.e613e4bbeAvoid extrasnprintf()indsl_deadlist_merge().b4e630b00Add missedDMU_PROJECTUSED_OBJECTprefetch.bf6cd3079FreeBSD: catch up to__FreeBSD_version14000931266cebf8FreeBSD: Fix build on stable/13 after 1302506.Signed-off-by Bruce Ashfield <[email protected]>---
Khem,
With 6.4 going EOL upstream, I'm rushing in a bump to v6.5 for OEcore.
This is a bump for btfs that solves issues in my tesing.
Bruce
meta-filesystems/recipes-filesystems/zfs/zfs_2.2.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-filesystems/recipes-filesystems/zfs/zfs_2.2.0.bb +1
-1@@ -4,7 +4,7 @@ LICENSE = "CDDL-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=7087caaf1dc8a2856585619f4a787faa" HOMEPAGE ="https://github.com/openzfs/zfs" -SRCREV = "009d3288dea524c7ad373b04b65bee8bb6f0bfea" +SRCREV = "229ca7d738ccbf4c55076977467ee93e20b6f01b" SRC_URI = "git:// github.com/openzfs/zfs;protocol=https;branch=zfs-2.2-release \ file://0001-Define-strndupa-if-it-does-not-exist.patch \file://aaf28a4630af60496c9d33db1d06a7d7d8983422.patch \--
2.34.1
Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II