Skip to content
  • Chuck Lever's avatar
    NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!" · ee5dc773
    Chuck Lever authored
    Milan Broz <mbroz@redhat.com> reports:
    
    > on today Linus' tree I get OOps if using nfs.
    >
    > server (2.6.36) exports dir:
    > /dir   172.16.1.0/24(rw,async,all_squash,no_subtree_check,anonuid=500,anongid=500)
    >
    > on client it is mounted  in fstab
    > server:/dir  /mnt/tst  nfs  rw,soft 0 0
    >
    > and these commands OOpses it (simplified from a configure script):
    >
    > cd /dir
    > touch x
    > install x y
    >
    > [  105.327701] ------------[ cut here ]------------
    > [  105.327979] kernel BUG at fs/nfs/nfs3xdr.c:1338!
    > [  105.328075] invalid opcode: 0000 [#1] PREEMPT SMP
    > [  105.328223] last sysfs file: /sys/devices/virtual/bdi/0:16/uevent
    > [  105.328349] Modules linked in: usbcore dm_mod
    > [  105.328553]
    > [  105.328678] Pid: 3710, comm: install Not tainted 2.6.37+ #423 440BX Desktop Reference Platform/VMware Virtual Platform
    > [  105.328853] EIP: 0060:[<c116c06c>] EFLAGS: 00010282 CPU: 0
    > [  105.329152] EIP is at nfs3_xdr_enc_setacl3args+0x61/0x98
    > [  105.329249] EAX: fff...
    ee5dc773