[Gllug] SSH filesystem?

Jack Bertram jack at jbertram.net
Wed Sep 29 18:48:07 UTC 2004


* Jan Kokoska <kokoskaj at seznam.cz> [040929 17:23]:
> On Wed, 2004-09-29 at 11:37 +0100, Jack Bertram wrote:
> > * Jan Kokoska <kokoskaj at seznam.cz> [040928 23:22]:
> > > On Tue, 2004-09-28 at 09:55 +0100, Jack Bertram wrote:
> > > > For some reason, I don't seem to be able to compile modules for my current
> > > > kernel.  I think it may be because I compiled it with MODVERSIONS but have
> > > > somehow lost the current kernel symbol thingies.
> > > 
> > > You just need to make sure the version string will be exactly identical,
> > > it doesn't do watermarking or any other proprietary magic ;) "uname -r"
> > > or "modinfo module" tells you the exact version that you need to put
> > > into the Makefile. This always worked for me, I am not very careful with
> > > symbol table either, config file is the golden thing.
> > 
> > As far as I can see, the Makefile is correct - but when I try to
> > modprobe the compiled module, it just comes up with a load of unresolved
> > symbols.
> 
> After you install the module you need to update symbol dependencies:
> "depmod -e". "make modules_install" normally does this for you, but that
> applies only to modules in kernel tree and assumes you want to replace
> all of them with that small change, of course. There are probably
> smarter ways to do it, but this Just Works(tm).

Hmm.  Not sure what's wrong with my setup, but this doesn't seem
to do anything for me.  More fundamental problems?

jack



jack at system:~$ uname -r
2.4.20-xfs
jack at system:~$ modinfo lufs
filename:    /lib/modules/2.4.20-xfs/kernel/fs/lufs/lufs.o
description: "Linux Userland Filesystem"
author:      "Florin Malita <mali at go.ro>"
license:     "GPL"
jack at system:~$ echo `modinfo -f %{kernel_version} lufs`
2.4.20-xfs
jack at system:~$ sudo depmod -e
depmod: *** Unresolved symbols in /lib/modules/2.4.20-xfs/kernel/fs/lufs/lufs.o
depmod:         put_cmsg
depmod:         generic_file_llseek
depmod:         generic_file_write
depmod:         unlock_page
depmod:         clear_inode
depmod:         kmalloc
depmod:         new_inode
depmod:         generic_read_dir
depmod:         scm_detach_fds
depmod:         unregister_filesystem
depmod:         vfs_readlink
depmod:         force_delete
depmod:         find_inode_number
depmod:         generic_file_mmap
depmod:         is_bad_inode
depmod:         d_rehash
depmod:         make_bad_inode
depmod:         generic_file_read
depmod:         generic_file_open
depmod:         register_filesystem
depmod:         zone_table
depmod:         invalidate_inode_pages
depmod:         d_alloc_root
depmod:         kill_proc_info
depmod:         kfree
depmod:         iunique
depmod:         vfs_follow_link
depmod:         __scm_destroy
depmod:         xtime
depmod:         sock_release
depmod:         simple_strtoul
depmod:         sock_create
depmod:         jiffies
depmod:         d_instantiate
depmod:         insert_inode_hash
depmod:         __free_pages
depmod:         strtok
depmod:         printk
depmod:         __scm_send

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20040929/60dcbff2/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list