Panic attempting to do zfs raw send (encrypted)

Developer discussions.

Panic attempting to do zfs raw send (encrypted)

Postby Sharko » Sun Sep 17, 2023 11:49 am

Hi, here is the command I tried to do:

Code: Select all
date ; zfs send -w -I MICRON/HOME@20230123_MontereyOneLibrary MICRON/HOME@20230908_Monterey_user_data | zfs receive EXO/ENCRYPTED/HOME_BACKUP ; date


Both MICRON/HOME and EXO/ENCRYPTED have native ZFS encryption turned on, and neither one had a key loaded at the time of the send. I got a panic and restart - any idea if the 2.1.7 rc addresses this issue?

I should add that I ran the MICRON zpool completely out of space, so perhaps that has something to do with the panic...

Thanks,

Kurt

Panic report:

Code: Select all
panic(cpu 6 caller 0xffffff7f9edd6c90): VERIFY3(size != 0) failed (0 != 0)

Panicked task 0xffffff86a0cda670: 1122 threads: pid 0: kernel_task
Backtrace (CPU 6), panicked thread: 0xffffff903f067540, Frame : Return Address
0xffffffad88c1b650 : 0xffffff8004c7befd mach_kernel : _handle_debugger_trap + 0x41d
0xffffffad88c1b6a0 : 0xffffff8004dde636 mach_kernel : _kdp_i386_trap + 0x116
0xffffffad88c1b6e0 : 0xffffff8004dcd9a3 mach_kernel : _kernel_trap + 0x4d3
0xffffffad88c1b730 : 0xffffff8004c1ba70 mach_kernel : _return_from_trap + 0xe0
0xffffffad88c1b750 : 0xffffff8004c7c2cd mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffad88c1b870 : 0xffffff8004c7ba86 mach_kernel : _panic_trap_to_debugger + 0x2b6
0xffffffad88c1b8d0 : 0xffffff8005514983 mach_kernel : _panic + 0x84
0xffffffad88c1b9c0 : 0xffffff7f9edd6c90 org.openzfsonosx.zfs : _cmn_err
0xffffffad88c1bb30 : 0xffffff7f9ee7a170 org.openzfsonosx.zfs : _range_tree_remove_impl + 0xa0
0xffffffad88c1bc00 : 0xffffff7f9ee734a1 org.openzfsonosx.zfs : _metaslab_alloc_dva + 0xd21
0xffffffad88c1bd10 : 0xffffff7f9ee747b9 org.openzfsonosx.zfs : _metaslab_alloc + 0xa9
0xffffffad88c1bdb0 : 0xffffff7f9ef069de org.openzfsonosx.zfs : _zio_dva_allocate + 0xee
0xffffffad88c1bed0 : 0xffffff7f9ef02bb4 org.openzfsonosx.zfs : _zio_execute + 0xa4
0xffffffad88c1bf10 : 0xffffff7f9ede6f2b org.openzfsonosx.zfs : _taskq_thread + 0x26b
0xffffffad88c1bfa0 : 0xffffff8004c1b19e mach_kernel : _call_continuation + 0x2e
      Kernel Extensions in backtrace:
         org.openzfsonosx.zfs(2.1.6)[31DC2C31-BEAB-3ED7-A2CF-8AA9F9D567E2]@0xffffff7f9edd5000->0xffffff7f9f135fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[779E258E-EB6E-3C87-9C2B-817DC2C8774D]@0xffffff800797c000->0xffffff8007992fff

Process name corresponding to current thread (0xffffff903f067540): kernel_task
Boot args: keepsyms=1 chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
21G531

Kernel version:
Darwin Kernel Version 21.6.0: Thu Mar  9 20:08:59 PST 2023; root:xnu-8020.240.18.700.8~1/RELEASE_X86_64
Kernel UUID: DFAC8C3A-BB7E-3E0A-9BC7-19B8D1B9A2A0
KernelCache slide: 0x0000000004a00000
KernelCache base:  0xffffff8004c00000
Kernel slide:      0x0000000004a10000
Kernel text base:  0xffffff8004c10000
__HIB  text base: 0xffffff8004b00000
System model name: MacPro5,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 1039523901375
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x000000f20873fa25
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x000000191e77dd4a 0x0000000000000000
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
  Zone map: 0xffffff8038c74000 - 0xffffffa038c74000
  . PGZ   : 0xffffff8038c74000 - 0xffffff803ac75000
  . VM    : 0xffffff803ac75000 - 0xffffff8507474000
  . RO    : 0xffffff8507474000 - 0xffffff86a0c74000
  . GEN0  : 0xffffff86a0c74000 - 0xffffff8b6d474000
  . GEN1  : 0xffffff8b6d474000 - 0xffffff9039c74000
  . GEN2  : 0xffffff9039c74000 - 0xffffff9506474000
  . GEN3  : 0xffffff9506474000 - 0xffffff99d2c74000
  . DATA  : 0xffffff99d2c74000 - 0xffffffa038c74000
  Metadata: 0xffffffbdcd968000 - 0xffffffbded968000
  Bitmaps : 0xffffffbded968000 - 0xffffffbdf3968000

last started kext at 27260240829: >driverkit.serial   6.0.0 (addr 0xffffff7f9deb5000, size 28672)
loaded kexts:
org.openzfsonosx.zfs   2.1.6
com.Cycling74.driver.Soundflower   1.6.7
as.vit9696.WhateverGreen   1.6.4
as.vit9696.Lilu   1.6.4
>!A!BMultitouch   100
>AGPM   129
@filesystems.autofs   3.0
>!AUpstreamUserClient   3.6.9
>!AMCCSControl   1.16
@kext.AMDFramebuffer   4.0.8
@kext.AMDRadeonServiceManager   4.0.8
>!AHDAHardwareConfigDriver   340.2
>!AMikeyHIDDriver   131
>!AHDA   340.2
>!AMikeyDriver   340.2
@kext.AMDRadeonX4000   4.0.8
@UVCService   1
>!AGFXHDA   140.3
>AudioAUUC   1.70
>!ALPC   3.1
>!AGraphicsDevicePolicy   6.5.7
@AGDCPluginDisplayMetrics   6.5.7
>pmtelemetry   1
|IOUserEthernet   1.0.1
>usb.!UUserHCI   1
>!AHV   1
>!ADiskImages2   126.141.2
>!AFWOHCI   5.7.5
>!A!IMCEReporter   115
>!AFIVRDriver   4.1.0
>ACPI_SMC_PlatformPlugin   1.0.0
>!A!ISlowAdaptiveClocking   4.0.0
@kext.AMD9500!C   4.0.8
>!UDisplays   380
>!AFileSystemDriver   3.0.1
@filesystems.tmpfs   1
@filesystems.lifs   1
@filesystems.apfs   1934.141.2
@filesystems.hfs.kext   583.100.10
@BootCache   40
@!AFSCompression.!AFSCompressionTypeZlib   1.0.0
@!AFSCompression.!AFSCompressionTypeDataless   1.0.0d1
|SCSITaskUserClient   456.140.3
>AirPort.BrcmNIC   1400.1.1
>!I82574LEthernet   2.7.2
@private.KextAudit   1.0
>!AAHCIPort   351.100.4
>!ARTC   2.0.1
>!AHPET   1.8
>!AACPIButtons   6.1
>!ASMBIOS   2.1
>!AACPIEC   6.1
>!AAPIC   1.7
>!A!ICPUPowerManagementClient   222.0.0
@!ASystemPolicy   2.0.0
@nke.applicationfirewall   402
|IOKitRegistryCompatibility   1
|EndpointSecurity   1
@Dont_Steal_Mac_OS_X   7.0.0
>!A!ICPUPowerManagement   222.0.0
@kec.!AEncryptedArchive   1
>driverkit.serial   6.0.0
|IOSerial!F   11
>IO!BHIDDriver   9.0.0
>!AMultitouchDriver   5460.1
>!AInputDeviceSupport   5460.1
|IOAVB!F   1040.6
@plugin.IOgPTPPlugin   1040.3
|IOEthernetAVB!C   1.1.0
@kext.triggers   1.0
>!AHIDKeyboard   228.2
@kext.AMDRadeonX4000HWLibs   1.0
>DspFuncLib   340.2
@kext.OSvKernDSPLib   529
|IOAccelerator!F2   462.9
>!UAudio   416.2
>!AAudioClockLibs   140.1
>!ASMBus!C   1.0.18d1
@kext.AMDRadeonX4000HWServices   4.0.8
>!AHDA!C   340.2
|IOHDA!F   340.2
>!ASMBusPCI   1.0.14d1
>!AGraphicsControl   6.5.7
|IOAudio!F   340.2
@vecLib.kext   1.2.0
|IO!BSerialManager   9.0.0
|IO!BPacketLogger   9.0.0
|IO!BHost!CUSBTransport   9.0.0
|IO!BHost!CUARTTransport   9.0.0
|IO!BHost!CTransport   9.0.0
>IO!BHost!CPCIeTransport   9.0.0
|CSR!BHost!CUSBTransport   9.0.0
|Broadcom!BHost!CUSBTransport   9.0.0
|Broadcom!B20703USBTransport   9.0.0
>!AIPAppender   1.0
|IONDRVSupport   597
|IOFireWire!F   4.8.3
>X86PlatformPlugin   1.0.0
>IOPlatformPluginLegacy   1.0.0
>IOPlatformPlugin!F   6.0.0d8
@!AGPUWrangler   6.5.7
|IOSlowAdaptiveClocking!F   1.0.0
@kext.AMDSupport   4.0.8
@!AGraphicsDeviceControl   6.5.7
|IOGraphics!F   597
>usb.IOUSBHostHIDDevice   1.2
>!AXsanScheme   3
|IOAHCIBlock!S   333.140.2
>usb.!UHub   1.2
>usb.cdc   5.0.0
>usb.networking   5.0.0
>usb.!UHostCompositeDevice   1.2
>!ABSDKextStarter   3
|IOSurface   302.14
@filesystems.hfs.encodings.kext   1
|IOSCSIMultimediaCommandsDevice   456.140.3
|IOBD!S!F   1.8
|IODVD!S!F   1.8
|IOCD!S!F   1.8
>usb.!UHostPacketFilter   1.0
|IOUSB!F   900.4.2
|IOAHCISerialATAPI   270
|IONVMe!F   2.1.0
>usb.!UXHCIPCI   1.2
>usb.!UXHCI   1.2
|IO80211!FLegacy   1200.12.2b1
|IOSkywalk!F   1.0
>mDNSOffloadUserClient   1.0.1b8
>corecapture   1.0.4
|IOAHCI!F   297
>usb.!UEHCIPCI   1.2
>usb.!UUHCIPCI   1.2
>usb.!UUHCI   1.2
>usb.!UEHCI   1.2
>!AEFINVRAM   2.1
>!AEFIRuntime   2.1
|IOSMBus!F   1.1
|IOHID!F   2.0.0
|IOTimeSync!F   1040.3
|IONetworking!F   3.4
>DiskImages   493.0.0
|IO!B!F   9.0.0
|IOReport!F   47
$quarantine   4
$sandbox   300.0
@kext.!AMatch   1.0.0d1
|CoreAnalytics!F   1
>!ASSE   1.0
>!AKeyStore   2
>!UTDM   533.120.2
|IOUSBMass!SDriver   210.120.3
|IOSCSIBlockCommandsDevice   456.140.3
|IO!S!F   2.1
|IOSCSIArchitectureModel!F   456.140.3
>!AMobileFileIntegrity   1.0.5
$!AImage4   4.2.0
@kext.CoreTrust   1
>!AFDEKeyStore   28.30
>!AEffaceable!S   1.0
>!ACredentialManager   1.0
>KernelRelayHost   1
|IOUSBHost!F   1.2
>!UHostMergeProperties   1.2
>usb.!UCommon   1.0
>!ABusPower!C   1.0
>!ASEPManager   1.0.1
>IOSlaveProcessor   1
>!AACPIPlatform   6.1
>!ASMC   3.1.9
|IOPCI!F   2.9
|IOACPI!F   1.4
>watchdog   1
@kec.pthread   1
@kec.Libm   1
@kec.corecrypto   12.0
Sharko
 
Posts: 230
Joined: Thu May 12, 2016 12:19 pm

Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 87 guests