Import of external pool causes kernel panic Mojave/O3X 1.9.2

All your general support questions for OpenZFS on OS X.

Re: Import of external pool causes kernel panic Mojave/O3X 1

Postby lundman » Wed Jan 06, 2021 4:39 pm

You can sure.
User avatar
lundman
 
Posts: 1030
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Import of external pool causes kernel panic Mojave/O3X 1

Postby Sharko » Fri Jun 04, 2021 8:09 pm

Well, there is definitely some kind of bug or race condition in O3X 1.9.2 when you start deleting snapshots. I was trying to clear out some space on another one of my external spinner disks this evening, and I have triggered the same 'crashes every time I import this pool' behavior. This version of OpenZFSOnOSX definitely does not like it when you start deleting the oldest snapshots rapidly. Here is the panic report, very similar to the one that started this thread.

Code: Select all
Anonymous UUID:       44F79C15-D3FC-74F8-04A1-7F6F7A246E32

Fri Jun  4 20:38:10 2021

*** Panic Report ***
panic(cpu 2 caller 0xffffff7f9180022e): zfs: allocating allocated segment(offset=1662722629632 size=12288) of (offset=1662714757120 size=13889536)

Backtrace (CPU 2), Frame : Return Address
0xffffffa41d5535a0 : 0xffffff8010bad5cd mach_kernel : _handle_debugger_trap + 0x47d
0xffffffa41d5535f0 : 0xffffff8010ce9245 mach_kernel : _kdp_i386_trap + 0x155
0xffffffa41d553630 : 0xffffff8010cda97a mach_kernel : _kernel_trap + 0x50a
0xffffffa41d5536a0 : 0xffffff8010b5a9d0 mach_kernel : _return_from_trap + 0xe0
0xffffffa41d5536c0 : 0xffffff8010bacfe7 mach_kernel : _panic_trap_to_debugger + 0x197
0xffffffa41d5537e0 : 0xffffff8010bace33 mach_kernel : _panic + 0x63
0xffffffa41d553850 : 0xffffff7f9180022e net.lundman.spl : _vcmn_err + 0x8e
0xffffffa41d553970 : 0xffffff7f92acc03a net.lundman.zfs : _zfs_panic_recover + 0x6a
0xffffffa41d5539d0 : 0xffffff7f92a81955 net.lundman.zfs : _range_tree_add_impl + 0x1fc
0xffffffa41d553a70 : 0xffffff7f92a99d0a net.lundman.zfs : _space_map_load_callback + 0x60
0xffffffa41d553a90 : 0xffffff7f92a99771 net.lundman.zfs : _space_map_iterate + 0x26d
0xffffffa41d553b30 : 0xffffff7f92a99c87 net.lundman.zfs : _space_map_load_length + 0x85
0xffffffa41d553b80 : 0xffffff7f92a7bd72 net.lundman.zfs : _metaslab_load + 0x8e
0xffffffa41d553bb0 : 0xffffff7f92a80301 net.lundman.zfs : _metaslab_activate + 0xde
0xffffffa41d553bf0 : 0xffffff7f92a7df34 net.lundman.zfs : _metaslab_alloc_dva + 0x786
0xffffffa41d553d00 : 0xffffff7f92a7f442 net.lundman.zfs : _metaslab_alloc + 0xa2
0xffffffa41d553d90 : 0xffffff7f92affcb5 net.lundman.zfs : _zio_dva_allocate + 0xf5
0xffffffa41d553eb0 : 0xffffff7f92afcdcf net.lundman.zfs : ___zio_execute + 0xf3
0xffffffa41d553f10 : 0xffffff7f9180bf6b net.lundman.spl : _taskq_thread + 0x1b9
0xffffffa41d553fa0 : 0xffffff8010b5a0ce mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         net.lundman.spl(1.9.2)[EAA28CC7-9F6A-3C7B-BB90-691EBDC3A258]@0xffffff7f917fe000->0xffffff7f929f2fff
         net.lundman.zfs(1.9.2)[4C34A112-866A-3499-B5EA-4DF7CDF1FFF4]@0xffffff7f92a23000->0xffffff7f92ddcfff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[70102E37-572B-3B1B-BAB6-B4BEB7339AFD]@0xffffff7f929f3000
            dependency: net.lundman.spl(1.9.2)[EAA28CC7-9F6A-3C7B-BB90-691EBDC3A258]@0xffffff7f917fe000

BSD process name corresponding to current thread: kernel_task
Boot args: keepsyms=y cwae=2

Mac OS version:
18G9216

Kernel version:
Darwin Kernel Version 18.7.0: Mon May  3 20:41:19 PDT 2021; root:xnu-4903.278.68~1/RELEASE_X86_64
Kernel UUID: 49D0FC60-2676-3913-8901-2E4C5603365D
Kernel slide:     0x0000000010800000
Kernel text base: 0xffffff8010a00000
__HIB  text base: 0xffffff8010900000
System model name: MacPro5,1 (Mac-F221BEC8)

System uptime in nanoseconds: 3295860942630
last loaded kext at 3272912909561: com.apple.driver.AppleXsanScheme   3 (addr 0xffffff7f971fb000, size 32768)
last unloaded kext at 434639640506: com.apple.filesystems.msdosfs   1.10 (addr 0xffffff7f971f4000, size 61440)
loaded kexts:
org.dungeon.driver.SATSMARTDriver   0.8.1
com.Cycling74.driver.Soundflower   1.6.7
net.lundman.zfs   1.9.2
net.lundman.spl   1.9.2
at.obdev.nke.LittleSnitch   5474
com.apple.driver.AppleBluetoothMultitouch   96
com.apple.fileutil   20.036.15
com.apple.driver.AppleUpstreamUserClient   3.6.5
com.apple.driver.AppleMCCSControl   1.5.9
com.apple.kext.AMDFramebuffer   2.1.1
com.apple.filesystems.autofs   3.0
com.apple.driver.AGPM   110.25.11
com.apple.driver.AppleMikeyHIDDriver   131
com.apple.driver.AppleHDA   282.54
com.apple.driver.AppleMikeyDriver   282.54
com.apple.kext.AMDRadeonX4000   2.1.1
com.apple.driver.AppleGraphicsDevicePolicy   3.50.16
com.apple.AGDCPluginDisplayMetrics   3.50.16
com.apple.driver.AppleHV   1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.kext.AMD9500Controller   2.1.1
com.apple.iokit.IOBluetoothSerialManager   6.0.14d12
com.apple.driver.AppleGFXHDA   100.1.414
com.apple.driver.pmtelemetry   1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleLPC   3.1
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AudioAUUC   1.70
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.driver.AppleUSBDisplays   380
com.apple.filesystems.apfs   945.275.10
com.apple.driver.AppleVirtIO   2.1.3
com.apple.filesystems.hfs.kext   407.200.4
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   408.250.3
com.apple.driver.AppleFWOHCI   5.6.0
com.apple.driver.Intel82574LEthernet   2.7.2
com.apple.driver.AirPort.BrcmNIC   1400.1.1
com.apple.private.KextAudit   1.0
com.apple.driver.AppleAHCIPort   329.260.5
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleACPIButtons   6.1
com.apple.driver.AppleSMBIOS   2.1
com.apple.driver.AppleACPIEC   6.1
com.apple.driver.AppleAPIC   1.7
com.apple.driver.AppleIntelCPUPowerManagementClient   220.0.0
com.apple.nke.applicationfirewall   202
com.apple.security.TMSafetyNet   8
com.apple.driver.AppleIntelCPUPowerManagement   220.0.0
com.apple.driver.AppleXsanScheme   3
com.apple.driver.usb.cdc   5.0.0
com.apple.driver.IOBluetoothHIDDriver   6.0.14d12
com.apple.driver.AppleMultitouchDriver   2450.1
com.apple.driver.AppleInputDeviceSupport   2440.4
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   282.54
com.apple.kext.OSvKernDSPLib   528
com.apple.kext.AMDRadeonX4000HWLibs   1.0
com.apple.iokit.IOAcceleratorFamily2   404.15
com.apple.kext.AMDRadeonX4000HWServices   2.1.1
com.apple.driver.AppleGraphicsControl   3.50.16
com.apple.iokit.IOAVBFamily   760.6
com.apple.plugin.IOgPTPPlugin   740.2
com.apple.iokit.IOEthernetAVBController   1.1.0
com.apple.iokit.IOSkywalkFamily   1
com.apple.driver.AppleSSE   1.0
com.apple.iokit.IOSurface   255.6.1
com.apple.driver.AppleSMBusController   1.0.18d1
com.apple.driver.AppleHDAController   282.54
com.apple.iokit.IOHDAFamily   282.54
com.apple.kext.AMDSupport   2.1.1
com.apple.iokit.IONDRVSupport   530.51
com.apple.iokit.IOFireWireIP   2.3.0
com.apple.driver.AppleSMBusPCI   1.0.14d1
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.IOPlatformPluginFamily   6.0.0d8
com.apple.AppleGPUWrangler   3.50.16
com.apple.AppleGraphicsDeviceControl   3.50.16
com.apple.iokit.IOGraphicsFamily   530.68
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.driver.AppleHIDKeyboard   208
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   6.0.14d12
com.apple.iokit.IOBluetoothHostControllerUSBTransport   6.0.14d12
com.apple.iokit.IOBluetoothHostControllerTransport   6.0.14d12
com.apple.iokit.IOBluetoothFamily   6.0.14d12
com.apple.driver.AppleUSBAudio   315.6
com.apple.driver.usb.IOUSBHostHIDDevice   1.2
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.driver.usb.AppleUSBHub   1.2
com.apple.iokit.IOAHCIBlockStorage   301.270.1
com.apple.iokit.IOSerialFamily   11
com.apple.filesystems.hfs.encodings.kext   1
com.apple.iokit.IOSCSIMultimediaCommandsDevice   408.250.3
com.apple.iokit.IOBDStorageFamily   1.8
com.apple.iokit.IODVDStorageFamily   1.8
com.apple.iokit.IOCDStorageFamily   1.8
com.apple.iokit.IOAHCISerialATAPI   267.50.1
com.apple.iokit.IOFireWireFamily   4.7.3
com.apple.iokit.IO80211Family   1200.12.2
com.apple.driver.mDNSOffloadUserClient   1.0.1b8
com.apple.driver.corecapture   1.0.4
com.apple.driver.usb.AppleUSBEHCIPCI   1.2
com.apple.driver.usb.AppleUSBUHCIPCI   1.2
com.apple.driver.usb.AppleUSBUHCI   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.iokit.IOAHCIFamily   288
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOUSBFamily   900.4.2
com.apple.driver.AppleUSBHostMergeProperties   1.2
com.apple.driver.AppleEFINVRAM   2.1
com.apple.driver.AppleEFIRuntime   2.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.security.quarantine   3
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.DiskImages   493.0.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage   1.0
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleUSBTDM   456.260.3
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.IOUSBMassStorageDriver   145.200.2
com.apple.iokit.IOSCSIBlockCommandsDevice   408.250.3
com.apple.iokit.IOSCSIArchitectureModelFamily   408.250.3
com.apple.iokit.IOStorageFamily   2.1
com.apple.kext.CoreTrust   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   47
com.apple.iokit.IOTimeSyncFamily   740.2
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.Libm   1
com.apple.kec.corecrypto   1.0

EOF
Model: MacPro5,1, BootROM 144.0.0.0.0, 6 processors, 6-Core Intel Xeon, 3.46 GHz, 32 GB, SMC 1.39f11
Graphics: Radeon RX 560, Radeon RX 560, spdisplays_pcie_device, 4 GB
Memory Module: DIMM 1, 8 GB, DDR3 ECC, 1333 MHz, 0x85F7, 0x463732314755363547393333334700520000
Memory Module: DIMM 2, 8 GB, DDR3 ECC, 1333 MHz, 0x85F7, 0x463732314755363547393333334700520000
Memory Module: DIMM 3, 8 GB, DDR3 ECC, 1333 MHz, 0x85F7, 0x463732314755363547393333334700520000
Memory Module: DIMM 4, 8 GB, DDR3 ECC, 1333 MHz, 0x80CE, 0x4D33393342314B37304448302D5948392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.61.3 AirPortDriverBrcmNIC-1305.12)
Bluetooth: Version 6.0.14d12, 3 services, 27 devices, 1 incoming serial ports
Network Service: Ethernet 1, Ethernet, en0
Network Service: Wi-Fi, AirPort, en2
PCI Card: Radeon RX 560, Display Controller, Slot-1
PCI Card: pci1b21,612, AHCI Controller, Slot-2
PCI Card: pci1002,aae0, Audio Device, Slot-1
PCI Card: pci1b21,625, AHCI Controller, Slot-4
PCI Card: PXS3, USB eXtensible Host Controller, Slot-3
Serial ATA Device: HL-DT-ST DVD-RW GH61N
Serial ATA Device: SPCC Solid State Disk, 120.03 GB
Serial ATA Device: SanDisk SDSSDH32000G, 2 TB
Serial ATA Device: Micron_5100_MTFDDAK960TCB, 960.2 GB
Serial ATA Device: Micron_5100_MTFDDAK960TCB, 960.2 GB
USB Device: USB Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Bus
USB Device: USB Bus
USB Device: Back-UPS BR1300G FW:863.L2 .D USB FW:L2
USB Device: USB Bus
USB Device: USB Bus
USB Device: USB Bus
USB Device: USB 2.0 Bus
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: Hub
USB Device: Apple LED Cinema Display
USB Device: Display iSight
USB Device: Display Audio
USB Device: USB 3.0 Bus
FireWire Device: built-in_hub, Up to 800 Mb/sec
Thunderbolt Bus:


I guess I better update to 1.9.4 as a minimum, and start testing 2.01 on my other box.
Sharko
 
Posts: 146
Joined: Thu May 12, 2016 12:19 pm

Previous

Return to General Help

Who is online

Users browsing this forum: No registered users and 5 guests

cron