(1.3.22) mount: strange 15 second delay

Rolf Campbell rcampbell@tropicnetworks.com
Fri Apr 18 03:50:00 GMT 2003


I'm having a few mount/umount issues.  First of all, here is the output 
from mount:
\\Filer01\home\rcampbell on /g type user (binmode,noexec)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C: on /c type user (binmode)
D: on /d type system (binmode)
E: on /e type user (binmode)
F: on /f type user (textmode)
H: on /h type system (binmode)
P: on /p type user (binmode)
W: on /w type user (binmode)

When running mount, after the last line of text, it pauses for about 15 
seconds, then exits.  This delay only happens when I'm NOT connected to 
my corporate LAN.

I straced it (and the problem went away) so, I straced 'bash -c mount' 
and the problem came back.  The relavent portion of the strace is:

   118    4305 [main] mount 2388 normalize_posix_path: src /dev/pipew
    87    4392 [main] mount 2388 normalize_posix_path: /dev/pipew = 
normalize_posix_path (/dev/pipew)
   113    4505 [main] mount 2388 mount_info::conv_to_win32_path: 
conv_to_win32_path (/dev/pipew)
   113    4618 [main] mount 2388 mount_info::conv_to_win32_path: 
src_path /dev/pipew, dst \dev\pipew, flags 0x2, rc 0
    90    4708 [main] mount 2388 fhandler_base::fstat: here
   100    4808 [main] mount 2388 fstat64: 0 = fstat (1, 0x22E8E0)
11282054 11286862 [main] mount 2388 writev: writev (1, 0x22FDE0, 1)
   257 11287119 [main] mount 2388 fhandler_base::write: binary write
   125 11287244 [main] mount 2388 fhandler_base::write: 399 = write 
(0xA0403D8, 399)
    90 11287334 [main] mount 2388 writev: 399 = write (1, 0x22FDE0, 1), 
errno 0
    91 11287425 [main] mount 2388 do_exit: do_exit (0)

The 'writev' takes 11.2 seconds to complete.  Could somebody give me a 
hint what is going on here?

So, realizing that this may have to do with cygwin trying to access some 
mapped drive, and timing out, I tried to use 'umount /w', to remove a mount:
umount: /w: No such file or directory

Now, "/w" -> "W:" which is no longer a drive.  But, I can't get rid of 
the mount entry using umount... hmmm try something else... So, I go into 
  regedit and remove some of the entries.  So, now my mount table looks 
like this:
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C: on /c type user (binmode)

So, now it doesn't have any network mounts.  Still takes forever.

This just started showing up recently... Just tried 1.3.21 and it still 
had the problem.  I've run out of ideas.  Anyone got some?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030418/f4196d56/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mount.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20030418/f4196d56/attachment.txt>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list