Messages in this thread Patch in this message | | | Date | Fri, 11 Jun 1999 07:31:03 -0700 (PDT) | From | Jeff Hittman <> | Subject | [PATCH RFC] 2.3.6 nfs & sunrpc modules won't load. |
| |
nfs & sunrpc modules won't load under 2.3.6 do to missing symbols. I took a stab at the patch but I'm not overly confident that it is correct.
Comments anyone?
----------------------------- Jeff Hittman jhittman@slip.net ----------------------------- --- linux/kernel/ksyms.c.old Thu Jun 10 11:39:20 1999 +++ linux/kernel/ksyms.c Thu Jun 10 11:40:07 1999 @@ -39,6 +39,7 @@ #include <linux/console.h> #include <linux/poll.h> #include <linux/mm.h> +#include <net/checksum.h>
#if defined(CONFIG_PROC_FS) #include <linux/proc_fs.h> @@ -90,6 +90,7 @@
/* internal kernel memory management */ EXPORT_SYMBOL(__get_free_pages); +EXPORT_SYMBOL(__wait_on_page); EXPORT_SYMBOL(free_pages); EXPORT_SYMBOL(__free_page); EXPORT_SYMBOL(kmem_find_general_cachep); @@ -383,6 +383,7 @@ EXPORT_SYMBOL(__down_trylock); EXPORT_SYMBOL(__up); EXPORT_SYMBOL(brw_page); +EXPORT_SYMBOL(csum_partial_copy_generic);
/* all busmice */ EXPORT_SYMBOL(add_mouse_randomness); --- linux/fs/nfs/dir.c.old Thu Jun 10 09:16:44 1999 +++ linux/fs/nfs/dir.c Thu Jun 10 11:36:34 1999 @@ -36,6 +36,9 @@ #define NFS_PARANOIA 1 /* #define NFS_DEBUG_VERBOSE 1 */
+unsigned long page_cache_size = 0; +struct page * page_hash_table[PAGE_HASH_SIZE]; + static int nfs_safe_remove(struct dentry *);
static ssize_t nfs_dir_read(struct file *, char *, size_t, loff_t *); --- linux/include/asm-i386/checksum.h.old Thu Jun 10 13:05:50 1999 +++ linux/include/asm-i386/checksum.h Thu Jun 10 13:06:26 1999 @@ -24,7 +24,7 @@ * better 64-bit) boundary */
-asmlinkage unsigned int csum_partial_copy_generic( const char *src, char *dst, int len, int sum, +extern asmlinkage unsigned int csum_partial_copy_generic( const char *src, char *dst, int len, int sum, int *src_err_ptr, int *dst_err_ptr);
/*
| |