SlackwareThis Forum is for the discussion of Slackware Linux.
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.
I seem to be having trouble finding the slack9 kernel source. I did a full install of slackware 9.0 and looked where the source code usually is "/usr/src" the only thing there is a directory named "rpm" and in rpm's subdirectories there is nothing. The main reason I'm trying to find the kernel is because I'm trying to build a module driver for my Lucent Winmodem and it can't locate the kernel headers. So if somone could help me out I'd be grateful
im trying to install the lucent winmodem that i got from lindmodems.org , but since im using slackware, i cant use the rpm's for redhat (which are easy to install). I've read the instructions but it says i need kernel source bla bla bla.. its kinda complicated for me. anybody can help me install this modem?
This is what I did. I bought Slackware (or you can download) and installed the kernel source (2.4.20). Then installed by typing installpkg <package name>.
Then I opened KDE and went to the Kernel Configuration and pick the options that I wanted. Then cd to /usr/src/linux, then ran make dep.
Then changed /etc/lilo.conf and added the image 2.4.20-kernel (I think that is the name). It seemed to work for me.
I believe that you could cd to /usr/src/linux. Type make xconfig and pick the options that you want. Then make dep, then make modules , then make modules install. Then edit lilo config file. Then reboot to the new kernel.
NOTE: Make a boot disk andmake sure it works. Then backup your data. I have had to re-install when I messed up a kernel because of a backup.
if you downloaded an iso (like me) then your /usr/src folder should only contain rpm folder in it. What you do is go to http://www.kernel.org (official kernel website) download the latest stable version (currently 2.4.22) and extract it to /usr/src directory. It will take a while to extract it and it might seem like your computer froze but it's only because after extracted the package is over 150 mb (22 mb compressed). After that you should have a folder called linux-2.4.22 in your /usr/src. Now make a link folder to linux-2.4.22 called linux in the same directory (do ln -s linux-2.4.22 linux while you're in /usr/src as root). Now you can compile your kernel. Note that by going to linux folder you actually get redirected to linux-2.4.22 because linux folder is a link.