This repository was archived by the owner on Sep 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
This repository was archived by the owner on Sep 28, 2024. It is now read-only.
CentOS 6.9 (kernel-2.6.32-696.30.1.el6.x86_64) / depmod issue #548
Copy link
Copy link
Open
Description
I've installed LIS 4.2.5-2 from https://aka.ms/lis on a CentOS 6.9 VM (OpenLogic:CentOS:6.9:latest)
[root@c69l LISISO]# cat /etc/centos-release
CentOS release 6.9 (Final)
[root@c69l LISISO]# uname -r
2.6.32-696.30.1.el6.x86_64
[root@c69l ~]# tar xzf /tmp/lis-rpms-4.2.5-2.tar.gz
[root@c69l ~]# cd LISISO
[root@c69l LISISO]# ./install.sh
Removing Hyper-V daemons
Invoking release specific install file in directory CentOS69
Installing the Linux Integration Services for Microsoft Hyper-V...
Preparing... ########################################### [100%]
1:kmod-microsoft-hyper-v ########################################### [100%]
Preparing... ########################################### [100%]
1:microsoft-hyper-v-debug########################################### [ 50%]
2:microsoft-hyper-v ########################################### [100%]
Saving old initramfs
Installing new initramfs
Adding KVP Daemon to Chkconfig....
Starting KVP Daemon....
Adding VSS Daemon to Chkconfig....
Starting VSS Daemon....
Adding FCOPY Daemon to Chkconfig....
Starting FCOPY Daemon....
Linux Integration Services for Hyper-V has been installed. Please reboot your system.
[root@c69l LISISO]# rebootVerified that the driver version was 4.2.5-2:
[root@c69l ~]# modinfo hv_vmbus
filename: /lib/modules/2.6.32-696.30.1.el6.x86_64/weak-updates/microsoft-hyper-v/hv_vmbus.ko
version: 4.2.5.2
license: GPL
srcversion: 563CE3C50B61BCDE6A452A0
alias: acpi*:VMBus:*
alias: acpi*:VMBUS:*
depends: After I ran depmod -a, the drivers point back to the built-in ones:
[root@c69l ~]# depmod -a
[root@c69l ~]# modinfo hv_vmbus
filename: /lib/modules/2.6.32-696.30.1.el6.x86_64/kernel/drivers/hv/hv_vmbus.ko
version: 3.1
license: GPL
retpoline: Y
srcversion: A280F9C354AF9451F98BE62
alias: acpi*:VMBus:*
alias: acpi*:VMBUS:*
depends:
vermagic: 2.6.32-696.30.1.el6.x86_64 SMP mod_unload modversions If you reboot the VM you will lose network connectivity,
I had to connect to the serial console to run the commands:
[root@c69l ~]# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
[root@c69l ~]# modprobe hv_netvsc
hv_netvsc: disagrees about version of symbol vmbus_driver_unregister
hv_netvsc: Unknown symbol vmbus_driver_unregister
hv_netvsc: disagrees about version of symbol vmbus_sendpacket
hv_netvsc: Unknown symbol vmbus_sendpacket
hv_netvsc: disagrees about version of symbol vmbus_teardown_gpadl
hv_netvsc: Unknown symbol vmbus_teardown_gpadl
hv_netvsc: disagrees about version of symbol vmbus_close
hv_netvsc: Unknown symbol vmbus_close
hv_netvsc: disagrees about version of symbol vmbus_recvpacket_raw
hv_netvsc: Unknown symbol vmbus_recvpacket_raw
hv_netvsc: disagrees about version of symbol vmbus_open
hv_netvsc: Unknown symbol vmbus_open
hv_netvsc: disagrees about version of symbol vmbus_set_sc_create_callback
hv_netvsc: Unknown symbol vmbus_set_sc_create_callback
hv_netvsc: disagrees about version of symbol __vmbus_driver_register
hv_netvsc: Unknown symbol __vmbus_driver_register
hv_netvsc: disagrees about version of symbol vmbus_establish_gpadl
hv_netvsc: Unknown symbol vmbus_establish_gpadl
hv_netvsc: disagrees about version of symbol vmbus_sendpacket_pagebuffer
hv_netvsc: Unknown symbol vmbus_sendpacket_pagebuffer
FATAL: Error inserting hv_netvsc (/lib/modules/2.6.32-696.30.1.el6.x86_64/kernel/drivers/net/hyperv/hv_netvsc.ko): Unknown symbol in module, or unknown parameter (see dmesg)You can fix the issue by creating a symlink to hyperv.conf and run depmod -a again:
[root@c69l ~]# ln -s /opt/files/hyperv.conf /etc/depmod.d/hyperv.conf
[root@c69l ~]# depmod -a
[root@c69l ~]# modprobe hv_netvsc
hv_vmbus: registering driver hv_netvsc
hv_netvsc 000d3af8-ee2b-000d-3af8-ee2b000d3af8: real num tx,rx queues:1, 1
[root@c69l ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 00:0d:3a:f8:ee:2b brd ff:ff:ff:ff:ff:ff
inet6 fe80::20d:3aff:fef8:ee2b/64 scope link
valid_lft forever preferred_lft foreverI've checked on Centos 7.5 and it still points to version is 4.2.5-2 after running depmod -a
We had customers affected by this issue. Would it be possible for you to fix the LIS package asap ?
johanburati
Metadata
Metadata
Assignees
Labels
No labels