delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/17/20:12:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 17 Apr 2003 20:12:08 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: (1.3.22) mount: strange 15 second delay
Message-ID: <20030418001208.GC18611@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <b7ndcb$1pq$1 AT main DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <b7ndcb$1pq$1@main.gmane.org>
User-Agent: Mutt/1.4.1i

On Thu, Apr 17, 2003 at 07:30:00PM -0400, Rolf Campbell wrote:
>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?

The timestamp isn't time to complete.  It's time since last timestamp.
So something between fstat and writev took 11282054 microseconds.

>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

/w is a user mount.  umount --help should be instructive.

>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.

Sigh.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019