nfsd and sunrpc modules

Jonathan Hudson yellowdog-general@lists.terrasoftsolutions.com
Wed Sep 17 11:58:01 2003


In article <3F573A7C.8000708@web.de>,
	Jann R=F6der <jann.roeder@web.de> writes:
JRd> modules. If I try to load them I get an unresolved symbol error:=20
JRd> /lib/modules/2.4.22/kernel/net/sunrpc/sunrpc.o: unresolved symbol=20
JRd> local_flush_tlb_page
JRd>=20
JRd> I know that in the YDL kernel NFS is compiled into the kernel. Is mo=
dule=20
JRd> support broken on PPC for this ? Did anyone manage to compile this=20
JRd> correctly ?

I did the same, patched kernel.org 2.4.22 to ben2. In order to avoid
the missing symbols, you should do a 'make mrproper' before
configuring and building the new kernel (at least that worked for me,
having had the synbol failures earlier).

Back up .config first.

$ uname -a
Linux tigger 2.4.22-bh2x #2 Tue Sep 2 23:52:37 BST 2003 ppc ppc ppc GNU/L=
inux
$ lsmod | egrep  'nfs|rpc'
nfs                    83260   0 (autoclean)
nfsd                   78344   8 (autoclean)
lockd                  56944   1 (autoclean) [nfs nfsd]
sunrpc                 86632   1 (autoclean) [nfs nfsd lockd]

(the bh2x is because I added the latest DRM from X CVS to bh2; this,
plus the latest CVS XFree86 (4.3.99.11 or later) means that my G4
Powerbook suspends and restores reliably (actually, I suspect it's the
X driver rather than DRM that fixes this).

HTH

-jonathan