Mailing List Archive

2.3.24, nfsd & hfs unresolved symbols
Hi,
I've just compiled 2.3.24 and I've problems with nfsd and hfs : when I try to
load the modules, it reports unresolved symbols :
[root@debian-f5ibh] ~ # modprobe hfs
/lib/modules/2.3.24/fs/hfs.o: unresolved symbol update_vm_cache
/lib/modules/2.3.24/fs/hfs.o: insmod /lib/modules/2.3.24/fs/hfs.o failed
/lib/modules/2.3.24/fs/hfs.o: insmod hfs failed
[root@debian-f5ibh] ~ # modprobe nfsd
/lib/modules/2.3.24/fs/nfsd.o: unresolved symbol locks_mandatory_area
/lib/modules/2.3.24/fs/nfsd.o: unresolved symbol nfsd_fh_free
/lib/modules/2.3.24/fs/nfsd.o: insmod /lib/modules/2.3.24/fs/nfsd.o failed
/lib/modules/2.3.24/fs/nfsd.o: insmod nfsd failed
Is there any fix for that ? The problem with nfsd came with 2.3.24, the
problem with hfs is an 'old' one (was existing a least on 2.3.23).
Regards
Jean-Luc
P.S. : avoid to tell me to write a patch myself, please. And, as Alan Cox said
to an other guy : "How about being a bit more polite to someone who is just
asking for advice".
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
Re: 2.3.24, nfsd & hfs unresolved symbols [ In reply to ]
On Friday October 29, f5ibh@db0bm.ampr.org wrote:
> Hi,
>
> I've just compiled 2.3.24 and I've problems with nfsd and hfs : when I try to
> load the modules, it reports unresolved symbols :
>
> [root@debian-f5ibh] ~ # modprobe hfs
> /lib/modules/2.3.24/fs/hfs.o: unresolved symbol update_vm_cache
> /lib/modules/2.3.24/fs/hfs.o: insmod /lib/modules/2.3.24/fs/hfs.o failed
> /lib/modules/2.3.24/fs/hfs.o: insmod hfs failed
>
I don't know about this one but ....
> [root@debian-f5ibh] ~ # modprobe nfsd
> /lib/modules/2.3.24/fs/nfsd.o: unresolved symbol locks_mandatory_area
> /lib/modules/2.3.24/fs/nfsd.o: unresolved symbol nfsd_fh_free
> /lib/modules/2.3.24/fs/nfsd.o: insmod /lib/modules/2.3.24/fs/nfsd.o failed
> /lib/modules/2.3.24/fs/nfsd.o: insmod nfsd failed
These were my fault.
apply the patch:
*** kernel/ksyms.c 1999/10/29 12:54:33 1.1
--- kernel/ksyms.c 1999/10/29 12:54:41
***************
*** 205,210 ****
--- 205,211 ----
EXPORT_SYMBOL(vfs_unlink);
EXPORT_SYMBOL(vfs_rename);
EXPORT_SYMBOL(__pollwait);
+ EXPORT_SYMBOL(locks_mandatory_area);
EXPORT_SYMBOL(ROOT_DEV);
EXPORT_SYMBOL(add_to_page_cache_unique);
EXPORT_SYMBOL(__find_get_page);
*** fs/nfsd/nfsctl.c 1999/10/29 12:53:32 1.1
--- fs/nfsd/nfsctl.c 1999/10/29 12:53:43
***************
*** 299,305 ****
do_nfsservctl = NULL;
nfsd_export_shutdown();
nfsd_cache_shutdown();
- nfsd_fh_free();
remove_proc_entry("fs/nfs/exports", NULL);
remove_proc_entry("fs/nfs", NULL);
nfsd_stat_shutdown();
--- 299,304 ----
NeilBrown
>
> Is there any fix for that ? The problem with nfsd came with 2.3.24, the
> problem with hfs is an 'old' one (was existing a least on 2.3.23).
>
> Regards
>
> Jean-Luc
>
> P.S. : avoid to tell me to write a patch myself, please. And, as Alan Cox said
> to an other guy : "How about being a bit more polite to someone who is just
> asking for advice".
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/