NFS-fs is not loadable in 1.1.81

NFS-fs is not loadable in 1.1.81

Post by Andi Kle » Mon, 16 Jan 1995 21:25:15



Hi,

I can't load the NFS-code with insmod:

~# cd /usr/src/linux/modules
/usr/src/linux/modules# insmod nfs.o
_socki_lookup undefined
_close_fp undefined
/usr/src/linux/modules#

I think socki_lookup() and close_fp() should be added to
kernel/ksyms.c. Here's my patch:

--- kernel/ksyms.c_old  Sun Jan 15 12:50:25 1995

 #include <asm/irq.h>
 extern char floppy_track_buffer[];
 extern void set_device_ro(int dev,int flag);
+
+extern int close_fp(struct file *filp, unsigned int fd);
+extern struct socket *socki_lookup(struct inode *inode);

 extern void *sys_call_table;

        X(insert_inode_hash),
        X(event),
        X(__down),
+        /* Added to make NFS loadable */
+        X(close_fp),
+        X(socki_lookup),
+

 #if defined(CONFIG_MSDOS_FS) && !defined(CONFIG_UMSDOS_FS)
        /* support for umsdos fs */

-Andi

 
 
 

NFS-fs is not loadable in 1.1.81

Post by Andrew Robinso » Fri, 20 Jan 1995 08:53:44



> Hi,

> I can't load the NFS-code with insmod:

I've noticed the same problems with some of the net drivers in
1.1.75.  This does not appear to have been fixed in 1.1.80.
The following are some examples:

slhc.o:
_ip_csum undefined

slip.o:
_dev_close undefined
_n_tty_ioctl undefined
_tty_register_ldisc undefined

[etc...]

I guess the fix would be to add them to the ksyms table.
---
Andrew Robinson