Why Slackware 10.0 kernel driver modules is in .o.gz format
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.
Just a guess, but Slackware 10.0 is pretty old and uses a 2.4 kernel, which may store the modules in a different format than the newer 2.6 kernel. But that's a guess. Your best bet to load a module is to use `modprobe` instead of `insmod` since it is more intelligent and loads the module's dependencies as well. A simple `modprobe module` would work for you (no need to include the extension). In Slackware 12.0 and 12.1, the modules use the .ko suffix (because it uses a 2.6 kernel). In my 11.0 installation, the 2.4 kernel uses the .o.gz extension while a custom compiled 2.6 kernel uses the .ko suffix.
In the old times past, Slackware 'gzipped' the kernel modules to save space on the floppies and later, CDROM. A ".o.gz" file is basically a gzipped ".o" kernel module file. The 2.4 kernel will gladly accept and load these gzipped modules, but unzipped ones are fine too - most other distros did not gzip their module files.
I believe that even the 2.6 kernel should accept ".ko.gz" kernel module files. Never tested that though.
I'm pretty sure that kernel-2.6 can used gzipped modules also. The space advantage is *very* minimal, though. The code for kernel modules doesn't contain much compressable empty space -if you try gzipping a few and comparing their size you'll see what I mean.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.