Bug 1886734 - weak-modules takes ages and is not useful
Summary: weak-modules takes ages and is not useful
Keywords:
Status: CLOSED DUPLICATE of bug 1828455
Alias: None
Product: Fedora
Classification: Fedora
Component: kmod
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: kmod development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-09 09:22 UTC by Sergio Basto
Modified: 2020-10-09 12:06 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-10-09 12:06:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sergio Basto 2020-10-09 09:22:42 UTC
running: 
   ps -ef --cols=800 | grep -e depmod -e 890465 -e 890464 -e 890223 [1] 


22 minutes and count , weak-modules are running in a core i5 with a fast SSD and 8 Gigas of memory . 

weak-modules are available on EL7 , because they can be used when KABI doesn't change , in Fedora every kernel update KABI changes .

More errors we are seeing with this not useful feature [2].

How we can disable weak modules ? 

Thank you 




[1]

root      890223   35887  1 09:56 pts/1    00:00:19 /usr/bin/python3 /usr/bin/dnf --disablerepo=* --enablerepo=abc --repofrompath=abc,rpms update --nogpg
root      890464  890223  0 09:58 pts/1    00:00:00 /bin/sh /var/tmp/rpm-tmp.twu0kE 4
root      890465  890464  0 09:58 pts/1    00:00:10 /usr/bin/bash /usr/sbin/weak-modules --add-kernel 5.9.0-0.rc8.28.fc34.x86_64
root      936078  890465 99 10:20 pts/1    00:00:02 /sbin/depmod -C /tmp/weak-modules.r0X8za/depmod.conf -naeE /tmp/weak-modules.r0X8za/symvers-5.9.0-0.rc8.28.fc34.x86_64 5.9.0-0.rc8.28.fc34.x86_64
root      936079  890465  0 10:20 pts/1    00:00:00 grep /tmp/weak-modules.r0X8za/5.9.0-0.rc8.28.fc34.x86_64/weak-updates


[2]
https://github.com/tomaspinho/rtl8821ce/issues/171

Comment 1 Sergio Basto 2020-10-09 09:35:09 UTC
I found many empty weak-updates dir and remove it , maybe that is the cause , I used dkms for a while 

cd /usr/lib/modules
rmdir -p 5.6.11-200.fc31.x86_64/weak-updates/
rmdir -p 5.6.13-200.fc31.x86_64/weak-updates/
rmdir -p 5.6.15-200.fc31.x86_64/weak-updates/
rmdir -p 5.6.16-200.fc31.x86_64/weak-updates/
rmdir -p 5.6.18-200.fc31.x86_64/weak-updates/
rmdir -p 5.6.19-200.fc31.x86_64/weak-updates/
rmdir -p 5.7.7-100.fc31.x86_64/weak-updates/
rmdir -p 5.7.8-100.fc31.x86_64/weak-updates/
rmdir -p 5.7.9-100.fc31.x86_64/weak-updates/
rmdir -p 5.7.11-100.fc31.x86_64/weak-updates/
rmdir -p 5.7.15-100.fc31.x86_64/weak-updates/
rmdir -p 5.8.8-100.fc31.x86_64/weak-updates/
rmdir -p 5.8.9-101.fc31.x86_64/weak-updates/
rmdir -p 5.8.10-100.fc31.x86_64/weak-updates/

Comment 2 Yauheni Kaliuta 2020-10-09 12:06:02 UTC

*** This bug has been marked as a duplicate of bug 1828455 ***


Note You need to log in before you can comment on or make changes to this bug.