Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
NTFS module compilation
Results 1 to 4 of 4

Thread: NTFS module compilation

  1. #1
    bentradio
    Guest

    NTFS module compilation

    Thanks for your very informative article on how to enable NTFS support on Linux.
    http://www.getlinuxonline.com/omp/di.../ompntfs2.html

    I followed along very closely, but I still had a couple of problems:

    I assume this line:
    mkdir /lib/modules/2.4.18-4/kernel/fs/ntfs


    should be this:
    mkdir /lib/modules/2.4.18-5/kernel/fs/ntfs


    Small difference but if you are cutting and pasting like I was :) , then it wouldn't work.


    My other problem was that after everything seemed to work, I got

    [root@localhost linux-2.4.18-5]# /sbin/depmod -a
    depmod: *** Unresolved symbols in /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o


    so I ran this:
    [root@localhost linux-2.4.18-5]# /sbin/insmod
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol iget4_R0c827b82
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    register_filesystem_R7ff35582
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    d_instantiate_R4f0cd289
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    __bforget_Ra952c359
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    generic_read_dir_Rc92217cb
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    d_alloc_root_R8dce40f8
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol bread_R0f7cc296
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    mark_buffer_dirty_R378a0bdd
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    __wait_on_buffer_Ref1d4bac
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    __brelse_R29e4f795
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    ll_rw_block_R55e90a37
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    generic_file_llseek_R80a26dc0
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    unregister_filesystem_R551a7f61
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    unlock_buffer_Rae28d537
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    generic_file_open_R12dd3ce2
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol
    d_rehash_R87594458
    /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o: unresolved symbol iput_R6816a217

    I don't know enough about the linux kernel (this is my first shot at messing with anything) to know what might have gone wrong. I'd appreciate it if someone could point me in the right direction.

  2. #2
    JimH
    Guest

    Re:NTFS module compilation

    Quote Originally Posted by bentradio
    I assume this line:
    mkdir /lib/modules/2.4.18-4/kernel/fs/ntfs

    should be this:
    mkdir /lib/modules/2.4.18-5/kernel/fs/ntfs
    Yes, that is a typo in the article that needs fixing.

    My other problem was that after everything seemed to work, I got

    [root@localhost linux-2.4.18-5]# /sbin/depmod -a
    depmod: *** Unresolved symbols in /lib/modules/2.4.18-5/kernel/fs/ntfs/ntfs.o
    This is usually caused by compiling the module using the wrong kernel config file.

    What does this show:

    rpm -q --qf '%{NAME}-%{VERSION}-%{ARCH}\n' kernel

    and/or this:

    cat /var/log/rpmpkgs | grep kernel

    and

    uname -r

    Post the results of those and we will go from there.

    Jim H

  3. #3
    bentradio
    Guest

    Re:NTFS module compilation

    Yup, that was it, used the wrong config file. I was a little confused because although I downloaded the i386 source rpm for the kernel, when I ran

    rpm -q --qf '%{ARCH}' kernel-2.4.18-5

    it did return i686, and using the i686 config gave me a ntfs module that worked!

    I still have not been able to mount the drive yet but I think it's because it's a ieee1394 drive and I don't have the kinks quite worked out there.


    Thanks for the help and the quick reply.

  4. #4
    JimH
    Guest

    Re:NTFS module compilation

    Quote Originally Posted by bentradio
    Yup, that was it, used the wrong config file.

    it did return i686, and using the i686 config gave me a ntfs module that worked!
    Cool! 8) ;D

    Jim H

Similar Threads

  1. Exim compilation with tls
    By parth in forum Linux - General Topics
    Replies: 0
    Last Post: 03-29-2011, 04:53 AM
  2. Compilation of IDE's
    By SkyNet in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 05-01-2004, 09:26 PM
  3. Apache 2 compilation
    By vwgtiturbo in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 02-02-2004, 07:33 AM
  4. compilation (in general)
    By tetrahymenix in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 01-19-2003, 04:08 AM
  5. Replies: 11
    Last Post: 07-22-2002, 12:08 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •