Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Upgrading Ubuntu 24.04 to 24.10 breaks build #138

Open
mattmattox opened this issue Oct 22, 2024 · 7 comments
Open

[BUG] Upgrading Ubuntu 24.04 to 24.10 breaks build #138

mattmattox opened this issue Oct 22, 2024 · 7 comments
Labels

Comments

@mattmattox
Copy link

Bug description

After upgrading to Ubuntu 24.10 make dpkg and make dkms fails to build

How to reproduce

What are the steps to reproduce the reported issue.

  • Deploy on Ubuntu 24.04
  • Upgrade to Ubuntu 24.10
  • The device will be missing on reboot
  • make dkms fails with the error below

Possible solution

Environment information

Information about the system the module is used on

  1. Linux kernel compiled against (uname -a)
    Linux a0ublokip01 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
  2. The C compiler version used (gcc --version)
    gcc (Ubuntu 14.2.0-4ubuntu2) 14.2.0
  3. distribution, and version (cat /etc/os-release)
PRETTY_NAME="Ubuntu 24.10"
NAME="Ubuntu"
VERSION_ID="24.10"
VERSION="24.10 (Oracular Oriole)"
VERSION_CODENAME=oracular
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=oracular
LOGO=ubuntu-logo
  1. Tag or Branch of iomemory-vsl that is being compiled
    main
  2. FIO device used, if applicable
    • fio-status
    • lspci -b -nn
Found 1 ioMemory device in this system
Driver version: Driver not loaded

Adapter: Single Controller Adapter
	Dell ioDrive2 1205GB MLC, Product Number:DG1MH, SN:US0DG1MH7605127R0024
	External Power: NOT connected
	PCIe Power limit threshold: Disabled
	Connected ioMemory modules:
	  44:00.0:	Product Number:DG1MH, SN:1229D3710

44:00.0	ioDrive2 Adapter Controller, Product Number:DG1MH, SN:1229D3710
	PCI:44:00.0
	Firmware v7.1.17, rev 116786 Public
	Internal temperature: 67.92 degC, max 69.40 degC

Error log

/root/iomemory-vsl/driver_source/kblock.c: In function ‘kfio_create_disk’:
/root/iomemory-vsl/driver_source/include/kblock_meta.h:24:26: error: implicit declaration of function ‘alloc_disk’; did you mean ‘alloc_uid’? [-Wimplicit-function-declaration]
   24 |   #define BLK_ALLOC_DISK alloc_disk
      |                          ^~~~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c:329:18: note: in expansion of macro ‘BLK_ALLOC_DISK’
  329 |         dp->gd = BLK_ALLOC_DISK(FIO_NUM_MINORS);
      |                  ^~~~~~~~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c:329:16: error: assignment to ‘struct gendisk *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  329 |         dp->gd = BLK_ALLOC_DISK(FIO_NUM_MINORS);
      |                ^
/root/iomemory-vsl/driver_source/kblock.c:347:5: error: implicit declaration of function ‘blk_queue_max_hw_sectors’; did you mean ‘queue_max_hw_sectors’? [-Wimplicit-function-declaration]
  347 |     blk_queue_max_hw_sectors(rq, max_sectors_per_request);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~
      |     queue_max_hw_sectors
/root/iomemory-vsl/driver_source/kblock.c:348:5: error: implicit declaration of function ‘blk_queue_max_segments’; did you mean ‘queue_max_segments’? [-Wimplicit-function-declaration]
  348 |     blk_queue_max_segments(rq, max_sg_elements_per_request);
      |     ^~~~~~~~~~~~~~~~~~~~~~
      |     queue_max_segments
/root/iomemory-vsl/driver_source/kblock.c:349:5: error: implicit declaration of function ‘blk_queue_max_segment_size’; did you mean ‘queue_max_segment_size’? [-Wimplicit-function-declaration]
  349 |     blk_queue_max_segment_size(rq, PAGE_SIZE);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |     queue_max_segment_size
/root/iomemory-vsl/driver_source/kblock.c:350:5: error: implicit declaration of function ‘blk_queue_logical_block_size’; did you mean ‘queue_logical_block_size’? [-Wimplicit-function-declaration]
  350 |     blk_queue_logical_block_size(rq, sector_size);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |     queue_logical_block_size
/root/iomemory-vsl/driver_source/kblock.c:358:9: error: implicit declaration of function ‘blk_queue_max_discard_sectors’; did you mean ‘bdev_max_discard_sectors’? [-Wimplicit-function-declaration]
  358 |         blk_queue_max_discard_sectors(rq, (UINT_MAX & ~((unsigned int) sector_size - 1)) >> 9);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |         bdev_max_discard_sectors
/root/iomemory-vsl/driver_source/kblock.c:362:24: error: ‘QUEUE_FLAG_WC’ undeclared (first use in this function); did you mean ‘QUEUE_FLAG_MAX’?
  362 |     blk_queue_flag_set(QUEUE_FLAG_WC, rq);
      |                        ^~~~~~~~~~~~~
      |                        QUEUE_FLAG_MAX
/root/iomemory-vsl/driver_source/kblock.c:362:24: note: each undeclared identifier is reported only once for each function it appears in
/root/iomemory-vsl/driver_source/kblock.c:363:24: error: ‘QUEUE_FLAG_NONROT’ undeclared (first use in this function); did you mean ‘QUEUE_FLAG_NOMERGES’?
  363 |     blk_queue_flag_set(QUEUE_FLAG_NONROT, rq);
      |                        ^~~~~~~~~~~~~~~~~
      |                        QUEUE_FLAG_NOMERGES
/root/iomemory-vsl/driver_source/kblock.c:364:26: error: ‘QUEUE_FLAG_ADD_RANDOM’ undeclared (first use in this function); did you mean ‘BLK_FEAT_ADD_RANDOM’?
  364 |     blk_queue_flag_clear(QUEUE_FLAG_ADD_RANDOM, rq);
      |                          ^~~~~~~~~~~~~~~~~~~~~
      |                          BLK_FEAT_ADD_RANDOM
In file included from /root/iomemory-vsl/driver_source/kblock.c:33:
/root/iomemory-vsl/driver_source/kblock.c: In function ‘kfio_dump_bio’:
/root/iomemory-vsl/driver_source/kblock.c:582:40: error: implicit declaration of function ‘bio_integrity’; did you mean ‘bio_init’? [-Wimplicit-function-declaration]
  582 |     infprint("%s: integrity: %p", msg, bio_integrity(bio) );
      |                                        ^~~~~~~~~~~~~
/root/iomemory-vsl/driver_source/include/fio/port/dbgset.h:204:58: note: in definition of macro ‘infprint’
  204 | #define infprint(...)  kfio_print(KERN_INFO "fioinf " AT __VA_ARGS__)
      |                                                          ^~~~~~~~~~~
In file included from ./include/linux/printk.h:7,
                 from ./include/asm-generic/bug.h:22,
                 from ./arch/x86/include/asm/bug.h:87,
                 from ./include/linux/bug.h:5,
                 from ./arch/x86/include/asm/paravirt.h:19,
                 from ./arch/x86/include/asm/irqflags.h:80,
                 from ./include/linux/irqflags.h:18,
                 from ./include/linux/spinlock.h:59,
                 from ./include/linux/mmzone.h:8,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/slab.h:16,
                 from /root/iomemory-vsl/driver_source/include/fio/port/linux/kfio_config.h:48,
                 from /root/iomemory-vsl/driver_source/include/fio/port/kfio_config.h:38,
                 from /root/iomemory-vsl/driver_source/port-internal.h:62,
                 from /root/iomemory-vsl/driver_source/kblock.c:32:
./include/linux/kern_levels.h:5:25: error: format ‘%p’ expects argument of type ‘void *’, but argument 3 has type ‘int’ [-Werror=format=]
    5 | #define KERN_SOH        "\001"          /* ASCII Start Of Header */
      |                         ^~~~~~
./include/linux/kern_levels.h:14:25: note: in expansion of macro ‘KERN_SOH’
   14 | #define KERN_INFO       KERN_SOH "6"    /* informational */
      |                         ^~~~~~~~
/root/iomemory-vsl/driver_source/include/fio/port/dbgset.h:204:35: note: in expansion of macro ‘KERN_INFO’
  204 | #define infprint(...)  kfio_print(KERN_INFO "fioinf " AT __VA_ARGS__)
      |                                   ^~~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c:582:5: note: in expansion of macro ‘infprint’
  582 |     infprint("%s: integrity: %p", msg, bio_integrity(bio) );
      |     ^~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c: In function ‘kfio_alloc_queue’:
/root/iomemory-vsl/driver_source/include/kblock_meta.h:22:29: error: implicit declaration of function ‘blk_alloc_queue’; did you mean ‘blk_mq_alloc_queue’? [-Wimplicit-function-declaration]
   22 |     #define BLK_ALLOC_QUEUE blk_alloc_queue(node);
      |                             ^~~~~~~~~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c:960:10: note: in expansion of macro ‘BLK_ALLOC_QUEUE’
  960 |     rq = BLK_ALLOC_QUEUE;
      |          ^~~~~~~~~~~~~~~
/root/iomemory-vsl/driver_source/kblock.c:960:8: error: assignment to ‘struct request_queue *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
  960 |     rq = BLK_ALLOC_QUEUE;
      |        ^
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kblock.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [/usr/src/linux-headers-6.11.0-9-generic/Makefile:1931: /root/iomemory-vsl/driver_source] Error 2
make[3]: *** [Makefile:224: __sub-make] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.11.0-9-generic'
make[2]: *** [Makefile:134: modules] Error 2
make[2]: Leaving directory '/root/iomemory-vsl/driver_source'
ERROR:
make[1]: *** [debian/rules:102: build-arch-stamp] Error 1
make[1]: Leaving directory '/root/iomemory-vsl'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make: *** [Makefile:16: dpkg] Error 2
@mattmattox mattmattox added the bug label Oct 22, 2024
@snuf
Copy link
Collaborator

snuf commented Oct 22, 2024

@mattmattox can you post a git branch -v to see what hash you are on?

@mattmattox
Copy link
Author

* main 0a12f15 Merge pull request #127 from RemixVSL/fix_missing_proto

@snuf
Copy link
Collaborator

snuf commented Oct 22, 2024

@mattmattox please do a git pull. 6.11 is not supported on your tag. You're living in March atm, and the last commits were in October.

@mattmattox
Copy link
Author

OK, I got a new error

root@a0ublokip01:~/iomemory-vsl# git pull .
From .
 * branch            HEAD       -> FETCH_HEAD
Already up to date.
root@a0ublokip01:~/iomemory-vsl# git status -v
On branch main
Your branch is up to date with 'origin/main'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   debian/control

no changes added to commit (use "git add" and/or "git commit -a")
root@a0ublokip01:~/iomemory-vsl# make dpkg
cd root/usr/src/iomemory-vsl-3.2.16 && \
  		make clean
make[1]: Entering directory '/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16'
FIOCC is cc
make \
        -j24 \
	-C /lib/modules/6.11.0-9-generic/build \
	FIO_DRIVER_NAME=iomemory-vsl \
	FUSION_DRIVER_DIR=/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16 \
	M=/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16 \
	EXTRA_CFLAGS+="-I/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16/include -DBUILDING_MODULE -DLINUX_IO_SCHED -Wall -mfunction-return=keep -Werror" \
	KFIO_LIB=kfio/x86_64_cc142_libkfio.o_shipped \
	clean
make[2]: Entering directory '/usr/src/linux-headers-6.11.0-9-generic'
make[2]: Leaving directory '/usr/src/linux-headers-6.11.0-9-generic'
rm -rf include/fio/port/linux/kfio_config.h kfio_config
make[1]: Leaving directory '/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16'
cd root/usr/src/iomemory-vsl-3.2.16 && \
	make patch_module_version
make[1]: Entering directory '/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16'
FIOCC is cc

Adding module version 6.11.0-9-79fe888-3.2.16 to source license.c

make[1]: Leaving directory '/root/iomemory-vsl/root/usr/src/iomemory-vsl-3.2.16'
# patch fio_version, fio_short_version in debian/fio_values
cd /root/iomemory-vsl && \
	dpkg-buildpackage -rfakeroot --no-check-builddeps --no-sign
dpkg-buildpackage: info: source package iomemory-vsl
dpkg-buildpackage: info: source version 3.2.16.1732
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Support <[email protected]>
dpkg-buildpackage: info: host architecture amd64
dpkg-buildpackage: warning: using a gain-root-command while being root
 dpkg-source --before-build .
 fakeroot debian/rules clean
make[1]: Entering directory '/root/iomemory-vsl'
dh_testdir
dh_testroot
rm -f build-arch-stamp configure-stamp
# Add here commands to clean up after the build process.
#/usr/bin/make clean
rm -rf \
	"/root/iomemory-vsl/driver_source" \
	"/root/iomemory-vsl/debian/fio" \
	"/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic"* \
	"/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic"*
sed -r -i -e 's/^Package: iomemory-vsl(-config)?(-[.0-9]+.*)*$/Package: iomemory-vsl\1/;' debian/control
dh_prep
make[1]: Leaving directory '/root/iomemory-vsl'
 dpkg-source -b .
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format '1.0'
dpkg-source: warning: source directory 'iomemory-vsl' is not <sourcepackage>-<upstreamversion> 'iomemory-vsl-3.2.16.1732'
dpkg-source: info: building iomemory-vsl in iomemory-vsl_3.2.16.1732.tar.gz
dpkg-source: info: building iomemory-vsl in iomemory-vsl_3.2.16.1732.dsc
 debian/rules build
make[1]: Entering directory '/root/iomemory-vsl'
sed -r -i -e 's/^Package: iomemory-vsl(-config|-di|-initrd)?(-[.0-9]+.*)*$/Package: iomemory-vsl\1-6.11.0-9-generic/;' debian/control
set -e; \
for file in /root/iomemory-vsl/debian/iomemory-vsl.* /root/iomemory-vsl/debian/iomemory-vsl-di.* /root/iomemory-vsl/debian/iomemory-vsl-initrd.*; do \
	new_file=$(echo $file | sed -r -e -E 's/iomemory-vsl(-config|-di|-initrd)?\./iomemory-vsl\1-6.11.0-9-generic./;'); \
	cp "$file" "$new_file"; \
done
sed: -e expression #1, char 1: unknown command: `-'
make[1]: [debian/rules:73: debian/control] Error 1 (ignored)
# Add the kernel version to our UEFI Ubuntu driver injection disk
sed -r -i -e 's/^XB-Kernel-Version:.*/XB-Kernel-Version: 6.11.0-9-generic/;' debian/control
cp -r /root/iomemory-vsl/debian/iomemory-vsl.postinst "/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic.postinst"
echo depmod 6.11.0-9-generic >> "/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic.postinst"
cp -r /root/iomemory-vsl/debian/iomemory-vsl.postrm "/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic.postrm"
cp -r /root/iomemory-vsl/debian/iomemory-vsl.prerm "/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic.prerm"
echo depmod 6.11.0-9-generic >> "/root/iomemory-vsl/debian/iomemory-vsl-6.11.0-9-generic.postrm"
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
# Add here commands to compile the arch part of the package.
rsync -a --delete ./root//usr/src/iomemory-vsl-3.2.16/ driver_source/
if ! /usr/bin/make \
	-C driver_source \
	KERNELVER=6.11.0-9-generic \
	FIO_DRIVER_NAME=iomemory-vsl \
	 \
	modules; then \
	printf "ERROR:\n"; \
	exit 1; \
fi
make[2]: Entering directory '/root/iomemory-vsl/driver_source'
FIOCC is cc

Change found in target kernel: KERNELVER KERNEL_SRC 
Running clean before building driver

make[3]: Entering directory '/root/iomemory-vsl/driver_source'
FIOCC is cc
/usr/bin/make \
        -j24 \
	-C /lib/modules/6.11.0-9-generic/build \
	FIO_DRIVER_NAME=iomemory-vsl \
	FUSION_DRIVER_DIR=/root/iomemory-vsl/driver_source \
	M=/root/iomemory-vsl/driver_source \
	EXTRA_CFLAGS+="-I/root/iomemory-vsl/driver_source/include -DBUILDING_MODULE -DLINUX_IO_SCHED -Wall -mfunction-return=keep -Werror" \
	KFIO_LIB=kfio/x86_64_cc142_libkfio.o_shipped \
	clean
make[4]: Entering directory '/usr/src/linux-headers-6.11.0-9-generic'
make[4]: Leaving directory '/usr/src/linux-headers-6.11.0-9-generic'
rm -rf include/fio/port/linux/kfio_config.h kfio_config
make[3]: Leaving directory '/root/iomemory-vsl/driver_source'
if [ "142" -gt "74" ];then \
	if [ ! -f "kfio/x86_64_cc142_libkfio.o_shipped" ];then \
		cp kfio/x86_64_cc74_libkfio.o_shipped kfio/x86_64_cc142_libkfio.o_shipped; \
	fi \
fi
./kfio_config.sh -a x86_64 -o include/fio/port/linux/kfio_config.h -k /lib/modules/6.11.0-9-generic/build -p -d /root/iomemory-vsl/driver_source/kfio_config -l 0 -s /lib/modules/6.11.0-9-generic/source
Detecting Kernel Flags
Config dir         : /root/iomemory-vsl/driver_source/kfio_config
Output file        : include/fio/port/linux/kfio_config.h
Kernel output dir  : /lib/modules/6.11.0-9-generic/build
Kernel source dir  : /lib/modules/6.11.0-9-generic/build
Starting tests:
  1729611363.755  KFIOC_X_HANDLE_SYSRQ_IS_U8...
  1729611363.869  KFIOC_X_BDOPS_OPEN_GENDISK_AND_BLK_MODE_T...
  1729611363.977  KFIOC_X_BDOPS_RELEASE_1_ARG...
  1729611364.090  KFIOC_X_CAPS_PDE_DATA...
  1729611364.200  KFIOC_X_BIO_SPLIT_TO_LIMITS...
  1729611364.317  KFIOC_X_PROC_CREATE_DATA_WANTS_PROC_OPS...
  1729611364.437  KFIOC_X_TASK_HAS_CPUS_MASK...
  1729611364.549  KFIOC_X_BLK_ALLOC_QUEUE_NODE_EXISTS...
  1729611364.666  KFIOC_X_BLK_ALLOC_QUEUE_EXISTS...
  1729611364.795  KFIOC_X_BLK_ALLOC_DISK_EXISTS...
  1729611364.909  KFIOC_X_BLK_ALLOC_DISK_HAS_QUEUE_LIMITS...
  1729611365.038  KFIOC_X_HAS_MAKE_REQUEST_FN...
  1729611365.183  KFIOC_X_GENHD_PART0_IS_A_POINTER...
  1729611365.329  KFIOC_X_BIO_HAS_BI_BDEV...
  1729611365.456  KFIOC_X_SUBMIT_BIO_RETURNS_BLK_QC_T...
  1729611365.590  KFIOC_X_VOID_ADD_DISK...
  1729611365.735  KFIOC_X_DISK_HAS_OPEN_MUTEX...
Started tests, waiting for completions...
  1729611367.963  KFIOC_X_HANDLE_SYSRQ_IS_U8=1
  1729611368.011  KFIOC_X_BDOPS_OPEN_GENDISK_AND_BLK_MODE_T=1
  1729611369.069  KFIOC_X_BDOPS_RELEASE_1_ARG=1
  1729611369.104  KFIOC_X_CAPS_PDE_DATA=0
  1729611369.147  KFIOC_X_BIO_SPLIT_TO_LIMITS=1
  1729611369.187  KFIOC_X_PROC_CREATE_DATA_WANTS_PROC_OPS=1
  1729611369.229  KFIOC_X_TASK_HAS_CPUS_MASK=1
  1729611369.270  KFIOC_X_BLK_ALLOC_QUEUE_NODE_EXISTS=0
  1729611369.308  KFIOC_X_BLK_ALLOC_QUEUE_EXISTS=0
  1729611369.344  KFIOC_X_BLK_ALLOC_DISK_EXISTS=0
  1729611369.387  KFIOC_X_BLK_ALLOC_DISK_HAS_QUEUE_LIMITS=1
  1729611369.429  KFIOC_X_HAS_MAKE_REQUEST_FN=0
  1729611369.473  KFIOC_X_GENHD_PART0_IS_A_POINTER=1
  1729611370.530  KFIOC_X_BIO_HAS_BI_BDEV=1
  1729611370.574  KFIOC_X_SUBMIT_BIO_RETURNS_BLK_QC_T=0
  1729611370.609  KFIOC_X_VOID_ADD_DISK=0
  1729611370.649  KFIOC_X_DISK_HAS_OPEN_MUTEX=1
Finished
1729611370.668  Exiting
Preserving configdir due to '-p' option: /root/iomemory-vsl/driver_source/kfio_config

Adding module version 6.11.0-9-79fe888-driver_source to source license.c

/usr/bin/make \
    -j24 \
-C /lib/modules/6.11.0-9-generic/build \
FIO_DRIVER_NAME=iomemory-vsl \
FUSION_DRIVER_DIR=/root/iomemory-vsl/driver_source \
M=/root/iomemory-vsl/driver_source \
EXTRA_CFLAGS+="-I/root/iomemory-vsl/driver_source/include -DBUILDING_MODULE -DLINUX_IO_SCHED -Wall -mfunction-return=keep -Werror" \
INSTALL_MOD_DIR=extra/fio \
INSTALL_MOD_PATH= \
KFIO_LIB=kfio/x86_64_cc142_libkfio.o_shipped \
modules
make[3]: Entering directory '/usr/src/linux-headers-6.11.0-9-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0
  You are using:           gcc-14 (Ubuntu 14.2.0-4ubuntu2) 14.2.0
  CC [M]  /root/iomemory-vsl/driver_source/main.o
  CC [M]  /root/iomemory-vsl/driver_source/license.o
  CC [M]  /root/iomemory-vsl/driver_source/pci.o
  CC [M]  /root/iomemory-vsl/driver_source/sysrq.o
  CC [M]  /root/iomemory-vsl/driver_source/driver_init.o
  CC [M]  /root/iomemory-vsl/driver_source/kfio.o
  CC [M]  /root/iomemory-vsl/driver_source/errno.o
  CC [M]  /root/iomemory-vsl/driver_source/state.o
  CC [M]  /root/iomemory-vsl/driver_source/kcache.o
  CC [M]  /root/iomemory-vsl/driver_source/kfile.o
  CC [M]  /root/iomemory-vsl/driver_source/kmem.o
  CC [M]  /root/iomemory-vsl/driver_source/kfio_common.o
  CC [M]  /root/iomemory-vsl/driver_source/kcpu.o
  CC [M]  /root/iomemory-vsl/driver_source/kscatter.o
  CC [M]  /root/iomemory-vsl/driver_source/ktime.o
  CC [M]  /root/iomemory-vsl/driver_source/sched.o
  CC [M]  /root/iomemory-vsl/driver_source/cdev.o
  CC [M]  /root/iomemory-vsl/driver_source/kblock.o
  CC [M]  /root/iomemory-vsl/driver_source/kcondvar.o
  CC [M]  /root/iomemory-vsl/driver_source/kinfo.o
  CC [M]  /root/iomemory-vsl/driver_source/kexports.o
  CC [M]  /root/iomemory-vsl/driver_source/khotplug.o
  CC [M]  /root/iomemory-vsl/driver_source/kcsr.o
  COPY    /root/iomemory-vsl/driver_source/kfio/x86_64_cc142_libkfio.o
  CC [M]  /root/iomemory-vsl/driver_source/module_param.o
/root/iomemory-vsl/driver_source/errno.o: warning: objtool: ifio_strerror+0x7d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/errno.o: warning: objtool: ifio_strerror_sym+0x7d: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/errno.o] Error 254
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/errno.o'
make[5]: *** Waiting for unfinished jobs....
/root/iomemory-vsl/driver_source/state.o: warning: objtool: __fio_state_in_one_of+0xa7: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_state_up+0x46: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_state_down+0x46: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_state_in_one_of+0xb3: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_state_not_in_one_of+0xda: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_transition_state_va+0x7b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_transition_state+0xb9: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: __fio_wait_on_states+0xc0: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/state.o: warning: objtool: fio_state_transition+0xd1: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/state.o] Error 247
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/state.o'
/root/iomemory-vsl/driver_source/sysrq.o: warning: objtool: iodrive_handle_sysrq+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sysrq.o: warning: objtool: kfio_iodrive_sysrq_keys+0x32: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sysrq.o: warning: objtool: kfio_iodrive_unreg_sysrq_keys+0x32: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/sysrq.o] Error 251
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/sysrq.o'
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_get_lbolt+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_getmicrotime+0x34: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_init_timer+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_set_timer_function+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_set_timer_data+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_set_relative_timer+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_del_timer+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: kfio_udelay+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: kfio_msleep+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: kfio_msleep_noload+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_usectohz+0x52: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_HZ+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: kfio_get_seconds+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_getnanotime+0x32: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_getwallclocktime+0x4b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/ktime.o: warning: objtool: fusion_hztousec+0x13: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/ktime.o] Error 239
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/ktime.o'
/root/iomemory-vsl/driver_source/kcache.o: warning: objtool: __kfio_create_cache+0x53: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcache.o: warning: objtool: kfio_cache_alloc+0x36: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcache.o: warning: objtool: kfio_cache_alloc_node+0x3f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcache.o: warning: objtool: kfio_cache_free+0x16: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcache.o: warning: objtool: kfio_cache_destroy+0x23: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kcache.o] Error 249
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kcache.o'
/root/iomemory-vsl/driver_source/main.o: warning: objtool: exit_fio_driver+0x38: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/main.o: warning: objtool: init_fio_driver+0xdb: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/main.o] Error 254
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/main.o'
/root/iomemory-vsl/driver_source/kcsr.o: warning: objtool: kfio_csr_read_direct+0xe: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcsr.o: warning: objtool: kfio_csr_read_direct_64+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcsr.o: warning: objtool: kfio_csr_write_nobarrier+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcsr.o: warning: objtool: kfio_csr_write+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcsr.o: warning: objtool: kfio_csr_write_64+0x14: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kcsr.o] Error 251
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kcsr.o'
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: cpumask_weight+0x14: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_current_cpu+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_get_cpu+0x34: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_put_cpu+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_max_cpus+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_cpu_online+0x1b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_create_kthread_on_cpu+0xaa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcpu.o: warning: objtool: kfio_bind_kthread_to_node+0x5b: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kcpu.o] Error 246
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kcpu.o'
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_fs_inode+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_fs_private_data+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_fseq_private+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_fseq_set_private+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_printf+0xcb: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_get_buf+0x26: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_commit+0x1d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_inode_data+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_single_open+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_single_release+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_open+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_read+0x17: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_lseek+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_seq_release+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_proc_mkdir+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_remove_proc_entry+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_create_proc_fops_entry+0x1d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_seq_ops_start_handler+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_seq_ops_stop_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_seq_ops_next_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_seq_ops_show_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_owner+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_llseek_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_read_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_write_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_open_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfile.o: warning: objtool: kfio_set_file_ops_release_handler+0x12: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kfile.o] Error 227
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kfile.o'
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_print+0x7d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: __kassert_fail+0x55: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_vsnprintf+0x17: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_snprintf+0x73: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strlen+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strncmp+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strncpy+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_memset+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_memcmp+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strtoull+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strtoul+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strtol+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_copy_from_user+0x43: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_copy_to_user+0x49: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_memcpy+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_vprint+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strcmp+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strcat+0x31: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_strncat+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_memmove+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_init_rw_spin+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_destroy_rw_spin+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_spin_read_lock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_spin_write_lock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_spin_read_unlock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_spin_write_unlock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: fusion_create_kthread+0xeb: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio_common.o: warning: objtool: kfio_dump_stack+0xf: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kfio_common.o] Error 226
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kfio_common.o'
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_init_spin+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_lock+0x21: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_unlock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_lock_irqsave+0x1f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_unlock_irqrestore+0x17: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_mutex_init+0x23: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_mutex_lock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_mutex_unlock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fio_wait_for_dev+0xe1: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_destroy_spin+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_mutex_destroy+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_ioremap_nocache+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_iounmap+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_pci_dev_put+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_pci_get_device+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_is_locked+0xe: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_lock_irqdisabled+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_trylock+0x2d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_lock_irq+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_trylock_irqsave+0x4e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_unlock_irq+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_is_irqsaved+0x16: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_spin_lock_irqsave_nested+0x1f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_mutex_trylock+0x19: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_init+0x23: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_delete+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_down_read+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_down_read_trylock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_up_read+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_down_write+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_down_write_trylock+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: fusion_rwsem_up_write+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_next_cpu_in_node+0x59: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_put_user_8+0x21: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_put_user_16+0x21: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_put_user_32+0x21: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_put_user_64+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kfio.o: warning: objtool: kfio_checkstructs+0xc: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kfio.o] Error 216
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kfio.o'
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_control_release+0xc: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_control_open+0x65: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_control_ioctl_internal+0x2f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_control_ioctl_poll+0x5f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_control_compat_ioctl_internal+0x2f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: kfio_poll_init+0x23: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: kfio_poll_wake+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_create_control_device+0x7c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/cdev.o: warning: objtool: fusion_destroy_control_device+0x54: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/cdev.o] Error 247
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/cdev.o'
/root/iomemory-vsl/driver_source/khotplug.o: warning: objtool: kfio_cpu_notify_online+0x5e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/khotplug.o: warning: objtool: kfio_cpu_notify_offline+0x5b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/khotplug.o: warning: objtool: kfio_register_cpu_notifier+0x10e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/khotplug.o: warning: objtool: kfio_unregister_cpu_notifier+0x92: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/khotplug.o] Error 251
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/khotplug.o'
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_free+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_vmalloc+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_vfree+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_get_user_pages+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_put_user_pages+0x65: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: __kfio_malloc.isra.0+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_malloc_atomic+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_malloc+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_malloc_node+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_malloc_atomic_node+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_free_page+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_page_from_virt+0x36: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_page_address+0x25: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kmem.o: warning: objtool: kfio_alloc_0_page+0x40: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kmem.o] Error 241
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kmem.o'
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_handle_irq_wrapper+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_handle_irqx_wrapper+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: iodrive_pci_slot_reset+0x32: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: iodrive_pci_error_detected+0x36: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: find_slot_number_bios+0xf1: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: iodrive_pci_on_shutdown+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_free_irq+0x1b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_request_irq+0x37: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_get_irq_number+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_enable_msi+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_disable_msi+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_iodrive_intx+0x81: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_free_msix+0x1f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_request_msix+0x38: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_get_msix_number+0x19: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_enable_msix+0x7b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_disable_msix+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_bus_from_pci_dev+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_bus_parent+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_bus_istop+0x16: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_bus_self+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_bus_number+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_node+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_get_numa_node_override+0xd6: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_read_config_byte+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_read_config_word+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_read_config_dword+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_write_config_byte+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_write_config_word+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_write_config_dword+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_vendor+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_devnum+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_bus+0x17: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_domain+0x1a: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_devicenum+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_function+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_subsystem_vendor+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_subsystem_device+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_resource_start+0x2c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_resource_len+0x51: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_name+0x18: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_slot+0x5c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_disable_device+0x9b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_enable_device+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_release_regions+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_request_regions+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_set_dma_mask+0x1a: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_set_master+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_set_drvdata+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_get_drvdata+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_dma_alloc_coherent+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_dma_free_coherent+0x29: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_dma_sync+0xc: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_register_driver+0x34: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/pci.o: warning: objtool: kfio_pci_unregister_driver+0x18: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/pci.o] Error 199
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/pci.o'
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_destroy+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_schedule_yield+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_init+0x23: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_signal+0x25: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_broadcast+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_wait+0xb6: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_timedwait_noload_elapsed+0xdf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_cond_resched+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: __fusion_condvar_timedwait+0xdf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_timedwait+0x19: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kcondvar.o: warning: objtool: fusion_condvar_timedwait_noload+0x1c: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kcondvar.o] Error 245
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kcondvar.o'
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_init_work+0x2d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_destroy_work+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_destroy_delayed_work+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_init_delayed_work+0x4e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_might_sleep+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_schedule_work+0x26: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_setup_dpc+0x2d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_setup_delayed_dpc+0x4e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_schedule_dpc+0x11: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/sched.o: warning: objtool: fusion_schedule_delayed_work+0x3b: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/sched.o] Error 246
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/sched.o'
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_linux_seq_show+0x73: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_linux_seq_stop+0x55: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_linux_seq_next+0x37: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_linux_seq_start+0xa0: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_text_release+0x13: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_text_open+0x2f: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_linux_text_show+0xac: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_os_type_write+0x126: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_seqf_open+0x35: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_os_type_read+0xe1: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_os_create_node+0x1cb: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kinfo.o: warning: objtool: kfio_info_os_remove_node+0x65: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kinfo.o] Error 242
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kinfo.o'
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_dma_unmap+0x5e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_dma_map+0x99: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_alloc_nvec+0x81: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_destroy+0x2e: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_reset+0x2c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_size+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_map_bytes+0x187: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_map_page+0x53: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_map_bio+0x188: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_dump+0x192: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_phys_first+0x33: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_phys_next+0x72: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_get_byte_pointer+0x63: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_alloc+0x3d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_free+0x1d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_dma_slice+0x102: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_nvecs+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_size+0xf: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_first+0x53: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_dma_map_next+0x59: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_map_user_pages+0xa6: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kscatter.o: warning: objtool: kfio_sgl_copy_data+0x15c: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kscatter.o] Error 223
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kscatter.o'
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: safe_unplug_cb+0x2b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_blk_add_disk+0x60: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_compat_ioctl+0x29: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_ioctl+0x24: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_release+0x17: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_open+0x15: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_map_to_fbio.isra.0+0xa8: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_fbio_map_submit+0x37: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_kickoff_plugged_io+0xdd: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_unplug_cb+0x3d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_convert_bio.isra.0+0x38: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_submit_bio+0x125: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_bio_completor+0x84: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_register_blkdev_pre_init+0x10: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_init_storage_interface+0x2c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_teardown_storage_interface+0x22: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_fetch_next_bio+0x6c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_destroy_disk+0xad: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_create_disk+0x23d: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_expose_disk+0x192: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_disk_stat_write_update+0xd2: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_disk_stat_read_update+0xd0: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_get_gd_in_flight+0xc: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_set_gd_in_flight+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_set_write_holdoff+0x12: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_clear_write_holdoff+0x3b: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_mark_lock_pending+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_unmark_lock_pending+0xa: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_vectored_atomic+0x6c: 'naked' return found in MITIGATION_RETHUNK build
/root/iomemory-vsl/driver_source/kblock.o: warning: objtool: kfio_count_sectors_inuse+0x29: 'naked' return found in MITIGATION_RETHUNK build
make[5]: *** [scripts/Makefile.build:244: /root/iomemory-vsl/driver_source/kblock.o] Error 214
make[5]: *** Deleting file '/root/iomemory-vsl/driver_source/kblock.o'
make[4]: *** [/usr/src/linux-headers-6.11.0-9-generic/Makefile:1931: /root/iomemory-vsl/driver_source] Error 2
make[3]: *** [Makefile:224: __sub-make] Error 2
make[3]: Leaving directory '/usr/src/linux-headers-6.11.0-9-generic'
make[2]: *** [Makefile:145: modules] Error 2
make[2]: Leaving directory '/root/iomemory-vsl/driver_source'
ERROR:
make[1]: *** [debian/rules:102: build-arch-stamp] Error 1
make[1]: Leaving directory '/root/iomemory-vsl'
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
make: *** [Makefile:16: dpkg] Error 2
root@a0ublokip01:~/iomemory-vsl# 

@snuf
Copy link
Collaborator

snuf commented Oct 22, 2024

@mattmattox ah yes the "ubuntu-ism". There is something with Ubuntu and compiling the kernel that's different from other distributions. ATM we check if the kernel is 6.10 and we adapt the CFLAGS for the newer kernel. This works for Fedora and Arch, which it was tested on, but as it seems not for Ubuntu 24.10. This is not a total surprise.

Atm I'm having some issues getting Ubuntu 24.10 into the test environment, as the cloud-image is not behaving as expected. The fix will probably be to have the CFLAGS change based on what the kernel build scripts have configured.

@snuf
Copy link
Collaborator

snuf commented Oct 31, 2024

@mattmattox you can use the rerethunk branch for now. The main issue is that arch and fedora are not happy at module init, though ubuntu 24.10 seems perfectly fine with it. I've removed the CFLAG that caused it in this branch. Once I have a fix for fio_init_driver to not thunk on the other two I'll push that in here and that will end up in main.

@mattmattox
Copy link
Author

Awesome, let me know if there is anything I can do to help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants