Upcoming testing...

Developer discussions.

Re: Upcoming testing...

Postby lundman » Fri Jun 02, 2023 3:23 pm

OK so com.apple.decmpfs should not be allowed, that's a miss and I'll have to fix it.

com.apple.ResourceFork is curious, could you print its hex value? I wonder if it is all
zero and should have been removed.


my mac (Mac mini M2, macOS Ventura 13.4) still panics while ejecting any other external USB disk


Do you per chance get a "Your mac restarted due to a problem, send report to apple?" when you boot up? if you do,
can I have the "stack" + "kext present in the stack openzfs load-address" line... ?
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Upcoming testing...

Postby o3x_prokyon » Tue Jun 06, 2023 12:08 pm

I‘m out for a short holiday trip until sunday, so I can't send you the info you asked for, before next week. What I can say for now is, that there has been no „problem report window“ after restart. But I have deactivated tailspin, so this might be the reason…. I will reactivate it when I‘m back and see, if I can get the crash report for you

So long….
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Re: Upcoming testing...

Postby o3x_prokyon » Sun Jun 18, 2023 1:10 pm

Hello, back again...

Do you per chance get a "Your mac restarted due to a problem, send report to apple?" when you boot up? if you do,
can I have the "stack" + "kext present in the stack openzfs load-address" line... ?


Now I got the panic report, but there's no "stack" and no "openzfs load-adress" line... but I did not set nvram boot-args="keepsyms=1" anymore, due to a warning, that manipulating nvram parameters on Apple Silicon Macs could cause severe problems which lead to a complete re-installation of the system... Can I safely set this parameter???

The panicked task is PID 0 "kernel_task" on core 3, so not really informative...

Next:
Code: Select all
„xattr -l file.name“

The xattr "com.apple.decmpfs" is only present on some rare files (one is a screenshot, laying on my desktop).
Code: Select all
xattr -x -p com.apple.decmpfs file.name
says: No such xattr: com.apple.decmpfs. The same happens with com.apple.ResourceFork.

I checked some other files on my internal disk and the corresponding backup on my ZFS pool but couldn't find any good reason, why those files are copied over and over again by Carbon Copy Cloner. They seem to be absolutely identical! Even the nanosecond-timestamp is the same (stat -f %Fm file.name)! That's really strange...
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Re: Upcoming testing...

Postby o3x_prokyon » Mon Jul 03, 2023 12:40 pm

but I did not set nvram boot-args="keepsyms=1" anymore, due to a warning, that manipulating nvram parameters on Apple Silicon Macs could cause severe problems which lead to a complete re-installation of the system...


This warning I found here: https://www.macworld.com/article/340211 ... 1-mac.html
(section "No SMC to reset, no NVRAM to zap (mostly)")

...and here: https://eclecticlight.co/2020/11/28/sta ... r-m1-macs/
(section "Verbose mode" and "Reset SMC/NVRAM")

In these two articles:
https://eclecticlight.co/2021/01/21/sys ... n-m1-macs/
https://eclecticlight.co/2022/01/22/exp ... ram-nvram/

they say, that
boot-args – any arguments to be supplied to the boot command, such as -v to engage Verbose mode when next booted (supplied as a string). Recent reports suggest that this no longer works, and changes should be avoided.


So, does anybody know how to get a more detailed panic report? Maybe "log show …" is the key, but I don't know which arguments I should pass to it...
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Re: Upcoming testing...

Postby o3x_prokyon » Tue Aug 01, 2023 11:15 pm

Hej,

does anybody know how to get more useful crash reports for OpenZFS on OS X on Apple Silicon Macs? nvram boot-args="keepsyms=1" doesn't work anymore, I guess (see my previous post) and I'm not courageous enough to test it on my working machine...

Here is the latest (not so useful?) panic report (created back in macOS Ventura 13.4). The machine crashes every time I eject another (USB) drive from Finder or commandline while the ZFS pool is online (imported/mounted). Beside a "normal" unencrypted mirrored pool, I have an encrypted dataset, if this is something worth knowing...:

Code: Select all
panic(cpu 3 caller 0xfffffe0012a50c6c): Kernel data abort. at pc 0xfffffe0014e79494, lr 0xfffffe0014e79490 (saved state: 0xfffffe8c179ff9f0)
     x0:  0xfffffe5c7ea1cac0 x1:  0xfffffe00117e5da9  x2:  0x000000000007bef2  x3:  0x0000000000000014
     x4:  0x0000000000000037 x5:  0x0000000000000031  x6:  0x0000000000000000  x7:  0x0000000000000b10
     x8:  0x0000000000000012 x9:  0x0000000000000000  x10: 0x0000000000000000  x11: 0x000000000000001d
     x12: 0x0000000000000018 x13: 0x0200000010000168  x14: 0x02000001100001c0  x15: 0x0000000000000003
     x16: 0x02000001100001c0 x17: 0x000000000000e4fe  x18: 0x0000000000000000  x19: 0xfffffe8c179ffe58
     x20: 0xfffffe1ffef7a084 x21: 0xfffffe1ffef7a000  x22: 0xfffffe1b34158800  x23: 0x0000000000000014
     x24: 0xfffffe299d5c3f00 x25: 0xfffffe0015567000  x26: 0xfffffe1ffef7a9a4  x27: 0xfffffe1ffef7a000
     x28: 0x0000000000000012 fp:  0xfffffe8c179ffd90  lr:  0xfffffe0014e79490  sp:  0xfffffe8c179ffd40
     pc:  0xfffffe0014e79494 cpsr: 0x60401208         esr: 0x96000005          far: 0x00000000000000da

Debugger message: panic
Memory ID: 0xff
OS release type: User
OS version: 22F66
Kernel version: Darwin Kernel Version 22.5.0: Mon Apr 24 20:53:19 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6020
Fileset Kernelcache UUID: (removed)
Kernel UUID: (removed)
Boot session UUID: (removed)
iBoot version: iBoot-8422.121.1
secure boot?: YES
roots installed: 0
Paniclog version: 14
KernelCache slide: 0x0000000009eb8000
KernelCache base:  0xfffffe0010ebc000
Kernel slide:      0x0000000009ec0000
Kernel text base:  0xfffffe0010ec4000
Kernel text exec slide: 0x000000000b28c000
Kernel text exec base:  0xfffffe0012290000
mach_absolute_time: 0x9aa9f439c0
Epoch Time:        sec       usec
  Boot    : 0x648ee943 0x00079d6d
  Sleep   : 0x00000000 0x00000000
  Wake    : 0x00000000 0x00000000
  Calendar: 0x648f555b 0x000e5752

Zone info:
  Zone map: 0xfffffe100070c000 - 0xfffffe300070c000
  . VM    : 0xfffffe100070c000 - 0xfffffe14cd3d8000
  . RO    : 0xfffffe14cd3d8000 - 0xfffffe1666d70000
  . GEN0  : 0xfffffe1666d70000 - 0xfffffe1b33a3c000
  . GEN1  : 0xfffffe1b33a3c000 - 0xfffffe2000708000
  . GEN2  : 0xfffffe2000708000 - 0xfffffe24cd3d4000
  . GEN3  : 0xfffffe24cd3d4000 - 0xfffffe299a0a0000
  . DATA  : 0xfffffe299a0a0000 - 0xfffffe300070c000
  Metadata: 0xfffffe8c073c0000 - 0xfffffe8c0f3c0000
  Bitmaps : 0xfffffe8c0f3c0000 - 0xfffffe8c15124000
  Extra   : 0 - 0

TPIDRx_ELy = {1: 0xfffffe1b34158800  0: 0x0000000000000003  0ro: 0x0000000000000000 }
CORE 0 PVH locks held: None
CORE 1 PVH locks held: None
CORE 2 PVH locks held: None
CORE 3 PVH locks held: None
CORE 4 PVH locks held: None
CORE 5 PVH locks held: None
CORE 6 PVH locks held: None
CORE 7 PVH locks held: None
CORE 8 PVH locks held: None
CORE 9 PVH locks held: None
CORE 10 PVH locks held: None
CORE 11 PVH locks held: None
CORE 0: PC=0xfffffe00128d3a84, LR=0xfffffe00128d3b1c, FP=0xfffffe8c179c3b00
CORE 1: PC=0x000000018571a2b0, LR=0x000000018585a908, FP=0x000000016dae4490
CORE 2: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c16b6fef0
CORE 3 is the one that panicked. Check the full backtrace for details.
CORE 4: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c16e4bef0
CORE 5: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c18357ef0
CORE 6: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c17fd3ef0
CORE 7: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c1701fef0
CORE 8: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c17b93ef0
CORE 9: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c1839fef0
CORE 10: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c182d3ef0
CORE 11: PC=0xfffffe001231a878, LR=0xfffffe001231a878, FP=0xfffffe8c16c9bef0
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Panicked task 0xfffffe24cd325e08: 0 pages, 759 threads: pid 0: kernel_task
Panicked thread: 0xfffffe1b34158800, backtrace: 0xfffffe8c179ff170, tid: 214723
        lr: 0xfffffe00122e3ef8  fp: 0xfffffe8c179ff1f0
        lr: 0xfffffe0012422560  fp: 0xfffffe8c179ff210
        lr: 0xfffffe0012413ec4  fp: 0xfffffe8c179ff280
        lr: 0xfffffe00124126e0  fp: 0xfffffe8c179ff340
        lr: 0xfffffe0012297784  fp: 0xfffffe8c179ff350
        lr: 0xfffffe00122e37f4  fp: 0xfffffe8c179ff700
        lr: 0xfffffe0012a46d00  fp: 0xfffffe8c179ff720
        lr: 0xfffffe0012a50c6c  fp: 0xfffffe8c179ff8a0
        lr: 0xfffffe0012413d58  fp: 0xfffffe8c179ff910
        lr: 0xfffffe0012412a8c  fp: 0xfffffe8c179ff9d0
        lr: 0xfffffe0012297784  fp: 0xfffffe8c179ff9e0
        lr: 0xfffffe0014e79490  fp: 0xfffffe8c179ffd90
        lr: 0xfffffe00124a3554  fp: 0xfffffe8c179ffe20
        lr: 0xfffffe0014e79354  fp: 0xfffffe8c179fff20
        lr: 0xfffffe00122a0bd8  fp: 0x0000000000000000
      Kernel Extensions in backtrace:
         com.apple.filesystems.apfs(2142.120.7)[AF58378E-3D7B-3E8D-ADFC-43395E2245A3]@0xfffffe0014e5c2e0->0xfffffe0014fa0927
            dependency: com.apple.driver.AppleEffaceableStorage(1.0)[13E65512-32C3-3CF7-9C4A-2ECE150C6F91]@0xfffffe0013231270->0xfffffe00132362c7
            dependency: com.apple.iokit.CoreAnalyticsFamily(1)[281C1174-1A78-3BD2-9782-8C0658587A86]@0xfffffe0013ca03f0->0xfffffe0013ca8207
            dependency: com.apple.iokit.IOStorageFamily(2.1)[E5A48321-8B24-3905-A662-55B08FF664B6]@0xfffffe0014758270->0xfffffe0014779e7f
            dependency: com.apple.kec.corecrypto(12.0)[5AA03E9D-E53D-37FC-98E9-67D4FFC59712]@0xfffffe0014fe0240->0xfffffe00150293b7
            dependency: com.apple.security.AppleImage4(5.0.0)[DB0AEA7B-5C1D-3AC6-8C7B-D46BD61FCD32]@0xfffffe00134f6f10->0xfffffe001350fcdf

last started kext at 648772215: com.apple.filesystems.autofs   3.0 (addr 0xfffffe00117e9aa0, size 5904)
loaded kexts:
org.openzfsonosx.zfs   2.1.7
com.apple.filesystems.autofs   3.0
com.apple.iokit.SCSITaskUserClient   482.120.2
com.apple.driver.AppleBiometricServices   1
com.apple.driver.CoreKDL   1
com.apple.driver.AppleUSBMassStorageInterfaceNub   554
com.apple.driver.BCMWLANFirmware4388.Hashstore   1
com.apple.iokit.AppleBCM5701Ethernet   11.0.0
com.apple.driver.DiskImages.ReadWriteDiskImage   493.0.0
com.apple.driver.DiskImages.UDIFDiskImage   493.0.0
com.apple.driver.DiskImages.RAMBackingStore   493.0.0
com.apple.driver.DiskImages.FileBackingStore   493.0.0
com.apple.driver.AppleAOPVoiceTrigger   240.1
com.apple.driver.AppleThunderboltIP   4.0.3
com.apple.driver.AppleUSBDeviceNCM   5.0.0
com.apple.driver.AppleFileSystemDriver   3.0.1
com.apple.nke.l2tp   1.9
com.apple.filesystems.tmpfs   1
com.apple.filesystems.nfs   1
com.apple.filesystems.lifs   1
com.apple.filesystems.apfs   2142.120.7
com.apple.IOTextEncryptionFamily   1.0.0
com.apple.filesystems.hfs.kext   627.100.6
com.apple.security.BootPolicy   1
com.apple.BootCache   40
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.driver.SEPHibernation   1
com.apple.driver.AppleSmartIO2   1
com.apple.driver.ApplePMP   1
com.apple.driver.AppleCS42L84Audio   640.8
com.apple.driver.AppleSN012776Amp   640.8
com.apple.AppleEmbeddedSimpleSPINORFlasher   1
com.apple.driver.AppleTypeCRetimer   1.0.0
com.apple.driver.AppleT6020CLPC   1
com.apple.driver.AppleT6020SOCTuner   1
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AudioDMAController-T602x   240.2
com.apple.driver.AppleMobileDispT602X-DCP   140.0
com.apple.driver.AppleProResHW   276.1.0
com.apple.driver.AppleJPEGDriver   5.4.0
com.apple.driver.usb.AppleSynopsysUSB40XHCI   1
com.apple.driver.AppleSPMIPMU   1.0.1
com.apple.driver.AppleSPIMC   1
com.apple.driver.AppleAVD   723.3
com.apple.driver.AppleAVE2   670.9.1
com.apple.driver.AppleS5L8920XPWM   1.0.0d1
com.apple.AGXG14X   227.7.8
com.apple.driver.ApplePMPFirmware   1
com.apple.driver.AppleSamsungSerial   1.0.0d1
com.apple.driver.AppleSerialShim   1
com.apple.driver.AppleS5L8960XNCO   1
com.apple.driver.AppleEventLogHandler   1
com.apple.driver.AppleT6020PMGR   1
com.apple.driver.AppleS8000AES   1
com.apple.driver.AppleS8000DWI   1.0.0d1
com.apple.driver.AppleInterruptControllerV2   1.0.0d1
com.apple.driver.AppleBluetoothModule   1
com.apple.driver.AppleBCMWLANBusInterfacePCIe   1
com.apple.driver.AppleT8110DART   1
com.apple.driver.AppleS5L8940XI2C   1.0.0d2
com.apple.driver.AppleT6020   1
com.apple.driver.AppleM68Buttons   1.0.0d1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.driver.usb.AppleUSBUserHCI   1
com.apple.iokit.IOKitRegistryCompatibility   1
com.apple.iokit.EndpointSecurity   1
com.apple.driver.AppleDiskImages2   198.100.13
com.apple.AppleSystemPolicy   2.0.0
com.apple.nke.applicationfirewall   403
com.apple.kec.InvalidateHmac   1
com.apple.kec.Compression   1
com.apple.kec.AppleEncryptedArchive   1
com.apple.iokit.IOAVBFamily   1140.6
com.apple.plugin.IOgPTPPlugin   1150.2
com.apple.driver.AppleHIDKeyboard   231
com.apple.driver.driverkit.serial   6.0.0
com.apple.driver.AppleMesaSEPDriver   100.99
com.apple.iokit.IOBiometricFamily   1
com.apple.driver.usb.IOUSBHostHIDDevice   1.2
com.apple.driver.usb.cdc   5.0.0
com.apple.driver.AppleUSBAudio   540.8
com.apple.iokit.IOAudioFamily   440.2
com.apple.vecLib.kext   1.2.0
com.apple.driver.usb.AppleEmbeddedUSBXHCIPCI   1
com.apple.driver.usb.AppleUSBXHCIPCI   1.2
com.apple.driver.AppleConvergedIPCOLYBTControl   1
com.apple.driver.AppleConvergedPCI   1
com.apple.driver.AppleBluetoothDebug   1
com.apple.driver.DiskImages.KernelBacked   493.0.0
com.apple.driver.AppleAOPAudio   240.5
com.apple.driver.AppleXsanScheme   3
com.apple.driver.usb.networking   5.0.0
com.apple.driver.AppleThunderboltUSBDownAdapter   1.0.4
com.apple.driver.AppleThunderboltDPInAdapter   8.5.1
com.apple.driver.AppleThunderboltDPAdapterFamily   8.5.1
com.apple.driver.AppleThunderboltPCIDownAdapter   4.1.1
com.apple.nke.ppp   1.9
com.apple.driver.AppleBSDKextStarter   3
com.apple.kext.triggers   1.0
com.apple.filesystems.hfs.encodings.kext   1
com.apple.driver.AppleSyntheticGameController   10.6.3
com.apple.driver.AppleTrustedAccessory   1
com.apple.iokit.AppleSEPGenericTransfer   1
com.apple.driver.AppleSEPHDCPManager   1.0.1
com.apple.driver.AppleDCPDPTXProxy   1.0.0
com.apple.driver.AppleBTM   1.0.1
com.apple.driver.IOHIDPowerSource   1
com.apple.driver.AppleCallbackPowerSource   1
com.apple.driver.DCPDPFamilyProxy   1
com.apple.driver.AppleCSEmbeddedAudio   640.8
com.apple.driver.AppleDiagnosticDataAccessReadOnly   1.0.0
com.apple.driver.AppleEmbeddedAudio   640.8
com.apple.iokit.AppleARMIISAudio   240.2
com.apple.driver.ApplePassthroughPPM   3.0
com.apple.driver.AppleHPM   3.4.4
com.apple.driver.AppleSPU   1
com.apple.iokit.IOMobileGraphicsFamily-DCP   343.0.0
com.apple.iokit.IOMobileGraphicsFamily   343.0.0
com.apple.driver.DCPAVFamilyProxy   1
com.apple.driver.AppleT8112TypeCPhy   1
com.apple.driver.AppleT8103TypeCPhy   1
com.apple.driver.AppleUSBXDCIARM   1.0
com.apple.driver.AppleUSBXDCI   1.0
com.apple.iokit.IOUSBDeviceFamily   2.0.0
com.apple.driver.usb.AppleSynopsysUSBXHCI   1
com.apple.driver.usb.AppleUSBXHCI   1.2
com.apple.driver.AppleEmbeddedUSBHost   1
com.apple.driver.usb.AppleUSBHub   1.2
com.apple.driver.usb.AppleUSBHostCompositeDevice   1.2
com.apple.driver.AppleDialogPMU   1.0.1
com.apple.driver.AppleDCP   1
com.apple.driver.AppleFirmwareKit   1
com.apple.AGXFirmwareKextG14XRTBuddy   1
com.apple.AGXFirmwareKextRTBuddy64   227.7.8
com.apple.iokit.IOGPUFamily   65.40.15
com.apple.driver.AppleMCA2-T602x   740.3
com.apple.driver.AppleEmbeddedAudioLibs   240.1
com.apple.driver.AppleFirmwareUpdateKext   1
com.apple.iokit.IONVMeFamily   2.1.0
com.apple.driver.AppleNANDConfigAccess   1.0.0
com.apple.driver.AppleSART   1
com.apple.driver.AppleStockholmControl   1.0.0
com.apple.driver.AppleSPMI   1.0.1
com.apple.driver.ApplePMGR   1
com.apple.driver.AppleARMWatchdogTimer   1
com.apple.driver.AppleDisplayCrossbar   1.0.0
com.apple.iokit.IODisplayPortFamily   1.0.0
com.apple.driver.AppleTypeCPhy   1
com.apple.driver.AppleBluetoothDebugService   1
com.apple.driver.AppleBCMWLANCore   1.0.0
com.apple.iokit.IO80211Family   1200.13.0
com.apple.driver.IOImageLoader   1.0.0
com.apple.driver.AppleOLYHAL   1
com.apple.driver.AppleThunderboltNHI   7.2.81
com.apple.driver.AppleT6000PCIeC   1
com.apple.iokit.IOThunderboltFamily   9.3.3
com.apple.driver.ApplePIODMA   1
com.apple.driver.AppleT602xPCIe   1
com.apple.driver.AppleGPIOICController   1.0.2
com.apple.driver.AppleFireStormErrorHandler   1
com.apple.driver.AppleMultiFunctionManager   1
com.apple.driver.corecapture   1.0.4
com.apple.driver.AppleEmbeddedPCIE   1
com.apple.driver.AppleMobileApNonce   1
com.apple.driver.usb.AppleUSBHostPacketFilter   1.0
com.apple.iokit.IOTimeSyncFamily   1150.2
com.apple.driver.DiskImages   493.0.0
com.apple.iokit.IOGraphicsFamily   597
com.apple.iokit.IOBluetoothSerialManager   9.0.0
com.apple.iokit.IOBluetoothHostControllerUSBTransport   9.0.0
com.apple.iokit.IOBluetoothHostControllerUARTTransport   9.0.0
com.apple.iokit.IOBluetoothHostControllerTransport   9.0.0
com.apple.driver.IOBluetoothHostControllerPCIeTransport   9.0.0
com.apple.iokit.IOBluetoothFamily   9.0.0
com.apple.iokit.CSRBluetoothHostControllerUSBTransport   9.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   9.0.0
com.apple.driver.AppleSSE   1.0
com.apple.driver.AppleSEPKeyStore   2
com.apple.driver.AppleUSBTDM   554
com.apple.iokit.IOUSBMassStorageDriver   235.100.2
com.apple.iokit.IOPCIFamily   2.9
com.apple.iokit.IOSCSIBlockCommandsDevice   482.120.2
com.apple.iokit.IOSCSIArchitectureModelFamily   482.120.2
com.apple.driver.AppleRSMChannel   1
com.apple.iokit.IORSMFamily   1
com.apple.driver.AppleIPAppender   1.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.driver.AppleEffaceableStorage   1.0
com.apple.driver.AppleCredentialManager   1.0
com.apple.driver.KernelRelayHost   1
com.apple.iokit.IOUSBHostFamily   1.2
com.apple.driver.AppleUSBHostMergeProperties   1.2
com.apple.driver.usb.AppleUSBCommon   1.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.RTBuddy   1.0.0
com.apple.driver.AppleEmbeddedTempSensor   1.0.0
com.apple.driver.AppleARMPMU   1.0
com.apple.iokit.IOAccessoryManager   1.0.0
com.apple.driver.AppleOnboardSerial   1.0
com.apple.iokit.IOSkywalkFamily   1.0
com.apple.driver.mDNSOffloadUserClient   1.0.1b8
com.apple.iokit.IONetworkingFamily   3.4
com.apple.iokit.IOSerialFamily   11
com.apple.driver.AppleSEPManager   1.0.1
com.apple.driver.AppleA7IOP   1.0.2
com.apple.driver.IOSlaveProcessor   1
com.apple.driver.AppleBiometricSensor   2
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.driver.AppleANELoadBalancer   6.551.2
com.apple.driver.AppleH11ANEInterface   6.551.1
com.apple.AUC   1.0
com.apple.iokit.IOAVFamily   1.0.0
com.apple.iokit.IOHDCPFamily   1.0.0
com.apple.iokit.IOCECFamily   1
com.apple.iokit.IOAudio2Family   1.0
com.apple.driver.AppleIISController   240.1
com.apple.driver.AppleAudioClockLibs   240.1
com.apple.driver.AppleM2ScalerCSCDriver   265.0.0
com.apple.iokit.IOSurface   336.50.1
com.apple.driver.IODARTFamily   1
com.apple.driver.FairPlayIOKit   71.1.0
com.apple.driver.AppleARMPlatform   1.0.2
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.iokit.IOReportFamily   47
com.apple.security.quarantine   4
com.apple.security.sandbox   300.0
com.apple.iokit.IOStorageFamily   2.1
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.iokit.CoreAnalyticsFamily   1
com.apple.security.AppleImage4   5.0.0
com.apple.kext.CoreTrust   1
com.apple.iokit.IOCryptoAcceleratorFamily   1.0.1
com.apple.kec.pthread   1
com.apple.kec.Libm   1
com.apple.kec.corecrypto   12.0

** Stackshot Succeeded ** Bytes Traced 326148 (Uncompressed 839712) **



Thanks so much.
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Re: Upcoming testing...

Postby lundman » Tue Aug 15, 2023 3:36 pm

Yeah it is quite difficult. If you get the line:

"Kernel Extensions in backtrace"
and it happens to have ZFS in it, you have the load address and can to the atos lookup with math. (More detail on the wiki).

Generally, I now look in /Library/Logs/DiagnosticLogs/ for *.panic file, as they can sometimes have resolved symbols.

Code: Select all
cat /Library/Logs/DiagnosticReports/Kernel_2020-07-27-133737_shinken.panic | grep macOSProcessedStackshotData | python -c 'import json,sys;print(json.load(sys.stdin)["macOSPanicString"])'
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Upcoming testing...

Postby o3x_prokyon » Mon Sep 18, 2023 12:10 pm

Hi,

I have a new panic-report from version "OpenZFSonOsX-2.2.99-macOS-13-arm64"...
Again, the panic happened, when I ejected an external APFS-disk from finder.
OS version is macOS Ventura 13.5.2 (22G91), Macmini M2 Pro (2023), 32 GB ram.

Inside the report-window is a line "Kernel Extensions in backtrace:"

Code: Select all
Kernel Extensions in backtrace:
         com.apple.filesystems.apfs(2142.140.9)[F0415D2F-546C-34D6-89FD-5D244FBB477C]@0xfffffe003087bf90->0xfffffe00309c0753
            dependency: com.apple.driver.AppleEffaceableStorage(1.0)[13E65512-32C3-3CF7-9C4A-2ECE150C6F91]@0xfffffe002ebff850->0xfffffe002ec048a7
            dependency: com.apple.iokit.CoreAnalyticsFamily(1)[38EC9902-05F4-3412-8CB3-1B5001455BCA]@0xfffffe002f6bf1b0->0xfffffe002f6c6fc7
            dependency: com.apple.iokit.IOStorageFamily(2.1)[88F4FD33-51CA-3BAA-9D4E-36EE2310EA14]@0xfffffe0030177ab0->0xfffffe00301996bf
            dependency: com.apple.kec.corecrypto(12.0)[164A59E3-5244-34B3-965B-4855E73A1BB7]@0xfffffe0030a00040->0xfffffe0030a4da8b
            dependency: com.apple.security.AppleImage4(5.0.0)[4764AEB5-981A-3CDF-9FDE-B5D9C57F9BCA]@0xfffffe002eec8cd0->0xfffffe002eee1a9f


ZFS is mentioned a little further down under "loaded kexts": org.openzfsonosx.zfs 2.2.99
Nothing more! A load adress is not given.

If you like, I can send you the whole report (by e-mail?)

The problem, that nearly every file is updated over and over again still persists. Now I use Carbon Copy Cloner to create backups. To APFS-volumes only changed or new files are updated, as expected. Do you have any idea what I'm doing wrong?

Here are my zfs tunings:
Code: Select all
kstat.zfs.darwin.tunable.zfs_arc.max: 0 -> 4294967296
kstat.zfs.darwin.tunable.zfs.xattr_compat: 0 -> 1
kstat.zfs.darwin.tunable.icp_aes_impl: cycle [fastest] generic aesv8  -> cycle fastest generic [aesv8]
kstat.zfs.darwin.tunable.force_formd_normalized: 0 -> 1
kstat.zfs.darwin.tunable.zfs.sha256_impl: cycle [fastest] generic armv7 neon armv8-ce  -> cycle fastest generic armv7 neon [armv8-ce]
kstat.zfs.darwin.tunable.zfs.sha512_impl: cycle [fastest] generic armv7 armv8-ce  -> cycle fastest generic armv7 [armv8-ce]


Thanks for your help!
o3x_prokyon
 
Posts: 33
Joined: Thu Dec 01, 2022 1:17 pm

Previous

Return to OpenZFS on OS X Development

Who is online

Users browsing this forum: No registered users and 18 guests