View Issue Details

IDProjectCategoryView StatusLast Update
0001138channel: elrepo/el8kmod-usbippublic2021-09-23 17:17
Reportergyee Assigned Topperry  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0001138: request kmod-usbip support for latest EL8 kernels (4.18.0-305.19.1.el8_4 and 4.18.0-305.17.1.el8_4)
DescriptionHi:
I've been very successfully using:
     kmod-usbip-0:0.0-7.el8_4.elrepo.x86_64
with an older EL8 kernel:
     4.18.0-305.12.1.el8_4.x86_64
but it appears that it does not support the latest two EL8 kernels:
     4.18.0-305.17.1.el8_4.x86_64
     4.18.0-305.19.1.el8_4.x86_64

It appears that I'm already using the latest kmod-usbip ElRepo package:
     rpm -qa | grep kmod-usbip
shows:
     kmod-usbip-0.0-7.el8_4.elrepo.x86_64

Unless you think I'm doing something wrong on my end, could I request a kmod-usbip rebuild that also supports the 4.18.0-305.19.1.el8_4.x86_64 kernel (and also 4.18.0-305.17.1.el8_4.x86_64)?

Thanks!
TagsNo tags attached.

Relationships

related to 0001140 resolvedtoracat request kmod-usbip support for EL8 kernel 4.18.0-315.el8.x86_64 

Activities

toracat

2021-09-20 13:34

administrator   ~0007852

We confirm this package needs to be rebuilt against the current kernel. Will work on it.

pperry

2021-09-20 13:34

administrator   ~0007853

Acknowledged - it probably (hopefully) just needs rebuilding against the latest kernel, which I'll get done this evening for you.

In the meantime, if you could post the output from the following, that would be helpful:

rpm -qa kernel\* |sort
find /lib/modules -name usbip\*

Thanks

gyee

2021-09-20 14:11

reporter   ~0007856

Thanks for the quick response! Certainly:

# rpm -qa kernel\* |sort
kernel-4.18.0-305.12.1.el8_4.x86_64
kernel-4.18.0-305.17.1.el8_4.x86_64
kernel-4.18.0-305.19.1.el8_4.x86_64
kernel-core-4.18.0-305.12.1.el8_4.x86_64
kernel-core-4.18.0-305.17.1.el8_4.x86_64
kernel-core-4.18.0-305.19.1.el8_4.x86_64
kernel-modules-4.18.0-305.12.1.el8_4.x86_64
kernel-modules-4.18.0-305.17.1.el8_4.x86_64
kernel-modules-4.18.0-305.19.1.el8_4.x86_64
kernel-tools-4.18.0-305.19.1.el8_4.x86_64
kernel-tools-libs-4.18.0-305.19.1.el8_4.x86_64

# find /lib/modules -name usbip\*
/lib/modules/4.18.0-305.el8.x86_64/extra/usbip
/lib/modules/4.18.0-305.el8.x86_64/extra/usbip/usbip-core.ko
/lib/modules/4.18.0-305.el8.x86_64/extra/usbip/usbip-host.ko
/lib/modules/4.18.0-305.17.1.el8_4.x86_64/weak-updates/usbip
/lib/modules/4.18.0-305.17.1.el8_4.x86_64/weak-updates/usbip/usbip-host.ko
/lib/modules/4.18.0-305.17.1.el8_4.x86_64/weak-updates/usbip/usbip-core.ko
/lib/modules/4.18.0-305.12.1.el8_4.x86_64/weak-updates/usbip
/lib/modules/4.18.0-305.12.1.el8_4.x86_64/weak-updates/usbip/usbip-core.ko
/lib/modules/4.18.0-305.12.1.el8_4.x86_64/weak-updates/usbip/usbip-host.ko

Also one strange thing I noticed is that in 305.17.1, usbip-core exists, but vhci_hcd.ko does not exist (it does in 305.12, however).

For example:
find /lib/modules -name vhci\*
/lib/modules/4.18.0-305.el8.x86_64/extra/usbip/vhci-hcd.ko
/lib/modules/4.18.0-305.12.1.el8_4.x86_64/weak-updates/usbip/vhci-hcd.ko

pperry

2021-09-20 15:01

administrator   ~0007857

Last edited: 2021-09-20 15:02

Thanks for that. Yes, there are 3 modules provided by the package, and looks like vhci_hcd.ko broke on 4.18.0-305.17.1.el8_4, and then everything broke on 4.18.0-305.19.1.el8_4

I've rebuilt against the latest 4.18.0-305.19.1.el8_4 kernel and uploaded to the main elrepo repository. The updated package should be available on our mirror sites shortly. The rebuilt package appear compatible with 4.18.0-305.19.1.el8_4 and 4.18.0-305.17.1.el8_4 kernels, but likely not compatible with earlier kernels.

If you could update and then reboot to kernel-4.18.0-305.19.1.el8_4 to test, that would be great.

Please let us know if the updated package works as expected for you.

Many thanks

gyee

2021-09-20 20:16

reporter   ~0007861

Thank you for the fast turnaround! I booted into the 4.18.0-305.19.1.el8_4 kernel kernel then did as requested:

yum update kmod_usbip
modprobe -r usbip_core vhci-hcd
modprobe usbip_core
modprobe vhci-hcd

Now I can see the latest kernel module
    rpm -qa usbip\*
shows:
    usbip-utils-0.0-1.el8.elrepo.x86_64

I gave it a test spin and it now behaves as expected.

Thank you again!

pperry

2021-09-21 03:02

administrator   ~0007862

Great, thank you for the fast feedback.

Marking as resolved.

Issue History

Date Modified Username Field Change
2021-09-20 13:21 gyee New Issue
2021-09-20 13:21 gyee Status new => assigned
2021-09-20 13:21 gyee Assigned To => toracat
2021-09-20 13:31 pperry Assigned To toracat => pperry
2021-09-20 13:34 toracat Note Added: 0007852
2021-09-20 13:34 pperry Note Added: 0007853
2021-09-20 14:11 gyee Note Added: 0007856
2021-09-20 15:01 pperry Note Added: 0007857
2021-09-20 15:02 pperry Note Edited: 0007857
2021-09-20 20:16 gyee Note Added: 0007861
2021-09-21 03:02 pperry Note Added: 0007862
2021-09-21 03:03 pperry Status assigned => resolved
2021-09-21 03:03 pperry Resolution open => fixed
2021-09-23 17:17 burakkucat Relationship added related to 0001140