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.
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Rep:
Building modules for the kernel...
I was wondering after I builted a driver for a usb hd today and then installed it to /lib/modules/kernel#, can you do the same if you want to add something as a module but not rebuild the entire kernel. Such as make menuconfg, set the (m)s you want, make dep, make clean, make modules, make modules_install....
It would seem the case that it is possible. As an example, one can add the nvidia driver to the kernel modules. I would think you would want to know what you are doing before doing something like that. You probably would want to know what depmod means and things like that
Distribution: SlackWare 10.1+, FreeBSD 4.4-5.2, Amiga 1.3,2.1,3.1, Windors XP Pro (makes a fair answering machine)
Posts: 287
Original Poster
Rep:
Well it works quite well actually. I was doing some firewall setups that required some kernel mods that I had not marked (y) or (m).. So what I did was this....
Copied my /lib/modules/2.4.22 to a safe location.. cded to my /usr/src/linux.. make menuconfig and (m)ed the desired mods, exited and saved... make dep.. make clean.. make modules.. make modules_install.. Then I cded back to /lib/modules/2.4.22 and compared it to my saved safe one. copied back the miss alsa sound driver directory and my usb hd drivers and a edited a couple of **.maps.. Crossed my fingers and rebooted.. Got a few misdirections that fixed themselves at first shot.. I would say that it is possible to do... My system is just fine now and my firewall is working really well... Which is what I desired as on at least a weekly bases some one manages to get through the first fw and wipe my son's box... Told him that was the cost of being wide open for PtP and on-line games. All other boxes on the net go off-line when the first alerts to intrusion attempts...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.