[SOLVED] Lacking rc.modules-$(uname -r) after upgrade to Slackware64 14.2, is this right?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Lacking rc.modules-$(uname -r) after upgrade to Slackware64 14.2, is this right?
Hello,
after the upgrade to Slackware64 14.2, I do not have a /etc/rc.d/rc.modules-$(uname -r) file anymore.
Is this right?
I wondered if I was supposed to copy the file from the last kernel I used on 14.1, but I did not do it because
the documentation (UPGRADING.TXT & CHANGES_AND_HINTS.TXT) did not say anything about this
I thought there must have been some important changes with the kernel major version jump.
On the other hand
I am a bit worried because the old rc.modules-X stressed the importance of loading the "thermal" module
for one I am pretty sure I need to load the "lp" module for printing (but, maybe I am supposed to do this in another place after the upgrade?).
Love & Light
PS.: Yes, I have a parallel printer, and no, it does not work, regardless of lp being loaded. But that is an issue for another thread, and I would like to work the above out first.
rc.modules was written in the early Cretaceous Period. At that time Tyrannosaurus was still alive, but there was no udev daemon. Now we have have udev, so both rc.modules and T. Rex are somewhat depreciated.
Just because much of what it did is now done on-demand by (e)udev doesn't mean it no longer has a role to play. There are modules other than those which load hardware support, and which can't be loaded on-demand by udev. They need to be loaded somewhere, and rc.modules seems as good a place as any.
Don't dis the Dinos; if it wasn't for an unfortunate encounter with an asteroid they'd be walking around now... eating Ubuntu users!
Just because much of what it did is now done on-demand by (e)udev doesn't mean it no longer has a role to play. There are modules other than those which load hardware support, and which can't be loaded on-demand by udev. They need to be loaded somewhere, and rc.modules seems as good a place as any.
That's true. Some modules are not loaded on demand. The lp module mentioned by TS is a good example. The same with loop (*) and some others.
(*) Yes, I know. The "loop" module is built-in into the kernel image by default in Slackware.
(*) Yes, I know. The "loop" module is built-in into the kernel image by default in Slackware.
.
Actually it's not, at least not for the 'generic' kernels. It used to be a built-in but Pat changed that a few years ago and added a rc.loop to run the modprobe. It's not a change I agree with but it's Pat's decision to make so what I think doesn't matter.
Actually it's not, at least not for the 'generic' kernels. It used to be a built-in but Pat changed that a few years ago and added a rc.loop to run the modprobe. It's not a change I agree with but it's Pat's decision to make so what I think doesn't matter.
It looks that I am also slowly becoming a depreciated T.Rex :-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.