[PATCH] fix kernel BUG at fs/nfs/namespace.c:108! - can be triggered by bad server for NFS v4 (was Re: File open issue on 2.6.23 with NFS v4)

Frank Filz ffilzlnx at us.ibm.com
Mon Jan 28 19:19:57 EST 2008


Ok, I've found a new way to hit kernel BUG at fs/nfs/namespace.c:108:

server=2.6.23
mount --bind /home /export/home
/etc/exports:
#simple
/export/home    gss/krb5(nohide,insecure,no_subtree_check,no_root_squash,async,rw)
/export gss/krb5(crossmnt,fsid=0,insecure,no_subtree_check,no_root_squash,async,rw)

client=2.6.24-rc5 with the previous patches
on client:
mount -t nfs4 -osec=krb5 server:/home /mnt/home
ls -l /mnt/home

Looking at a tcpdump trace, it appears there is no network traffic for
the ls and it crashes immediately.

Any thoughts?

Frank






More information about the NFSv4 mailing list