Computing.Net > Forums > Linux > RH Linux 7.3 upgrade problem.

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

RH Linux 7.3 upgrade problem.

Reply to Message Icon

Name: flinty
Date: July 20, 2002 at 00:57:23 Pacific
Comment:

I have just upgraded my RedHat Linux 7.2 system to 7.3; via the standard upgrade option on the 7.3 CD.
All appeared to go well and the install appeared to complete without issue, however when I now bootup my machines I get the error message numerous times. "modprobe: Can't open dependencies file /lib/modules/2.4.7-10/modules.dep (No such file or directory).
Once the system finally gets booted and you get the login prompt it fails to let you authenticate in.

I have booted the system upon to rescue mode and indeed there is no 2.4.7-10 directory as its now been upgraded to 2.4.18-3.

I have tried out of desperation copying the 2.4.18-3 directory to 2.4.7-10, reselecting the upgrade option and also selectively installing additional applications all to no avail.

Can anybody point me in the right direction to fix my system?

Many thanks in advance,

Ian



Sponsored Link
Ads by Google

Response Number 1
Name: Mark
Date: July 20, 2002 at 07:12:14 Pacific
Reply:

Just make the file folder 2.4.7-10 a symbolic link to the new folder (2.4.18-3.)


0

Response Number 2
Name: Mark
Date: July 20, 2002 at 07:14:59 Pacific
Reply:

Or if that don't work.

recompile your kernel.

this should definitely fix it.
as dependencies and modules will be redefined to your kernel version.


0

Response Number 3
Name: Mike Johnson
Date: July 20, 2002 at 09:54:05 Pacific
Reply:

Mark - the modules all have different symbols for which kernel they are compilied with, so modules from any other kernel won't work with any other kernel version.

A kernel recompile will work, but that's more painful than need be.

Ian - run:

rpm -qa | grep kernel

You should see several packages printed out with version numbers. I believe you're missing a rpm for 2.4.18 that you have installed from 2.4.17. (I haven't got my hands on 7.3 for my servers just yet, but I believe RedHat started packaging the modules in a separate rpm from the normal kernel.)

You should be able to find this on the first RedHat install disk. Install it with `rpm -i /mnt/cdrom/2.4.18-x-modules.rpm`.

The other option is to continue using your older kernel. You would need to modify your grub setup -- ask for more help if you want to do this.


0

Response Number 4
Name: urlmodif
Date: August 25, 2002 at 09:53:27 Pacific
Reply:

Hello there,
I like RH but I have to tell you I got the same error message on a debian (potato 2.2-r6):

modprobe: Can't open dependencies file /lib/modules/2.4.19/modules.dep (No such file or directory).

The previous messages might be right but here is my opinion (I’m kind of new to linux).

What made me get this message was the installation of a newer kernel with parts of it as modules.

What I did not see was that in the README file of the 2.4.19 kernel source it was written that in such configuration (module parts), after the kernel compilation we have to run more compilation commands:


+++++++++++++++++++++++++++
+make modules
+make install_modules
+++++++++++++++++++++++++++


After this I got message telling that /etc/modules.conf was newer than /lib/modules/2.4.19/modules.dep or the contrary, I don’t really remember.

What was to be done:

++++++++++
+depmod
++++++++++


And then no more problems ... except that modconf still can’t see any module (if anyone has a solution for this marginal problem it would be very nice)


All the commands are done in the main directory of the kernel sources.


More briefly, what you should do is, as it is said above by mike, reinstall the kernel (from the sources), and then maybe run the + make modules ++ make install_modules ++ depmod + .


I’m not sure that helps but please be indulgent.

Bye.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: RH Linux 7.3 upgrade problem.

Dual Boot RH linux 7.3 and XP www.computing.net/answers/linux/dual-boot-rh-linux-73-and-xp/16938.html

Inspiron8100 RH Linux 7.3 Screen Darkens www.computing.net/answers/linux/inspiron8100-rh-linux-73-screen-darkens/10756.html

Redhat Linux 7.3 on AMD Duron www.computing.net/answers/linux/redhat-linux-73-on-amd-duron/16671.html