LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2006, 07:28 PM   #1
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Rep: Reputation: 15
Aaarrrgghhh!!! Another mount problem


Before this i used kernel 2.6.15-1.2054_FC5. When i mount it, it works fine. I can access my ntfs partition and play mp3 files.

Just now I've just installed kernel-module-ntfs-2.6.16-1.2122_FC5-2.1.26-0.rr.10.5.i586.rpm
. I save the rpm under /home/jo directory. Before that I've also updated my FC5 using yum. When i tried to install the new kernel, it displayed:

Code:
[root@localhost jo]# rpm -i kernel-module*
        package kernel-module-ntfs-2.6.16-1.2122_FC5-2.1.26-0.rr.10.5 is already installed
Then I type lsmod to find if there's any ntfs, it displayed:

Code:
[root@localhost /]# lsmod
Module                  Size  Used by
radeon                 97376  0
drm                    63701  1 radeon
autofs4                19013  1
hidp                   15937  2
rfcomm                 34517  0
l2cap                  23617  10 hidp,rfcomm
bluetooth              44069  5 hidp,rfcomm,l2cap
sunrpc                136573  1
ip_conntrack_ftp        7601  0
ip_conntrack_netbios_ns     3009  0
ipt_REJECT              5441  1
xt_state                2241  11
ip_conntrack           49261  3 ip_conntrack_ftp,ip_conntrack_netbios_ns,xt_state
nfnetlink               6489  1 ip_conntrack
xt_tcpudp               3265  13
iptable_filter          3137  1
ip_tables              11529  1 iptable_filter
x_tables               12613  4 ipt_REJECT,xt_state,xt_tcpudp,ip_tables
video                  14917  0
button                  6609  0
battery                 9285  0
ac                      4933  0
ipv6                  225697  12
usb_storage            62625  0
lp                     12297  0
parport_pc             25445  1
parport                34313  2 lp,parport_pc
floppy                 57733  0
nvram                   8393  0
ehci_hcd               29005  0
uhci_hcd               28881  0
sg                     32349  0
snd_via82xx            26329  2
gameport               15177  1 snd_via82xx
snd_ac97_codec         83937  1 snd_via82xx
snd_ac97_bus            2497  1 snd_ac97_codec
snd_seq_dummy           3781  0
snd_seq_oss            28993  0
snd_seq_midi_event      7105  1 snd_seq_oss
snd_seq                47153  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_pcm_oss            45009  0
snd_mixer_oss          16449  2 snd_pcm_oss
snd_pcm                76869  3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_timer              22597  2 snd_seq,snd_pcm
snd_page_alloc         10441  2 snd_via82xx,snd_pcm
snd_mpu401_uart         7873  1 snd_via82xx
snd_rawmidi            24001  1 snd_mpu401_uart
i2c_viapro              8277  0
snd_seq_device          8909  4 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
i2c_core               20673  1 i2c_viapro
snd                    50501  13 snd_via82xx,snd_ac97_codec,snd_seq_oss,snd_seq,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9377  2 snd
via_rhine              22597  0
mii                     5313  1 via_rhine
dm_snapshot            15981  0
dm_zero                 2113  0
dm_mirror              19729  0
dm_mod                 50521  6 dm_snapshot,dm_zero,dm_mirror
ext3                  116169  2
jbd                    52693  1 ext3
sata_via                8261  0
libata                 53969  1 sata_via
sd_mod                 16449  0
scsi_mod              124649  4 usb_storage,sg,libata,sd_mod
There's no ntfs. So I try to load it, but it display error:

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
What's the problem?

Last edited by jojojo; 05-27-2006 at 07:31 PM.
 
Old 05-27-2006, 07:36 PM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Code:
rpm -ivh http://rpm.livna.org/livna-release-5.rpm
yum install kmod-ntfs
done... You'll only have to check that, in case of a kernel upgrade with yum, the corresponding module has been released (wich is usually done quickly) before your accept the upgrade.

Good luck
 
Old 05-27-2006, 09:34 PM   #3
sdexp
Member
 
Registered: Sep 2003
Location: USA
Distribution: Ubuntu Linux
Posts: 103

Rep: Reputation: 15
NTFS is still extremely dangerous to use with Linux.

If you have anything of value (not including the M$ Wind0ws OS itself), I strongly discourage using the kernel mod.
 
Old 05-28-2006, 12:12 AM   #4
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
After I've installed the kmod-ntfs, what should I do?

I've tried to load the ntfs, but still a problem...

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
 
Old 05-28-2006, 12:46 AM   #5
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
Or is it because I haven't remove the old kernel (2.6.15...) because right now I have 2 kernel. Do I have to remove the old kernel?

When I log in to the old kernel (2.6.15....), I can access ntfs partition, but when i log into the new kernel (2.6.16....), I cannot. It says:

[root@localhost /]# modprobe ntfs
FATAL: Error inserting ntfs (/lib/modules/2.6.16-1.2122_FC5/kernel/fs/ntfs/ntfs.ko): Invalid module format
 
Old 05-28-2006, 12:48 AM   #6
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,960

Rep: Reputation: 333Reputation: 333Reputation: 333Reputation: 333
Quote:
Originally Posted by sdexp
I strongly discourage using the kernel mod.
Why? It doesn't let you mount NTFS partitions rw anyway. What damage can you do reading an NTFS partition?
 
Old 05-29-2006, 09:35 AM   #7
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
Quote:
Originally Posted by jojojo
[root@localhost /]# modprobe ntfs
FATAL: Error inserting ntfs (/lib/modules/2.6.16-1.2122_FC5/kernel/fs/ntfs/ntfs.ko): Invalid module format
This is not where kmod-ntfs is supposed to install. I just tried to install with yum as I just advised you to do and it worked like a charm. The module resides in /lib/modules/2.6.16-1.2122_FC5/extra/ntfs

My guess is that modprobe is finding your old not working module in the path before the good one and using it. Did you remove your old package (rpm -e kernel-module-ntfs) ?
 
Old 05-29-2006, 09:40 AM   #8
jojojo
Member
 
Registered: Feb 2005
Location: Kuala Lumpur, Malaysia
Distribution: Fedora Core 5
Posts: 121

Original Poster
Rep: Reputation: 15
You mean the 2.6.15-1.2054_FC5 ntfs module? No, I haven't remove it.

In the /lib/modules file I have 2 files. One is the 2.6.15... and one is the 2.6.16...

Is it suppose to contain 2 files?
 
Old 05-29-2006, 10:00 AM   #9
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
I mean did you remove all the "kernel-module-ntfs" packages since the new naming scheme (and therefore the new one you installed) is "kmod-ntfs".

List all the corresponding modules with:
Code:
rpm -q kernel-module-ntfs
and remove all the ones that eventually show up with:
Code:
rpm -e <full package name with version pasted from result of above command>
 
  


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
Mount problem - device already mounted or mount point busy zahoo Linux - General 7 08-28-2009 06:02 PM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
mount:not a directory. Suse dvd mount problem tzanis Linux - General 8 11-06-2005 12:30 PM
weird kernel problem and fs mount problem intense Slackware 5 03-16-2004 01:36 PM
Mount Problem AcidRain Linux - Newbie 9 06-26-2002 05:30 PM


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