#37 install bug on RH 8

open
nobody
None
5
2003-01-24
2003-01-24
Tom
No

Make runs fine, but make the install fails in the modprobe:
# make install
Making install in kernel
make[1]: Entering directory `/tmp/lufs-0.9.1/kernel'
Making install in Linux
make[2]: Entering directory `/tmp/lufs-0.9.1/kernel/Linux'
Making install in 2.4
make[3]: Entering directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
make[4]: Entering directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
make[4]: Nothing to be done for `install-exec-am'.
/bin/sh ../../../config/mkinstalldirs
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs
/bin/sh ../../../libtool --mode=install
/usr/bin/install -c lufs.o
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o
/usr/bin/install -c lufs.o
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o
make install-data-hook
make[5]: Entering directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
depmod -aq
if [ "`lsmod | grep lufs`" ]; then rmmod lufs; fi
modprobe lufs
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol force_delete_R92c6684a
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_file_read_R27faebfa
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol vfs_readlink_R42c725c5
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol __scm_destroy_R528bb141
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol clear_inode_R565b9906
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_file_write_R06ec67a6
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol scm_detach_fds_Rf2501363
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol new_inode_R6d1997a5
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol is_bad_inode_R3ce62c4e
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol __free_pages_Rfa8db94e
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_file_mmap_R3569fae4
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol __scm_send_R3019a981
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_file_open_R5562ef3b
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol d_alloc_root_R195081a5
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol invalidate_inode_pages_R8a50a3c3
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol unlock_page_Rf14ab8f5
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol d_rehash_Rea926be1
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol sock_release_Rbc5971f4
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_file_llseek_R234e159e
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol vfs_follow_link_R4799cbe1
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol unregister_filesystem_R67db5a14
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol zone_table_R1c889a96
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol register_filesystem_R441e09dd
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol generic_read_dir_R9fd29c9b
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol d_instantiate_R80378f6b
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol sock_create_R63f19d31
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol find_inode_number_R0078ebcb
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol insert_inode_hash_R108b26a0
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol make_bad_inode_Re402423f
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
unresolved symbol iunique_R31f9c151
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
insmod /lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o
failed
/lib/modules/2.4.18-19.8.0/kernel/fs/lufs/lufs.o:
insmod lufs failed
make[5]: *** [install-data-hook] Error 255
make[5]: Leaving directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
make[4]: *** [install-data-am] Error 2
make[4]: Leaving directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/tmp/lufs-0.9.1/kernel/Linux/2.4'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/lufs-0.9.1/kernel/Linux'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/lufs-0.9.1/kernel'
make: *** [install-recursive] Error 1

# rpm -qa|grep kern
kernel-2.4.18-19.8.0
kernel-source-2.4.18-19.8.0

# rpm -qa|grep kern
kernel-2.4.18-19.8.0
kernel-source-2.4.18-19.8.0

Discussion

  • Florin Malita
    Florin Malita
    2003-02-06

    Logged In: YES
    user_id=154306

    This looks like a modversions problem. Even though you're using the right kernel sources, you probably recompiled/ran make dep or something on the tree AFTER you installed the running kernel. That regenerates the modversions names and leads to the above problem.

    Fix:

    1) recompile & install your kernel again, don't touch the source anymore, then recompile & install lufs

    or

    2) the lufs module will soon be available as a kernel patch and when compiled together with the rest of the kernel the above issue should disappear

     
  • Tom
    Tom
    2003-02-06

    Logged In: YES
    user_id=652292

    I haven't recompiled the source or kernel ever.
    It's all just as RH ship it <shrug>.

    >path
    Does this mean LUFS will make it into the kernel dist. at
    some point ?

     
  • Florin Malita
    Florin Malita
    2003-02-07

    Logged In: YES
    user_id=154306

    please try the 0.9.3 kernel patch. let me know how it works.

    >Does this mean LUFS will make it into the kernel dist. at
    >some point ?

    hope so ;)