fabioz23 / maczfs

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

Kernel Panic on user login on Mavericks #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Clean install of Mavericks

2. Install MacZFS using MacZFS-74.3.1-Mavericks.pkg

3. Logged in as root:
    zpool create -o ashift=12 SSD /dev/disk0s5
    zfs set atime=off SSD
    zfs set compression=lzjb SSD
    zfs set mountpoint=/SSD SSD
    zfs create -o mountpoint=/Users/larstobi SSD/larstobi
    chown larstobi:staff /Users/larstobi

6. Log out of root and log into larstobi -> Kernel panic

What is the expected output? What do you see instead?

I expect to log into larstobi without error or kernel panic.

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

- MacZFS-74.3.1-Mavericks.pkg
- OS X 10.9 Mavericks
- Macbook Pro 15" Late 2011 with OCZ Vertex 3 SSD.

Please provide any additional information below.

I also tried this with my old SSD spool that worked in Lion, but same kernel 
panic.

Original issue reported on code.google.com by lars.tob...@gmail.com on 23 Nov 2013 at 11:33

GoogleCodeExporter commented 9 years ago
Anonymous UUID:       FDC147B0-1005-8E42-76A9-E5CA6DE5BF41

Sat Nov 23 12:19:35 2013
panic(cpu 2 caller 0xffffff80094dc19e): Kernel trap at 0xffffff80095fb054, type 
14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x00000000000000d0, CR3: 0x0000000058064010, CR4: 
0x00000000000606e0
RAX: 0x0000000000000000, RBX: 0x0000000000000000, RCX: 0xffffff8009ae2b20, RDX: 
0xffffff802f277a50
RSP: 0xffffff81dac3bc20, RBP: 0xffffff81dac3bc20, RSI: 0x0000000000000002, RDI: 
0x0000000000000000
R8:  0xffffff81da37c1e8, R9:  0xffffff81dac3bce4, R10: 0x0000000000000000, R11: 
0x00000000000000d8
R12: 0xffffff802f277b40, R13: 0xffffff802c6d6bf0, R14: 0xffffff81dac3bd98, R15: 
0xffffff802d502218
RFL: 0x0000000000010246, RIP: 0xffffff80095fb054, CS:  0x0000000000000008, SS:  
0x0000000000000010
Fault CR2: 0x00000000000000d0, Error code: 0x0000000000000000, Fault CPU: 0x2

Backtrace (CPU 2), Frame : Return Address
0xffffff81dac3b8b0 : 0xffffff8009422f69 
0xffffff81dac3b930 : 0xffffff80094dc19e 
0xffffff81dac3bb00 : 0xffffff80094f3606 
0xffffff81dac3bb20 : 0xffffff80095fb054 
0xffffff81dac3bc20 : 0xffffff80095e77f4 
0xffffff81dac3bf50 : 0xffffff800983de23 
0xffffff81dac3bfb0 : 0xffffff80094f3e06 

BSD process name corresponding to current thread: xpcd

Mac OS version:
13A603

Kernel version:
Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; 
root:xnu-2422.1.72~6/RELEASE_X86_64
Kernel UUID: 1D9369E3-D0A5-31B6-8D16-BFFBBB390393
Kernel slide:     0x0000000009200000
Kernel text base: 0xffffff8009400000
System model name: MacBookPro8,2 (Mac-94245A3940C91C80)

System uptime in nanoseconds: 1032699589341
last loaded kext at 244752990640: com.apple.filesystems.msdosfs 1.9 (addr 
0xffffff7f8bad0000, size 65536)
last unloaded kext at 346834393014: com.apple.filesystems.msdosfs   1.9 (addr 
0xffffff7f8bad0000, size 57344)
loaded kexts:
org.maczfs.zfs.fs   74.3.1
org.virtualbox.kext.VBoxUSB 4.2.18
org.virtualbox.kext.VBoxDrv 4.2.18
com.apple.driver.AppleHWSensor  1.9.5d0
com.apple.driver.AudioAUUC  1.60
com.apple.filesystems.autofs    3.0
com.apple.iokit.IOBluetoothSerialManager    4.2.0f6
com.apple.driver.AGPM   100.14.11
com.apple.driver.AppleMikeyHIDDriver    124
com.apple.driver.AppleHDA   2.5.2fc2
com.apple.driver.AppleUpstreamUserClient    3.5.13
com.apple.kext.AMDFramebuffer   1.1.4
com.apple.iokit.IOUserEthernet  1.0.0d1
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.0f6
com.apple.AMDRadeonX3000    1.1.4
com.apple.driver.AppleIntelHD3000Graphics   8.1.8
com.apple.driver.AppleMikeyDriver   2.5.2fc2
com.apple.driver.AppleThunderboltIP 1.0.10
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin    1.0.0
com.apple.driver.AppleSMCPDRC   1.0.0
com.apple.kext.AMD6000Controller    1.1.4
com.apple.driver.AppleIntelSNBGraphicsFB    8.1.8
com.apple.driver.AppleSMCLMU    2.0.4d1
com.apple.driver.AppleHWAccess  1
com.apple.driver.AppleMuxControl    3.4.12
com.apple.driver.AppleLPC   1.7.0
com.apple.driver.AppleMCCSControl   1.1.12
com.apple.driver.SMCMotionSensor    3.0.4d1
com.apple.driver.AppleUSBTCButtons  240.2
com.apple.driver.AppleUSBTCKeyboard 240.2
com.apple.driver.AppleIRController  325.7
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 35
com.apple.driver.XsanFilter 404
com.apple.driver.AppleUSBHub    650.4.4
com.apple.iokit.IOAHCIBlockStorage  2.4.0
com.apple.driver.AppleSDXC  1.4.0
com.apple.iokit.AppleBCM5701Ethernet    3.6.9b9
com.apple.driver.AirPort.Brcm4331   700.20.22
com.apple.driver.AppleFWOHCI    4.9.9
com.apple.driver.AppleAHCIPort  2.9.5
com.apple.driver.AppleUSBEHCI   650.4.1
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleACPIButtons   2.0
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET  1.8
com.apple.driver.AppleSMBIOS    2.0
com.apple.driver.AppleACPIEC    2.0
com.apple.driver.AppleAPIC  1.7
com.apple.driver.AppleIntelCPUPowerManagementClient 216.0.0
com.apple.nke.applicationfirewall   153
com.apple.security.quarantine   3
com.apple.driver.AppleIntelCPUPowerManagement   216.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOSCSIArchitectureModelFamily   3.6.0
com.apple.iokit.IOSerialFamily  10.0.7
com.apple.driver.DspFuncLib 2.5.2fc2
com.apple.vecLib.kext   1.0.0
com.apple.iokit.IOAudioFamily   1.9.4fc11
com.apple.kext.OSvKernDSPLib    1.14
com.apple.iokit.IOSurface   91
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.2.0f6
com.apple.iokit.IOAcceleratorFamily 98.7.1
com.apple.iokit.IOBluetoothFamily   4.2.0f6
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.iokit.IOFireWireIP    2.2.5
com.apple.driver.AppleHDAController 2.5.2fc2
com.apple.iokit.IOHDAFamily 2.5.2fc2
com.apple.kext.AMDSupport   1.1.4
com.apple.AppleGraphicsDeviceControl    3.4.12
com.apple.driver.AppleSMBusPCI  1.0.12d1
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.iokit.IONDRVSupport   2.3.6
com.apple.driver.AppleGraphicsControl   3.4.12
com.apple.driver.IOPlatformPluginFamily 5.5.1d27
com.apple.driver.AppleSMBusController   1.0.11d1
com.apple.iokit.IOGraphicsFamily    2.3.6
com.apple.driver.AppleSMC   3.1.6d1
com.apple.driver.AppleThunderboltDPInAdapter    2.5.0
com.apple.driver.AppleThunderboltDPAdapterFamily    2.5.0
com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.0
com.apple.driver.AppleUSBMultitouch 240.6
com.apple.iokit.IOUSBHIDDriver  650.4.4
com.apple.driver.AppleUSBMergeNub   650.4.0
com.apple.driver.AppleUSBComposite  650.4.0
com.apple.driver.AppleThunderboltNHI    1.9.2
com.apple.iokit.IOThunderboltFamily 2.8.5
com.apple.iokit.IOUSBUserClient 650.4.4
com.apple.iokit.IOEthernetAVBController 1.0.3b3
com.apple.driver.mDNSOffloadUserClient  1.0.1b4
com.apple.iokit.IO80211Family   600.34
com.apple.iokit.IONetworkingFamily  3.2
com.apple.iokit.IOFireWireFamily    4.5.5
com.apple.iokit.IOAHCIFamily    2.6.0
com.apple.iokit.IOUSBFamily 650.4.4
com.apple.driver.AppleEFINVRAM  2.0
com.apple.iokit.IOHIDFamily 2.0.0
com.apple.driver.AppleEFIRuntime    2.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox  278.10
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet  7
com.apple.driver.AppleKeyStore  2
com.apple.driver.DiskImages 371.1
com.apple.iokit.IOStorageFamily 1.9
com.apple.iokit.IOReportFamily  21
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleACPIPlatform  2.0
com.apple.iokit.IOPCIFamily 2.8
com.apple.iokit.IOACPIFamily    1.4
com.apple.kec.pthread   1
com.apple.kec.corecrypto    1.0
Model: MacBookPro8,2, BootROM MBP81.0047.B27, 4 processors, Intel Core i7, 2.5 
GHz, 16 GB, SMC 1.69f4
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 512 MB
Graphics: AMD Radeon HD 6770M, AMD Radeon HD 6770M, PCIe, 1024 MB
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x029E, 
0x434D5358384758334D314131363030433120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x029E, 
0x434D5358384758334D314131363030433120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xD6), Broadcom 
BCM43xx 1.0 (5.106.98.100.22)
Bluetooth: Version 4.2.0f6 12982, 3 services, 23 devices, 1 incoming serial 
ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: OCZ-VERTEX3, 240,06 GB
Serial ATA Device: APPLE HDD HTS727575A9E362, 750,16 GB
USB Device: Hub
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
USB Device: FaceTime HD Camera (Built-in)
USB Device: Hub
USB Device: IR Receiver
Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1

Original comment by lars.tob...@gmail.com on 23 Nov 2013 at 11:33

GoogleCodeExporter commented 9 years ago
Thanks for the report.  I had a first look at your panic report: The crash 
happens *outside* the MacZFS code.  While this does not exclude that it is 
MacZFS' fault, it means that some other part of the kernel crashes.  Finding 
out if and how this relates to specific actions (not) taken by MacZFS will be 
very difficult.

Is the partition "disk0s5" on the internal disk? (I assume so, but just to 
check.)

What is xpcd (the process that crashed) supposed to do?  I don't know that one.

Can you re-try with MacZFS-74.3.2?  It may show the same behavior, but I'd like 
to know for sure.  Note that running the userland tools of 74.3.2 against any 
older kext *will* panic.  You must reboot after installing MacZFS-74.3.2 to 
make sure the loaded kext gets replaced.

Thanks & sorry for the troubles

Original comment by googlelogin@bjoern-kahl.de on 29 Nov 2013 at 10:16

GoogleCodeExporter commented 9 years ago
Yes, it is on the internal disk. I don't know what the xpcd process is doing.

I tried with zfs-osx and that works, though it was much slower than maczfs on 
lion and mountain lion, and quite unstable with a couple of panics a day.

I have now reverted back to Mountain Lion and can't try the other version. 

Original comment by lars.tob...@gmail.com on 30 Nov 2013 at 6:07

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 120, fixed with commit 58854f77.
Release target: 74.3.3 (February / March)

Original comment by googlelogin@bjoern-kahl.de on 15 Feb 2014 at 12:10