[GA-880GA-UD3H] NFS client readdir loop

Bug #1026139 reported by Fernando Rodriguez
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

I get several "NFS: directory xxx contains a readdir loop.Please contact your server vendor. Offending cookie:xxx" on the client side of an NFS4 mount. I have tried several different kernels 3.0.xx with the same result (currently using . I am using autofs. Issue seems to be related to the large number of files (with a high rotation as well). ls | wc -l gives >100,000 files.

Bug is intermittent, software tries to access the files with success some times, and failure other times (exact same usage pattern). The software fails with " Too many levels of symbolic links". No errors appear on the server log. It appears to be the same issue as reported here: https://bugzilla.redhat.com/show_bug.cgi?id=790729

3.- I expect the software to access the files and no readdir loop errors to occur

4.- Software fails with Too many levels of symbolic links, kernel logs NFS: directory xxx contains a readdir loop.Please contact your server vendor. Offending cookie:xxx

---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D3p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info: Error: [Errno 2] No such file or directory
Card0.Amixer.values: Error: [Errno 2] No such file or directory
Card1.Amixer.info: Error: [Errno 2] No such file or directory
Card1.Amixer.values: Error: [Errno 2] No such file or directory
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=a153cd5b-145c-452e-9e03-894b90b6ac8a
InstallationMedia: Ubuntu-Server 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.

 virbr0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-880GA-UD3H
Package: linux (not installed)
ProcEnviron:
 LANGUAGE=en_GB:en
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-22-server root=/dev/mapper/hostname-root ro
ProcVersionSignature: Ubuntu 3.0.0-22.36-server 3.0.33
RelatedPackageVersions:
 linux-restricted-modules-3.0.0-22-server N/A
 linux-backports-modules-3.0.0-22-server N/A
 linux-firmware 1.60.1
RfKill: Error: [Errno 2] No such file or directory
Tags: oneiric
Uname: Linux 3.0.0-22-server x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare
dmi.bios.date: 11/24/2010
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F7
dmi.board.name: GA-880GA-UD3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF7:bd11/24/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-880GA-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-880GA-UD3H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-880GA-UD3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote :
Brad Figg (brad-figg)
affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1026139

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: oneiric
Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : AlsaDevices.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : BootDmesg.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : Card1.Codecs.codec.0.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : Lspci.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : Lsusb.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : PciMultimedia.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : ProcModules.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : UdevDb.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : UdevLog.txt

apport information

Revision history for this message
Fernando Rodriguez (ferdoctor) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Todd Taft (taft) wrote : Re: NFS client readdir loop

I'm still seeing this bug in Ubuntu 12.04 (using static (i.e. non-automounter) mounts).

Redhat claims to have fixed this bug with kernel release 2.6.32-279.el6 (for RHEL 6) and 2.6.18-348.el5 (for RHEL 5). Can their fixes be ported to the Ubuntu kernel tree?

Revision history for this message
penalvch (penalvch) wrote :

Fernando Rodriguez, thank you for reporting this and helping make Ubuntu better. Oneiric reached EOL on May 9, 2013.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue in a supported release? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Please do not test the kernel in the mainline kernels archive directory daily folder. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.11-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

If you are unable to test the mainline kernel, please comment as to why specifically you were unable to test it and add the following tags:
kernel-unable-to-test-upstream
kernel-unable-to-test-upstream-VERSION-NUMBER

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

Helpful bug reporting tips:
https://help.ubuntu.com/community/ReportingBugs

description: updated
tags: added: latest-bios-f7 needs-upstream-testing regression-potential
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
summary: - NFS client readdir loop
+ [GA-880GA-UD3H] NFS client readdir loop
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.