This is the mail archive of the cygwin@cygwin.com 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]

RE: ls takes a long time.


In strace output I see the follwing messages:
  133   64630 [main] ls 1980 path_conv::check: root_dir(C:\),
this->path(C:\cygwin\home\pavel\temp.e), set_has_acls(8)
  152   64782 [main] ls 1980 read_sd: file = C:\cygwin\home\pavel\temp.e
  282   65064 [main] ls 1980 read_sd: file = C:\cygwin\home\pavel\temp.e:
len=196
Here is a long delay.
45002157 45067221 [main] ls 1980 seterrno_from_win_error:
/netrel/src/cygwin-1.3.14-1/winsup/cygwin/sec_helper.cc:225 windows error
1789
  418 45067639 [main] ls 1980 geterrno_from_win_error: unknown windows error
1789, setting errno to 13
Long delay again.
45002075 90069714 [main] ls 1980 seterrno_from_win_error:
/netrel/src/cygwin-1.3.14-1/winsup/cygwin/sec_helper.cc:225 windows error
1789
  876 90070590 [main] ls 1980 geterrno_from_win_error: unknown windows error
1789, setting errno to 13
  183 90070773 [main] ls 1980 getacl: 0 = getacl
(C:\cygwin\home\pavel\temp.e)

Error 1789 means:
The trust relationship between this workstation and the primary domain
failed. 

It looks that cygwin tries to contact the domain and fails.
Why does it try to contact domain?
Why does it fail doing this ? I have no problems accessing domain.

> -----Original Message-----
> From: Harig, Mark A. [mailto:maharig@idirect.net]
> Sent: Wed, October 30, 2002 1:25 AM
> To: Pavel Rozenboim; cygwin@cygwin.com
> Subject: RE: ls takes a long time.
> 
> 
> I can't see what is causing your problem.  For what it's worth,
> it does not appear to be inherent in Cygwin:
> 
>    $ uname -r
>    1.3.13(0.62/3/2)
> 
>    $ /usr/bin/ls --version
>    ls (fileutils) 4.1
> 
>    $ touch foo && chmod +s foo && time /usr/bin/ls -l foo
>    -rwSr-Sr--    1 maharig  Power Us        0 Oct 29 18:18 foo
> 
>    real    0m0.390s
>    user    0m0.030s
>    sys     0m0.060s
> 
> I repeated the above commands on another computer that is 
> running Cygwin
> 1.3.12 -- similar results (slightly faster).  Both computers 
> are running
> Windows 2000.
> 
> > -----Original Message-----
> > From: Pavel Rozenboim [mailto:pavelr@coresma.com]
> > Sent: Tuesday, October 29, 2002 2:33 AM
> > To: cygwin@cygwin.com
> > Subject: RE: ls takes a long time.
> > 
> > 
> > 
> > 
> > > -----Original Message-----
> > > From: Harig, Mark A. [mailto:maharig@idirect.net]
> > > Sent: Mon, October 28, 2002 7:54 PM
> > > To: Pavel Rozenboim; cygwin@cygwin.com
> > > Subject: RE: ls takes a long time.
> > > 
> > > 
> > > try including the path to 'ls' so that you are
> > > certain that you are not running an unusual
> > > version in /usr/local/bin, that is,
> > > 
> > >   $ /usr/bin/ls <filename>
> > >   $ /usr/bin/ls -l <filename>
> > 
> > pavel@PAVEL ~
> > $ time /usr/bin/ls.exe -l temp.e
> > -rw-rw-rw-    1 pavel    Domain U     4393 Oct 22 18:58 temp.e
> > 
> > real    0m0.067s
> > user    0m0.060s
> > sys     0m0.010s
> > 
> > pavel@PAVEL ~
> > $ chmod +s temp.e
> > 
> > pavel@PAVEL ~
> > $ time /usr/bin/ls -l temp.e
> > -rwSrwSrw-    1 pavel    Domain U     4393 Oct 22 18:58 temp.e
> > 
> > real    1m30.117s
> > user    0m0.020s
> > sys     0m0.040s
> > 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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]