-
Notifications
You must be signed in to change notification settings - Fork 349
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
Can't insert module ice.ko - getting error Uknkown symbol in module #967
Comments
@ronygut I suggest first of all to update the kernel as it seems it is not the latest available on Ubuntu 22 |
@cardigliano we prefer not to upgrade the kernel unless it is a must. |
Upgrading the kernel is not a must usually, however we can support the latest kernel only as we cannot run all kernel versions in our lab, especially in case we need to debug an issue. Ubuntu 22 in our lab is currently running 5.15.0-126-generic. This said, it is likely your issue does not depend on the kernel revision itself. |
@cardigliano , yes we are running on a VM as always. I have an ice.ko from different version of PF_RING I think it is 8.6. |
Ok got it, it seems the Makefile is enabling the compilation of the ice_migration module which requires kvm_write_guest/kvm_read_guest symbols, but they are not found. Could you try compiling the latest ice driver from Intel https://sourceforge.net/projects/e1000/files/ice%20stable/ and report the output? Please also report the output when compiling our driver (run make clean before). |
Both ice drivers could not be inserted. The output from compiling Intel ice driver 1.14.13 (the latest): echo "*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but" ; echo "*** the signing key cannot be found. Module signing has been" ; echo "*** disabled for this build." ; make ccflags-y="-std=gnu11 -Wno-nested-externs " -C "/lib/modules/5.15.0-73-generic/build" CONFIG_=m CONFIG_MODULE_SIG=n CONFIG_MODULE_SIG_ALL= M="/home/ubuntu/temp_driver/ice-1.14.13/src" NEED_AUX_BUS="0" modules Tried to insert it to the machine and got the following error: insmod: ERROR: could not insert module ./ice.ko: Unknown symbol in module [Fri Nov 22 14:15:51 2024] ice: Unknown symbol kvm_write_guest (err -2) Running modinfo on Intel ice.ko: filename: /home/ubuntu/temp/./ice.ko The output from compiling PF_RING Intel ice driver 1.12.7: echo "*** The target kernel has CONFIG_MODULE_SIG_ALL enabled, but" ; echo "*** the signing key cannot be found. Module signing has been" ; echo "*** disabled for this build." ; make ccflags-y="-D HAVE_PF_RING" -C "/lib/modules/5.15.0-73-generic/build" CONFIG_ICE=m CONFIG_MODULE_SIG=n CONFIG_MODULE_SIG_ALL= M="/home/ubuntu/ndr/PF_RING_DEV/PF_RING/drivers/intel/ice/ice-1.12.7-zc/src" NEED_AUX_BUS="0" modules Trying to insert the ice.ko gave the following error: [Fri Nov 22 14:15:51 2024] ice: Unknown symbol kvm_write_guest (err -2) running modinfo on PF_RING ice.ko This version from older PF_RING could be inserted without any error. |
I have an interface that is 10Gbit ice module and I want to install PF_RING ZC on it.
I run the load_driver.sh for the ice module and I get the following error:
Can't insert module ice.ko - getting error Uknknown symbol in module
The interface is then didappers.
This is the information on the interface: (ens192f0)
ethtool -i ens192f0
driver: ice
version: 5.15.0-73-generic
firmware-version: 4.40 0x8001ba1e 22.5.7
expansion-rom-version:
bus-info: 0000:0b:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
modinfo ice
filename: /lib/modules/5.15.0-73-generic/kernel/drivers/net/ethernet/intel/ice/ice.ko
firmware: intel/ice/ddp/ice.pkg
license: GPL v2
description: Intel(R) Ethernet Connection E800 Series Linux Driver
author: Intel Corporation, [email protected]
srcversion: CC3872D9A13A74FBF2CED55
alias: pci:v00008086d0000151Dsvsdbcsci*
alias: pci:v00008086d0000124Fsvsdbcsci*
alias: pci:v00008086d0000124Esvsdbcsci*
alias: pci:v00008086d0000124Dsvsdbcsci*
alias: pci:v00008086d0000124Csvsdbcsci*
alias: pci:v00008086d0000189Asvsdbcsci*
alias: pci:v00008086d00001899svsdbcsci*
alias: pci:v00008086d00001898svsdbcsci*
alias: pci:v00008086d00001897svsdbcsci*
alias: pci:v00008086d00001894svsdbcsci*
alias: pci:v00008086d00001893svsdbcsci*
alias: pci:v00008086d00001892svsdbcsci*
alias: pci:v00008086d00001891svsdbcsci*
alias: pci:v00008086d00001890svsdbcsci*
alias: pci:v00008086d0000188Esvsdbcsci*
alias: pci:v00008086d0000188Dsvsdbcsci*
alias: pci:v00008086d0000188Csvsdbcsci*
alias: pci:v00008086d0000188Bsvsdbcsci*
alias: pci:v00008086d0000188Asvsdbcsci*
alias: pci:v00008086d0000159Bsvsdbcsci*
alias: pci:v00008086d0000159Asvsdbcsci*
alias: pci:v00008086d00001599svsdbcsci*
alias: pci:v00008086d00001593svsdbcsci*
alias: pci:v00008086d00001592svsdbcsci*
alias: pci:v00008086d00001591svsdbcsci*
depends:
retpoline: Y
intree: Y
name: ice
vermagic: 5.15.0-73-generic SMP mod_unload modversions
sig_id: PKCS#7
signer: Build time autogenerated kernel key
sig_key: 57:61:37:71:BE:F4:68:C5:BD:86:42:AF:17:E2:D7:9A:0A:B2:05:50
sig_hashalgo: sha512
signature: 21:D2:60:53:09:0B:5D:D8:1E:8D:DC:C0:3D:40:DF:43:3C:2D:AB:AC:
4E:46:A6:9B:98:86:7B:03:88:BC:09:51:23:47:F2:2C:5F:B6:7E:F5:
D9:BD:63:F8:B1:A6:39:A4:85:43:83:83:00:44:9A:B0:FD:68:CA:45:
40:91:0B:35:8C:23:8C:BA:56:88:42:CF:C1:68:71:13:8D:5B:A2:87:
8D:2A:C9:16:EA:B9:EA:45:44:3A:1B:AE:FD:5A:BC:06:14:3B:A1:24:
32:9C:0A:AF:40:2D:B8:33:DF:43:03:D4:05:D7:EE:98:09:AB:7B:B4:
ED:8E:73:10:E0:45:D7:11:45:C2:82:C2:98:0E:CC:CC:05:8C:9C:69:
A1:E3:A2:F6:77:5C:2F:23:8D:B3:1C:51:24:C5:C3:23:DE:56:29:D5:
B9:34:51:39:CF:45:DD:25:B2:88:D0:1B:C3:E2:55:46:00:91:81:2B:
4E:43:87:80:7F:F6:C7:A9:F2:67:F6:00:09:7C:BF:2E:4E:86:EA:FA:
05:98:D6:B9:2C:9C:6B:7F:39:17:72:84:98:00:5B:5A:24:15:6A:12:
B4:0B:44:09:AA:C1:9C:93:FA:3E:2C:C8:E3:8B:5B:02:94:11:6D:3F:
83:76:C9:AD:29:26:2F:AA:F8:3F:FE:F6:75:89:FA:7A:A6:01:FD:6D:
89:20:B6:21:28:F4:90:D0:7D:2C:F6:AC:0F:58:AB:16:0A:67:56:F0:
DF:E9:0D:5F:BA:B1:69:FF:90:53:C3:31:A8:9B:37:B4:B8:04:EE:60:
CF:9A:05:22:FF:3E:9E:D7:D3:B2:21:E9:57:DA:06:5B:0D:94:3F:3E:
BD:39:5B:00:E1:6C:37:26:B3:4F:E1:D1:E7:D6:A7:46:2B:B8:A6:2F:
95:F8:CD:21:CE:9B:C5:1F:75:16:29:AB:AE:A5:85:49:25:7B:A5:F5:
52:36:E5:7B:06:DC:18:0F:37:45:18:64:73:E5:73:69:C9:F0:DC:4B:
30:9F:DC:0E:B1:BB:B1:BF:06:0C:D8:16:7E:2F:F3:48:07:FE:1D:40:
EF:6E:30:4A:C7:0A:79:66:38:77:26:1B:F1:9C:81:8A:93:E9:18:1F:
91:91:BE:AD:7D:80:D4:68:05:1D:44:E6:A9:74:CF:35:2A:E3:9B:E9:
8A:F1:F9:AC:19:F3:F0:59:4A:DC:3A:D8:AD:9C:BA:B1:17:07:C5:9F:
F8:FA:89:D4:2F:E9:AD:D1:2B:2E:89:AC:CA:AA:1A:BE:3F:BC:E2:73:
3B:EA:A2:1D:EC:0C:02:B9:46:69:82:8B:EF:79:05:A9:95:79:5E:DD:
57:24:EC:0A:23:F7:2C:75:96:3E:5E:4B
parm: debug:netif level (0=none,...,16=all) (int)
I built the latest dev PF_RING branch and took the ice.ko from this build.
I built it on machine with has the same kernel version as the machine that I run it on. kernel version: 5.15.0-73-generic
I also took pf_ring.ko from this build. pf_ring.ko loaded successfully.
running dmesg -T
[Wed Nov 20 18:56:45 2024] gnss: GNSS driver registered with major 236
[Wed Nov 20 18:56:45 2024] ice: Unknown symbol kvm_write_guest (err -2)
[Wed Nov 20 18:56:45 2024] ice: Unknown symbol kvm_read_guest (err -2)
[Wed Nov 20 18:56:46 2024] load_driver_ice (2582): drop_caches: 3
server information:
Ubuntu 22.04
Linux server 5.15.0-73-generic #80-Ubuntu SMP Mon May 15 15:18:26 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
You help is appreciated.
The text was updated successfully, but these errors were encountered: