public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Warning cygwin
@ 2021-02-22 19:18 knut.franzke.kf
  2021-02-22 19:19 ` cygwinautoreply
  0 siblings, 1 reply; 6+ messages in thread
From: knut.franzke.kf @ 2021-02-22 19:18 UTC (permalink / raw)
  To: cygwin

Hello,

 

I installed cwRsync today. Unfortunately an Error/Warning occured during the
first tests and I was asked to report this to you.

 

Regards Knut Franzke

 

 

1st test: 

c:\Users\49175>test_cwrsync

      1 [main] rsync 13104 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
pointer.  Please report this problem to

the public mailing list cygwin@cygwin.com <mailto:cygwin@cygwin.com> 

 

 

2nd Test: see the screenshot

 

c:\Users\49175>test_cwrsync

ALLUSERSPROFILE=C:\ProgramData

APPDATA=C:\Users\49175\AppData\Roaming

COMMANDER_INI=C:\Users\49175\TotalCmd_New\wincmd.ini

COMMANDER_PATH=C:\Users\49175\TotalCmd_New

CommonProgramFiles=C:\Program Files (x86)\Common Files

CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

CommonProgramW6432=C:\Program Files\Common Files

COMPUTERNAME=DESKTOP-83F44P2

ComSpec=C:\Windows\system32\cmd.exe

CWOLDPATH=C:\Program Files (x86)\Common
Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Windows\syste
m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShel
l\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files\PuTTY\;c:\Users\49175\TotalCmd_New;C:\Program
Files\Git\cmd;C:\Users\49175\AppData\Local\Microsoft\WindowsApps

CWRSYNCHOME=C:\Program Files (x86)\CWRSYNC

DriverData=C:\Windows\System32\Drivers\DriverData

FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer

FPS_BROWSER_USER_PROFILE_STRING=Default

HOME=C:\Users\49175

HOMEDRIVE=C:

HOMEPATH=\Users\49175

KMP_DUPLICATE_LIB_OK=TRUE

LOCALAPPDATA=C:\Users\49175\AppData\Local

LOGONSERVER=\\DESKTOP-83F44P2

MKL_SERIAL=YES

NUMBER_OF_PROCESSORS=4

OneDrive=C:\Users\49175\OneDrive

OneDriveConsumer=C:\Users\49175\OneDrive

OS=Windows_NT

Path=C:\Program Files (x86)\CWRSYNC\BIN;C:\Program Files (x86)\Common
Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Windows\syste
m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShel
l\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files\PuTTY\;c:\Users\49175\TotalCmd_New;C:\Program
Files\Git\cmd;C:\Users\49175\AppData\Local\Microsoft\WindowsApps

PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_ARCHITEW6432=AMD64

PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 126 Stepping 5, GenuineIntel

PROCESSOR_LEVEL=6

PROCESSOR_REVISION=7e05

ProgramData=C:\ProgramData

ProgramFiles=C:\Program Files (x86)

ProgramFiles(x86)=C:\Program Files (x86)

ProgramW6432=C:\Program Files

PROMPT=$P$G

PSModulePath=C:\Program
Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\M
odules

PUBLIC=C:\Users\Public

SESSIONNAME=Console

SystemDrive=C:

SystemRoot=C:\Windows

TEMP=C:\Users\49175\AppData\Local\Temp

TMP=C:\Users\49175\AppData\Local\Temp

USERDOMAIN=DESKTOP-83F44P2

USERDOMAIN_ROAMINGPROFILE=DESKTOP-83F44P2

USERNAME=knut

USERPROFILE=C:\Users\49175

windir=C:\Windows

      0 [main] rsync 11576 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
pointer.  Please report this problem to

the public mailing list cygwin@cygwin.com <mailto:cygwin@cygwin.com> 

 

The test_cwrsync.cmd looks like:

 

@ECHO OFF

REM *****************************************************************

REM

REM CWRSYNC.CMD - Batch file template to start your rsync command (s).

REM

REM By Tevfik K. (http://itefix.no)

REM *****************************************************************

 

REM Make environment variable changes local to this batch file

SETLOCAL

 

REM ** CUSTOMIZE ** Specify where to find rsync and related files
(C:\CWRSYNC)

SET CWRSYNCHOME=%PROGRAMFILES%\CWRSYNC

 

REM Set HOME variable to your windows home directory. That makes sure 

REM that ssh command creates known_hosts in a directory you have access.

SET HOME=%HOMEDRIVE%%HOMEPATH%

 

REM Make cwRsync home as a part of system PATH to find required DLLs

SET CWOLDPATH=%PATH%

SET PATH=%CWRSYNCHOME%\BIN;%PATH%

 

REM Windows paths may contain a colon (:) as a part of drive designation and


REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a 

REM path means searching for a remote host. Solution: use absolute path 'a
la unix', 

REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front
of the 

REM drive letter:

REM 

REM Example : C:\WORK\* --> /cygdrive/c/work/*

REM 

REM Example 1 - rsync recursively to a unix server with an openssh server :

REM

REM       rsync -r /cygdrive/c/work/ remotehost:/home/user/work/

REM

REM Example 2 - Local rsync recursively 

REM

REM       rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/

REM

REM Example 3 - rsync to an rsync server recursively :

REM    (Double colons?? YES!!)

REM

REM       rsync -r /cygdrive/c/doc/ remotehost::module/doc

REM

REM Rsync is a very powerful tool. Please look at documentation for other
options. 

REM

 

REM ** CUSTOMIZE ** Enter your rsync command(s) here

set

rsync -rn /cygdrive/c/Users/49175/Documents/Arduino/Sketchbook
cygdrive/x/test/Sketchbook


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Warning cygwin
  2021-02-22 19:18 Warning cygwin knut.franzke.kf
@ 2021-02-22 19:19 ` cygwinautoreply
  2021-02-22 23:41   ` Kaz Kylheku (Cygwin)
  0 siblings, 1 reply; 6+ messages in thread
From: cygwinautoreply @ 2021-02-22 19:19 UTC (permalink / raw)
  To: knut.franzke.kf; +Cc: cygwin

>Hello,

> 

>I installed cwRsync today. Unfortunately an Error/Warning occured during the
>first tests and I was asked to report this to you.

> 

>Regards Knut Franzke

> 

> 

>1st test: 

>c:\Users\49175>test_cwrsync

>      1 [main] rsync 13104 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
>pointer.  Please report this problem to

>the public mailing list cygwin@cygwin.com <mailto:cygwin@cygwin.com> 

> 

> 

>2nd Test: see the screenshot

> 

>c:\Users\49175>test_cwrsync

>ALLUSERSPROFILE=C:\ProgramData

>APPDATA=C:\Users\49175\AppData\Roaming

>COMMANDER_INI=C:\Users\49175\TotalCmd_New\wincmd.ini

>COMMANDER_PATH=C:\Users\49175\TotalCmd_New

>CommonProgramFiles=C:\Program Files (x86)\Common Files

>CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

>CommonProgramW6432=C:\Program Files\Common Files

>COMPUTERNAME=DESKTOP-83F44P2

>ComSpec=C:\Windows\system32\cmd.exe

>CWOLDPATH=C:\Program Files (x86)\Common
>Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Windows\syste
>m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShel
>l\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows
>Live\Shared;C:\Program Files\PuTTY\;c:\Users\49175\TotalCmd_New;C:\Program
>Files\Git\cmd;C:\Users\49175\AppData\Local\Microsoft\WindowsApps

>CWRSYNCHOME=C:\Program Files (x86)\CWRSYNC

>DriverData=C:\Windows\System32\Drivers\DriverData

>FPS_BROWSER_APP_PROFILE_STRING=Internet Explorer

>FPS_BROWSER_USER_PROFILE_STRING=Default

>HOME=C:\Users\49175

>HOMEDRIVE=C:

>HOMEPATH=\Users\49175

>KMP_DUPLICATE_LIB_OK=TRUE

>LOCALAPPDATA=C:\Users\49175\AppData\Local

>LOGONSERVER=\\DESKTOP-83F44P2

>MKL_SERIAL=YES

>NUMBER_OF_PROCESSORS=4

>OneDrive=C:\Users\49175\OneDrive

>OneDriveConsumer=C:\Users\49175\OneDrive

>OS=Windows_NT

>Path=C:\Program Files (x86)\CWRSYNC\BIN;C:\Program Files (x86)\Common
>Files\Oracle\Java\javapath;C:\Python27\;C:\Python27\Scripts;C:\Windows\syste
>m32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShel
>l\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\Windows
>Live\Shared;C:\Program Files\PuTTY\;c:\Users\49175\TotalCmd_New;C:\Program
>Files\Git\cmd;C:\Users\49175\AppData\Local\Microsoft\WindowsApps

>PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

>PROCESSOR_ARCHITECTURE=x86

>PROCESSOR_ARCHITEW6432=AMD64

>PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 126 Stepping 5, GenuineIntel

>PROCESSOR_LEVEL=6

>PROCESSOR_REVISION=7e05

>ProgramData=C:\ProgramData

>ProgramFiles=C:\Program Files (x86)

>ProgramFiles(x86)=C:\Program Files (x86)

>ProgramW6432=C:\Program Files

>PROMPT=$P$G

>PSModulePath=C:\Program
>Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\M
>odules

>PUBLIC=C:\Users\Public

>SESSIONNAME=Console

>SystemDrive=C:

>SystemRoot=C:\Windows

>TEMP=C:\Users\49175\AppData\Local\Temp

>TMP=C:\Users\49175\AppData\Local\Temp

>USERDOMAIN=DESKTOP-83F44P2

>USERDOMAIN_ROAMINGPROFILE=DESKTOP-83F44P2

>USERNAME=knut

>USERPROFILE=C:\Users\49175

>windir=C:\Windows

>      0 [main] rsync 11576 find_fast_cwd: WARNING: Couldn't compute FAST_CWD
>pointer.  Please report this problem to

>the public mailing list cygwin@cygwin.com <mailto:cygwin@cygwin.com> 

> 

>The test_cwrsync.cmd looks like:

> 

>@ECHO OFF

>REM *****************************************************************

>REM

>REM CWRSYNC.CMD - Batch file template to start your rsync command (s).

>REM

>REM By Tevfik K. (http://itefix.no)

>REM *****************************************************************

> 

>REM Make environment variable changes local to this batch file

>SETLOCAL

> 

>REM ** CUSTOMIZE ** Specify where to find rsync and related files
>(C:\CWRSYNC)

>SET CWRSYNCHOME=%PROGRAMFILES%\CWRSYNC

> 

>REM Set HOME variable to your windows home directory. That makes sure 

>REM that ssh command creates known_hosts in a directory you have access.

>SET HOME=%HOMEDRIVE%%HOMEPATH%

> 

>REM Make cwRsync home as a part of system PATH to find required DLLs

>SET CWOLDPATH=%PATH%

>SET PATH=%CWRSYNCHOME%\BIN;%PATH%

> 

>REM Windows paths may contain a colon (:) as a part of drive designation and


>REM backslashes (example c:\, g:\). However, in rsync syntax, a colon in a 

>REM path means searching for a remote host. Solution: use absolute path 'a
>la unix', 

>REM replace backslashes (\) with slashes (/) and put -/cygdrive/- in front
>of the 

>REM drive letter:

>REM 

>REM Example : C:\WORK\* --> /cygdrive/c/work/*

>REM 

>REM Example 1 - rsync recursively to a unix server with an openssh server :

>REM

>REM       rsync -r /cygdrive/c/work/ remotehost:/home/user/work/

>REM

>REM Example 2 - Local rsync recursively 

>REM

>REM       rsync -r /cygdrive/c/work/ /cygdrive/d/work/doc/

>REM

>REM Example 3 - rsync to an rsync server recursively :

>REM    (Double colons?? YES!!)

>REM

>REM       rsync -r /cygdrive/c/doc/ remotehost::module/doc

>REM

>REM Rsync is a very powerful tool. Please look at documentation for other
>options. 

>REM

> 

>REM ** CUSTOMIZE ** Enter your rsync command(s) here

>set

>rsync -rn /cygdrive/c/Users/49175/Documents/Arduino/Sketchbook
>cygdrive/x/test/Sketchbook


https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Warning cygwin
  2021-02-22 19:19 ` cygwinautoreply
@ 2021-02-22 23:41   ` Kaz Kylheku (Cygwin)
  2021-02-22 23:53     ` Brian Inglis
  0 siblings, 1 reply; 6+ messages in thread
From: Kaz Kylheku (Cygwin) @ 2021-02-22 23:41 UTC (permalink / raw)
  To: cygwin

On 2021-02-22 11:19, cygwinautoreply--- via Cygwin wrote:
> https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

It would be ideal if this auto-reply didn't include the Cygwin
mailing list; there is no need for the mailing list to read this.

Scratch that; it would be ideal if neither the original question
nor the auto-reply were re-mailed.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Warning cygwin
  2021-02-22 23:41   ` Kaz Kylheku (Cygwin)
@ 2021-02-22 23:53     ` Brian Inglis
  2021-02-23  0:59       ` Kaz Kylheku (Cygwin)
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Inglis @ 2021-02-22 23:53 UTC (permalink / raw)
  To: cygwin

On 2021-02-22 16:41, Kaz Kylheku wrote:
> On 2021-02-22 11:19, cygwinautoreply wrote:
>> https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings
> 
> It would be ideal if this auto-reply didn't include the Cygwin
> mailing list; there is no need for the mailing list to read this.
> 
> Scratch that; it would be ideal if neither the original question
> nor the auto-reply were re-mailed.

What if Cygwin is up to date and you see that message?
It is a compatibility issue due to a speedup hack that could recur in newer 
Windows versions.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Warning cygwin
  2021-02-22 23:53     ` Brian Inglis
@ 2021-02-23  0:59       ` Kaz Kylheku (Cygwin)
  2021-02-23  9:13         ` Brian Inglis
  0 siblings, 1 reply; 6+ messages in thread
From: Kaz Kylheku (Cygwin) @ 2021-02-23  0:59 UTC (permalink / raw)
  To: cygwin

On 2021-02-22 15:53, Brian Inglis wrote:
> On 2021-02-22 16:41, Kaz Kylheku wrote:
>> On 2021-02-22 11:19, cygwinautoreply wrote:
>>> https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings
>> 
>> It would be ideal if this auto-reply didn't include the Cygwin
>> mailing list; there is no need for the mailing list to read this.
>> 
>> Scratch that; it would be ideal if neither the original question
>> nor the auto-reply were re-mailed.
> 
> What if Cygwin is up to date and you see that message?

Right.

In that case, the message from newer Cygwin will not be accompanied
by a recommendation to post to the mailing list. Instead it points
to some online resources about the problem.

Those resources could loudly warn the user that mailing list messages
containing references to the FAST_CWD will receive a robot reply
and not get posted (for he reason that old releases of Cygwin
encouraged users to post reports of it, which keeps happening).



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Warning cygwin
  2021-02-23  0:59       ` Kaz Kylheku (Cygwin)
@ 2021-02-23  9:13         ` Brian Inglis
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Inglis @ 2021-02-23  9:13 UTC (permalink / raw)
  To: cygwin

On 2021-02-22 17:59, Kaz Kylheku (Cygwin) wrote:
> On 2021-02-22 15:53, Brian Inglis wrote:
>> On 2021-02-22 16:41, Kaz Kylheku wrote:
>>> On 2021-02-22 11:19, cygwinautoreply wrote:
>>>> https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings

>>> It would be ideal if this auto-reply didn't include the Cygwin
>>> mailing list; there is no need for the mailing list to read this.
>>> Scratch that; it would be ideal if neither the original question
>>> nor the auto-reply were re-mailed.

>> What if Cygwin is up to date and you see that message?

> Right.
> In that case, the message from newer Cygwin will not be accompanied
> by a recommendation to post to the mailing list. Instead it points
> to some online resources about the problem.

winsup/cygwin/path.cc:
Cygwin WARNING:
   Couldn't compute FAST_CWD pointer.  This typically occurs if you're using
   an older Cygwin version on a newer Windows.  Please update to the latest
   available Cygwin version from https://cygwin.com/.  If the problem persists
   please see https://cygwin.com/problems.html

> Those resources could loudly warn the user that mailing list messages
> containing references to the FAST_CWD will receive a robot reply
> and not get posted (for he reason that old releases of Cygwin
> encouraged users to post reports of it, which keeps happening).

Newer Windows releases are likely to eventually re-trigger the problem.
The reporter may not be a Cygwin developer who could submit patches, or 
sufficiently bothered, or knowledgeable enough, to find the site, follow the 
problem reporting guidelines, and generate or attach a cygcheck log.
In either case of old or new messages, if users need more help understanding the 
messages, they should still be able to follow up to the mailing list.

Please feel free to compose a suitable update to the above FAQ entry and path.cc 
messages, and submit patches, suggesting the changes as preconditions required 
to enable the milter to suppress the post and reply. SHTDI

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-23  9:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22 19:18 Warning cygwin knut.franzke.kf
2021-02-22 19:19 ` cygwinautoreply
2021-02-22 23:41   ` Kaz Kylheku (Cygwin)
2021-02-22 23:53     ` Brian Inglis
2021-02-23  0:59       ` Kaz Kylheku (Cygwin)
2021-02-23  9:13         ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).