LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-10-2003, 03:51 PM   #1
drcreep
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Suse 8.1
Posts: 2

Rep: Reputation: 0
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 )
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 )
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
 
Old 08-10-2003, 07:53 PM   #2
hornbeck
LQ Newbie
 
Registered: Jul 2003
Location: Lawton, OK
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
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
 
Old 08-11-2003, 06:11 AM   #3
bongski55
Member
 
Registered: May 2003
Location: Somewhere in Asia
Distribution: ubuntu on Dell, Vista,XP triple boot
Posts: 276
Blog Entries: 1

Rep: Reputation: 30
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.
 
Old 08-11-2003, 09:41 AM   #4
drcreep
LQ Newbie
 
Registered: Aug 2003
Location: Germany
Distribution: Suse 8.1
Posts: 2

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
precompiled kernels & modules linuxhippy Slackware 5 03-14-2005 07:46 PM
Are Red Hat precompiled modules (.o) compatible with Fedora? GustavoLacerda Linux - Software 1 05-26-2004 03:51 PM
Are Red Hat precompiled modules (.o) compatible with Fedora? GustavoLacerda Linux - General 1 05-26-2004 03:50 PM
Are Red Hat precompiled modules (.o) compatible with Fedora? GustavoLacerda Linux - Newbie 2 05-26-2004 03:49 PM
HowDo I replace my existing kernel with a precompiled distro kernel ? gmartin Slackware 1 01-06-2004 09:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration