LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   where can i get precompiled kernel modules? (https://www.linuxquestions.org/questions/linux-general-1/where-can-i-get-precompiled-kernel-modules-80709/)

drcreep 08-10-2003 03:51 PM

where can i get precompiled kernel modules?
 
Hello!

I bought two weeks ago SuSE 8.1 Professional and installed it to my Notebook (via network btw, no CD-ROM :D )
Now i wanted to use apm, but of course this is not in the preinstalled kernel. And I don't want to install all the sources and compile the kernel and kernel modules by myself (I hate it, each time I do it, I forget andything :rolleyes: )
And I only need apm.o for my kernel version (2.4.19-4GB) What btw means 4GB?
So my question is: Is anywhere in this great wide virtual world a site where you can get precompiled kernel modules?
And there is one: Can i simply copy apm.o to the dedicated directory and write "modprobe apm" to make it work or is there anything more?

Greetings from Bavaria,
Andy - Dr. Creep

hornbeck 08-10-2003 07:53 PM

You can more than likely find someone who has the module compiled but without the kernel sources it would be hard to get it to work. It might also be hard to use a binary version of it anyway. The best bet is to recompile it is not hard at all. Here are the steps.

move the kernel source to /usr/src(you have to be root for all of this)

#tar jxvf kernel-source-2.4.21.tar.bz2

#cd kernel-source

#make menuconfig

(select all the stuff you need)

#make dep

#make bzImage

#make modules

#make modules_install

#cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.21

#cp System.map /boot/System.map-2.4.21

and than change your /etc/lilo.conf to have the new kernel(if you don't know how to do that than ask)

reboot and work.

John Hornbeck

bongski55 08-11-2003 06:11 AM

Just a word of caution: 2.4.21 is a buggy kernel and might not work in some pcs(did not work in mine). Instpite of it being labeled "stable". 2.4.20 is a safer bet.

Also instead of make config which is a bit daunting for a newbie,you can use the old working config by copying it using make xconfig. Worked for me anyway.

drcreep 08-11-2003 09:41 AM

Thanks for the replies so far, but I know how to compile a new kernel. As I wrote, I compile the whole thing and forget anything, like the soundcard or some needed filesystem (just for example), so I have to wait (I run Linux on 233Mhz Notebook) and wait, then check, and try over!
The preinstalled kernel of SuSE 8.1 is good, is has everything so far (exept smbfs, but I am not sure, did not try it until now), the only thing I need furthermore is apm to check out my battery status.
And so I asked if there is a site where you can get this single module.
On the other hand, I rather go to compile the kernel by myself. Then the question is where to I find the standard settings used in for the installed kernel? And how to I bring them into the making process?

So I got to compile again...

So long, Andy - Dr. Creep


All times are GMT -5. The time now is 04:45 AM.