Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 09-21-2006, 08:01 PM   #1
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:

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

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.

Old 09-22-2006, 05:33 AM   #2
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, 07:03 PM   #3
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.



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 06: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 08:21 PM
how to know whether a driver or other module build-in kernel ? jiawj Slackware 1 04-10-2005 02:21 AM
Unable to build the NVIDIA kernel module subaruwrx Linux - General 2 03-12-2005 08:15 PM
Unable to build NVIDIA kernel module / determin kernel version Night Ink Fedora 2 05-31-2004 04:54 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:40 PM.

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