zfs 2.1.99-776 paniced

Developer discussions.

zfs 2.1.99-776 paniced

Postby Arne » Tue Feb 22, 2022 10:08 am

Damn. "Curiosity kills the cat". And me.

Installed the latest zfs-2.1.99-776_gb37434801 on my mini2009 with ElCapitan-10.11.6 and it didn't work.
The install went quite good until it tried to execute the package scripts. It crashed, then booted, then paniced.

IMG_0419smaller.JPG
Crash while trying to execute package scripts.
IMG_0419smaller.JPG (48.73 KiB) Viewed 2784 times


IMG_0420small.JPG
Panic when trying to boot.
IMG_0420small.JPG (295.67 KiB) Viewed 2784 times
My system: Mini 2009 (early) with El-Capitan 10.11.6
Arne
 
Posts: 30
Joined: Mon Oct 29, 2018 7:59 am

Re: zfs 2.1.99-776 paniced

Postby lundman » Tue Feb 22, 2022 10:02 pm

Ah hmm interesting - I'll try it a little harder on the VM to see if I can trigger it.

You are ok to remove the broken kext? (recovery, delete kext).
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: zfs 2.1.99-776 paniced

Postby lundman » Tue Feb 22, 2022 10:20 pm

Hm runs pretty well, could you turn on keepsyms=1 instead, so we can see where it dies?
User avatar
lundman
 
Posts: 1335
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: zfs 2.1.99-776 paniced

Postby Arne » Wed Feb 23, 2022 2:54 am

Yes, going into recovery and deleting the kext (under /Volumes/os.../Library/Extensions) got me back to the OS.
(The first time booting into recovery didn't work. Waiting for an hour but holds on at 100%. The second time it boots into recovery. Strange.)

I've done it again as you said with keepsyms=1.
But it showed the endless flow of text at boot time only when I set 'nvram boot-args="-v keepsyms=1' in recovery mode.

Here is the Panic Report I get when I open /Library/Logs/DiagnosticReports/Kernel_2022-02-23-112429_macmini.panic in Konsole.

Code: Select all
Anonymous UUID:       53B66508-B262-45C7-A3E1-56206F29582C

Wed Feb 23 11:24:25 2022

*** Panic Report ***
panic(cpu 0 caller 0xffffff800b9cfdab): Kernel trap at 0xffffff7f8e54ed6a, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000298, CR3: 0x000000000ef8e000, CR4: 0x00000000000026e0
RAX: 0x0000000000000000, RBX: 0x0000000000000298, RCX: 0xffffff7f8e66aa20, RDX: 0x0000000000000000
RSP: 0xffffff886daf3c30, RBP: 0xffffff886daf3c40, RSI: 0x0000000000000000, RDI: 0x0000000000000298
R8:  0xffffff8870249338, R9:  0x0000000000000010, R10: 0x0000000000000000, R11: 0x0000000000000000
R12: 0x0000000000000000, R13: 0x0000000000000000, R14: 0x0000000000000000, R15: 0x0000000000000000
RFL: 0x0000000000010246, RIP: 0xffffff7f8e54ed6a, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x0000000000000298, Error code: 0x0000000000000000, Fault CPU: 0x0, PL: 0

Backtrace (CPU 0), Frame : Return Address
0xffffff886daf38c0 : 0xffffff800b8dab52 mach_kernel : _panic + 0xe2
0xffffff886daf3940 : 0xffffff800b9cfdab mach_kernel : _kernel_trap + 0xa5b
0xffffff886daf3b20 : 0xffffff800b9ebc03 mach_kernel : _return_from_trap + 0xe3
0xffffff886daf3b40 : 0xffffff7f8e54ed6a org.openzfsonosx.zfs : _spl_mutex_enter + 0xa
0xffffff886daf3c40 : 0xffffff7f8e544681 org.openzfsonosx.zfs : _kmem_cache_alloc + 0x41
0xffffff886daf3db0 : 0xffffff7f8e543a75 org.openzfsonosx.zfs : _zfs_kmem_zalloc + 0x35
0xffffff886daf3de0 : 0xffffff7f8e435745 org.openzfsonosx.zfs : _kcf_prov_tab_init + 0x25
0xffffff886daf3df0 : 0xffffff7f8e450603 org.openzfsonosx.zfs : _wrap_icp_init + 0x13
0xffffff886daf3e00 : 0xffffff7f8e3dd291 org.openzfsonosx.zfs : _zfsdev_attach + 0xa1
0xffffff886daf3e30 : 0xffffff7f8e3d4eb0 org.openzfsonosx.zfs : _zfs_kmod_init + 0x1a40
0xffffff886daf3e50 : 0xffffff7f8e3ded80 org.openzfsonosx.zfs : __ZN25org_openzfsonosx_zfs_zvol5startEP9IOService + 0x180
0xffffff886daf3e80 : 0xffffff800be91cbd mach_kernel : __ZN9IOService14startCandidateEPS_ + 0x6d
0xffffff886daf3ec0 : 0xffffff800be91586 mach_kernel : __ZN9IOService15probeCandidatesEP12OSOrderedSet + 0x936
0xffffff886daf3f30 : 0xffffff800be8c25a mach_kernel : __ZN9IOService14doServiceMatchEj + 0x22a
0xffffff886daf3f70 : 0xffffff800be9245c mach_kernel : __ZN15_IOConfigThread4mainEPvi + 0x13c
0xffffff886daf3fb0 : 0xffffff800b9ca3f7 mach_kernel : _call_continuation + 0x17
      Kernel Extensions in backtrace:
         org.openzfsonosx.zfs(2.1.99)[692E9DD6-D36F-3843-AF23-9388772A0BC5]@0xffffff7f8e2d2000->0xffffff7f8f9d1fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[DC1AAB7C-F417-3238-BB3F-2A5B84D67B90]@0xffffff7f8c04c000

BSD process name corresponding to current thread: kernel_task
Boot args: -v keepsyms=1

Mac OS version:
15G22010

Kernel version:
Darwin Kernel Version 15.6.0: Thu Jun 21 20:07:40 PDT 2018; root:xnu-3248.73.11~1/RELEASE_X86_64
Kernel UUID: 7564B0E7-EB5D-3887-BA79-59C870165AB1
Kernel slide:     0x000000000b600000
Kernel text base: 0xffffff800b800000
__HIB  text base: 0xffffff800b700000
System model name: Macmini3,1 (Mac-F22C86C8)

System uptime in nanoseconds: 49208874250
last loaded kext at 48620518122: org.openzfsonosx.zfs   2.1.99 (addr 0xffffff7f8e2d2000, size 24117248)
loaded kexts:
org.openzfsonosx.zfs   2.1.99
com.Logitech.Control Center.HID Driver   3.9.1
com.logitech.manager.kernel.driver   6.94.1
com.apple.filesystems.autofs   3.0
com.apple.iokit.IOBluetoothSerialManager   4.4.6f4
com.apple.driver.AppleOSXWatchdog   1
com.apple.driver.AppleHDAHardwareConfigDriver   274.12
com.apple.driver.AppleHDA   274.12
com.apple.driver.AppleFIVRDriver   4.1.0
com.apple.driver.pmtelemetry   1
com.apple.iokit.IOUserEthernet   1.0.1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleHV   1
com.apple.driver.AppleUpstreamUserClient   3.6.1
com.apple.driver.AppleMCCSControl   1.2.13
com.apple.driver.AppleLPC   3.1
com.apple.driver.AppleIntelSlowAdaptiveClocking   4.0.0
com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport   4.4.6f4
com.apple.GeForceTesla   10.0.0
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.nvidia.NVDAStartup   10.1.0
com.apple.driver.AppleFileSystemDriver   3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0
com.apple.BootCache   38
com.apple.iokit.IOBluetoothUSBDFU   4.4.6f4
com.apple.driver.AppleIRController   327.6
com.apple.driver.PioneerSuperDrive   3.7.1
com.apple.iokit.SCSITaskUserClient   3.7.7
com.apple.iokit.IOAHCIBlockStorage   2.8.5
com.apple.driver.AppleFWOHCI   5.5.4
com.apple.nvenet   2.0.22
com.apple.driver.AirPortBrcm43224   700.38.27
com.apple.driver.usb.AppleUSBEHCIPCI   1.0.1
com.apple.driver.usb.AppleUSBOHCIPCI   1.0.1
com.apple.driver.AppleAHCIPort   3.1.8
com.apple.driver.AppleRTC   2.0
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleACPIButtons   4.0
com.apple.driver.AppleSMBIOS   2.1
com.apple.driver.AppleACPIEC   4.0
com.apple.driver.AppleAPIC   1.7
com.apple.driver.AppleIntelCPUPowerManagementClient   218.0.0
com.apple.nke.applicationfirewall   163
com.apple.security.quarantine   3
com.apple.security.TMSafetyNet   8
com.apple.driver.AppleIntelCPUPowerManagement   218.0.0
com.apple.driver.AppleHIDKeyboard   181
com.apple.driver.usb.IOUSBHostHIDDevice   1.0.1
com.apple.kext.triggers   1.0
com.apple.iokit.IOSerialFamily   11
com.apple.driver.DspFuncLib   274.12
com.apple.kext.OSvKernDSPLib   525
com.apple.iokit.IOSurface   108.3.2
com.apple.driver.CoreCaptureResponder   1
com.apple.driver.AppleSMBusController   1.0.14d1
com.apple.iokit.IOSlowAdaptiveClockingFamily   1.0.0
com.apple.iokit.IOFireWireIP   2.2.6
com.apple.iokit.IOBluetoothHostControllerUSBTransport   4.4.6f4
com.apple.nvidia.classic.NVDANV50HalTesla   10.0.0
com.apple.nvidia.classic.NVDAResmanTesla   10.0.0
com.apple.driver.AppleHDAController   274.12
com.apple.iokit.IOHDAFamily   274.12
com.apple.iokit.IOAudioFamily   204.4
com.apple.vecLib.kext   1.2.0
com.apple.driver.AppleSMC   3.1.9
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.IOPlatformPluginFamily   6.0.0d7
com.apple.driver.AppleSMBusPCI   1.0.14d1
com.apple.iokit.IONDRVSupport   2.4.1
com.apple.iokit.IOGraphicsFamily   2.4.1
com.apple.driver.usb.AppleUSBHub   1.0.1
com.apple.driver.usb.cdc   5.0.0
com.apple.driver.usb.networking   5.0.0
com.apple.driver.usb.AppleUSBHostCompositeDevice   1.0.1
com.apple.iokit.IOSCSIMultimediaCommandsDevice   3.7.7
com.apple.iokit.IOBDStorageFamily   1.8
com.apple.iokit.IODVDStorageFamily   1.8
com.apple.iokit.IOCDStorageFamily   1.8
com.apple.iokit.IOAHCISerialATAPI   2.6.2
com.apple.iokit.IOSCSIArchitectureModelFamily   3.7.7
com.apple.driver.AppleXsanScheme   3
com.apple.iokit.IOFireWireFamily   4.6.1
com.apple.iokit.IO80211Family   1110.26
com.apple.iokit.IONetworkingFamily   3.2
com.apple.driver.corecapture   1.0.4
com.apple.driver.AppleUSBMergeNub   900.4.1
com.apple.driver.usb.AppleUSBOHCI   1.0.1
com.apple.driver.usb.AppleUSBEHCI   1.0.1
com.apple.iokit.IOAHCIFamily   2.8.1
com.apple.driver.NVSMU   2.2.9
com.apple.driver.AppleEFINVRAM   2.0
com.apple.driver.AppleEFIRuntime   2.0
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   300.0
com.apple.kext.AppleMatch   1.0.0d1
com.apple.driver.AppleKeyStore   2
com.apple.driver.AppleMobileFileIntegrity   1.0.5
com.apple.driver.AppleCredentialManager   1.0
com.apple.driver.DiskImages   417.4
com.apple.iokit.IOStorageFamily   2.1
com.apple.driver.IOBluetoothHIDDriver   4.4.6f4
com.apple.iokit.IOBluetoothFamily   4.4.6f4
com.apple.iokit.IOReportFamily   31
com.apple.iokit.IOUSBHIDDriver   900.4.1
com.apple.iokit.IOHIDFamily   2.0.0
com.apple.driver.AppleFDEKeyStore   28.30
com.apple.iokit.IOUSBFamily   900.4.1
com.apple.iokit.IOUSBHostFamily   1.0.1
com.apple.driver.AppleUSBHostMergeProperties   1.0.1
com.apple.driver.AppleACPIPlatform   4.0
com.apple.iokit.IOPCIFamily   2.9
com.apple.iokit.IOACPIFamily   1.4
com.apple.kec.Libm   1
com.apple.kec.pthread   1
com.apple.kec.corecrypto   1.0
 
My system: Mini 2009 (early) with El-Capitan 10.11.6
Arne
 
Posts: 30
Joined: Mon Oct 29, 2018 7:59 am

Re: zfs 2.1.99-776 paniced

Postby lundman » Sun Feb 27, 2022 11:07 pm

Ah sorry, the "-v" is for verbose boot, you can drop it if you dont like the scrolling messages boot.

This is quite an interesting panic, I'll take a proper look once I'm a bit more normal
User avatar
lundman
 
Posts: 1335
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 12 guests

cron