Bug 126839 - 'kernel: smb_proc_readdir_log: error=-2, breaking'
'kernel: smb_proc_readdir_log: error=-2, breaking'
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2004-06-28 04:54 EDT by Justin Boileau
Modified: 2015-01-04 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-04-16 00:51:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Justin Boileau 2004-06-28 04:54:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET 
CLR 1.0.3705)

Description of problem:
This is an out the box install of Fedora FC2. Running samba-

When I mount a remote windows 2000 share and try to display the 
contents of a folder with a large number of files in, no files are 
displayed. And there is a error in the /var/log/messages file:

'kernel: smb_proc_readdir_log: error=-2, breaking'


The Windows Server is 2000 Service Pack 4. Everyone has full control 
on the share and files.

Logged on the linux box as root. And all command are entered from the 

The share mounted is s$ as 
mount -t smbfs -o 
username=administrator,password=password //server/s$ /mnt/a

The command used is:
ls /mnt/a/Software/Other/RedHat7.3/RedHat/RPMS

the responce was:
smb_proc_readdir_log: error=-2, breaking

and no files where returned.



Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. mount -t smbfs -o 
username=administrator,password=password //server/s$ /mnt/a
2. ls /mnt/a/Software/Other/RedHat7.3/RedHat/RPMS

Actual Results:  No file list was returned

Expected Results:  List of files

Additional info:

I have also tested this on a RedHat 7.3 box and encountered the same 
Comment 1 Arjan van de Ven 2004-06-28 04:57:43 EDT
Please consider using cifs not smbfs for connecting to win2k
machines.. also consider going to the update kernel with many fixes in it.
Comment 2 Dave Jones 2005-01-14 00:23:29 EST
fixed in latest updates ?
Comment 3 Dave Jones 2005-04-16 00:51:46 EDT
Fedora Core 2 has now reached end of life, and no further updates will be
provided by Red Hat.  The Fedora legacy project will be producing further kernel
updates for security problems only.

If this bug has not been fixed in the latest Fedora Core 2 update kernel, please
try to reproduce it under Fedora Core 3, and reopen if necessary, changing the
product version accordingly.

Thank you.

Note You need to log in before you can comment on or make changes to this bug.