LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-21-2006, 09:01 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
Thumbs up kernel module question for kernel build


Hello all,
I loaded RC4 Version 11 of Slackware on some spare space just to check it out. First I tried the stock 2.4 kernel and I noticed that it put a soft link as follows:

Code:
lrwxrwxrwx 1 root root 19 2006-09-21 01:41 rc.modules -> rc.modules-2.4.33.3
Then I tried out the testing kernel of 2.6.17.13-smp and it put the following file in the /etc/rc.d/ directory as follows and didn't make any link changes.

Code:
rc.modules-2.6.17.13-smp
So then I though that I would build a CUSTOM kernel so I could use the nvidia driver and of course as normal I didn't notice any changes at all in the /etc/rc.d/ directory.

SO here's the QUESTION finally.

Is the reason that the new files were added because the modules and kernel in each installpkg were not built on my system but installed? I tried to read the code but I'm a newbie and can't do that yet so I hope someone understands my question on this.

Thanks
 
Old 09-22-2006, 06:33 AM   #2
evilDagmar
Member
 
Registered: Mar 2005
Location: Right behind you.
Distribution: NBG, then randomed.
Posts: 480

Rep: Reputation: 31
Oh, I saw that in the rc's and it looks to me like Patrick just wanted to make sure he could put an entirely different rc.modules script in for 2.6.x kernels, instead of having to jump through numerous hoops by checking for the kernel version and so forth in the file.

The good news is that basically with a 2.6.x kernel, unless you've got some really old ISA hardware around or some of the more obscure sound cards, you aren't likely to need the rc.modules file to do anything because udev and kmod will take care of loading what's needed, when it's needed. (For real this time--not like it was with 2.4.x kernels.)
 
Old 09-22-2006, 08:03 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Thanks for the reply on this, I know it was kind of stupid but us newbie's look at things differently from time to time. Yes, I understand that this file is almost garbage due to the new stuff although I didn't get involved when it may have been necessary. I just like understanding what and why on stuff even though it may just foolish.

davimint.
 
  


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] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 07:34 PM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 09:21 PM
how to know whether a driver or other module build-in kernel ? jiawj Slackware 1 04-10-2005 03:21 AM
Unable to build the NVIDIA kernel module subaruwrx Linux - General 2 03-12-2005 09:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 05:54 PM


All times are GMT -5. The time now is 01:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration