afnarqui / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

sshfs appears to fail on Windows 7 x86_64 (ultimate) #103

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Dokan libs from http://dokan-dev.net/wp-content/uploads/dokan-
0401223x64.zip
2. install dokansshfs from http://dokan-dev.net/wp-content/uploads/dokan-
sshfs-0201226.zip
3. create an sshfs mount and click "connect"

What is the expected output? What do you see instead?
I'd expect to have access to a new drive.

In fact I get a popup "sshfs started" then immediately an error "DokanSSHFS 
has stopped working"

What version of the product are you using? On what operating system?
see above

Please provide any additional information below.
Windows event log says this:
- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Windows Error Reporting" /> 
  <EventID Qualifiers="0">1001</EventID> 
  <Level>4</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2009-08-25T14:41:29.000000000Z" /> 
  <EventRecordID>8752</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>planet</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>407483874</Data> 
  <Data>5</Data> 
  <Data>CLR20r3</Data> 
  <Data>Not available</Data> 
  <Data>0</Data> 
  <Data>dokansshfs.exe</Data> 
  <Data>1.0.0.0</Data> 
  <Data>493ff03f</Data> 
  <Data>DokanNet</Data> 
  <Data>1.0.0.0</Data> 
  <Data>493fef55</Data> 
  <Data>8c</Data> 
  <Data>231</Data> 
  <Data>System.DllNotFoundException</Data> 
  <Data /> 

<Data>C:\Users\nigel\AppData\Local\Temp\WERC9A4.tmp.WERInternalMetadata.xml
</Data> 

<Data>C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_dokansshf
s.exe_bdba093221f66eaa13a2348b99011b984c2769_1282e2b0</Data> 
  <Data /> 
  <Data>0</Data> 
  <Data>e64eae8f-9184-11de-8737-001372c6da3d</Data> 
  <Data>0</Data> 
  </EventData>
  </Event>

Original issue reported on code.google.com by nigel.l....@gmail.com on 25 Aug 2009 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Same issue happens when running on Vista64.

Original comment by diskcras...@gmail.com on 10 Oct 2009 at 6:50

GoogleCodeExporter commented 9 years ago
As discovered in Issue 43:  To get SSHFS working under Windows 7 x64 (64-bit), 
you
need to modify the currently available DokanSSHFS.exe (dokan-sshfs-0.2.0.1226
2008/12/11) to force it to run in 32-bit mode. Then it works.

This can be done with a Microsoft tool "Microsoft Common Language Runtime 
Agnostic
Assembly Conversion Tool" aka CorFlags.exe (68928 bytes, 2009-07-14 23:39:22, 
SHA-1:
1C4BF478E42F53B0ACDBD54EDD88E693CB9CAEE9) that's distributed as part of the .NET
Development Tools.  As of this writing, the latest release is "Microsoft 
Windows SDK
for Windows 7 and .NET Framework 3.5 SP1" at
http://www.microsoft.com/downloads/details.aspx?FamilyID=c17ba869-9671-4330-a63e
-1fd44e0e2505&displaylang=en
.  That small web stub installer lets you pick which components from the huge 
package
to download/install.  As mdhuntley said in comment 8: Uncheck everything except 
".NET
Development Tools" (Developer Tools -> Windows Development Tools -> .NET 
Development
Tools) and install.  

So after installing Dokan library (dokan-0.4.0.1223 x64 2008/12/19) and Dokan 
SSHFS
(dokan-sshfs-0.2.0.1226 2008/12/11) set the 32BIT flag on DokanSSHFS.exe with:

%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\CorFlags.exe
"%ProgramFiles(x86)%\Dokan\DokanSSHFS\DokanSSHFS.exe" /32BIT+

Mounting remote filesystems via SSHFS on Windows 7 x64.  Sweet!

Original comment by psar...@gmail.com on 12 Nov 2009 at 5:08

GoogleCodeExporter commented 9 years ago
can't someone post the modified exe so we don't all have to do this...windows 7 
64-bit 
is becoming pretty popular...

Original comment by mrdanpsmith@gmail.com on 11 Feb 2010 at 2:11

GoogleCodeExporter commented 9 years ago
With the fix mentioned above it works for me but only for a few seconds.
About 10 seconds after mounting the drive I get "cannot access directory. Wrong 
parameter" and it is gone.

Windows 7 64bit

Original comment by Marcus.W...@gmail.com on 12 Nov 2010 at 6:10

GoogleCodeExporter commented 9 years ago
I have the same problem as Marcus, I changed the file to 32 bit and got it to 
start sshfs, but after a few seconds the drive becomes unavailable. Has anyone 
solved this?

Original comment by sc...@skister.com on 17 Dec 2010 at 12:59