Giter VIP home page Giter VIP logo

osxfuse's Introduction

macFUSE

macFUSE allows you to extend macOS via third party file systems.

About macFUSE

The macFUSE software package provides multiple APIs for developing file systems for macOS 10.9 to macOS 14.

You can use the provided APIs to develop numerous types of file systems, whose content can come from a local disk, from across the network, from memory, or any other source. One of these APIs is a superset of the FUSE API, that originated on Linux.

Due to the fact that FUSE file systems are regular applications (as opposed to kernel extensions), you have just as much flexibility and choice in programming tools, debuggers, and libraries as you have if you were developing standard macOS applications.

For more information visit the macFUSE website .

License

Please see LICENSE.txt.

Source Code

The source code of the last full open source release can be found in the support/osxfuse-3 branch of this repository.

osxfuse's People

Contributors

bfleischer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

osxfuse's Issues

removeExtendedAttribute never called

In the file GMUserFileSystem.m there on line 1589 the code checks for the wrong selector before trying to removeExtendedAttributes which causes it to never be called. Updated code below:

if ([delegate respondsToSelector:@selector(removeExtendedAttribute:ofItemAtPath:error:)]) {
return [delegate removeExtendedAttribute:name
ofItemAtPath:path
error:error];
}

After Mac sleep: "status changed for fs" "Failed to Mount"

Using MacFusion with OSXFuse with SSHFS, and clicking on MacFusion 'mount' after waking MacBook Pro Snow Leopard up-to-date (but in 32-bit mode) from sleep, I get a GUI window that says, "Could not mount filesystem: Authentication has failed."

However, the log (below) says authentication succeeded but the filesystem could not be mounted:

  "Note status changed for fs" "Failed to Mount".  

Otherwise, my MacFusion/OSXFuse/sshfs set-up works fine: For example, if I reboot, I am then able to connect.

This could be caused by not unmounting before putting the Mac to sleep. If so then a hook would be needed to cleanly unmount on sleep.

Log:

(SSHServerFS, cbalz_rhel_box_...n, 5/2/12 9:35 40AM) debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.

(SSHServerFS, cbalz_rhel_box_...n, 5/2/12 9:35 40AM) debug1: Sending subsystem: sftp

(MFClient, cbalz_rhel_box_...n, 5/2/12 9:35 40AM) Note status changed for fs <MFClientFS: 0x20008b9e0> (cbalz_rhel_box_...n) to Failed to Mount

(SSHServerFS, cbalz_rhel_box_...n, 5/2/12 9:35 40AM) debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 0 clearing O_NONBLOCK
debug1: fd 2 clearing O_NONBLOCK
Transferred: sent 2256, received 2072 bytes, in 0.0 seconds
Bytes per second: sent 163253.7, received 149938.7
debug1: Exit status 0

Steps to Reproduce:

  1. Install MacFusion with OSXFuse, using sshfs, on MacBook Pro with up-to-date Snow Leopard (Mac OS X 10.6.8 (10K531), Darwin 10.8.0, 64-bit Kernel and Extensions:No, Secure Virtual Memory:Enabled, Boot Mode:Normal) and follow all the instructions on the set-up page.
  2. Verify installation working correctly with an sshfs mount (not sftp).
  3. Put Mac to sleep (sleep mode - e.g., close lid)
  4. Wake Mac (open lid)
  5. Bring MacFusion to focus
  6. Click "Mount"

large files causes crash / force eject

tried to mount and download a file that was near 500 megs, osxfuse died in the process (restarted the computer and tried again)

1/27/12 1:05:53.000 PM kernel: OSXFUSE: filehandle_get: failed for iWork09Trial.dmg (type=0, err=13, caller=0xffffff7f821a5e54)
1/27/12 1:05:53.000 PM kernel: OSXFUSE: filehandle_get failed in open (type=0, err=13)
1/27/12 1:06:53.000 PM kernel: OSXFUSE: force ejecting (no response from user space 5)

doesnt happen with transmit disk.

Can't find how to run Fuse

I have installed osxfuse and sshfs.

Fuse shows up in System Preferences

I can't find out how to run Fuse. It's not showing up in Applications

Free space issue with Tuxera NTFS

Hi.

I've been using an external disk with OSXFuse and Tuxera NTFS. I have deleted gigs of information and it still reports the same free space. If I write files on it, the free space decreases, but if I delete files the free space remains the same.

Can you check the issue?

Using OSXFuse 2.4.2 and Tuxera NTFS 2012.3.2.

vnode reclaim in progress — NTFS

  • OSX Snow Leopard
  • OSXFuse 2.3.4
  • NTFS-3G 2010.10.2

I use osxfuse + ntfs-3g in order to acces an external usb drive. In particular circumstances, the system slow down until it hangs up with a kernel panic. It usually happens when there is an intense disk I/O activity.

the report provided after the reboot

Interval Since Last Panic Report:  436673 sec
Panics Since Last Report:          2
Anonymous UUID:                    C1C134E2-088F-4B1F-A51A-F8BA0D3D1034

Mon Dec 12 00:46:36 2011
panic(cpu 0 caller 0x2e0984): "vnode reclaim in progress"@/SourceCache/xnu/xnu-1504.15.3/bsd/vfs/vfs_subr.c:4031
Backtrace (CPU 0), Frame : Return Address (4 potential args on stack)
0x319f2e58 : 0x21b837 (0x5dd7fc 0x319f2e8c 0x223ce1 0x0) 
0x319f2ea8 : 0x2e0984 (0x5a2e6c 0x0 0x821d484 0x319f2f28) 
0x319f2ef8 : 0x2e28c5 (0x0 0x574b700 0x21000001 0x1) 
0x319f2f18 : 0x3197fafb (0x9418000 0x1 0x0 0x1) 
0x319f2f48 : 0x3197f0f3 (0x9418000 0x0 0x1 0x2) 
0x319f2fc8 : 0x319808b2 (0x9418000 0x0 0x2 0x0) 
0x319f3078 : 0x31980e98 (0x9418000 0x2d831e80 0x319f31e8 0x319f31f4) 
0x319f30d8 : 0x2fa6c8 (0x319f30f8 0x0 0x0 0x2e2493) 
0x319f3108 : 0x2d3cf5 (0x2d831e80 0xf 0x0 0x0) 
0x319f3218 : 0x2d4f58 (0x1000 0x0 0xdf000 0x41c) 
0x319f3258 : 0x31987bd1 (0x9418000 0x58a0000 0x0 0x1000) 
0x319f32c8 : 0x2fac2c (0x319f32ec 0x1 0xff000 0x1000) 
0x319f3328 : 0x4d86e6 (0x9418000 0x58a0000 0x0 0x1000) 
0x319f33b8 : 0x250fe8 (0x9418000 0x58a0000 0x0 0x1000) 
0x319f3418 : 0x2517eb (0x9170028 0x1000 0x0 0xff000) 
0x319f3448 : 0x253431 (0x9170028 0x1000 0x0 0xff000) 
0x319f3678 : 0x2539d2 (0x6b11720 0x0 0x0 0xeb2000) 
0x319f36d8 : 0x4a9db1 (0xc466ed0 0x0 0x0 0xeb2000) 
0x319f3738 : 0x2e0814 (0xeb171e 0x0 0x0 0x2) 
0x319f3798 : 0x2e0a0b (0x9418000 0x1 0x0 0x0) 
0x319f37e8 : 0x2e372a (0x0 0x823024 0x4d118ca6 0x0) 
0x319f3858 : 0x422b37 (0x0 0x34 0x319f38cc 0x696702c) 
0x319f3918 : 0x42a3e9 (0x57d9804 0x6969afc 0x319f3e64 0x319f3a58) 
0x319f3a88 : 0x2fd320 (0x319f3aa8 0x3 0x319f3ad8 0x58a38c) 
0x319f3ad8 : 0x2dac58 (0x6969afc 0x319f3d50 0x319f3e64 0x616ae94) 
0x319f3b68 : 0x2dba8a (0x319f3d38 0x100 0x319f3d58 0x0) 
0x319f3c28 : 0x2f534c (0x319f3d38 0x6239000 0x6bfce14 0x68627e0) 
0x319f3c78 : 0x2ee500 (0x319f3d38 0x319f3cec 0x319f3e8c 0x616ae94) 
0x319f3d08 : 0x2ee9ae (0x616ae94 0x319f3d38 0x0 0x319f3e8c) 
0x319f3f78 : 0x4f82fb (0x68627e0 0x5da5368 0x616add4 0x0) 
0x319f3fc8 : 0x2a251d (0x5da5364 0x0 0x10 0x5da5364) 
      Kernel Extensions in backtrace (with dependencies):
         com.github.osxfuse.filesystems.osxfusefs(2.3.4)@0x3197d000->0x31991fff

BSD process name corresponding to current thread: Finder

Mac OS version:
10K549

Kernel version:
Darwin Kernel Version 10.8.0: Tue Jun  7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386
System model name: MacBook5,1 (Mac-F42D89C8)

System uptime in nanoseconds: 155644772801237
unloaded kexts:
com.apple.driver.IOBluetoothBNEPDriver  2.4.5f3 (addr 0x14ec000, size 0x24576) - last unloaded 86924575791523
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs    2.3.4
org.virtualbox.kext.VBoxNetAdp  3.0.10
org.virtualbox.kext.VBoxNetFlt  3.0.10
org.virtualbox.kext.VBoxUSB 3.0.10
org.virtualbox.kext.VBoxDrv 3.0.10
com.Cycling74.driver.Soundflower    1.5.2
com.apple.filesystems.afpfs 9.7.1 - last loaded 150772024645383
com.apple.nke.asp_tcp   5.0
com.apple.driver.AppleHWSensor  1.9.3d0
com.apple.filesystems.autofs    2.1.0
com.apple.driver.AppleUpstreamUserClient    3.5.7
com.apple.driver.AppleMCCSControl   1.0.20
com.apple.driver.AppleHDA   2.0.5f14
com.apple.driver.AppleMikeyHIDDriver    1.2.0
com.apple.driver.AGPM   100.12.31
com.apple.driver.AudioAUUC  1.57
com.apple.driver.AppleMikeyDriver   2.0.5f14
com.apple.kext.AppleSMCLMU  1.5.2d10
com.apple.driver.SMCMotionSensor    3.0.1d2
com.apple.driver.AppleBacklight 170.0.46
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AudioIPCDriver 1.1.6
com.apple.driver.AppleIntelPenrynProfile    27
com.apple.driver.ACPI_SMC_PlatformPlugin    4.7.0a1
com.apple.GeForce   6.3.6
com.apple.driver.AppleLPC   1.5.1
com.apple.driver.AppleUSBTCButtons  201.6
com.apple.driver.AppleUSBTCKeyboard 201.6
com.apple.driver.AppleIRController  303.8
com.apple.BootCache 31.1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.iokit.SCSITaskUserClient  2.6.8
com.apple.iokit.IOAHCIBlockStorage  1.6.4
com.apple.driver.AirPortBrcm43224   428.42.4
com.apple.driver.AppleSmartBatteryManager   160.0.0
com.apple.driver.AppleAHCIPort  2.1.7
com.apple.nvenet    2.0.17
com.apple.driver.AppleUSBHub    4.2.4
com.apple.driver.AppleUSBOHCI   4.2.0
com.apple.driver.AppleUSBEHCI   4.2.4
com.apple.driver.AppleEFINVRAM  1.4.0
com.apple.driver.AppleRTC   1.3.1
com.apple.driver.AppleHPET  1.5
com.apple.driver.AppleACPIButtons   1.3.6
com.apple.driver.AppleSMBIOS    1.7
com.apple.driver.AppleACPIEC    1.3.6
com.apple.driver.AppleAPIC  1.4
com.apple.driver.AppleIntelCPUPowerManagementClient 142.6.0
com.apple.security.sandbox  1
com.apple.security.quarantine   0
com.apple.nke.applicationfirewall   2.1.14
com.apple.driver.AppleIntelCPUPowerManagement   142.6.0
com.apple.iokit.IOSCSIBlockCommandsDevice   2.6.8
com.apple.iokit.IOUSBMassStorageClass   2.6.7
com.apple.driver.DspFuncLib 2.0.5f14
com.apple.driver.AppleProfileReadCounterAction  67
com.apple.nvidia.nv50hal    6.3.6
com.apple.driver.AppleBacklightExpert   1.0.1
com.apple.driver.AppleProfileTimestampAction    67
com.apple.driver.AppleProfileThreadInfoAction   67
com.apple.driver.AppleProfileRegisterStateAction    67
com.apple.driver.AppleProfileKEventAction   67
com.apple.driver.AppleProfileCallstackAction    69
com.apple.iokit.IOSurface   74.2
com.apple.iokit.IOBluetoothSerialManager    2.4.5f3
com.apple.iokit.IOSerialFamily  10.0.3
com.apple.iokit.IOAudioFamily   1.8.3fc2
com.apple.kext.OSvKernDSPLib    1.3
com.apple.driver.AppleHDAController 2.0.5f14
com.apple.iokit.IOHDAFamily 2.0.5f14
com.apple.driver.AppleSMBusController   1.0.10d0
com.apple.iokit.AppleProfileFamily  61
com.apple.driver.AppleSMC   3.1.0d5
com.apple.driver.IOPlatformPluginFamily 4.7.0a1
com.apple.driver.AppleSMBusPCI  1.0.10d0
com.apple.NVDAResman    6.3.6
com.apple.iokit.IONDRVSupport   2.2.1
com.apple.iokit.IOGraphicsFamily    2.2.1
com.apple.driver.AppleUSBMultitouch 207.7
com.apple.driver.BroadcomUSBBluetoothHCIController  2.4.5f3
com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
com.apple.iokit.IOBluetoothFamily   2.4.5f3
com.apple.iokit.IOUSBHIDDriver  4.2.0
com.apple.driver.AppleUSBMergeNub   4.2.4
com.apple.driver.AppleUSBComposite  3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice  2.6.8
com.apple.iokit.IOBDStorageFamily   1.6
com.apple.iokit.IODVDStorageFamily  1.6
com.apple.iokit.IOCDStorageFamily   1.6.1
com.apple.driver.XsanFilter 402.1
com.apple.iokit.IOAHCISerialATAPI   1.2.6
com.apple.iokit.IOSCSIArchitectureModelFamily   2.6.8
com.apple.iokit.IO80211Family   320.1
com.apple.iokit.IOAHCIFamily    2.0.6
com.apple.iokit.IONetworkingFamily  1.10
com.apple.driver.NVSMU  2.2.7
com.apple.iokit.IOUSBUserClient 4.2.4
com.apple.iokit.IOUSBFamily 4.2.4
com.apple.driver.AppleEFIRuntime    1.4.0
com.apple.iokit.IOHIDFamily 1.6.6
com.apple.iokit.IOSMBusFamily   1.1
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  6
com.apple.driver.DiskImages 289
com.apple.iokit.IOStorageFamily 1.6.3
com.apple.driver.AppleACPIPlatform  1.3.6
com.apple.iokit.IOPCIFamily 2.6.5
com.apple.iokit.IOACPIFamily    1.3.0
Model: MacBook5,1, BootROM MB51.007D.B03, 2 processors, Intel Core 2 Duo, 2 GHz, 2 GB, SMC 1.32f8
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.10.131.42.4)
Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS543216L9SA02, 149,05 GB
Serial ATA Device: HL-DT-ST DVDRW  GS21N
USB Device: Portable, 0x0bc2  (Seagate LLC), 0x2300, 0x26200000 / 2
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24400000 / 3
USB Device: iPhone, 0x05ac  (Apple Inc.), 0x1294, 0x24100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8213, 0x06110000 / 4
USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), 0x0237, 0x04600000 / 3
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000 / 2

osxfusefs.kext does not load on OS X 10.5/ppc

The kernel extension does not load on OS X 10.5/ppc, if build with Xcode 3.2 and LLVM-GCC 4.2. LLVM-GCC 4.2 seems to ignore the compiler flag "-mlong-branch" (ppc only), which is implied by the flag "-mkernel". This causes relocation overflow errors when loading osxfusefs.kext on OS X 10.5/ppc. Using GCC 4.2 fixes this issue.

kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 16 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 21 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 36 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 39 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 46 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 47 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 52 in section (__TEXT,__text) (displacement too large)
kld(): /Library/Filesystems/osxfusefs.fs/Support/osxfusefs.kext/Contents/MacOS/osxfusefs relocation overflow for relocation entry 57 in section (__TEXT,__text) (displacement too large)
...

Mountain Lion kernel panics

After upgrading to Mountain Lion, OSXFuse has crashed my computer twice (though it works after restarting). I'm using it to sshfs to a CentOS VM in VMWare.

Here's the report:

Interval Since Last Panic Report: 61728 sec
Panics Since Last Report: 2
Anonymous UUID: 0C602129-CD69-414A-A807-CC2484C508B7

Tue Jul 31 08:18:23 2012
panic(cpu 1 caller 0xffffff802f4b7b95): Kernel trap at 0xffffff802f4f2a91, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000000c0, CR3: 0x00000001c761e0a7, CR4: 0x00000000001606e0
RAX: 0x0000000001000004, RBX: 0x0000000000000020, RCX: 0x00000000032f0000, RDX: 0xffffff8041cf3220
RSP: 0xffffff815d3c3ca0, RBP: 0xffffff815d3c3cc0, RSI: 0x0000000000000020, RDI: 0xffffff8041cf3220
R8: 0x0000000000000000, R9: 0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0xffffff8041d39b70, R13: 0xffffff8043544000, R14: 0x0000000000000000, R15: 0x00000000000000c0
RFL: 0x0000000000010282, RIP: 0xffffff802f4f2a91, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000000000c0, Error code: 0x0000000000000000, Fault CPU: 0x1

Backtrace (CPU 1), Frame : Return Address
0xffffff815d3c3940 : 0xffffff802f41d5f6
0xffffff815d3c39b0 : 0xffffff802f4b7b95
0xffffff815d3c3b80 : 0xffffff802f4ce4ad
0xffffff815d3c3ba0 : 0xffffff802f4f2a91
0xffffff815d3c3cc0 : 0xffffff7fb1043b70
0xffffff815d3c3d10 : 0xffffff802f520bfd
0xffffff815d3c3d60 : 0xffffff802f511e84
0xffffff815d3c3dd0 : 0xffffff802f508419
0xffffff815d3c3e20 : 0xffffff802f74ae63
0xffffff815d3c3e50 : 0xffffff802f777a83
0xffffff815d3c3f50 : 0xffffff802f7e17da
0xffffff815d3c3fb0 : 0xffffff802f4cecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.4.2)[682ECF51-9960-3C45-969E-67A8E5CFD55C]@0xffffff7fb1043000->0xffffff7fb1057fff

BSD process name corresponding to current thread: mount_osxfusefs
Boot args: net.inet.ip.scopedroute=0

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x000000002f200000
Kernel text base: 0xffffff802f400000
System model name: MacBookAir5,2 (Mac-2E6FAB96566FE58C)

System uptime in nanoseconds: 32912267115887
last loaded kext at 32877751080415: com.vmware.kext.vmnet 0073.02.98 (addr 0xffffff7fb111d000, size 45056)
last unloaded kext at 30845271232746: com.vmware.kext.vmx86 0073.02.98 (addr 0xffffff7fb10af000, size 61440)
loaded kexts:
com.vmware.kext.vmnet 0073.02.98
com.vmware.kext.vmioplug 0073.02.98
com.vmware.kext.vsockets 90.1.5
com.vmware.kext.vmci 90.1.1
com.vmware.kext.vmx86 0073.02.98
com.github.osxfuse.filesystems.osxfusefs 2.4.2
org.pqrs.driver.KeyRemap4MacBook 7.8.7
org.pqrs.driver.PCKeyboardHack 7.4.0
com.paceap.kext.pacesupport.snowleopard 5.8
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleIntelProfile 97
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.filesystems.autofs 3.0
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AGPM 100.12.69
com.apple.driver.ApplePlatformEnabler 2.0.5d4
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.3.0f2
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleIntelHD4000Graphics 8.0.0
com.apple.driver.AppleIntelFramebufferCapri 8.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleUSBHub 5.1.6
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleUSBXHCI 1.1.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleProfileTimestampAction 97
com.apple.driver.AppleProfileThreadInfoAction 97
com.apple.driver.AppleProfileRegisterStateAction 97
com.apple.driver.AppleProfileReadCounterAction 97
com.apple.driver.AppleProfileKEventAction 97
com.apple.driver.AppleProfileCallstackAction 97
com.apple.iokit.AppleProfileFamily 97
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.AppleSMC 3.1.3d11
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.CoreStorage 274.4
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookAir5,2, BootROM MBA51.00EF.B00, 2 processors, Intel Core i7, 2 GHz, 8 GB, SMC 2.5f7
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434353153364D465238412D50422020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D5434353153364D465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.81.20)
Bluetooth: Version 4.0.9f8 10405, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM256E, 251 GB
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1a100000 / 2
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8510, 0x1a110000 / 3
USB Device: hub_device, 0x8087 (Intel Corporation), 0x0024, 0x1d100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0x1d180000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x024c, 0x1d182000 / 6
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8404, 0x1d183000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x1d181000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f, 0x1d181300 / 8

Are there any other logs you'd need?

kernel panic in com.github.osxfuse.filesystems.osxfusefs(2.3.8)

Interval Since Last Panic Report: 1336561 sec
Panics Since Last Report: 4
Anonymous UUID: 1CF9C0E2-69A3-4A32-8483-996D0FE23D38

Tue Jan 31 15:31:34 2012
panic(cpu 6 caller 0xffffff80002c207e): "kernel_trap(0xffffff800df32350) with 32-bit state"@/SourceCache/xnu/xnu-1699.24.8/osfmk/i386/trap.c:586
Backtrace (CPU 6), Frame : Return Address
0xffffff800df32100 : 0xffffff8000220702
0xffffff800df32180 : 0xffffff80002c207e
0xffffff800df32320 : 0xffffff80002d7a1d
0xffffff800df32340 : 0x7fff8a3a6506

BSD process name corresponding to current thread: emulator-arm

Mac OS version:
11C74
I got two kernel panics those days with sshfs that relies on osxfusefs.

I'm using Eclipse on an big git project that is residing on a disk accessed by sshfs.

The two times I got the kernel panic, Eclipse was opened on this project.

1st panic.
Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)

System uptime in nanoseconds: 22964134160523
last loaded kext at 18605966671845: com.github.osxfuse.filesystems.osxfusefs 2.3.8 (addr 0xffffff7f807ad000, size 90112)
last unloaded kext at 292464968104: com.apple.driver.AppleUSBUHCI 4.4.5 (addr 0xffffff7f80abd000, size 65536)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.3.8
com.intego.iokit.VirusBarrierX6Service 10.6.15
com.intego.iokit.VBX6NKE 8
com.intego.iokit.BehavioralKext 1
com.parallels.kext.prl_vnic 7.0 15052.710728
com.parallels.kext.prl_netbridge 7.0 15052.710728
com.parallels.kext.prl_hid_hook 7.0 15052.710728
com.parallels.kext.prl_hypervisor 7.0 15052.710728
com.parallels.kext.prl_usb_connect 7.0 15052.710728
com.intego.kext.VirusBarrier.AppBarrierKPI 10.6.15
com.intego.kext.VirusBarrierKPI 10.6.15
com.apple.filesystems.afpfs 9.8
com.apple.nke.asp_tcp 6.0.1
com.apple.filesystems.smbfs 1.7.0
com.apple.driver.AppleHWSensor 1.9.4d0
com.apple.filesystems.ntfs 3.8
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleBluetoothMultitouch 66.3
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.1.3f7
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMikeyDriver 2.1.3f7
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.driver.AppleIntelHD3000Graphics 7.1.4
com.apple.kext.ATIFramebuffer 7.1.4
com.apple.driver.SMCMotionSensor 3.0.1d2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.AppleMuxControl 3.0.16
com.apple.driver.AppleLPC 1.5.3
com.apple.ATIRadeonX3000 7.1.4
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4
com.apple.driver.AppleUSBTCButtons 225.2
com.apple.driver.AppleUSBTCKeyboard 225.2
com.apple.driver.AppleIRController 312
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.0.1
com.apple.iokit.IOAHCIBlockStorage 2.0.1
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AirPort.Brcm4331 512.20.18
com.apple.driver.AppleSDXC 1.1.2
com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleAHCIPort 2.2.0
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.driver.AppleUSBEHCI 4.5.5
com.apple.driver.AppleACPIButtons 1.4
com.apple.driver.AppleRTC 1.4
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.4
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.1.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1
com.apple.driver.AppleIntelCPUPowerManagement 167.1.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleMultitouchDriver 220.62.1
com.apple.driver.IOBluetoothHIDDriver 4.0.1f4
com.apple.driver.AppleAVBAudio 1.0.0d11
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.KLog 3.9.0
com.apple.iokit.IOSurface 80.0
com.apple.iokit.IOBluetoothSerialManager 4.0.1f4
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.iokit.IOAudioFamily 1.8.3fc11
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.kext.ATI6000Controller 7.1.4
com.apple.kext.ATISupport 7.1.4
com.apple.driver.AppleIntelSNBGraphicsFB 7.1.4
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.AppleSMC 3.1.1d8
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleUSBHIDKeyboard 152.3
com.apple.driver.AppleHIDKeyboard 152.3
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily 4.0.1f4
com.apple.driver.AppleThunderboltDPInAdapter 1.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily 1.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.1
com.apple.driver.AppleUSBMultitouch 227.1
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.driver.XsanFilter 403
com.apple.iokit.IOAHCISerialATAPI 2.0.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1
com.apple.driver.AppleThunderboltNHI 1.3.2
com.apple.iokit.IOThunderboltFamily 1.7.4
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.iokit.IO80211Family 411.1
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily 2.0
com.apple.iokit.IOAHCIFamily 2.0.7
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOUSBFamily 4.5.5
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 165.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily 1.4
Model: MacBookPro8,2, BootROM MBP81.0047.B24, 4 processors, Intel Core i7, 2.2 GHz, 4 GB, SMC 1.69f3
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.100.98.75.18)
Bluetooth: Version 4.0.1f4, 2 service, 18 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: TOSHIBA MK5065GSXF, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-8A8
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0253, 0xfa120000 / 5
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 7
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0xa700, 0xfd120000 / 4
USB Device: Keyboard Hub, apple_vendor_id, 0x1006, 0xfd122000 / 5
USB Device: Apple Keyboard, apple_vendor_id, 0x0221, 0xfd122200 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

second panic
Tue Jan 31 15:31:34 2012
panic(cpu 6 caller 0xffffff80002c207e): "kernel_trap(0xffffff800df32350) with 32-bit state"@/SourceCache/xnu/xnu-1699.24.8/osfmk/i386/trap.c:586
Backtrace (CPU 6), Frame : Return Address
0xffffff800df32100 : 0xffffff8000220702
0xffffff800df32180 : 0xffffff80002c207e
0xffffff800df32320 : 0xffffff80002d7a1d
0xffffff800df32340 : 0x7fff8a3a6506

BSD process name corresponding to current thread: emulator-arm

Mac OS version:
11C74

Kernel version:
Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64
Kernel UUID: 59275DFA-10C0-30B3-9E26-F7B5DFB1A432
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)

System uptime in nanoseconds: 22964134160523
last loaded kext at 18605966671845: com.github.osxfuse.filesystems.osxfusefs 2.3.8 (addr 0xffffff7f807ad000, size 90112)
last unloaded kext at 292464968104: com.apple.driver.AppleUSBUHCI 4.4.5 (addr 0xffffff7f80abd000, size 65536)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.3.8
com.intego.iokit.VirusBarrierX6Service 10.6.15
com.intego.iokit.VBX6NKE 8
com.intego.iokit.BehavioralKext 1
com.parallels.kext.prl_vnic 7.0 15052.710728
com.parallels.kext.prl_netbridge 7.0 15052.710728
com.parallels.kext.prl_hid_hook 7.0 15052.710728
com.parallels.kext.prl_hypervisor 7.0 15052.710728
com.parallels.kext.prl_usb_connect 7.0 15052.710728
com.intego.kext.VirusBarrier.AppBarrierKPI 10.6.15
com.intego.kext.VirusBarrierKPI 10.6.15
com.apple.filesystems.afpfs 9.8
com.apple.nke.asp_tcp 6.0.1
com.apple.filesystems.smbfs 1.7.0
com.apple.driver.AppleHWSensor 1.9.4d0
com.apple.filesystems.ntfs 3.8
com.apple.filesystems.autofs 3.0
com.apple.driver.AppleBluetoothMultitouch 66.3
com.apple.driver.AudioAUUC 1.59
com.apple.driver.AGPM 100.12.42
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.1.3f7
com.apple.driver.AppleUpstreamUserClient 3.5.9
com.apple.driver.AppleMikeyDriver 2.1.3f7
com.apple.driver.AppleMCCSControl 1.0.26
com.apple.driver.AppleIntelHD3000Graphics 7.1.4
com.apple.kext.ATIFramebuffer 7.1.4
com.apple.driver.SMCMotionSensor 3.0.1d2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.driver.AppleSMCLMU 2.0.1d2
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AudioIPCDriver 1.2.1
com.apple.driver.AppleMuxControl 3.0.16
com.apple.driver.AppleLPC 1.5.3
com.apple.ATIRadeonX3000 7.1.4
com.apple.driver.ACPI_SMC_PlatformPlugin 4.7.5d4
com.apple.driver.AppleUSBTCButtons 225.2
com.apple.driver.AppleUSBTCKeyboard 225.2
com.apple.driver.AppleIRController 312
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 33
com.apple.iokit.SCSITaskUserClient 3.0.1
com.apple.iokit.IOAHCIBlockStorage 2.0.1
com.apple.driver.AppleUSBHub 4.5.0
com.apple.driver.AirPort.Brcm4331 512.20.18
com.apple.driver.AppleSDXC 1.1.2
com.apple.iokit.AppleBCM5701Ethernet 3.0.8b2
com.apple.driver.AppleEFINVRAM 1.5.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleAHCIPort 2.2.0
com.apple.driver.AppleFWOHCI 4.8.9
com.apple.driver.AppleUSBEHCI 4.5.5
com.apple.driver.AppleACPIButtons 1.4
com.apple.driver.AppleRTC 1.4
com.apple.driver.AppleHPET 1.6
com.apple.driver.AppleSMBIOS 1.7
com.apple.driver.AppleACPIEC 1.4
com.apple.driver.AppleAPIC 1.5
com.apple.driver.AppleIntelCPUPowerManagementClient 167.1.0
com.apple.nke.applicationfirewall 3.2.30
com.apple.security.quarantine 1
com.apple.driver.AppleIntelCPUPowerManagement 167.1.0
com.apple.security.SecureRemotePassword 1.0
com.apple.kext.triggers 1.0
com.apple.driver.AppleMultitouchDriver 220.62.1
com.apple.driver.IOBluetoothHIDDriver 4.0.1f4
com.apple.driver.AppleAVBAudio 1.0.0d11
com.apple.driver.DspFuncLib 2.1.3f7
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IOFireWireIP 2.2.4
com.apple.iokit.KLog 3.9.0
com.apple.iokit.IOSurface 80.0
com.apple.iokit.IOBluetoothSerialManager 4.0.1f4
com.apple.iokit.IOSerialFamily 10.0.5
com.apple.iokit.IOAVBFamily 1.0.0d22
com.apple.driver.AppleHDAController 2.1.3f7
com.apple.iokit.IOHDAFamily 2.1.3f7
com.apple.iokit.IOAudioFamily 1.8.3fc11
com.apple.kext.OSvKernDSPLib 1.3
com.apple.driver.ApplePolicyControl 3.0.16
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.0.16
com.apple.driver.AppleBacklightExpert 1.0.3
com.apple.iokit.IONDRVSupport 2.3.2
com.apple.kext.ATI6000Controller 7.1.4
com.apple.kext.ATISupport 7.1.4
com.apple.driver.AppleIntelSNBGraphicsFB 7.1.4
com.apple.iokit.IOGraphicsFamily 2.3.2
com.apple.driver.AppleSMC 3.1.1d8
com.apple.driver.IOPlatformPluginFamily 4.7.5d4
com.apple.driver.AppleUSBHIDKeyboard 152.3
com.apple.driver.AppleHIDKeyboard 152.3
com.apple.driver.BroadcomUSBBluetoothHCIController 4.0.1f4
com.apple.driver.AppleUSBBluetoothHCIController 4.0.1f4
com.apple.iokit.IOBluetoothFamily 4.0.1f4
com.apple.driver.AppleThunderboltDPInAdapter 1.5.8
com.apple.driver.AppleThunderboltDPAdapterFamily 1.5.8
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.1
com.apple.driver.AppleUSBMultitouch 227.1
com.apple.iokit.IOUSBHIDDriver 4.4.5
com.apple.driver.AppleUSBMergeNub 4.5.3
com.apple.driver.AppleUSBComposite 3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.0.1
com.apple.iokit.IOBDStorageFamily 1.6
com.apple.iokit.IODVDStorageFamily 1.7
com.apple.iokit.IOCDStorageFamily 1.7
com.apple.driver.XsanFilter 403
com.apple.iokit.IOAHCISerialATAPI 2.0.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.0.1
com.apple.driver.AppleThunderboltNHI 1.3.2
com.apple.iokit.IOThunderboltFamily 1.7.4
com.apple.iokit.IOUSBUserClient 4.5.3
com.apple.iokit.IO80211Family 411.1
com.apple.iokit.IOEthernetAVBController 1.0.0d5
com.apple.iokit.IONetworkingFamily 2.0
com.apple.iokit.IOAHCIFamily 2.0.7
com.apple.iokit.IOFireWireFamily 4.4.5
com.apple.iokit.IOUSBFamily 4.5.5
com.apple.driver.AppleEFIRuntime 1.5.0
com.apple.iokit.IOHIDFamily 1.7.1
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 165.3
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 331
com.apple.iokit.IOStorageFamily 1.7
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.4
com.apple.iokit.IOPCIFamily 2.6.7
com.apple.iokit.IOACPIFamily 1.4

.fuse_hidden files preventing folders being deleted

I've noticed on occasion that files are being renamed to .fuse_hidden0000xx000 files which is preventing folders being deleted. I've yet to track down exactly why but I've searched Google and found other people mentioning it so I thought I would add it here as osxfuse does it too. The files in question do not seem to be in use but I've yet to find a cause for it.

ObjC framework should avoid [NSFileManager defaultManager]

Hi All,

In GMUserFileSystem.m, around line 2438:

// Trigger initialization of NSFileManager. This is rather lame, but if we
// don't call directoryContents before we mount our FUSE filesystem and
// the filesystem uses NSFileManager we may deadlock. It seems that the
// NSFileManager class will do lazy init and will query all mounted
// filesystems. This leads to deadlock when we re-enter our mounted fuse fs.
// Once initialized it seems to work fine.
NSFileManager* fileManager = [NSFileManager defaultManager];

In the past, I created my own fork of MacFUSE.framework that used

      NSFileManager* fileManager = [[[NSFileManager alloc] init] autorelease];

instead, to avoid thread safety problems with my own code. As per the documentation: "In Mac OS X v 10.5 and later you should consider using [[NSFileManager alloc] init] rather than the singleton method defaultManager. Using [[NSFileManager alloc] init] instead, the resulting NSFileManager instance is thread safe."

Unfortunately I can't build all the platforms you support, so I don't want to want to modify your source tree.

Thank you for picking up where MacFUSE left off

Regards,
Chris

Bad length passed to client process in write operation

Hi,

I use a client (9pfuse from plan9port) that communicate with OSXfuse through a file descriptor. When doing a read on this file descriptor, this client expects the first 4 bytes to be an int whose value is the number of bytes read by the read operation (i.e. the return value of read).

This condition is not true when I create a new file on the file system, for example through the command :
echo Hello > /tmp/mntp/NewFile.txt

The value of the int is the length of the header (64), but what is read is the header plus the data (here 64+6 bytes).

I have a very, very ugly fix : adding the following at line 369 of fuse_device.c in kext :
(((struct fuse_in_header*)ftick->tk_ms_fiov.base)->len) = (__u32)(ftick->tk_ms_fiov.len) + (__u32)(ftick->tk_ms_bufsize);

With this, the specific client I use no longer crashes, but I think it breaks other things and it is not a proper fix.

Maybe the client is wrong, and FUSE behave correctly, I did not find the FUSE specifications. If anybody could point me to it, it woud be nice.

If this is indeed a problem, then I hope somebody more knowledgeable than me will be able to fix it.

sshfs-2.4.1 / osxfuse-2.4.2 kernel panic when a remote directory is mounted twice

I am using:

sshfs-2.4.1
osxfuse-2.4.2

When I accidentally mount a remote directory the second time, the system kernel panic, rather than returning an error message. Here is the log:

Tue Jul 17 11:07:12 2012
panic(cpu 0 caller 0xffffff8009eb7b95): Kernel trap at 0xffffff8009ef2a91, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000000c0, CR3: 0x00000000a4cff000, CR4: 0x0000000000000660
RAX: 0x0000000001000005, RBX: 0x0000000000000020, RCX: 0x00000000032f0000, RDX: 0xffffff8012c94550
RSP: 0xffffff806d1b3ca0, RBP: 0xffffff806d1b3cc0, RSI: 0x0000000000000020, RDI: 0xffffff8012c94550
R8: 0x0000000000000000, R9: 0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0xffffff8012cbcb70, R13: 0xffffff801368c000, R14: 0x0000000000000000, R15: 0x00000000000000c0
RFL: 0x0000000000010282, RIP: 0xffffff8009ef2a91, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000000000c0, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff806d1b3940 : 0xffffff8009e1d5f6
0xffffff806d1b39b0 : 0xffffff8009eb7b95
0xffffff806d1b3b80 : 0xffffff8009ece4ad
0xffffff806d1b3ba0 : 0xffffff8009ef2a91
0xffffff806d1b3cc0 : 0xffffff7f8bebfb70
0xffffff806d1b3d10 : 0xffffff8009f20bfd
0xffffff806d1b3d60 : 0xffffff8009f11e84
0xffffff806d1b3dd0 : 0xffffff8009f08419
0xffffff806d1b3e20 : 0xffffff800a14ae63
0xffffff806d1b3e50 : 0xffffff800a177a83
0xffffff806d1b3f50 : 0xffffff800a1e17da
0xffffff806d1b3fb0 : 0xffffff8009ececf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.4.2)[682ECF51-9960-3C45-969E-67A8E5CFD55C]@0xffffff7f8bebf000->0xffffff7f8bed3fff

BSD process name corresponding to current thread: mount_osxfusefs

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x0000000009c00000
Kernel text base: 0xffffff8009e00000
System model name: iMac8,1 (Mac-F227BEC8)

System uptime in nanoseconds: 2424767657509
last loaded kext at 240222655756: com.apple.driver.AppleProfileTimestampAction 97 (addr 0xffffff7f8bf33000, size 16384)
last unloaded kext at 178876797418: com.apple.driver.AppleFileSystemDriver 3.0.1 (addr 0xffffff7f8b4bb000, size 8192)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.4.2
com.sophos.kext.sav 7.3.0
org.virtualbox.kext.VBoxNetAdp 4.1.16
org.virtualbox.kext.VBoxNetFlt 4.1.16
org.virtualbox.kext.VBoxUSB 4.1.16
org.virtualbox.kext.VBoxDrv 4.1.16
com.apple.driver.AppleIntelProfile 97
com.apple.filesystems.smbfs 1.8
com.apple.filesystems.afpfs 10.0
com.apple.nke.asp_tcp 7.0.0
com.apple.filesystems.exfat 1.3
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AppleHDA 2.3.0f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.kext.AMDFramebuffer 8.0.0
com.apple.ATIRadeonX2000 8.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIRController 320.15
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleUSBHub 5.1.6
com.apple.driver.AppleIntelPIIXATA 2.5.1
com.apple.driver.AirPortBrcm43224 600.36.17
com.apple.iokit.AppleYukon2 3.2.3b1
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleUSBUHCI 5.1.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleProfileTimestampAction 97
com.apple.driver.AppleProfileThreadInfoAction 97
com.apple.driver.AppleProfileRegisterStateAction 97
com.apple.driver.AppleProfileReadCounterAction 97
com.apple.driver.AppleProfileKEventAction 97
com.apple.driver.AppleProfileCallstackAction 97
com.apple.iokit.AppleProfileFamily 97
com.apple.security.SecureRemotePassword 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.kext.triggers 1.0
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMC 3.1.3d11
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.kext.AMD2600Controller 8.0.0
com.apple.kext.AMDSupport 8.0.0
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleUSBHIDMouse 175.8
com.apple.driver.AppleHIDMouse 175.8
com.apple.driver.AppleUSBHIDKeyboard 165.5
com.apple.driver.AppleHIDKeyboard 165.5
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOATAPIProtocolTransport 3.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOATAFamily 2.5.1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0

Finder permissioning problem

Finder is using a root owned helper task "Locum" to perform some operations. With MacOS 10.7., this task is involved in Finders drag and drop operation. These operations fail on MacFUSE/osxfuse drives if they are not mounted with the "allow_other" option. Even though this could be considered as a Finder bug, I suggest changing the permission check in osdxfuse to address this issue and to give the users a flawless working version of osxfuse.

Form a technical perspective, the difference between 10.6. and 10.7. is visible in fuse_match_cred():

This is what we get on 10.7:

uid=502, ruid=0, groups[0]=20, gid=0, svgid=0

And this is what is expected (and is given by 10.6.):

uid=502, ruid=502, groups[0]=20, gid=20, svgid=20

One possible fix is to only check uid and groups in fuse_match_cred(), which seems to be sufficent. Or, as an alternative, only skip checking gid and svgid if they are 0.

Mountain Lion kernal panic

I got a kernel panic on ML when trying to unmount a volume via umount. Just before that I unmounted a "Transmit" volume (might however not be related to kp).

Sun Jul 29 17:58:29 2012
panic(cpu 0 caller 0xffffff80086b7b95): Kernel trap at 0xffffff80086f2a91, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000000c0, CR3: 0x0000000035a08031, CR4: 0x00000000000606e0
RAX: 0x0000000001000002, RBX: 0x0000000000000020, RCX: 0x00000000031f0000, RDX: 0xffffff8013457470
RSP: 0xffffff808169bca0, RBP: 0xffffff808169bcc0, RSI: 0x0000000000000020, RDI: 0xffffff8013457470
R8: 0x0000000000000000, R9: 0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0xffffff8013494b70, R13: 0xffffff801bf8d000, R14: 0x0000000000000000, R15: 0x00000000000000c0
RFL: 0x0000000000010282, RIP: 0xffffff80086f2a91, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000000000c0, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff808169b940 : 0xffffff800861d5f6
0xffffff808169b9b0 : 0xffffff80086b7b95
0xffffff808169bb80 : 0xffffff80086ce4ad
0xffffff808169bba0 : 0xffffff80086f2a91
0xffffff808169bcc0 : 0xffffff7f8a290b70
0xffffff808169bd10 : 0xffffff8008720bfd
0xffffff808169bd60 : 0xffffff8008711e84
0xffffff808169bdd0 : 0xffffff8008708419
0xffffff808169be20 : 0xffffff800894ae63
0xffffff808169be50 : 0xffffff8008977a83
0xffffff808169bf50 : 0xffffff80089e17da
0xffffff808169bfb0 : 0xffffff80086cecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.4.2)[682ECF51-9960-3C45-969E-67A8E5CFD55C]@0xffffff7f8a290000->0xffffff7f8a2a4fff

BSD process name corresponding to current thread: mount_osxfusefs

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x0000000008400000
Kernel text base: 0xffffff8008600000
System model name: MacBookAir4,2 (Mac-742912EFDBEE19B3)

System uptime in nanoseconds: 134578977304444
last loaded kext at 133324830091380: com.panic.TransmitDisk.transmitdiskfs 4.0.0 (addr 0xffffff7f8a2a5000, size 90112)
last unloaded kext at 134538228671375: com.panic.TransmitDisk.transmitdiskfs 4.0.0 (addr 0xffffff7f8a2a5000, size 86016)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.4.2
com.apple.filesystems.afpfs 10.0
com.apple.nke.asp_tcp 7.0.0
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleIntelProfile 97
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.driver.AudioAUUC 1.60
com.apple.driver.ApplePlatformEnabler 2.0.5d4
com.apple.driver.AGPM 100.12.69
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleHDA 2.3.0f2
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleUSBHub 5.1.6
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.security.SecureRemotePassword 1.0
com.apple.driver.AppleProfileTimestampAction 97
com.apple.driver.AppleProfileThreadInfoAction 97
com.apple.driver.AppleProfileRegisterStateAction 97
com.apple.driver.AppleProfileReadCounterAction 97
com.apple.driver.AppleProfileKEventAction 97
com.apple.driver.AppleProfileCallstackAction 97
com.apple.iokit.AppleProfileFamily 97
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleSMC 3.1.3d11
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookAir4,2, BootROM MBA41.0077.B0F, 2 processors, Intel Core i5, 1.7 GHz, 4 GB, SMC 1.73f65
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.81.20)
Bluetooth: Version 4.0.9f8 10405, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD TS128C, 121,33 GB
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x024d, 0xfa120000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f, 0xfa113000 / 6
USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a, 0xfa200000 / 2
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8404, 0xfd110000 / 3

Kernel panic on osx 10.7

Following the instructions here I was able to get read/write access to my NTFS formatted bootcamp partition. Since I'm running osx lion I also followed the instructions here to resolve the timeout error.
Everything worked fine for a bit, then I had this kernel panic:

Panic (system crashes) log:

  Source:   /Library/Logs/DiagnosticReports/Kernel_2012-07-07-153011_LeChuck.panic
  Size: 7 KB (6,895 bytes)
  Last Modified:    7/7/12 3:30 PM
  Recent Contents:  Sat Jul  7 15:30:11 2012
panic(cpu 6 caller 0xffffff7f8113a5e7): "OSXFUSE: Attempted to lock max-locked recursive lock."@/Users/benjamin/Documents/Projekte/OSXFUSE/Repositories/osxfuse/kext/fuse_locking.c:434
Backtrace (CPU 6), Frame : Return Address
0xffffff81f613b4a0 : 0xffffff8000220792 
0xffffff81f613b520 : 0xffffff7f8113a5e7 
0xffffff81f613b540 : 0xffffff7f811442e2 
0xffffff81f613b570 : 0xffffff800031915f 
0xffffff81f613b5a0 : 0xffffff8000571223 
0xffffff81f613b5d0 : 0xffffff800026528d 
0xffffff81f613b5e0 : 0xffffff8000279ee9 
0xffffff81f613b720 : 0xffffff800028a9f9 
0xffffff81f613b7f0 : 0xffffff800029a5ba 
0xffffff81f613b810 : 0xffffff80002e7b24 
0xffffff81f613b840 : 0xffffff7f81138644 
0xffffff81f613b910 : 0xffffff7f811439ec 
0xffffff81f613b930 : 0xffffff80003197ce 
0xffffff81f613b960 : 0xffffff80002eed54 
0xffffff81f613ba70 : 0xffffff80002f46b0 
0xffffff81f613bc90 : 0xffffff80002f4af5 
0xffffff81f613bcc0 : 0xffffff7f8113e4c5 
0xffffff81f613bd70 : 0xffffff7f8114390d 
0xffffff81f613bda0 : 0xffffff800031b4dd 
0xffffff81f613bdf0 : 0xffffff8000312aa6 
0xffffff81f613be60 : 0xffffff8000563dff 
0xffffff81f613bef0 : 0xffffff80005641bc 
0xffffff81f613bf50 : 0xffffff80005cd61b 
0xffffff81f613bfb0 : 0xffffff80002daa13 
      Kernel Extensions in backtrace:
         com.github.osxfuse.filesystems.osxfusefs(2.4.2)[682ECF51-9960-3C45-969E-67A8E5CFD55C]@0xffffff7f81134000->0xffffff7f81148fff

BSD process name corresponding to current thread: mds

Mac OS version:
11E53

Kernel version:
Darwin Kernel Version 11.4.0: Mon Apr  9 19:32:15 PDT 2012; root:xnu-1699.26.8~1/RELEASE_X86_64
Kernel UUID: A8ED611D-FB0F-3729-8392-E7A32C5E7D74
System model name: MacBookPro8,3 (Mac-942459F5819B171B)

This locked up my machine and continued to crash the machine each time I would try to restart and log back in. Eventually I went into safe mode, uninstalled osxfuse and ntfs-3g, and was able to boot the machine normally. Obviously this also removed my read/write access to the NTFS partition.

Has anyone else ran into this problem? Any suggestions on what I can do to fix it?

It might be worth noting that I used to run macfuse + ntfs-3g but I did a pretty thorough job of removing the remnants of both before installing osxfuse.

Side note:

@/Users/benjamin/Documents/Projekte/OSXFUSE/...

I have no benjamin user dir. ..

sys/statfs.h included but unnecessary

Hi. I'm having a problem building hfuse (a Haskell interface to FUSE) on OS X Lion. I've got OSXFUSE version 2.3.9, and the error I get is the following:

/usr/bin/gcc returned ExitFailure 1 with error message:
In file included from /usr/local/include/osxfuse/fuse/fuse.h:857,
from /usr/local/include/osxfuse/fuse.h:9,
from /var/folders/nn/c27x8b4x2z90lb0tvy70psfw0000gn/T/58799.c:2:
/usr/local/include/osxfuse/fuse/fuse_compat.h:69:24: error: sys/statfs.h: No
such file or directory

The problem is solved if I touch /usr/local/include/sys/statfs.h, so it seems there should be a conditional include. I can provide more information about the attempted build if it is required.

allow to define install prefix manually

hello,

I'd like to specify the install prefix of the libs etc. manually. Then this could be easily integrated into macports.

Now the prefix is hardcoded (I think) to "/usr/local". Would be great to have a variable in build.sh to define the prefix to something own.

Tried to replace the "/usr/local" with my own prefix ("/opt/local") in the two files "build.sh" and "fuse/libmacfuse.xcodeproj/project.pbxproj", but that seems not to be enough - still creating "/usr/local" prefix.

Regards,
Markus

Mountain Lion unmounts OSXFUSE volumes on login window

Mountain Lion automatically unmounts OSXFUSE volumes when the user opens the login window, e.g. in order to switch users using "Fast User Switching" without logging out. This behavior is different from Lion and seems to be a bug (or feature?) in Mountain Lion which is not limited to OSXFUSE, because other users are experiencing this issue also with AFP mounts. Discussions can e.g. be found here:

https://discussions.apple.com/thread/4144656?start=0&tstart=0
https://discussions.apple.com/message/19086127#19086127
http://apple.stackexchange.com/questions/59057/fast-user-switching-how-to-prevent-volumes-from-being-unmounted

Switching users directly from the dropdown list in the menubar seems to work fine and the problem only occurs when the login window is shown. Benjamin, I don't know if there's anything you can do to fix this but I wanted to make you aware of the issue.

The issue is repeatable and was tested with:
OSXFUSE 2.4.2 with SSHFS 2.4.1, BoxCryptor v1.0.3 (EncFS 1.7.4) and TrueCrypt 7.1a
OSXFUSE 2.5.0 with SSHFS 2.4.1, BoxCryptor v1.0.3 (EncFS 1.7.4)

sshfs-2.4.1 disk getting unmounted when switching account

Hello

I'm using SSHFS 2.4.1 on OS X Lion since it's available.
I know that this command :

sshfs [email protected]:/home/user user/

was working nicely, and that when one tries to "lock" its account, the sshfs disk stayed mounted.

Now with OS X Mountain Lion, for the same command, if I "lock" my account (Session opening Window), my SSHFS disks get unmounted.

Things makes me think it's related to OS X Mountain Lion of course, but since it was not working that way before, I would like to get the same behavior as before.

What do you think about this issue ?

Mountain Lion kernel panics with 2.5.0 (unmounting or shutting down VM)

FUSE for OS X 2.5.0
OS X 10.8

This kernel panic occurred when I shut down a FreeBSD VM running on VMWare Fusion that was mounted via sshfs:

Wed Aug 8 16:50:07 2012
panic(cpu 3 caller 0xffffff801e2b7b95): Kernel trap at 0xffffff7fa05b68ab, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x00000000b040dd8c, CR3: 0x000000007a98c040, CR4: 0x00000000000206e0
RAX: 0xdeadbeeffeedface, RBX: 0xffffff8040481c98, RCX: 0x7fffffffffffffff, RDX: 0x000000000000004e
RSP: 0xffffff802b1a3af0, RBP: 0xffffff802b1a3b70, RSI: 0xffffff7fa05c8338, RDI: 0x0000000000000401
R8: 0xffffff810684d078, R9: 0x0000000009aa7d00, R10: 0xffffff8032eade00, R11: 0x0000000000000000
R12: 0xffffff8034382160, R13: 0xffffff8040438480, R14: 0x0000000000000000, R15: 0x000000000000001e
RFL: 0x0000000000010246, RIP: 0xffffff7fa05b68ab, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x00000000b040dd8c, Error code: 0x0000000000000000, Fault CPU: 0x3

Backtrace (CPU 3), Frame : Return Address
0xffffff802b1a3790 : 0xffffff801e21d5f6
0xffffff802b1a3800 : 0xffffff801e2b7b95
0xffffff802b1a39d0 : 0xffffff801e2ce4ad
0xffffff802b1a39f0 : 0xffffff7fa05b68ab
0xffffff802b1a3b70 : 0xffffff7fa05c03de
0xffffff802b1a3bc0 : 0xffffff7fa05c5d24
0xffffff802b1a3bf0 : 0xffffff801e31206f
0xffffff802b1a3c20 : 0xffffff801e2f1893
0xffffff802b1a3c70 : 0xffffff801e2f0fe1
0xffffff802b1a3cb0 : 0xffffff801e2f14da
0xffffff802b1a3d30 : 0xffffff801e2f9f68
0xffffff802b1a3d80 : 0xffffff801e2f9cc0
0xffffff802b1a3f50 : 0xffffff801e5e17da
0xffffff802b1a3fb0 : 0xffffff801e2cecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.5)[075205E0-5DAD-A389-89A8-30E2996B4BDD]@0xffffff7fa05b2000->0xffffff7fa05cafff

BSD process name corresponding to current thread: umount

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/REL

This kernel panic occurred when I pressed the Unmount button in MacFusion on an sshfs mount:

Wed Aug 8 11:41:05 2012
panic(cpu 0 caller 0xffffff801dab7b95): Kernel trap at 0xffffff7f9fdb28ab, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff80baddece7, CR3: 0x00000001a494602e, CR4: 0x00000000000206e0
RAX: 0xffffff80baddecaf, RBX: 0xffffff803cf9c550, RCX: 0x7fffffffffffffff, RDX: 0x000000000000004e
RSP: 0xffffff810dd4baf0, RBP: 0xffffff810dd4bb70, RSI: 0xffffff7f9fdc4338, RDI: 0x0000000000000401
R8: 0xffffff801e0bec60, R9: 0xffffffffffffff00, R10: 0xffffff80309a6a00, R11: 0x0000000000000000
R12: 0xffffff803377ecf0, R13: 0xffffff80334a6c80, R14: 0x0000000000000000, R15: 0x000000000000001e
RFL: 0x0000000000010246, RIP: 0xffffff7f9fdb28ab, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff80baddece7, Error code: 0x0000000000000002, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff810dd4b790 : 0xffffff801da1d5f6
0xffffff810dd4b800 : 0xffffff801dab7b95
0xffffff810dd4b9d0 : 0xffffff801dace4ad
0xffffff810dd4b9f0 : 0xffffff7f9fdb28ab
0xffffff810dd4bb70 : 0xffffff7f9fdbc3de
0xffffff810dd4bbc0 : 0xffffff7f9fdc1d24
0xffffff810dd4bbf0 : 0xffffff801db1206f
0xffffff810dd4bc20 : 0xffffff801daf1893
0xffffff810dd4bc70 : 0xffffff801daf0fe1
0xffffff810dd4bcb0 : 0xffffff801daf14da
0xffffff810dd4bd30 : 0xffffff801daf9f68
0xffffff810dd4bd80 : 0xffffff801daf9cc0
0xffffff810dd4bf50 : 0xffffff801dde17da
0xffffff810dd4bfb0 : 0xffffff801dacecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.5)[075205E0-5DAD-A389-89A8-30E2996B4BDD]@0xffffff7f9fdae000->0xffffff7f9fdc6fff

BSD process name corresponding to current thread: umount

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x000000001d800000
Kernel text base: 0xffffff801da00000
System model name: MacBookPro6,2 (Mac-F22586C8)

System uptime in nanoseconds: 5970921516356
last loaded kext at 1062615500863: com.github.osxfuse.filesystems.osxfusefs 2.5.0 (addr 0xffffff7f9fdae000, size 102400)
last unloaded kext at 477234745907: com.apple.driver.AppleUSBCDC 4.1.21 (addr 0xffffff7f9fd6b000, size 12288)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.5.0
com.vmware.kext.vmnet 0073.02.98
com.vmware.kext.vmioplug 0073.02.98
com.vmware.kext.vsockets 90.1.5
com.vmware.kext.vmci 90.1.1
com.vmware.kext.vmx86 0073.02.98
com.apple.filesystems.smbfs 1.8
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleHDA 2.3.0f2
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleIntelHDGraphics 8.0.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.GeForce 8.0.0
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.driver.AppleMuxControl 3.2.6
com.apple.driver.AppleIntelHDGraphicsFB 8.0.0
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleIRController 320.15
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.driver.AppleUSBHub 5.1.6
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.nvidia.nv50hal 8.0.0
com.apple.NVDAResman 8.0.0
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleSMC 3.1.3d11
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0

Mountain Lion kernel panics with 2.5.0 (OSXFUSE: Attempted to lock max-locked recursive lock)

FUSE for OS X 2.5.0
OS X 10.8

The following kernel panic occurred randomly. Please let me know, if you need more information.

Thu Aug 9 00:04:43 2012
panic(cpu 2 caller 0xffffff7f8e23fa30): "OSXFUSE: Attempted to lock max-locked recursive lock."@/Users/benjamin/Documents/Projekte/OSXFUSE/Repositories/osxfuse/kext/fuse_locking.c:434
Backtrace (CPU 2), Frame : Return Address
0xffffff80fd88b3c0 : 0xffffff800c61d5f6
0xffffff80fd88b430 : 0xffffff7f8e23fa30
0xffffff80fd88b450 : 0xffffff7f8e24b4ab
0xffffff80fd88b470 : 0xffffff800c713639
0xffffff80fd88b4d0 : 0xffffff800c9bf9d9
0xffffff80fd88b550 : 0xffffff800c65bdde
0xffffff80fd88b5b0 : 0xffffff800c65b55f
0xffffff80fd88b5c0 : 0xffffff800c65d791
0xffffff80fd88b9d0 : 0xffffff800c65cb37
0xffffff80fd88ba30 : 0xffffff800c986ac3
0xffffff80fd88ba60 : 0xffffff7f8e249ce0
0xffffff80fd88bb90 : 0xffffff7f8e24bc8a
0xffffff80fd88bbc0 : 0xffffff800c710629
0xffffff80fd88bc30 : 0xffffff800c709847
0xffffff80fd88bdc0 : 0xffffff800c94b0db
0xffffff80fd88bf50 : 0xffffff800c9e17da
0xffffff80fd88bfb0 : 0xffffff800c6cecf3
Kernel Extensions in backtrace:
com.github.osxfuse.filesystems.osxfusefs(2.5)[075205E0-5DAD-A389-89A8-30E2996B4BDD]@0xffffff7f8e238000->0xffffff7f8e24ffff

BSD process name corresponding to current thread: mds

Mac OS version:
12A269

Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x000000000c400000
Kernel text base: 0xffffff800c600000
System model name: MacBookAir5,2 (Mac-2E6FAB96566FE58C)

System uptime in nanoseconds: 104974536065590
last loaded kext at 64204733580216: com.vmware.kext.vmnet 0073.02.98 (addr 0xffffff7f8e326000, size 45056)
last unloaded kext at 65372037201033: com.vmware.kext.vmx86 0073.02.98 (addr 0xffffff7f8e2f0000, size 61440)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs 2.5.0
com.apple.filesystems.afpfs 10.0
com.apple.nke.asp_tcp 7.0.0
com.apple.filesystems.smbfs 1.8
com.apple.driver.AppleIntelProfile 97
com.apple.driver.AudioAUUC 1.60
com.apple.iokit.IOBluetoothSerialManager 4.0.9f8
com.apple.filesystems.autofs 3.0
com.apple.driver.AGPM 100.12.69
com.apple.driver.ApplePlatformEnabler 2.0.5d4
com.apple.driver.X86PlatformShim 1.0.0
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleMikeyDriver 2.3.0f2
com.apple.driver.AppleIntelHD4000Graphics 8.0.0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIntelFramebufferCapri 8.0.0
com.apple.driver.AppleHDA 2.3.0f2
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.ApplePolicyControl 3.2.6
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleUSBHub 5.1.6
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleUSBXHCI 1.1.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.security.SecureRemotePassword 1.0
com.apple.driver.AppleProfileTimestampAction 97
com.apple.driver.AppleProfileThreadInfoAction 97
com.apple.driver.AppleProfileRegisterStateAction 97
com.apple.driver.AppleProfileReadCounterAction 97
com.apple.driver.AppleProfileKEventAction 97
com.apple.driver.AppleProfileCallstackAction 97
com.apple.iokit.AppleProfileFamily 97
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.kext.triggers 1.0
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f8
com.apple.iokit.IOSurface 86.0.2
com.apple.iokit.IOBluetoothFamily 4.0.9f8
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.X86PlatformPlugin 1.0.0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.driver.DspFuncLib 2.3.0f2
com.apple.iokit.IOAudioFamily 1.8.9fc9
com.apple.kext.OSvKernDSPLib 1.6
com.apple.driver.AppleSMC 3.1.3d11
com.apple.driver.AppleHDAController 2.3.0f2
com.apple.iokit.IOHDAFamily 2.3.0f2
com.apple.driver.AppleGraphicsControl 3.2.6
com.apple.iokit.IONDRVSupport 2.3.4
com.apple.iokit.IOGraphicsFamily 2.3.4
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.driver.CoreStorage 274.4
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.0.3
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0

cannot umount or mount an sshfs volume after ssh connection cut

I am using OS X 10.8 with osxfuse 2.5 and sshfs 2.4.1. After an sshfs volume is disrupted by the remote ssh tunnel server cutting the connection, I can't unmount the directory:

$ umount dir
umount: dir: not currently mounted

$ls dir
ls: dir: Input/output error

But I can't remount the volume to the directory again:

$sshfs user@server:/dir dir
fuse: bad mount point `dir': Input/output error

Is this the problem of sshfs, or osxfuse?

Lion Error -36

I'm trying to configure OSXFUSE and MacFusion to mount FTP shares on the desktop.
Everything works fine up to the point of writing to the FTP. I get an Error -36. After the error a file file shows up with the correct name, but it has a files size of 0.
OSXFUSE and MacFusion seemed to only mount the shares when OSXFUSE is installed with the compatibility layer.

Thanks!

Kernel Panic

Was mounting when I assume a drive had timed out, looks like it caused a weird condition to a kernel panic.

Tue Aug 14 19:53:52 2012
panic(cpu 3 caller 0xffffff800f8b7b95): Kernel trap at 0xffffff800f8f2a91, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000000c0, CR3: 0x000000008137f000, CR4: 0x0000000000000660
RAX: 0x0000000001000004, RBX: 0x0000000000000020, RCX: 0x00000000032e0000, RDX: 0xffffff80302b8dd0
RSP: 0xffffff81d0173ca0, RBP: 0xffffff81d0173cc0, RSI: 0x0000000000000020, RDI: 0xffffff80302b8dd0
R8:  0x0000000000000000, R9:  0x00000000000003ff, R10: 0xffffffffffffffff, R11: 0x00000000ffffffff
R12: 0xffffff80302d2b70, R13: 0xffffff805287a800, R14: 0x0000000000000000, R15: 0x00000000000000c0
RFL: 0x0000000000010282, RIP: 0xffffff800f8f2a91, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x00000000000000c0, Error code: 0x0000000000000000, Fault CPU: 0x3

Backtrace (CPU 3), Frame : Return Address
0xffffff81d0173940 : 0xffffff800f81d5f6 
0xffffff81d01739b0 : 0xffffff800f8b7b95 
0xffffff81d0173b80 : 0xffffff800f8ce4ad 
0xffffff81d0173ba0 : 0xffffff800f8f2a91 
0xffffff81d0173cc0 : 0xffffff7f918e5b70 
0xffffff81d0173d10 : 0xffffff800f920bfd 
0xffffff81d0173d60 : 0xffffff800f911e84 
0xffffff81d0173dd0 : 0xffffff800f908419 
0xffffff81d0173e20 : 0xffffff800fb4ae63 
0xffffff81d0173e50 : 0xffffff800fb77a83 
0xffffff81d0173f50 : 0xffffff800fbe17da 
0xffffff81d0173fb0 : 0xffffff800f8cecf3 
      Kernel Extensions in backtrace:
         com.github.osxfuse.filesystems.osxfusefs(2.4.2)[682ECF51-9960-3C45-969E-67A8E5CFD55C]@0xffffff7f918e5000->0xffffff7f918fafff

BSD process name corresponding to current thread: mount_osxfusefs

Mac OS version:
12A269

last loaded kext at 199531389591165: com.github.osxfuse.filesystems.osxfusefs   2.4.2 (addr 0xffffff7f918e5000, size 90112)
last unloaded kext at 192240904276349: com.apple.driver.AppleUSBCDC 4.1.21 (addr 0xffffff7f918a2000, size 12288)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs    2.4.2

Include default volume icon as framework resource

It would be nice if the default OSXFUSE/MacFUSE icon was embedded in the OSXFUSE framework's resource folder, so that the filesystems who don't have an icon designed for them can refer to to a single icon instead of embedding a copy of it within themselves.

Deadlock in filesystem

I've found what appears to be a deadlock in the kernel side of osxfuse. When attempting to open() or __unlink() a file in another thread during a moveItemAtPath:toPath:error: or createFileAtPath:attributes:userData:error: and waiting for the result the fuse thread will timeout before the other thread can continue.

The second thread is always waiting on either open() or __unlink() depending on the operation. The killing of the osxfuse thread after 60 seconds allows the secondary thread to continue.

I am trying to put together a simple example but it's not consistently happening.

Can't compile due missing config.rpath

Have tried to compile from git this morning using:

git clone git://github.com/osxfuse/osxfuse.git
cd osxfuse
git submodule update --init

OSXFUSE_PRIVATE_KEY=prefpane/autoinstaller/TestKeys/private_key.der ./build.sh -t dist

and got this message:

** BUILD SUCCEEDED **

OSXFUSEBuildTool(smalldist)   : building user-space OSXFUSE library
Running libtoolize...
config.rpath not found!
OSXFUSEBuildTool(smalldist) failed: cannot configure OSXFUSE library source for compilation.

I suposed that it is only a missing file on git.

Unix socket removal produces no request in FUSE

I have a filesystem consisting of a single directory which implements the mknod call
so that external programs can create unix sockets inside that directory.

Socket creation works and so does connecting to sockets on the FUSE file system.

However, when the process that created the unix socket exits, the socket file remains
on the FUSE file system, because no FUSE requests are sent to the FUSE client
to indicate that the socket was destroyed.

osxfuse.pc contains -D__FreeBSD__=10

This causes wrong behavior in other code. In my case, the python fuse bindings try to include files present on FreeBSD but not on OS X because this is defined.

In 2.3.8:

Cflags: -I${includedir}/osxfuse/fuse -D__DARWIN_64_BIT_INO_T=1 -D__FreeBSD__=10 -D_FILE_OFFSET_BITS=64

sshfs: ssh crash on Mountain Lion 10.8 due to lib

Process: ssh [4297]
Path: /usr/bin/ssh
Identifier: ssh
Version: 3.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
User ID: 501

Date/Time: 2012-07-29 13:46:56.920 +0200
OS Version: Mac OS X 10.8 (12A269)
Report Version: 10

Interval Since Last Report: 457238 sec
Crashes Since Last Report: 8
Per-App Crashes Since Last Report: 4
Anonymous UUID: 9F7A915C-A6A3-4833-8FD0-091840214C5F

Crashed Thread: 0

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
could not load inserted library: /Applications/sshfs.app/Contents/Resources/sshnodelay.so

Binary Images:
0x102fe0000 - 0x10302eff7 ssh (3.0 - 1) <97628AED-06A6-3407-9787-148A2FF59925> /usr/bin/ssh
0x7fff62be0000 - 0x7fff62c1493f dyld (210.2.3) /usr/lib/dyld

Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.2 GHz, 8 GB, SMC 1.69f3
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333531533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (5.106.98.81.20)
Bluetooth: Version 4.0.9f8 10405, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: ST95005620AS, 500,11 GB
Serial ATA Device: OPTIARC DVD RW AD-5970H
USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x8509, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0246, 0xfa120000 / 5
USB Device: BRCM2070 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821a, 0xfa113000 / 7
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd110000 / 3

Authentication Failed error on 10.8 Mountain Lion

OSXFUSE 2.4.2
Macfusion 2.0.4

When trying to mount SSH volumes I get error: "Could not mount filesystem: Authentication has failed."

FTP mounts are fine.

Another colleague has the same problem.

Ah, the joy of working through an early OS release's issues.

Issus on append file in direct_io mode

Hi,

It seems there is an issue on file appending within direct_io mode. please refer to the details below.

OS version: 10.7
OSXFUSE: 2.3.9

Steps to Reproduce:

sh-3.2# ./fusexmp_fh -o direct_io /mnt

sh-3.2# df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/disk0s2 465Gi 187Gi 277Gi 41% /
devfs 198Ki 198Ki 0Bi 100% /dev
map -hosts 0Bi 0Bi 0Bi 100% /net
map auto_home 0Bi 0Bi 0Bi 100% /home
fusexmp_fh@osxfuse1 465Gi 187Gi 277Gi 41% /mnt

sh-3.2# echo aaaa >> /mnt/test

sh-3.2# echo bbbb >> /mnt/test

sh-3.2# cat /mnt/test
bbbb

Deadlock when multiple MacFUSE file systems are mounted

When a MacFUSE file system is mounted the sysctl "osxfuse.control.macfuse_mode" is set to 1. Each time that happens the kernel extension registers MacFUSE's sysctls. Registering already registered sysctls triggers a system-wide deadlock.

This only affects MacFUSE file systems linked against libfuse or libfuse_ino64. Objective-C file systems using MacFUSE.framework do not trigger the deadlock.

Reported by @PeterStegemann and @unsound

sshfs requires libfuse.2.dylib

Hi there,

I installed OSXFuse on my Snow Leopard. When I then try to use sshfs, it complains that I need libfuse.2.dylib:

$ sshfs
dyld: Library not loaded: /usr/local/lib/libfuse.2.dylib
Referenced from: /usr/local/bin/sshfs
Reason: image not found
Trace/BPT trap

Here is my /usr/local/lib:

$ ls -l /usr/local/lib/
total 1392
drwxr-xr-x 84 theschles access_bpf 2856 Sep 11 08:56 codecs
lrwxr-xr-x 1 root wheel 26 Dec 5 11:17 libosxfuse.2.7.3.dylib -> libosxfuse_i64.2.7.3.dylib
lrwxr-xr-x 1 root wheel 22 Dec 5 11:17 libosxfuse.2.dylib -> libosxfuse_i64.2.dylib
lrwxr-xr-x 1 root wheel 20 Dec 5 11:17 libosxfuse.dylib -> libosxfuse_i64.dylib
lrwxr-xr-x 1 root wheel 17 Dec 5 11:17 libosxfuse.la -> libosxfuse_i64.la
lrwxr-xr-x 1 root wheel 22 Dec 5 11:17 libosxfuse_i32.2.7.3.dylib -> libosxfuse_i32.2.dylib
-rwxr-xr-x 1 root wheel 334600 Sep 7 14:00 libosxfuse_i32.2.dylib
lrwxr-xr-x 1 root wheel 22 Dec 5 11:17 libosxfuse_i32.dylib -> libosxfuse_i32.2.dylib
-rwxr-xr-x 1 root wheel 990 Sep 7 14:00 libosxfuse_i32.la
lrwxr-xr-x 1 root wheel 22 Dec 5 11:17 libosxfuse_i64.2.7.3.dylib -> libosxfuse_i64.2.dylib
-rwxr-xr-x 1 root wheel 334632 Sep 7 14:00 libosxfuse_i64.2.dylib
lrwxr-xr-x 1 root wheel 22 Dec 5 11:17 libosxfuse_i64.dylib -> libosxfuse_i64.2.dylib
-rwxr-xr-x 1 root wheel 990 Sep 7 14:00 libosxfuse_i64.la
drwxr-xr-x 4 root wheel 136 Dec 5 11:17 pkgconfig

I tried symlinking libosxfuse.2.dylib as libfuse.2.dylib, but then whenever I mount using sshfs, the mounted directory (/Volumes/blah) disappears. I can see it with "ls", but "ls -l" complains the file or directory does not exist.

Help?!

Kernel panic

It has hapened a couple of times: each time I mount my external NTFS HDD on Mountain Lion, after working with it, when I try to unmount it, the computer crashes with a kernel panic. I can provide my last kernel panic error report if needed.

Update: Sorry, I didn't realise that a previous issue existed related with the error.

OSXFUSE 2.3.4 has no ppc compiled in

I'm currently linking iTunesFS without PowerPC support, because OSXFUSE 2.3.4 misses ppc from the list of architectures (although it's announced as a feature on the website):

znek@zoidberg:()$ lipo -info /Library/Frameworks/OSXFUSE.framework/OSXFUSE
Architectures in the fat file: /Library/Frameworks/OSXFUSE.framework/OSXFUSE are: i386 x86_64
znek@zoidberg:(
)$ otool -L /Library/Frameworks/OSXFUSE.framework/OSXFUSE
[...]
/usr/local/lib/libosxfuse_i64.2.dylib (compatibility version 10.0.0, current version 10.3.0)

znek@zoidberg:(~)$ lipo -info /usr/local/lib/libosxfuse_i64.2.dylib
Architectures in the fat file: /usr/local/lib/libosxfuse_i64.2.dylib are: i386 x86_64

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.