On Thu, 20 Feb 2020 17:36:46 +0100, Michael Pujos <pujos.michael@gmail.com> wrote:
On 2/20/20 5:30 PM, H.Merijn Brand wrote:
On Thu, 20 Feb 2020 17:11:48 +0100, Michael Pujos <pujos.michael@gmail.com> wrote:
I recently noticed that my /lib/modules folder has a lot of cruft:
[...]
3.6G /lib/modules/
Modules from all kernel versions since I installed TW more than one year ago are there, totalling 3.6G ! Which TW are you running, as my current TW is pretty clean
I run latest TW as of today.
Looking more closely, this is the nvidia modules that are never removed (see end of mail), and since they take quite a bit of space (around 70 MB) if takes a huge amount of space quickly.
For me all the 3.x folders contained *only* the (empty) folder kernel/drivers/char/drm - I removed those, which already looks much better I have no nVidia. Deliberately. On none of my boxes.
These modules are part of the regular nvidia-gfxG05-kmp-default package. So is the issue in that package not removing old modules, or a more general issue higher up in the distro with the removal of old kernels not removing relevant /lib/modules/ folders ?
After cleanup, I looked into the oldest folder on 15.1: 4.4.73-18.17-default 4.4.73-18.17-default/misc 4.4.73-18.17-default/misc/vmmon.ko 4.4.73-18.17-default/misc/vmnet.ko and on TW I cleared out the old empty folders weak-updates/extra I still have these left: 68M 5.4.13-1-default 69M 5.4.14-1-default 69M 5.4.14-2-default 69M 5.5.1-1-default 69M 5.5.2-1-default 71M 5.5.4-1-default and those are all way more than just video drivers -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.31 porting perl5 on HP-UX, AIX, and Linux https://useplaintext.email https://tux.nl http://www.test-smoke.org http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/