LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-26-2005, 02:27 PM   #1
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Rep: Reputation: 47
module making


Making and inserting modules takes hours for my slow pcs. I'm rebuilding my kernel-2.6.10 with alsa support and am hoping to cut down on my module making time since I already have the modules is /lib/modules/2.6.10.

What happens after I make bzImage and then execute make modules- since I already have them where they would be built...would it delete that modules directory or add to it?
 
Old 03-26-2005, 02:40 PM   #2
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
I've redone my config to add just 1 module - to my suprise, is MUCH faster then
compared to the first time.

Since the modules are already there, it recognizes that fact and moves on - as long
as you are using the same /usr/src/linux-xxxxx directory to build from, so it doesn't
have to recreate the contents of /lib/modules/<kernel_version/name>

-tw
 
Old 03-26-2005, 02:46 PM   #3
linuxhippy
Senior Member
 
Registered: Sep 2004
Location: Philadelphia, PA
Distribution: Xubuntu, Mythbuntu, Lubuntu, Picuntu, Mint 18.1, Debian Jessie
Posts: 1,207

Original Poster
Rep: Reputation: 47
excellent!!

ok, how about this-when I FINALLY get a kernel config that I'm happy with for the 2.6.x series (hopefully the second try with 2.6.10), I'll eventually upgrade to 2.6.12 (when it comes out). Will the same adding modules apply to that if I first copy the 2.6.10 modules to /lib/modules/2.6.12?
 
Old 03-26-2005, 03:01 PM   #4
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
I'd like to hear a more knowledgeable persons opinion on the matter, but I
don't think so.

Unless there was no improvments/changes made on that particular module,
it might work, but I wouldn't do it. I would be affriad that I would end up with
a big mess on my hands. I'de keep individual modules working with the
kernel version that made them.

If it takes some time on your system, as like you said, they are on the slow side,
I'd type this:

make bzImage && make modules && make modules_install

and go to bed for the night.
I do it that way, and I am fortuante enough to have a relatively fast system.
-tw
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error making a module e13438 Linux - Networking 2 11-24-2005 01:52 PM
making sys call ex:insmod,rmmod from function in user module shashishankar_h Linux - General 1 09-01-2005 01:36 AM
scripting module making & installing linuxhippy Slackware 2 03-24-2005 07:30 PM
Problems while making the module in Mandrake 10.1 atulhi Mandriva 7 03-05-2005 05:51 AM
3c900 making problem with 3c59x module? realos Linux - General 1 11-08-2002 07:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 PM.

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
Open Source Consulting | Domain Registration