← Back to team overview

kernel-packages team mailing list archive

[Bug 1318585] [NEW] NFSv3 exports not fully functional with older NFS clients

 

Public bug reported:

Ubuntu 12.04.4 LTS
Reproducible bug in nfs exports starting from 3.2.0-58
Starting kernel version 3.2.0-58, it is impossible to checkout any subversion project on a NFSv3 mounted share on a Solaris 10 machine.
svn co svn+ssh://svn.url/project
returns the following
svn: Can't read directory 'trunk': Value too large for defined data type
Mounting the share with NFSv2 doesn't create this problem
Possibly related to the following (excerpts from changelog):
  * ext4: return 32/64-bit dir name hash according to usage type
    - LP: #1257010
  * nfsd: vfs_llseek() with 32 or 64 bit offsets (hashes)
    - LP: #1257010


Steps to reproduce:
- On Ubuntu 12.04.4 installed both kernel versions 3.2.0-57 and 3.2.0-58
- Boot with 3.2.0-57
- Start nfs-kernel-server and export share
- mount on Solaris 10 as NFSv3 (default)
- login as share-authorized user on NFS share
- create dir and checkout svn
- ok
- Reboot nfs server with kernel 3.2.0-58
- unmount and mount share on Solaris machine
- Try to svn co again, returns error "svn: Can't read directory 'trunk': Value too large for defined data type"

It looks like 32bit NFS clients cannot handle 64 bit cookies relate to
readdir and readdirplus, so this problem might not be exclusive to
Solaris (this is the machine on which we could reproduce it)

Thanks
Alessandro

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-image-3.2.0-58-generic 3.2.0-58.88
ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
Uname: Linux 3.2.0-58-generic x86_64
AlsaDevices:
 total 0
 crw-rw---T 1 root audio 116,  1 May 12 10:32 seq
 crw-rw---T 1 root audio 116, 33 May 12 10:32 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
 [    5.157867] NFSD: starting 90-second grace period
 [   14.384064] eth0: no IPv6 routers present
Date: Mon May 12 10:32:35 2014
HibernationDevice: RESUME=UUID=3aefbfea-8592-47d6-b423-5fa2dd796c71
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
IwConfig:
 lo        no wireless extensions.
 
 eth1      no wireless extensions.
 
 eth0      no wireless extensions.
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
MachineType: VMware, Inc. VMware Virtual Platform
MarkForUpload: True
PciMultimedia:
 
ProcEnviron:
 LANGUAGE=en_US:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB:
 
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-58-generic root=UUID=adc52d65-a826-4b8d-8525-65a714c6dd67 ro
RelatedPackageVersions:
 linux-restricted-modules-3.2.0-58-generic N/A
 linux-backports-modules-3.2.0-58-generic  N/A
 linux-firmware                            1.79.12
RfKill: Error: [Errno 2] No such file or directory
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/22/2012
dmi.bios.vendor: Phoenix Technologies LTD
dmi.bios.version: 6.00
dmi.board.name: 440BX Desktop Reference Platform
dmi.board.vendor: Intel Corporation
dmi.board.version: None
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 1
dmi.chassis.vendor: No Enclosure
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd06/22/2012:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
dmi.product.name: VMware Virtual Platform
dmi.product.version: None
dmi.sys.vendor: VMware, Inc.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1318585

Title:
  NFSv3 exports not fully functional with older NFS clients

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 12.04.4 LTS
  Reproducible bug in nfs exports starting from 3.2.0-58
  Starting kernel version 3.2.0-58, it is impossible to checkout any subversion project on a NFSv3 mounted share on a Solaris 10 machine.
  svn co svn+ssh://svn.url/project
  returns the following
  svn: Can't read directory 'trunk': Value too large for defined data type
  Mounting the share with NFSv2 doesn't create this problem
  Possibly related to the following (excerpts from changelog):
    * ext4: return 32/64-bit dir name hash according to usage type
      - LP: #1257010
    * nfsd: vfs_llseek() with 32 or 64 bit offsets (hashes)
      - LP: #1257010

  
  Steps to reproduce:
  - On Ubuntu 12.04.4 installed both kernel versions 3.2.0-57 and 3.2.0-58
  - Boot with 3.2.0-57
  - Start nfs-kernel-server and export share
  - mount on Solaris 10 as NFSv3 (default)
  - login as share-authorized user on NFS share
  - create dir and checkout svn
  - ok
  - Reboot nfs server with kernel 3.2.0-58
  - unmount and mount share on Solaris machine
  - Try to svn co again, returns error "svn: Can't read directory 'trunk': Value too large for defined data type"

  It looks like 32bit NFS clients cannot handle 64 bit cookies relate to
  readdir and readdirplus, so this problem might not be exclusive to
  Solaris (this is the machine on which we could reproduce it)

  Thanks
  Alessandro

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: linux-image-3.2.0-58-generic 3.2.0-58.88
  ProcVersionSignature: Ubuntu 3.2.0-58.88-generic 3.2.53
  Uname: Linux 3.2.0-58-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---T 1 root audio 116,  1 May 12 10:32 seq
   crw-rw---T 1 root audio 116, 33 May 12 10:32 timer
  AplayDevices: Error: [Errno 2] No such file or directory
  ApportVersion: 2.0.1-0ubuntu17.6
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CRDA: Error: [Errno 2] No such file or directory
  CurrentDmesg:
   [    5.157867] NFSD: starting 90-second grace period
   [   14.384064] eth0: no IPv6 routers present
  Date: Mon May 12 10:32:35 2014
  HibernationDevice: RESUME=UUID=3aefbfea-8592-47d6-b423-5fa2dd796c71
  InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Release amd64 (20120424.1)
  IwConfig:
   lo        no wireless extensions.
   
   eth1      no wireless extensions.
   
   eth0      no wireless extensions.
  Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize libusb: -99
  MachineType: VMware, Inc. VMware Virtual Platform
  MarkForUpload: True
  PciMultimedia:
   
  ProcEnviron:
   LANGUAGE=en_US:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.2.0-58-generic root=UUID=adc52d65-a826-4b8d-8525-65a714c6dd67 ro
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-58-generic N/A
   linux-backports-modules-3.2.0-58-generic  N/A
   linux-firmware                            1.79.12
  RfKill: Error: [Errno 2] No such file or directory
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 06/22/2012
  dmi.bios.vendor: Phoenix Technologies LTD
  dmi.bios.version: 6.00
  dmi.board.name: 440BX Desktop Reference Platform
  dmi.board.vendor: Intel Corporation
  dmi.board.version: None
  dmi.chassis.asset.tag: No Asset Tag
  dmi.chassis.type: 1
  dmi.chassis.vendor: No Enclosure
  dmi.chassis.version: N/A
  dmi.modalias: dmi:bvnPhoenixTechnologiesLTD:bvr6.00:bd06/22/2012:svnVMware,Inc.:pnVMwareVirtualPlatform:pvrNone:rvnIntelCorporation:rn440BXDesktopReferencePlatform:rvrNone:cvnNoEnclosure:ct1:cvrN/A:
  dmi.product.name: VMware Virtual Platform
  dmi.product.version: None
  dmi.sys.vendor: VMware, Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1318585/+subscriptions


Follow ups

References