delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/29/00:34:46

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53T4YkcK1257129
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 53T4YkcK1257129
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=hK2L/EQY
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F00143858D32
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1745901284;
bh=ZgVleC9NiRChgCam11j/1zoJCOddKMUct0qy2n9Anbk=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=hK2L/EQY9gqpx2SIgCxYQYsOgtsyZ9H21weH/zBMhlNtq7SyRv/zTx2JRJe/RZsyi
cAxQsAGqriR05xW4ZOtk+cJBDnXB80vPu7oYY3b7wm/wfQOEv2H86mRB+hRUxpfLcO
Lzi4Yp6uHJUx2Mds6YgOJhQjl518kY83awTOcM6o=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 15CB73858C48
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 15CB73858C48
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745901219; cv=none;
b=vR/IBf20Cy2Ei/eFEPqJUF7eSmw5fcnte9mascZ7E+JdMmacjPVq0VPJUDACV7pBrxcQBbXVca7yxxJAC2gbMEODrGza2HfbNq22J6L3if+7BCfKinKOiYN5wnotSAdsUHnnXSXGQlEzapQ2fyN/cVAbPcQdjh5u8cb+5scNQLc=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1745901219; c=relaxed/simple;
bh=T+VdO637DHwf4cQTjyjrR0GpZFcWTxq+spyekh+mtgo=;
h=Message-ID:Date:MIME-Version:From:Subject:To;
b=qX906bN+bI1yKFi0ApwJIuCGIGA6k2uUC0hUVKWU9G/nWXNwsEXqT92Dod2Yee4hWDhhiBTLDtAYY5a4NxBJVGVhnJHWi3zXHYuE1mFX9KgsJ2+6MD27G32CyT930+p36aQCoBuFtk5ryLwrDC3GmDtpJRK7wEEMomn9SVb+iUU=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15CB73858C48
Message-ID: <c7a947f3-229b-4ac9-a999-9f561a4aabcb@maxrnd.com>
Date: Mon, 28 Apr 2025 21:33:37 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Windows 10 Home and sshfs
To: cygwin AT cygwin DOT com
References: <e910c290-5bbf-44ec-aed8-5fa379381d47 AT holgerdanske DOT com>
<4379b95c-19ed-4f9e-ac58-c51a30159c0a AT maxrnd DOT com>
<b538a444-b76a-454f-ace1-05efd7f7c825 AT holgerdanske DOT com>
<2a7fb3aa-bc16-4da8-a3f5-4df20a07a8b3 AT maxrnd DOT com>
<0a5a204c-73f9-4696-a579-9d9c8bc5f7aa AT holgerdanske DOT com>
<8f95355a-698e-490f-9aa0-dbbf3a87bc34 AT maxrnd DOT com>
<96fdaa30-eb58-447c-a87c-f68a18381bcf AT holgerdanske DOT com>
<5a60ff59-1b29-4285-9ab0-944aa772c4ca AT maxrnd DOT com>
<a7deca03-e4fe-4f51-a104-86507d8cef93 AT holgerdanske DOT com>
<14cef355-68c5-4d16-b217-e280a3610a07 AT SystematicSW DOT ab DOT ca>
<86e5f4e4-f5e4-4769-bb57-a02d97130320 AT holgerdanske DOT com>
<f4f8fd94-9485-5880-f4f5-4c2de77c1842 AT jdrake DOT com>
<2ce50191-3c50-646d-88f3-22522cd435fe AT jdrake DOT com>
<b0669b89-9487-45d2-8f2a-005bb7c9ff3f AT holgerdanske DOT com>
<4d4cb2ab-9879-db3f-c56b-8851324f1899 AT jdrake DOT com>
<624302e8-b34a-4001-bb1c-402f5957eddd AT holgerdanske DOT com>
<61e2410f-489c-4b31-956d-6a356babadfb AT maxrnd DOT com>
<d8258609-c892-4a09-bf83-1b230a350f5f AT holgerdanske DOT com>
In-Reply-To: <d8258609-c892-4a09-bf83-1b230a350f5f@holgerdanske.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Mark Geisert via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Mark Geisert <mark AT maxrnd DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 53T4YkcK1257129

Hi David,

You did much more than what I asked you to, but we'll work with that.
Comments inlined and appended below...

On 4/28/2025 12:45 PM, David Christensen via Cygwin wrote:
> On 4/27/25 21:19, Mark Geisert via Cygwin wrote:
>> That DLL is deficient. It is missing the cygfuse_report() entry 
>> despite cygcheck saying (in an earlier post) it is version 3.2.0-3. 
>> gendef in a working environment here starts with:
>> ;
>> ; Definition file of cygfuse-3.2.dll
>> ; Automatic generated by gendef
>> ; written by Kai Tietz 2008
>> ;
>> LIBRARY "cygfuse-3.2.dll"
>> EXPORTS
>> __gcc_deregister_frame
>> __gcc_register_frame
>> cygfuse_report            <<--- here we are
>> fuse_apply_conn_info_opts
>> fuse_buf_copy
>>
>> I would suggest to manually delete that DLL from /bin, and rerun the 
>> Cygwin Installer to reinstall cygfuse. Then use gendef again to verify 
>> "cygfuse_report" is present in its output. If it isn't, we have some 
>> kind of distribution issue that I'll need to consider. But hopefully 
            ^^^^^^^^^^^^ packaging is what I meant

>> gendef will show that entry point.
>>
>> A simple test after that would be "sshfs -h" before trying to mount 
>> something with sshfs.

To repeat, when you're at a point of testing sshfs, please test with
     sshfs -h
before trying anything else.  It will point out any problems with your 
local setup without involving any other systems and their possible issues.

>>
>> Thanks and with fingers crossed,
>>
>> ..mark

There was no need to reinstall Cygwin, but...

> I tried to uninstall Cygwin per:
> 
> https://cygwin.fandom.com/wiki/Uninstalling_Cygwin
> 
> 
> The instructions are partially incorrect.

Please use the Cygwin FAQ rather than some random site which may or may 
not be correct and/or up-to-date.  In this specific case:
     https://cygwin.com/faq.html#faq.setup.uninstall-all
You can easily get to the FAQ from Cygwin's home page https://cygwin.com

> I ran Cygwin64 Terminal, and stopped and removed Cygwin sshd:
> 
> 2025-04-27 23:07:31 admin AT dq67sw ~
> $ cygrunsrv --stop cygsshd
> 
> 2025-04-27 23:07:36 admin AT dq67sw ~
> $ cygrunsrv --remove cygsshd
> 
> 
> I deleted the C:\cygwin64 directory.
> 
> 
> I was unable to remove the Cygwin folder from the Start button apps menu.
> 
> 
> https://www.makeuseof.com/windows-start-menu-add-remove-items/
> 
> Says:
> 
> "You can either display or remove all the items from this section. So,
> there's no option for adding or removing just one specific thing.
> However, you can remove particular apps from the "Most used" and
> "Recently added" subsections."

Cygwin installations and updates are handled exclusively by the Cygwin 
Installer that you get from the Cygwin home page.  Windows doesn't have 
a facility to remove Cygwin.

> "cygwin" is not present in the "Path" environment variable.
> There is no environment variable "CYGWIN".

Alright, you've uninstalled Cygwin.

> I ran Cygwin setup-x86_64.exe version 2.933 and installed the default 
> Cygwin system.
> 
> 
> I ran Cygwin setup-x86_64.exe version 2.933 and installed the package 
> sshfs 3.7.2-2.

OK.

> I restarted Windows.

Not necessary, but in the spirit of an abundance of caution, OK.

> When I run Cygwin64 Terminal and try to use sshfs:
> 
> admin AT dq67sw ~
> $ sshfs dpchrist AT f5:/var/local/samba/dpchrist /samba
> cygfuse: initialization failed: winfsp-x64.dll not found

Using the simple "sshfs -h" testcase mentioned above should have the 
same result.  These straces below are not useful.

> admin AT dq67sw ~
> $ strace sshfs dpchrist AT f5:/var/local/samba/dpchrist /samba 2>&1 | wc
>      342    3370   35142
> 
> admin AT dq67sw ~
> $ strace sshfs dpchrist AT f5:/var/local/samba/dpchrist /samba 2>&1 | gzip 
> -9 > strace-sshfs.gz
> 
> 
> strace-sshfs.gz is attached.

Please don't compress attachments on emails to the Cygwin mailing list, 
just attach them.

Alright, here's where we stand.  The "winfsp-x64.dll not found" is 
expected here because you haven't run WinFSP installer yet.  Don't do 
that yet.

Please run the following from a Cygwin terminal window:
     gendef - /bin/cygfuse-3.2.dll
Please note the spaces before and after "-" in the above command.
You don't have to post the output; just make sure "cygfuse_report" 
appears near the top of that output.

If the test in the previous paragraph worked, then install WinFSP.  You 
will see a button offering to install FUSE for Cygwin or something like 
that.  DO NOT press that button.  I think having pressed that last time 
is the root cause of the issues you've been seeing.  I can explain after 
we get you working.

Just click through the WinFSP install and let it complete.  Now go back 
to your Cygwin terminal window and do the test:
     sshfs -h
and see that you get a long list of sshfs option descriptions without 
any error messages.

If that worked, then do this before anything else:
     rm /var/run/fuse.mounts

Now try the sshfs command you've tried earlier and tell us what happens.

..mark

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

- Raw text -


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