This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem [1.7]: Inconsistent and wrong results from e.g. ls and md5sum


I am having ongoing problems with file processing using [1.7] with W7 on FAT32. The problems are not specific to ls and md5sum but may serve to illustrate a deeper problem. Of course it might be the W7/FAT32 platform that is inducing the poor behaviours but I would like to try to gather evidence one way or the other.

1) md5sum shows some files as empty when they are not. When the command is repeated, different files are wrongly identified:

$ find . -type f | xargs md5sum | grep d41d8cd9
d41d8cd98f00b204e9800998ecf8427e *./_update-info-dir/_update-info-dir-00820-1-src.tar.bz2
$ find . -type f | xargs md5sum | grep d41d8cd9
d41d8cd98f00b204e9800998ecf8427e *./gmp/libgmp-devel/libgmp-devel-4.3.0-1.tar.bz2
d41d8cd98f00b204e9800998ecf8427e *./libggi/libggiwmh0/libggiwmh0-display-x/libggiwmh0-display-x-0.3.2-2.tar.bz2


(. is a very large subdirectory containing many very large files.)

2) If I use ls to see whether, here too, there are any files of size 0 wrongly identified, I get

$ ls -alR | sed '/^d/d' | grep " 0 "
/bin/ls: ./tetex/libkpathsea3/..: Not a directory
$ ls -alR | sed '/^d/d' | grep " 0 "
/bin/ls: ./GNOME/GConf2/GConf2-devel/.: Unknown error 3221225768
/bin/ls: ./X11/XmHTML/libXmHTML0/..: Unknown error 3221225768
/bin/ls: ./_obsolete/octave-headers: Unknown error 3221225768
$ ls -alR | sed '/^d/d' | grep " 0 "
/bin/ls: ./automake/automake1.4: Unknown error 3221225768

Is there some way I can strace these commands or in any way provide useful illumination to the problem? I am using W7 OS, FAT32 filesystem. I have downloaded and used (successfully) every current version of Cygwin since about 2001 but am having such chronic difficulty with [1.7] on this platform that I think I will probably revert to the more or less stationery 1.5.25, which would be a great blow. (And "not optimised" for W7?)

cygcheck attached. By the way I also got this output when running cygcheck -srv

$ cygcheck -srv > cygcheck.srv
/usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'odserv':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'ose':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'pla':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper':
Win32 error 5
Access is denied.
/usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs':
Win32 error 5
Access is denied.

Fergus

Attachment: cygcheck.srv.bz2
Description: Binary data

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]