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]

Latest snapshot has problems on remote FAT drives


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've upgraded to the 20050413 snapshot, and have a WinXP machine connected
to a Win98 box on a home network.  This used to work in 1.5.12, but now
the snapshot has problems creating files and directories, and calling
utimes on directories:

$ uname -a
CYGWIN_NT-5.1 LOUNGE 1.5.15s(0.126/4/2) 20050413 13:19:04 i686 unknown
unknown Cygwin
$ df -T /cygdrive/g
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
g:     user,remote     6260992   4988672   1272320  80% /cygdrive/g
$ cd /cygdrive/g/cygwin/tmp/
$ touch file
touch: cannot touch `file': Invalid request code
$ touch .
touch: setting times of `.': Function not implemented
$ mkdir dir
mkdir: cannot create directory `dir': Invalid request code

$ strace touch file
[...]
  547 1805292 [main] touch 3588 open: open (file, 0xC201)
   36 1805328 [main] touch 3588 normalize_posix_path: src file
   29 1805357 [main] touch 3588 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   28 1805385 [main] touch 3588 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EB70, 260, 1, 0), errno 0
   29 1805414 [main] touch 3588 normalize_posix_path:
/cygdrive/g/cygwin/tmp/file = normalize_posix_path (file)
   30 1805444 [main] touch 3588 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp/file)
   32 1805476 [main] touch 3588 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp/file', dst 'g:\cygwin\tmp\file'
   28 1805504 [main] touch 3588 set_flags: flags: binary (0x2)
   27 1805531 [main] touch 3588 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp/file, dst g:\cygwin\tmp\file, flags 0x22, rc 0
11907 1817438 [main] touch 3588 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\file) failed
   97 1817535 [main] touch 3588 geterrno_from_win_error: windows error 1
== errno 54
10862 1828397 [main] touch 3588 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\file.lnk) failed
  108 1828505 [main] touch 3588 geterrno_from_win_error: windows error 1
== errno 54
   31 1828536 [main] touch 3588 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp\file, 0x22E830) (0x22)
   37 1828573 [main] touch 3588 path_conv::check:
this->path(g:\cygwin\tmp\file), has_acls(0)
   51 1828624 [main] touch 3588 open: -1 = open (file, 0xC201)
   36 1828660 [main] touch 3588 normalize_posix_path: src file
   31 1828691 [main] touch 3588 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   29 1828720 [main] touch 3588 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EB70, 260, 1, 0), errno 54
   31 1828751 [main] touch 3588 normalize_posix_path:
/cygdrive/g/cygwin/tmp/file = normalize_posix_path (file)
   31 1828782 [main] touch 3588 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp/file)
   33 1828815 [main] touch 3588 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp/file', dst 'g:\cygwin\tmp\file'
   30 1828845 [main] touch 3588 set_flags: flags: binary (0x2)
   28 1828873 [main] touch 3588 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp/file, dst g:\cygwin\tmp\file, flags 0x22, rc 0
10847 1839720 [main] touch 3588 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\file) failed
   96 1839816 [main] touch 3588 geterrno_from_win_error: windows error 1
== errno 54
10663 1850479 [main] touch 3588 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\file.lnk) failed
   96 1850575 [main] touch 3588 geterrno_from_win_error: windows error 1
== errno 54
   69 1850644 [main] touch 3588 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp\file, 0x22E830) (0x22)
   38 1850682 [main] touch 3588 path_conv::check:
this->path(g:\cygwin\tmp\file), has_acls(0)
   39 1850721 [main] touch 3588 utimes: got 54 error from build_fh_name
   31 1850752 [main] touch 3588 utimes: -1 = utimes (file, 0x0)
[...]

$ strace touch .
[...]
  236   17271 [main] touch 2832 open: open (., 0xC201)
   32   17303 [main] touch 2832 normalize_posix_path: src .
   29   17332 [main] touch 2832 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   28   17360 [main] touch 2832 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EB70, 260, 1, 0), errno 0
   30   17390 [main] touch 2832 normalize_posix_path:
/cygdrive/g/cygwin/tmp/ = normalize_posix_path (.)
   29   17419 [main] touch 2832 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp)
   31   17450 [main] touch 2832 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp', dst 'g:\cygwin\tmp'
   29   17479 [main] touch 2832 set_flags: flags: binary (0x2)
   27   17506 [main] touch 2832 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp, dst g:\cygwin\tmp, flags 0x22, rc 0
  210   17716 [main] touch 2832 symlink_info::check: not a symlink
   39   17755 [main] touch 2832 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp, 0x22E830) (0x22)
   33   17788 [main] touch 2832 path_conv::check:
this->path(g:\cygwin\tmp), has_acls(0)
   34   17822 [main] touch 2832 build_fh_pc: fh 0x61811550
   41   17863 [main] touch 2832 open: -1 = open (., 0xC201)
   33   17896 [main] touch 2832 normalize_posix_path: src .
   29   17925 [main] touch 2832 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   30   17955 [main] touch 2832 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EB70, 260, 1, 0), errno 21
   31   17986 [main] touch 2832 normalize_posix_path:
/cygdrive/g/cygwin/tmp/ = normalize_posix_path (.)
   30   18016 [main] touch 2832 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp)
   32   18048 [main] touch 2832 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp', dst 'g:\cygwin\tmp'
   30   18078 [main] touch 2832 set_flags: flags: binary (0x2)
   29   18107 [main] touch 2832 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp, dst g:\cygwin\tmp, flags 0x22, rc 0
  141   18248 [main] touch 2832 symlink_info::check: not a symlink
   35   18283 [main] touch 2832 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp, 0x22E830) (0x22)
   32   18315 [main] touch 2832 path_conv::check:
this->path(g:\cygwin\tmp), has_acls(0)
   32   18347 [main] touch 2832 build_fh_pc: fh 0x61811550
  106   18453 [main] touch 2832 fhandler_base::open: (g:\cygwin\tmp, 0x110000)
 1189   19642 [main] touch 2832 fhandler_base::set_flags: flags 0x110000,
supplied_bin 0x10000
   95   19737 [main] touch 2832 fhandler_base::set_flags: O_TEXT/O_BINARY
set in flags 0x10000
   30   19767 [main] touch 2832 fhandler_base::set_flags: filemode set to
binary
   31   19798 [main] touch 2832 fhandler_base::open: 0 = NtCreateFile
(0x710, 20100, g:\cygwin\tmp, io, NULL, 0, 7, 1, 4400, NULL, 0)
3640640 3660438 [main] touch 2832 fhandler_base::open: 1 =
fhandler_base::open (g:\cygwin\tmp, 0x110000)
   64 3660502 [main] touch 2832 fhandler_base::open_fs: 1 =
fhandler_disk_file::open (g:\cygwin\tmp, 0x10000)
 2770 3663272 [main] touch 2832 fhandler_base::utimes_fs: incoming
lastaccess 425FB4B6 0003417F
 1620 3664892 [main] touch 2832 fhandler_base::close: closing
'/cygdrive/g/cygwin/tmp' handle 0x710
  498 3665390 [main] touch 2832 seterrno_from_win_error:
/netrel/src/cygwin-snapshot-20050413-1/winsup/cygwin/fhandler_disk_file.cc:878
windows error 50
   94 3665484 [main] touch 2832 geterrno_from_win_error: windows error 50
== errno 88
   87 3665571 [main] touch 2832 utimes: -1 = utimes (., 0x0)

$ strace mkdir dir
[...]
  242   85120 [main] mkdir 396 normalize_posix_path: src dir
   31   85151 [main] mkdir 396 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   30   85181 [main] mkdir 396 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EBD0, 260, 1, 0), errno 0
   31   85212 [main] mkdir 396 normalize_posix_path:
/cygdrive/g/cygwin/tmp/dir = normalize_posix_path (dir)
   30   85242 [main] mkdir 396 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp/dir)
4129789 4215031 [main] mkdir 396 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp/dir', dst 'g:\cygwin\tmp\dir'
   61 4215092 [main] mkdir 396 set_flags: flags: binary (0x2)
   31 4215123 [main] mkdir 396 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp/dir, dst g:\cygwin\tmp\dir, flags 0x22, rc 0
13043 4228166 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir) failed
 5221 4233387 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
12190 4245577 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir.lnk) failed
   83 4245660 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
   31 4245691 [main] mkdir 396 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp\dir, 0x22E890) (0x22)
   33 4245724 [main] mkdir 396 path_conv::check:
this->path(g:\cygwin\tmp\dir), has_acls(0)
   32 4245756 [main] mkdir 396 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   28 4245784 [main] mkdir 396 cwdstuff::get: (g:\cygwin\tmp) =
cwdstuff::get (0x22E5E0, 260, 0, 0), errno 0
   32 4245816 [main] mkdir 396 mkdir: -1 = mkdir (dir, 511)
   40 4245856 [main] mkdir 396 stat64: entering
   30 4245886 [main] mkdir 396 normalize_posix_path: src dir
   27 4245913 [main] mkdir 396 cwdstuff::get: posix /cygdrive/g/cygwin/tmp
   28 4245941 [main] mkdir 396 cwdstuff::get: (/cygdrive/g/cygwin/tmp) =
cwdstuff::get (0x22EBC0, 260, 1, 0), errno 54
   29 4245970 [main] mkdir 396 normalize_posix_path:
/cygdrive/g/cygwin/tmp/dir = normalize_posix_path (dir)
   30 4246000 [main] mkdir 396 mount_info::conv_to_win32_path:
conv_to_win32_path (/cygdrive/g/cygwin/tmp/dir)
   30 4246030 [main] mkdir 396 mount_info::cygdrive_win32_path: src
'/cygdrive/g/cygwin/tmp/dir', dst 'g:\cygwin\tmp\dir'
   28 4246058 [main] mkdir 396 set_flags: flags: binary (0x2)
   28 4246086 [main] mkdir 396 mount_info::conv_to_win32_path: src_path
/cygdrive/g/cygwin/tmp/dir, dst g:\cygwin\tmp\dir, flags 0x22, rc 0
11022 4257108 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir) failed
  130 4257238 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
10717 4267955 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir.exe) failed
   92 4268047 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
10659 4278706 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir.exe.lnk) failed
   94 4278800 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
10678 4289478 [main] mkdir 396 symlink_info::check: GetFileAttributes
(g:\cygwin\tmp\dir.lnk) failed
   94 4289572 [main] mkdir 396 geterrno_from_win_error: windows error 1 ==
errno 54
   32 4289604 [main] mkdir 396 symlink_info::check: 0 = symlink.check
(g:\cygwin\tmp\dir, 0x22E880) (0x22)
   36 4289640 [main] mkdir 396 path_conv::check:
this->path(g:\cygwin\tmp\dir), has_acls(0)
   38 4289678 [main] mkdir 396 stat_worker: got 54 error from build_fh_name
   42 4289720 [main] mkdir 396 stat_worker: -1 = (dir, 0x22EEE0)
[...]

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCX7WN84KuGfSFAYARAkJWAJ49Fk0+vQsVEtRKpTlcO051hgVLTgCfdgs1
7eSG5DZtMpzMQIPRayRCPXM=
=HtE+
-----END PGP SIGNATURE-----

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


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