LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 10-27-2006, 05:34 AM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
rc.modules points to the wrong file. Is this a buG?


I set up slackware 11.0 by first installing it with the 2.4 kernel then I installed the 2.6-smp packages.

I have just noticed:

lrwxrwxrwx 1 root root 19 2006-10-09 20:00 rc.modules -> rc.modules-2.4.33.3*
-rwxr-xr-x 1 root root 25553 2006-09-01 09:31 rc.modules-2.4.33.3*
-rwxr-xr-x 1 root root 28472 2006-09-30 23:38 rc.modules-2.6.17.13-smp*

rc.modules is pointing to the wrong file.

Does this matter? Is this a bug in the installation?
 
Old 10-27-2006, 06:08 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
No, it is not a bug, although you can fix the link to point to the rc.modules-2.6.17.13-smp file if you like.

Slackware will look for a suitable "rc.modules" file it can use, and there is a certain order in the way it looks for a good one: first it will look for a "rc.modules-<kernelversion>", then for a symlink called "rc.modules" and ultimately it will look for a real actual file called rc.modules.
The first file that isfound will be used.

In your case, the rc.modules-2.6.17.13-smp file is found first and used if you run the 2.6.17.13-smp kernel. If you should reboot into 2.4.33.3, then the rc.modules-2.4.33.3 file would be used instead.

Eric
 
Old 10-27-2006, 08:33 AM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Thanks very much
 
  


Reply



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
File system points to MySQL db's in wrong cPanel nogerorob Linux - Software 0 04-18-2006 09:24 PM
dchpd: wrong config or bug? british_76 Linux - Networking 5 09-13-2004 08:38 AM
linux kernal configurator tool points to /usr/src/linux-2.4/arch//config.in (BUG?) Stubzyboy Linux - Newbie 3 03-11-2004 03:03 AM
XFS modules kernel naming bug fisher99 Slackware 1 04-01-2003 06:45 PM
DVDROM-device points to the wrong hd.. howto fix? Debianewb Linux - Hardware 2 10-28-2002 07:05 AM

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

All times are GMT -5. The time now is 05:23 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