Fwd: (another) compile failure with 2.6.23 kernel and NFS3_ALL-1 patch

Josh Lange jhlange at calpoly.edu
Sun Oct 21 04:25:41 EDT 2007


I applied the
http://www.citi.umich.edu/projects/nfsv4/linux/kernel-patches/2.6.23-1/linux-2.6.23-CITI_NFS4_ALL-1.diff

patch to a vanilla 2.6.23 kernel today, and got the following error:


........
  GZIP    arch/x86_64/boot/compressed/vmlinux.bin.gz
  LD      arch/x86_64/boot/compressed/piggy.o
  LD      arch/x86_64/boot/compressed/vmlinux
  OBJCOPY arch/x86_64/boot/vmlinux.bin
  BUILD   arch/x86_64/boot/bzImage
Root device is (9, 3)
Setup is 11496 bytes (padded to 11776 bytes).
System is 2055 kB
Kernel: arch/x86_64/boot/bzImage is ready  (#2)
ERROR: "svc_gss_principal" [fs/nfsd/nfsd.ko] undefined!
ERROR: "svc_gss_principal" [fs/nfs/nfs.ko] undefined!
make[3]: *** [__modpost] Error 1
make[2]: *** [modules] Error 2
error: Bad exit status from /var/tmp/rpm- tmp.65602 (%build)

I am using CentOS 5, and compiling with "make rpm",
and this configuration:
http://www.csc.calpoly.edu/~jhlange/config<http://www.csc.calpoly.edu/%7Ejhlange/config>


On 10/19/07, Christopher T Vogan <cvogan at us.ibm.com> wrote:
>
>  I downloaded 2.6.23 kernel and *linux-2.6.23-CITI_NFS4_ALL-1.dif*<http://www.citi.umich.edu/projects/nfsv4/linux/kernel-patches/2.6.23-1/linux-2.6.23-CITI_NFS4_ALL-1.diff>
>
> I got a make error with patched kerenl.
>  CC net/sunrpc/svcsock.o
> net/sunrpc/svcsock.c: In function "svc_reclassify_socket":
> net/sunrpc/svcsock.c:99: error: "struct sock" has no member named
> "sk_xprt"
> make[2]: *** [net/sunrpc/svcsock.o] Error 1
> make[1]: *** [net/sunrpc] Error 2
> make: *** [net] Error 2
>
>
> Commenting out line :BUG_ON(sk->sk_xprt.xpt_lock.owner != NULL);
> in ~/linux-2.6.23/net/sunrpc/svcsock.c seemed to allow the compile to
> succeed.
>
> Also setting CONFIG_DEBUG_LOCK_ALLOC to "no" allowed for successful
> compilation.
>
> Christopher Vogan
> Dept. W98 NFS Development & Test
>
> _______________________________________________
> NFSv4 mailing list
> NFSv4 at linux-nfs.org
> http://linux-nfs.org/cgi-bin/mailman/listinfo/nfsv4
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://linux-nfs.org/pipermail/nfsv4/attachments/20071021/985243d9/attachment.html 


More information about the NFSv4 mailing list