Kernel Panic on mounting encrypted dataset

All your general support questions for OpenZFS on OS X.

Kernel Panic on mounting encrypted dataset

Postby The Ghost of Mikey » Wed Jul 03, 2019 12:33 pm

Help,

dataset was initially created on linux, and then send via zfs send|zfs receive to my hackintosh. Features encryption and bookmark_v2 on both systems enabled. On my (warning) hackintosh, loading the key works fine, but on mount, instant and reproducible kernel panic. Can someone help?

Code: Select all
Anonymous UUID:       5B20ED53-99CA-0811-5E59-2F8E327A54A7

Wed Jul  3 22:26:41 2019

*** Panic Report ***
panic(cpu 0 caller 0xffffff7fa43a89ea): VERIFY3( 0 == sa_buf_hold(zfsvfs->z_os, obj, ((void*)0), &db) ) failed (0 == 5)

Backtrace (CPU 0), Frame : Return Address
0xffffff8255c7b5b0 : 0xffffff802266c1c6
0xffffff8255c7b600 : 0xffffff8022795274
0xffffff8255c7b640 : 0xffffff8022787544
0xffffff8255c7b6b0 : 0xffffff802261e1e0
0xffffff8255c7b6d0 : 0xffffff802266bc3c
0xffffff8255c7b800 : 0xffffff802266b9fc
0xffffff8255c7b860 : 0xffffff7fa43a89ea
0xffffff8255c7b990 : 0xffffff7fa439ad43
0xffffff8255c7ba60 : 0xffffff7fa43a095d
0xffffff8255c7baa0 : 0xffffff80228ce042
0xffffff8255c7bb20 : 0xffffff802289f77c
0xffffff8255c7bb80 : 0xffffff80228b4d6d
0xffffff8255c7bd80 : 0xffffff80228b5035
0xffffff8255c7bf40 : 0xffffff8022c03968
0xffffff8255c7bfa0 : 0xffffff802261e9c6
      Kernel Extensions in backtrace:
         net.lundman.zfs(1.9)[E6B16E30-8B6A-3EA9-A4A8-4D310C6BCC07]@0xffffff7fa42dc000->0xffffff7fa45fcfff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[F27A8A2A-6662-3608-83BD-415037509E01]@0xffffff7fa3046000
            dependency: net.lundman.spl(1.9.0)[4878B9BA-6271-3E6E-A8E9-7E9BEB641414]@0xffffff7fa30e7000

BSD process name corresponding to current thread: fseventsd
Boot args: dart=0 nv_disable=1  kext-dev-mode=1 rootless=0

Mac OS version:
17G65

Kernel version:
Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64
Kernel UUID: 1AE5ACFD-3B6F-3D74-AD52-31F1430DBC6F
Kernel slide:     0x0000000022400000
Kernel text base: 0xffffff8022600000
__HIB  text base: 0xffffff8022500000
System model name: iMac14,1 (Mac-031B6874CF7F642A)

System uptime in nanoseconds: 454477769483
last loaded kext at 122465745834: com.apple.driver.AppleXsanScheme   3 (addr 0xffffff7fa6771000, size 32768)
last unloaded kext at 61579381021: com.apple.driver.AppleXsanScheme   3 (addr 0xffffff7fa5be2000, size 40960)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp   6.0.8
org.virtualbox.kext.VBoxNetFlt   6.0.8
org.virtualbox.kext.VBoxUSB   6.0.8
org.virtualbox.kext.VBoxDrv   6.0.8
com.squirrels.driver.AirParrotSpeakers   1.8
com.Cycling74.driver.Soundflower   1.6.6
com.squirrels.airparrot.framebuffer   6
net.lundman.zfs   1.9.0
net.lundman.spl   1.9.0
com.insanelymac.AtherosL1cEthernet   1.2.3
org.netkas.driver.FakeSMC   1765
com.rehabman.driver.USBInjectAll   0.6.2
com.apple.filesystems.msdosfs   1.10
com.apple.driver.AppleGraphicsDevicePolicy   3.20.13
com.apple.AGDCPluginDisplayMetrics   3.20.13
com.apple.driver.AppleHV   1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.iokit.IOBluetoothSerialManager   6.0.7f10
com.apple.filesystems.autofs   3.0
com.apple.driver.pmtelemetry   1
com.apple.driver.AppleUpstreamUserClient   3.6.5
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleMCCSControl   1.5.5
com.apple.driver.AppleIntelHD4000Graphics   10.3.6
com.apple.driver.AppleTyMCEDriver   1.0.3d2
com.apple.driver.eficheck   1
com.apple.driver.Apple16X50ACPI   3.2
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.driver.AppleLPC   3.1
com.apple.driver.AppleIntelFramebufferCapri   10.3.6
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AudioAUUC   1.70
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.AppleFIVRDriver   4.1.0
com.apple.filesystems.hfs.kext   407.50.6
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.BootCache   40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0
com.apple.AppleSystemPolicy   1.0
com.apple.iokit.SCSITaskUserClient   404.30.2
com.apple.filesystems.apfs   748.51.0
com.apple.driver.AppleAHCIPort   329.50.2
com.apple.driver.AppleACPIButtons   6.1
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleSMBIOS   2.1
com.apple.driver.AppleAPIC   1.7
com.apple.driver.AppleIntelCPUPowerManagementClient   220.50.1
com.apple.nke.applicationfirewall   183
com.apple.security.TMSafetyNet   8
com.apple.security.quarantine   3
com.apple.driver.AppleIntelCPUPowerManagement   220.50.1
com.apple.driver.AppleXsanScheme   3
com.apple.iokit.IOUSBUserClient   900.4.1
com.apple.driver.AppleGraphicsControl   3.20.13
com.apple.iokit.IOAVBFamily   680.2
com.apple.plugin.IOgPTPPlugin   680.15
com.apple.iokit.IOEthernetAVBController   1.1.0
com.apple.driver.AppleSSE   1.0
com.apple.kext.triggers   1.0
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.AppleGPUWrangler   3.20.13
com.apple.iokit.IONDRVSupport   519.20
com.apple.driver.AppleHDAController   281.52
com.apple.iokit.IOHDAFamily   281.52
com.apple.driver.AppleSMBusPCI   1.0.14d1
com.apple.driver.Apple16X50Serial   3.2
com.apple.iokit.IOSerialFamily   11
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.iokit.IOAcceleratorFamily2   378.26
com.apple.iokit.IOSurface   211.15
com.apple.AppleGraphicsDeviceControl   3.20.13
com.apple.iokit.IOGraphicsFamily   519.20
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.IOPlatformPluginFamily   6.0.0d8
com.apple.driver.AppleHIDKeyboard   205
com.apple.driver.usb.IOUSBHostHIDDevice   1.2
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   6.0.7f10
com.apple.iokit.IOBluetoothHostControllerUSBTransport   6.0.7f10
com.apple.iokit.IOBluetoothHostControllerTransport   6.0.7f10
com.apple.iokit.IOBluetoothFamily   6.0.7f10
com.apple.driver.AppleUSBAudio   312.6
com.apple.iokit.IOAudioFamily   206.5
com.apple.vecLib.kext   1.2.0
com.apple.driver.usb.networking   5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice   1.2
com.apple.filesystems.hfs.encodings.kext   1
com.apple.driver.usb.AppleUSBHub   1.2
com.apple.driver.AppleUSBMergeNub   900.4.1
com.apple.driver.AppleUSBHostMergeProperties   1.2
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOUSBFamily   900.4.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice   404.30.2
com.apple.iokit.IOBDStorageFamily   1.8
com.apple.iokit.IODVDStorageFamily   1.8
com.apple.iokit.IOCDStorageFamily   1.8
com.apple.iokit.IOAHCIBlockStorage   301.40.2
com.apple.iokit.IOAHCISerialATAPI   267.50.1
com.apple.driver.AppleEthernetAquantiaAqtion   1.0.55
com.apple.driver.mDNSOffloadUserClient   1.0.1b8
com.apple.iokit.IOAHCIFamily   288
com.apple.iokit.IONVMeFamily   2.1.0
com.apple.driver.usb.AppleUSBEHCIPCI   1.2
com.apple.driver.usb.AppleUSBEHCI   1.2
com.apple.driver.usb.AppleUSBXHCIPCI   1.2
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEFINVRAM   2.1
com.apple.driver.AppleEFIRuntime   2.1
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.DiskImages   480.60.1
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage   1.0
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleUSBTDM   439.70.3
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.IOUSBMassStorageDriver   140.70.2
com.apple.iokit.IOSCSIBlockCommandsDevice   404.30.2
com.apple.iokit.IOSCSIArchitectureModelFamily   404.30.2
com.apple.iokit.IOStorageFamily   2.1
com.apple.driver.AppleCredentialManager   1.0
com.apple.driver.KernelRelayHost   1
com.apple.iokit.IOUSBHostFamily   1.2
com.apple.driver.usb.AppleUSBCommon   1.0
com.apple.driver.AppleBusPowerController   1.0
com.apple.driver.AppleSEPManager   1.0.1
com.apple.driver.IOSlaveProcessor   1
com.apple.iokit.IOReportFamily   31
com.apple.iokit.IOTimeSyncFamily   680.15
com.apple.iokit.IONetworkingFamily   3.4
com.apple.driver.AppleACPIPlatform   6.1
com.apple.driver.AppleSMC   3.1.9
com.apple.iokit.IOPCIFamily   2.9
com.apple.iokit.IOACPIFamily   1.4
com.apple.kec.pthread   1
com.apple.kec.corecrypto   1.0
com.apple.kec.Libm   1

EOF
Model: iMac14,1, BootROM IM141.0123.B00, 4 processors, Intel Core i7, 3,43 GHz, 16 GB, SMC 2.14f24
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
Memory Module: BANK 0/DIMM1, 8 GB, DDR3, 1600 MHz, G Skill Intl, F3-1600C11-8GNT
Memory Module: BANK 1/DIMM1, 8 GB, DDR3, 1600 MHz, G Skill Intl, F3-1600C11-8GNT
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet 2, Ethernet, en3
Serial ATA Device: HL-DT-ST BD-RE  BH10LS30
Serial ATA Device: ST10000NM0016-1TT101, 10 TB
Serial ATA Device: HGST HDN728080ALE604, 8 TB
Serial ATA Device: ST8000VN0022-2EL112, 8 TB
Serial ATA Device: ST8000VX0022-2EJ112, 8 TB
Serial ATA Device: HGST HDN721010ALE604, 10 TB
USB Device: USB 3.0 Bus
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: Back-UPS RS 550G FW:857.L5 .I USB FW:L5
USB Device: USB2.0 Hub
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Keyboard Hub
USB Device: G400s Optical Gaming Mouse
USB Device: Apple Keyboard
USB Device: Mass Storage Device
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: BCM20702A0
USB Device: USB Headphone Set
Thunderbolt Bus:
The Ghost of Mikey
 
Posts: 17
Joined: Sat Mar 22, 2014 1:29 am

Re: Kernel Panic on mounting encrypted dataset

Postby lundman » Sun Jul 07, 2019 7:16 pm

Could you enable "keepsyms=1" in the nvram's boot-args? That way we get function numbers in the panic dump.

Most likely you are dying in "zfs_mknode()" in the line:
Code: Select all
        VERIFY0(sa_buf_hold(zfsvfs->z_os, obj, NULL, &db));
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Kernel Panic on mounting encrypted dataset

Postby The Ghost of Mikey » Sat Jul 13, 2019 11:47 am

Already destroyed the dataset and used an backup
The Ghost of Mikey
 
Posts: 17
Joined: Sat Mar 22, 2014 1:29 am


Return to General Help

Who is online

Users browsing this forum: Bing [Bot] and 24 guests

cron