lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111228210420.2a422d11@corrin.poochiereds.net>
Date:	Wed, 28 Dec 2011 21:04:20 -0500
From:	Jeff Layton <jlayton@...hat.com>
To:	Konstantinos Skarlatos <k.skarlatos@...il.com>
Cc:	linux-kernel@...r.kernel.org, linux-cifs@...r.kernel.org
Subject: Re: cifs: ls of mount point gives input/output error (probably
 related to CIFS: getdents() broken for large dirs)

On Thu, 29 Dec 2011 02:08:57 +0200
Konstantinos Skarlatos <k.skarlatos@...il.com> wrote:

> I mount via cifs a windows XP share, df gives me correct sizes, but when 
> I ls the mount point i get input/output error.
> strace: http://pastebin.com/WXf8M1nu
> 
> mount --verbose -t cifs -o username=administrator,password=blahblah 
> //192.168.0.11/jobs /mnt/backups/montaz/jobs
> mount.cifs kernel mount options: 
> ip=192.168.0.11,unc=\\192.168.0.11\jobs,,ver=1,user=administrator,pass=********
> 
> df
> //192.168.0.11/jobs                                       114464  
> 105196      9268  92% /mnt/backups/montaz/jobs
> 
> ls /mnt/backups/montaz/jobs/
> ls: reading directory /mnt/backups/montaz/jobs/: Input/output error
> total 0
> 
> the fun thing is that i can cd to a lower level directory, and ls works 
> fine there! only the mount point has the problem
> 
> ls /mnt/backups/montaz/jobs/test
> total 44K
> drwxr-xr-x 1 root root    0 Apr 30  2010 blah blah/
> ......
> 
> kernel version 3.2rc7
> 
> this seems to be related to :
> https://lkml.org/lkml/2011/8/1/427
> Re: [3.0.0+][Regression][Bisected] CIFS: getdents() broken for large dirs
> 

Hmmm, maybe. What makes you think that it's related? What sort of
server are you seeing this against?

What would be most helpful is a capture and/or some cifsFYI info.
Instructions on how to capture that are here:

http://wiki.samba.org/index.php/LinuxCIFS_troubleshooting

Would you be able to provide those?

Thanks,
-- 
Jeff Layton <jlayton@...hat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ