LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Kernel problem (https://www.linuxquestions.org/questions/fedora-35/kernel-problem-449348/)

jojojo 05-28-2006 12:40 PM

Kernel problem
 
I've installed new kernel 2.6.16... My old kernel is 2.6.15...
I've already installed the kernel module ntfs 2.6.16....
When i log in using the new kernel, i cannot access ntfs partition. But when i log in the old kernel, I can access the ntfs partition.

I've already load the ntfs (modprobe ntfs) in the new kernel (2.6.16...), but still cannot.


Code:

[root@localhost /]# modprobe ntfs FATAL: Error inserting ntfs (/lib/modules/2.6.16-1.2122_FC5/kernel/fs/ntfs/ntfs.ko): Invalid module format

Do i need to remove the old kernel (2.6.15) so that i can access the ntfs partition using the new kernel (2.6.16)?

I'm using FC5.

macemoneta 05-28-2006 02:14 PM

You need to load the matching ntfs kernel module for the kernel you are using. Since ntfs support is provided by a third party repository, you will need to update the ntfs kernel module every time you update the kernel.

jojojo 05-29-2006 03:39 AM

I have download the ntfs kernel module that matched my linux kernel. But i don't know how to update the ntfs kernel?

MRMadhav 05-29-2006 04:47 AM

Hi, i got that prob before and i just installed the ntfs module just like i installed it for the first time with the older kernel!

macemoneta 05-29-2006 10:24 AM

You can use:

rpm -ivh some.rpm

This will install the file, instead of replacing older versions.

goossen 05-31-2006 02:25 PM

I'm going to update my kernel and I'm already using the ntfs module. Should I remove it before I upgrade the kernel and then install the matching version ?

macemoneta 05-31-2006 03:19 PM

Quote:

Originally Posted by goossen
I'm going to update my kernel and I'm already using the ntfs module. Should I remove it before I upgrade the kernel and then install the matching version ?

That's not necessary, and not desireable When you install the kernel module, it places one or more files in a '/lib/modules' subdirectory associated with a specific kernel release. That allows you to switch back and forth between kernels, and maintain the function provided by the add-on kernel module.

Simply update the kernel and any add-on modules (to a release level that matches the new kernel release level) that you use before you select that kernel for use at boot..


All times are GMT -5. The time now is 08:27 AM.