View Issue Details

IDProjectCategoryView StatusLast Update
0001081channel: elrepo/el8kmod-usbippublic2021-03-16 12:16
Reporterpberger Assigned Totoracat  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001081: weak link problem with 8_3
DescriptionHi:
I'm a new ElRepo user (thanks for this great resource!) so maybe I'm doing something wrong, but after installing the kmod-usbip package on my CentOS 8.3 system, the drivers appear in /lib/modules/4.18.0-240.el8.x86_64, but apparently no links were made into my active kernel's corresponding weak-updates directory. Manually creating the links seems to fix the problem, but I wonder if this should have happened automatically.

Details:
$ cat /etc/redhat-release
CentOS Linux release 8.3.2011
$ uname -a
Linux centos8 4.18.0-240.15.1.el8_3.x86_64 #1 SMP Mon Mar 1 17:16:16 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
$ ls /lib/modules
4.18.0-147.8.1.el8_1.x86_64 4.18.0-240.15.1.el8_3.x86_64
4.18.0-193.28.1.el8_2.x86_64 4.18.0-240.el8.x86_64
4.18.0-240.10.1.el8_3.x86_64 4.18.0-80.el8.x86_64




Steps To Reproduce$ sudo dnf install kmod-usbip
$ modinfo vhci-hcd
modinfo: ERROR: Module vhci-hcd not found.

To get it working (apparently) properly:
$ FULL_NAME=4.18.0-240.15.1.el8_3.x86_64
$ ELREPO_NAME=4.18.0-240.el8.x86_64
$ sudo mkdir /lib/modules/${FULL_NAME}/weak-updates/kmod-usbip
$ sudo ln -s \
    /lib/modules/${ELREPO_NAME}/extra/usbip/*.ko \
    /lib/modules/${FULL_NAME}/weak-updates/kmod-usbip
$ sudo depmod -a

After this, "modinfo vhci-hcd" and "modprobe vhci-hcd" work as expected, and I can run my usbip application.

Did I miss an install step or do something obviously wrong? I installed one of the other ElRepo packages (kmod-isci) on the same system and it created the weak-updates links automatically, so I was surprised to have to do this manually for kmod-usbip.

Thanks!
     --Peter


TagsNo tags attached.

Activities

pberger

2021-03-15 16:39

reporter   ~0007493

I meant to note the package version:
$ rpm -qa |grep usbip
kmod-usbip-0.0-3.el8_3.elrepo.x86_64

toracat

2021-03-15 17:45

administrator   ~0007494

Looks like there was a kABI breakage when the kernel was updated from the EL8,3 GA kernel-4.18.0-240.el8. The kmod-usbip package has been rebuilt against the current kernel 4.18.0-240.15.1.el8_3. The following file will be syncing to our mirror site shortly:

kmod-usbip-0.0-4.el8_3.elrepo.x86_64.rpm

pberger

2021-03-16 12:07

reporter   ~0007497

That new version works perfectly. Thanks for such a speedy and excellent response!

toracat

2021-03-16 12:16

administrator   ~0007498

No problem. Thank you for reporting the issue. Now closing as 'resolved'.

Issue History

Date Modified Username Field Change
2021-03-15 16:26 pberger New Issue
2021-03-15 16:26 pberger Status new => assigned
2021-03-15 16:26 pberger Assigned To => toracat
2021-03-15 16:39 pberger Note Added: 0007493
2021-03-15 17:45 toracat Note Added: 0007494
2021-03-16 12:07 pberger Note Added: 0007497
2021-03-16 12:16 toracat Status assigned => resolved
2021-03-16 12:16 toracat Resolution open => fixed
2021-03-16 12:16 toracat Note Added: 0007498