2.2.0rc2 feedback

Developer discussions.

2.2.0rc2 feedback

Postby Jimbo » Sat Nov 11, 2023 4:42 am

Unfortunately it seems rather unusable for me.

Attempting to import a single SSD pool (USB3), zpool sees the pool, but attempting to import I get
Code: Select all
% sudo zpool import Empty
cannot import 'Empty': one or more devices is currently unavailable

And sure enough after this, the zpool no longer sees the pool and I need to unplug and plug again to see the pool.

I can however create a new encrypted pool on that same single disk. On a virtualized Ventura 13.5.2 guest this "works" but the VM then proceeds to lock up spinning 100% on all its allocated CPUs. On the Sonoma 17.1 host this results in an immediate panic and reboot. :( The host is an iMac Pro with a 10 core Xeon W.

I'll give it a spin on a 13" core i7 MBP.

-James
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

Re: 2.2.0rc2 feedback

Postby Jimbo » Sat Nov 11, 2023 4:54 am

Import and mount of the (newly created) encrypted pool used above on 13" i7 MBP running Ventura 13.5.2 causes panic and reboot too.

Update: import (e.g. sudo zpool import -a) of the encrypted pool works, loading the encryption key (e.g. sudo zfs load-key -a) works, however, mounting a nested dataset causes a panic (e.g. sudo zfs mount Empty/Tester).
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

Re: 2.2.0rc2 feedback

Postby o3x_prokyon » Sat Nov 11, 2023 1:42 pm

EDIT: This one is related to the wrong RC2, so please ignore it! See my post for RC3 instead...

Thanks a lot for the new release!

I've just tested 2.2.0rc2 on macOS Sonoma 14.1.1. After installation I had to manually create a symlink for libssl.3.dylib and libcrypto.3.dylib in /usr/local/lib pointing at my homebrew installation in /opt/homebrew/lib. I guess, this directory is not in the default path where zfs looks for those libraries...

I still cannot set directory icons on the zfs pool. Has this something to do with my zsysctl.conf parameters?
Code: Select all
kstat.zfs.darwin.tunable.zfs.xattr_compat=1
kstat.zfs.darwin.tunable.force_formd_normalized=1


..or zfs settings?
Code: Select all
aclmode=discard
aclinherit=restricted
xattr=sa
normalization=formD
acltype=nfsv4


This is really not essential, but would be a nice feature...

In the previous version (2.1.99-1734) Carbon Copy Cloner always copied a LOT of data during backups, even if only a part has really changed since the last one. If this has been fixed with 2.2.0rc2, I will see tomorrow...
Last edited by o3x_prokyon on Sun Nov 12, 2023 8:39 am, edited 1 time in total.
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Re: 2.2.0rc2 feedback

Postby Jimbo » Sat Nov 11, 2023 5:16 pm

A panic from Intel Ventura 13.5.2 (virtualised in Parallels):
Code: Select all
panic(cpu 4 caller 0xffffff8004db6113): Kernel trap at 0xffffff7f9ba227e3, type 13=general protection, registers:
CR0: 0x000000008001003b, CR2: 0x00000001a282106a, CR3: 0x00000003283ad19e, CR4: 0x00000000001606e0
RAX: 0xd5154af61710f814, RBX: 0x000000000000103e, RCX: 0x0000000000000010, RDX: 0xd5154af61710f814
RSP: 0xffffffba5bbd7790, RBP: 0xffffffba5bbd7790, RSI: 0xffffffd6680b9188, RDI: 0xd5154af61710f814
R8:  0xffffffd668aac4c0, R9:  0x11f7d3150fe96400, R10: 0xffffffba5bbd7b00, R11: 0x0000000000000000
R12: 0x0000000000000000, R13: 0xffffffd6680b9040, R14: 0xffffffd6680b9180, R15: 0x0000000000000000
RFL: 0x0000000000010286, RIP: 0xffffff7f9ba227e3, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x00000001a282106a, Error code: 0x0000000000000000, Fault CPU: 0x4 VMM, PL: 0, VF: 0

Panicked task 0xffffffa9c85e1478: 4 threads: pid 1513: mdworker_shared
Backtrace (CPU 4), panicked thread: 0xffffff9b6419bb30, Frame : Return Address
0xffffff800490e1a0 : 0xffffff8004c7207d mach_kernel : _handle_debugger_trap + 0x4ad
0xffffff800490e1f0 : 0xffffff8004dc6164 mach_kernel : _kdp_i386_trap + 0x114
0xffffff800490e230 : 0xffffff8004db5c77 mach_kernel : _kernel_trap + 0x3b7
0xffffff800490e280 : 0xffffff8004c12951 mach_kernel : _return_from_trap + 0xc1
0xffffff800490e2a0 : 0xffffff8004c7235d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffff800490e390 : 0xffffff8004c71a07 mach_kernel : _panic_trap_to_debugger + 0x1a7
0xffffff800490e3f0 : 0xffffff80053db40b mach_kernel : _panic + 0x84
0xffffff800490e4e0 : 0xffffff8004db6113 mach_kernel : _sync_iss_to_iks + 0x2c3
0xffffff800490e660 : 0xffffff8004db5dfd mach_kernel : _kernel_trap + 0x53d
0xffffff800490e6b0 : 0xffffff8004c12951 mach_kernel : _return_from_trap + 0xc1
0xffffff800490e6d0 : 0xffffff7f9ba227e3 org.openzfsonosx.zfs : _avl_first + 0x13
0xffffffba5bbd7790 : 0xffffff7f9b9f8d76 org.openzfsonosx.zfs : _kmem_cache_alloc + 0x2d6
0xffffffba5bbd78d0 : 0xffffff7f9bb3473e org.openzfsonosx.zfs : _abd_alloc_chunks + 0x5e
0xffffffba5bbd7910 : 0xffffff7f9ba114a7 org.openzfsonosx.zfs : _abd_alloc + 0xa7
0xffffffba5bbd7940 : 0xffffff7f9ba172cd org.openzfsonosx.zfs : _arc_hdr_alloc_abd + 0x9d
0xffffffba5bbd7970 : 0xffffff7f9ba160d3 org.openzfsonosx.zfs : _arc_read + 0x5d3
0xffffffba5bbd7a30 : 0xffffff7f9ba2deb1 org.openzfsonosx.zfs : _dbuf_read + 0xad1
0xffffffba5bbd7b70 : 0xffffff7f9ba3942f org.openzfsonosx.zfs : _dmu_buf_hold_array_by_dnode + 0x18f
0xffffffba5bbd7c10 : 0xffffff7f9ba3a8f5 org.openzfsonosx.zfs : _dmu_read_uio_dnode + 0x55
0xffffffba5bbd7c90 : 0xffffff7f9ba3aa4b org.openzfsonosx.zfs : _dmu_read_uio_dbuf + 0x3b
0xffffffba5bbd7cc0 : 0xffffff7f9bb1c7ec org.openzfsonosx.zfs : _zfs_read + 0x33c
0xffffffba5bbd7d20 : 0xffffff7f9bb5d20c org.openzfsonosx.zfs : _zfs_vnop_read + 0xac
0xffffffba5bbd7d90 : 0xffffff8004e68a3b mach_kernel : _vn_close + 0x35b
0xffffffba5bbd7e00 : 0xffffff8004e67857 mach_kernel : _u32CharToUTF8Bytes + 0x267
0xffffffba5bbd7e60 : 0xffffff800516381c mach_kernel : _read_nocancel + 0x23c
0xffffffba5bbd7ec0 : 0xffffff80051639d7 mach_kernel : _read + 0x117
0xffffffba5bbd7f40 : 0xffffff800525adc0 mach_kernel : _unix_syscall64 + 0x1e0
0xffffffba5bbd7fa0 : 0xffffff8004c12d96 mach_kernel : _hndl_unix_scall64 + 0x16
      Kernel Extensions in backtrace:
         org.openzfsonosx.zfs(2.2)[CCB0DB09-A9A4-38CE-BAC6-860E585E7170]@0xffffff7f9b9f6000->0xffffff7f9bd5cfff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[70B6B0B8-8059-3529-A544-D33C65534409]@0xffffff80077e1000->0xffffff80077f8fff

Process name corresponding to current thread (0xffffff9b6419bb30): mdworker_shared
Boot args: keepsyms=1

Mac OS version:
22G91

Kernel version:
Darwin Kernel Version 22.6.0: Wed Jul  5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64
Kernel UUID: 8295C77B-2AAB-3471-81B5-438F59B1A36D
roots installed: 0
KernelCache slide: 0x0000000004800000
KernelCache base:  0xffffff8004a00000
Kernel slide:      0x00000000048dc000
Kernel text base:  0xffffff8004adc000
__HIB  text base: 0xffffff8004900000
System model name: Parallels19,1 (Parallels Virtual Platform)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 219330153583
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000003311188ea9
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x00000005c835b358 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: 0xffffff902f072000 - 0xffffffb02f072000
  . PGZ   : 0xffffff902f072000 - 0xffffff9031073000
  . VM    : 0xffffff9031073000 - 0xffffff94fd872000
  . RO    : 0xffffff94fd872000 - 0xffffff9697072000
  . GEN0  : 0xffffff9697072000 - 0xffffff9b63872000
  . GEN1  : 0xffffff9b63872000 - 0xffffffa030072000
  . GEN2  : 0xffffffa030072000 - 0xffffffa4fc872000
  . GEN3  : 0xffffffa4fc872000 - 0xffffffa9c9072000
  . DATA  : 0xffffffa9c9072000 - 0xffffffb02f072000
  Metadata: 0xffffffc64747c000 - 0xffffffc66747c000
  Bitmaps : 0xffffffc66747c000 - 0xffffffc66a47c000
  Extra   : 0 - 0

last started kext at 73478276933: >!UMass!SInterfaceNub   554 (addr 0xffffff8006349000, size 8192)
loaded kexts:
org.openzfsonosx.zfs   2.2.0
>!UMass!SInterfaceNub   554
@filesystems.smbfs   5.0
>AudioAUUC   1.70
>!APlatformEnabler   2.7.0d0
>AGPM   131
>X86PlatformShim   1.0.0
@filesystems.autofs   3.0
>!AUpstreamUserClient   3.6.9
>!AMCCSControl   1.16
>!AHDAHardwareConfigDriver   440.2
>!AHDA   440.2
>!AGraphicsDevicePolicy   7.1.18
@AGDCPluginDisplayMetrics   7.1.18
>pmtelemetry   1
@filesystems.nfs   1
|IOUserEthernet   1.0.1
>usb.!UUserHCI   1
>!AHV   1
>!ADiskImages2   198.100.13
>ACPI_SMC_PlatformPlugin   1.0.0
>!AFIVRDriver   4.1.0
>!A!ISlowAdaptiveClocking   4.0.0
>!AParavirtGPU   13.4.13
>!AFileSystemDriver   3.0.1
@filesystems.tmpfs   1
|SCSITaskUserClient   482.120.2
@filesystems.lifs   1
@filesystems.hfs.kext   627.100.6
@BootCache   40
@!AFSCompression.!AFSCompressionTypeZlib   1.0.0
@!AFSCompression.!AFSCompressionTypeDataless   1.0.0d1
@filesystems.apfs   2142.140.9
>!AAHCIPort   378
@private.KextAudit   1.0
>!AHPET   1.8
>!APVPanic   1
>!AACPIButtons   6.1
>!ARTC   2.0.1
>!ASMBIOS   2.1
>!AAPIC   1.7
$!AUserConsent   1
@!ASystemPolicy   2.0.0
@nke.applicationfirewall   404
|IOKitRegistryCompatibility   1
|EndpointSecurity   1
@Dont_Steal_Mac_OS_X   7.0.0
@kec.Compression   1
@kec.!AEncryptedArchive   1
>!AHIDKeyboard   231
>!ASMBus!C   1.0.18d1
|IOSMBus!F   1.1
>DspFuncLib   440.2
@kext.OSvKernDSPLib   530
>!UAudio   560.2
>!AAudioClockLibs   240.1
>!AGraphicsControl   7.1.18
>!AHDA!C   440.2
|IOHDA!F   440.2
|IOAudio!F   440.2
@vecLib.kext   1.2.0
@kext.triggers   1.0
>IOHIDPowerSource   1
>!ACallbackPowerSource   1
|IO!BSerialManager   9.0.0
|IO!BPacketLogger   9.0.0
|IO!BHost!CUSBTransport   9.0.0
>!ASMBusPCI   1.0.14d1
|IO!BHost!CUARTTransport   9.0.0
|IO!BHost!CTransport   9.0.0
>IO!BHost!CPCIeTransport   9.0.0
|IOAVB!F   1140.6
|CSR!BHost!CUSBTransport   9.0.0
|Broadcom!BHost!CUSBTransport   9.0.0
|Broadcom!B20703USBTransport   9.0.0
>!ARSMChannel   1
|IORSM!F   1
>!AIPAppender   1.0
|IONDRVSupport   597
>IOPlatformPluginLegacy   1.0.0
>driverkit.serial   6.0.0
>X86PlatformPlugin   1.0.0
>IOPlatformPlugin!F   6.0.0d8
@plugin.IOgPTPPlugin   1150.2
@!AGPUWrangler   7.1.18
|IOSlowAdaptiveClocking!F   1.0.0
|IOAccelerator!F2   475.40.6
@!AGraphicsDeviceControl   7.1.18
|IOGraphics!F   597
>usb.IOUSBHostHIDDevice   1.2
>usb.cdc   5.0.0
>usb.networking   5.0.0
>usb.!UHostCompositeDevice   1.2
|IOSCSIMultimediaCommandsDevice   482.120.2
|IOBD!S!F   1.8
|IODVD!S!F   1.8
|IOCD!S!F   1.8
>!ABSDKextStarter   3
|IOSurface   336.60.1
@filesystems.hfs.encodings.kext   1
>!ASyntheticGame!C   10.7.1
>!AXsanScheme   3
|IOAHCISerialATAPI   272
|IOAHCIBlock!S   350.140.3
|IOAHCI!F   301.100.1
>usb.!UEHCIPCI   1.2
>usb.!UEHCI   1.2
>usb.!UXHCIPCI   1.2
>usb.!UXHCI   1.2
>!AVirtIO   188.140.3
|IOSerial!F   11
>usb.!UHostPacketFilter   1.0
|IOUSB!F   900.4.2
>!AEFINVRAM   2.1
>!AEFIRuntime   2.1
|IOHID!F   2.0.0
|IOTimeSync!F   1150.2
|IOSkywalk!F   1.0
>mDNSOffloadUserClient   1.0.1b8
|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
>!ASSE   1.0
>!AKeyStore   2
>!UTDM   554
|IOUSBMass!SDriver   235.140.2
|IOSCSIBlockCommandsDevice   482.120.2
|IO!S!F   2.1
|IOSCSIArchitectureModel!F   482.120.2
>!AFDEKeyStore   28.30
>!AEffaceable!S   1.0
>!ACyrus   1
>!AMobileFileIntegrity   1.0.5
$!AImage4   5.0.0
@kext.CoreTrust   1
>!ACredentialManager   1.0
|CoreAnalytics!F   1
>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
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

Re: 2.2.0rc2 feedback

Postby lundman » Sat Nov 11, 2023 10:24 pm

thanks for the report, rc2 was a dud. rc3 is out.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan


Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 72 guests