Kernel Panic Issues after installing 2.0.0 RC5 on Big Sur

All your general support questions for OpenZFS on OS X.

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Thu Nov 19, 2020 9:52 pm

Ok, so version #6 installed fine on Parallels VM (w/Xeon) - no panics and no panics on boot.

The good:
  • Created Data Sets and loaded data.
  • Created ZVOL formated HFS+ and loaded data.

Oddness with volume icons on the desktop:
  • Dataset volume was "default" disk icon, changed to "shared folder" icon when permissions of the dataset were changed
  • ZVol formatted as HFS+ had *no* icon at all
  • Another ZVol formatted as APFS+ had *no* icon at all
  • Icons can be changed - change seems to stick
Export/Import:
  • Export pool:
    • Did not unmount ZVOLs (change in behaviour?) - export succeeds after manually unmounted the ZVOLs
    • Generated OS warning about root Dataset not being unmounted cleanly.
  • Import pool
    • Manually (once) all good, but only once. Subsequent behaviour from the command line is like "on boot" below. Edit: this is inconsistent - I have had successful "import -a" but not consistently.
    • On boot - not all ZVOLs mounted (appear as unformatted - as articulated here

Then a panic while doing lots of deletes:
Code: Select all
panic(cpu 3 caller 0xffffff800ebefa76): Kernel trap at 0xffffff800ed7a8f4, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x00000000000000d8, CR3: 0x000000023d1c2016, CR4: 0x00000000001606e0
RAX: 0xffffff800f808680, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000001000000
RSP: 0xffffffb094adb010, RBP: 0xffffffb094adb010, RSI: 0xffffffb071798488, RDI: 0x0000000000000000
R8:  0x123456789abcdef0, R9:  0x123456789abcdef0, R10: 0x000000044b82fa08, R11: 0x0000000000000000
R12: 0xffffffb094adb100, R13: 0xffffffb09fa93b00, R14: 0xffffffb08acbf6d0, R15: 0xffffffb072a43580
RFL: 0x0000000000010246, RIP: 0xffffff800ed7a8f4, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0x00000000000000d8, Error code: 0x0000000000000000, Fault CPU: 0x3 VMM, PL: 0, VF: 0

Backtrace (CPU 3), Frame : Return Address
0xffffffb094adaa30 : 0xffffff800eabc66d mach_kernel : _handle_debugger_trap + 0x3dd
0xffffffb094adaa80 : 0xffffff800ebff073 mach_kernel : _kdp_i386_trap + 0x143
0xffffffb094adaac0 : 0xffffff800ebef6aa mach_kernel : _kernel_trap + 0x55a
0xffffffb094adab10 : 0xffffff800ea61a2f mach_kernel : _return_from_trap + 0xff
0xffffffb094adab30 : 0xffffff800eabbf0d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffb094adac50 : 0xffffff800eabc1f8 mach_kernel : _panic_trap_to_debugger + 0x268
0xffffffb094adacc0 : 0xffffff800f2bee1a mach_kernel : _panic + 0x54
0xffffffb094adad30 : 0xffffff800ebefa76 mach_kernel : _sync_iss_to_iks + 0x2c6
0xffffffb094adaeb0 : 0xffffff800ebef75d mach_kernel : _kernel_trap + 0x60d
0xffffffb094adaf00 : 0xffffff800ea61a2f mach_kernel : _return_from_trap + 0xff
0xffffffb094adaf20 : 0xffffff800ed7a8f4 mach_kernel : _vnode_mount + 0x4
0xffffffb094adb010 : 0xffffff7faff7194c net.lundman.zfs : _zfs_zrele_async + 0x1c
0xffffffb094adb040 : 0xffffff7faff536d3 net.lundman.zfs : _zfs_rmnode + 0x203
0xffffffb094adb230 : 0xffffff7faff7c640 net.lundman.zfs : _zfs_vnop_reclaim + 0x180
0xffffffb094adb260 : 0xffffff800ed40f93 mach_kernel : _vnode_getiocount + 0x1233
0xffffffb094adb2e0 : 0xffffff800ed40590 mach_kernel : _vnode_getiocount + 0x830
0xffffffb094adb320 : 0xffffff800ed417e9 mach_kernel : _vnode_rele_internal + 0x749
0xffffffb094adb350 : 0xffffff800ed43ac4 mach_kernel : _vfs_init_io_attributes + 0x7f4
0xffffffb094adb3d0 : 0xffffff7faff7e815 net.lundman.zfs : _zfs_znode_getvnode + 0x1b5
0xffffffb094adb470 : 0xffffff7faff8457c net.lundman.zfs : _zfs_zget_ext + 0x3cc
0xffffffb094adb520 : 0xffffff7faff52e6e net.lundman.zfs : _zfs_dirent_lock + 0x40e
0xffffffb094adb5b0 : 0xffffff7faff53076 net.lundman.zfs : _zfs_dirlook + 0xe6
0xffffffb094adb620 : 0xffffff7faff71b41 net.lundman.zfs : _zfs_lookup + 0x151
0xffffffb094adb680 : 0xffffff7faff78a5a net.lundman.zfs : _zfs_vnop_lookup + 0x17a
0xffffffb094adb820 : 0xffffff800ed3ad8e mach_kernel : _lookup + 0x36e
0xffffffb094adb980 : 0xffffff800ed3a0b4 mach_kernel : _namei + 0x1144
0xffffffb094adbba0 : 0xffffff800ed21581 mach_kernel : _getattrlistbulk + 0xac1
0xffffffb094adbde0 : 0xffffff800ed211fc mach_kernel : _getattrlistbulk + 0x73c
0xffffffb094adbf40 : 0xffffff800f169ceb mach_kernel : _unix_syscall64 + 0x27b
0xffffffb094adbfa0 : 0xffffff800ea621f6 mach_kernel : _hndl_unix_scall64 + 0x16
      Kernel Extensions in backtrace:
         net.lundman.zfs(2.0)[44F77FAB-AD3F-365A-929B-6A759565821D]@0xffffff7fafe64000->0xffffff7fb0192fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[3FE3BE82-782C-3D93-8EFA-F06A4594D17C]@0xffffff8011537000->0xffffff8011548fff

Process name corresponding to current thread: mds
Boot args: keepsyms=1 debug=0x146

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x000000000e800000
KernelCache base:  0xffffff800ea00000
Kernel slide:      0x000000000e810000
Kernel text base:  0xffffff800ea10000
__HIB  text base: 0xffffff800e900000
System model name: Parallels16,1 (Mac-7BA5B2D9E42DDD94)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 444533240085
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00000067803ef3fe
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x00000001c2d18008 0x0000000000000000
last started kext at 19416888374: >AudioAUUC   1.70 (addr 0xffffff7fae1d5000, size 12288)
loaded kexts:
net.lundman.zfs   2.0.0
com.parallels.kext.video   16.1.1 49141
>AudioAUUC   1.70
@filesystems.smbfs   3.4.1
@fileutil   20.036.15
>!AGraphicsDevicePolicy   6.1.27
@filesystems.autofs   3.0
@AGDCPluginDisplayMetrics   6.1.27
>pmtelemetry   1
>LuaHardwareAccess   1.0.16
|IOUserEthernet   1.0.1
>usb.!UUserHCI   1
>!AHDAHardwareConfigDriver   283.15
|IO!BSerialManager   8.0.1f5
@Dont_Steal_Mac_OS_X   7.0.0
>!AHDA   283.15
>!AHV   1
>!AUpstreamUserClient   3.6.8
>!AMCCSControl   1.14
>!ADiskImages2   1
>!A!ISlowAdaptiveClocking   4.0.0
>!A!IMCEReporter   115
>!APVPanic   1
>ACPI_SMC_PlatformPlugin   1.0.0
>!AFIVRDriver   4.1.0
|SCSITaskUserClient   436.40.6
>!AFileSystemDriver   3.0.1
@filesystems.tmpfs   1
@filesystems.hfs.kext   556.41.1
@BootCache   40
@!AFSCompression.!AFSCompressionTypeZlib   1.0.0
@!AFSCompression.!AFSCompressionTypeDataless   1.0.0d1
@filesystems.apfs   1677.50.1
>!AAHCIPort   346
>!AVirtIO   74.50.1
>!A!I8254XEthernet   3.1.5
@private.KextAudit   1.0
>!AACPIButtons   6.1
>!AHPET   1.8
>!ARTC   2.0
>!ASMBIOS   2.1
>!AAPIC   1.7
@!ASystemPolicy   2.0.0
@nke.applicationfirewall   310
|IOKitRegistryCompatibility   1
|EndpointSecurity   1
>!UAudio   401.4
>!AHIDKeyboard   222
>!AGraphicsControl   6.1.27
@kext.triggers   1.0
|IOAVB!F   900.12
>DspFuncLib   283.15
@kext.OSvKernDSPLib   529
>!ASMBus!C   1.0.18d1
|IOSMBus!F   1.1
@!AGPUWrangler   6.1.27
@!AGraphicsDeviceControl   6.1.27
|IOSlowAdaptiveClocking!F   1.0.0
|IONDRVSupport   585
@plugin.IOgPTPPlugin   900.11
|IOEthernetAVB!C   1.1.0
>!AHDA!C   283.15
|IOHDA!F   283.15
|IOGraphics!F   585
>IOPlatformPluginLegacy   1.0.0
>IOPlatformPlugin!F   6.0.0d8
>usb.IOUSBHostHIDDevice   1.2
>usb.cdc   5.0.0
>usb.networking   5.0.0
>usb.!UHostCompositeDevice   1.2
|IOSCSIMultimediaCommandsDevice   436.40.6
|IOBD!S!F   1.8
|IODVD!S!F   1.8
|IOCD!S!F   1.8
>!ABSDKextStarter   3
|IOSurface   289.3
|IOSkywalk!F   1
>mDNSOffloadUserClient   1.0.1b8
@filesystems.hfs.encodings.kext   1
>!AXsanScheme   3
|IOAHCISerialATAPI   268
|IOAHCIBlock!S   332
|IOAHCI!F   294
|IOSerial!F   11
|IOAudio!F   300.6.1
@vecLib.kext   1.2.0
>usb.!UXHCIPCI   1.2
>usb.!UXHCI   1.2
>usb.!UEHCIPCI   1.2
>usb.!UUHCIPCI   1.2
>usb.!UUHCI   1.2
>usb.!UEHCI   1.2
>usb.!UHostPacketFilter   1.0
|IOUSB!F   900.4.2
>!AEFINVRAM   2.1
>!AEFIRuntime   2.1
|IOHID!F   2.0.0
$!AImage4   3.0.0
|IOTimeSync!F   900.11
|IONetworking!F   3.4
>DiskImages   493.0.0
|IO!B!F   8.0.1f5
|IOReport!F   47
|IO!BPacketLogger   8.0.1f5
$quarantine   4
$sandbox   300.0
@kext.!AMatch   1.0.0d1
|CoreAnalytics!F   1
>!ASSE   1.0
>!AKeyStore   2
>!UTDM   511.40.9
|IOUSBMass!SDriver   184.40.6
|IOSCSIBlockCommandsDevice   436.40.6
|IO!S!F   2.1
|IOSCSIArchitectureModel!F   436.40.6
>!AMobileFileIntegrity   1.0.5
@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.corecrypto   1.0
@kec.Libm   1


Cheers!
James

Edit 2: Panic is repeatable (identical trace) - deleting a copy of XCode placed in the Trash.
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Thu Nov 19, 2020 10:11 pm

Following on from the post above, the panic also happens when destroying a ZVOL or Dataset:

Code: Select all
panic(cpu 0 caller 0xffffff80011efa76): Kernel trap at 0xffffff800137a8f4, type 14=page fault, registers:
CR0: 0x00000000c001003b, CR2: 0x00000000000000d8, CR3: 0x00000001178c4065, CR4: 0x00000000001606e0
RAX: 0xffffff8001e04fc0, RBX: 0x0000000000000000, RCX: 0x0000000000000000, RDX: 0x0000000001000000
RSP: 0xffffffb0847d3910, RBP: 0xffffffb0847d3910, RSI: 0xffffffb063bb8308, RDI: 0x0000000000000000
R8:  0x123456789abcdef0, R9:  0x123456789abcdef0, R10: 0x000000044b82fac6, R11: 0x0000000000000000
R12: 0xffffffb0847d3a00, R13: 0xffffffb065089800, R14: 0xffffffb076b4db50, R15: 0xffffffb064f65540
RFL: 0x0000000000010246, RIP: 0xffffff800137a8f4, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x00000000000000d8, Error code: 0x0000000000000000, Fault CPU: 0x0 VMM, PL: 0, VF: 0

Backtrace (CPU 0), Frame : Return Address
0xffffffb0847d3330 : 0xffffff80010bc66d mach_kernel : _handle_debugger_trap + 0x3dd
0xffffffb0847d3380 : 0xffffff80011ff073 mach_kernel : _kdp_i386_trap + 0x143
0xffffffb0847d33c0 : 0xffffff80011ef6aa mach_kernel : _kernel_trap + 0x55a
0xffffffb0847d3410 : 0xffffff8001061a2f mach_kernel : _return_from_trap + 0xff
0xffffffb0847d3430 : 0xffffff80010bbf0d mach_kernel : _DebuggerTrapWithState + 0xad
0xffffffb0847d3550 : 0xffffff80010bc1f8 mach_kernel : _panic_trap_to_debugger + 0x268
0xffffffb0847d35c0 : 0xffffff80018bee1a mach_kernel : _panic + 0x54
0xffffffb0847d3630 : 0xffffff80011efa76 mach_kernel : _sync_iss_to_iks + 0x2c6
0xffffffb0847d37b0 : 0xffffff80011ef75d mach_kernel : _kernel_trap + 0x60d
0xffffffb0847d3800 : 0xffffff8001061a2f mach_kernel : _return_from_trap + 0xff
0xffffffb0847d3820 : 0xffffff800137a8f4 mach_kernel : _vnode_mount + 0x4
0xffffffb0847d3910 : 0xffffff7fa257194c net.lundman.zfs : _zfs_zrele_async + 0x1c
0xffffffb0847d3940 : 0xffffff7fa25536d3 net.lundman.zfs : _zfs_rmnode + 0x203
0xffffffb0847d3b30 : 0xffffff7fa257c640 net.lundman.zfs : _zfs_vnop_reclaim + 0x180
0xffffffb0847d3b60 : 0xffffff8001340f93 mach_kernel : _vnode_getiocount + 0x1233
0xffffffb0847d3be0 : 0xffffff8001340590 mach_kernel : _vnode_getiocount + 0x830
0xffffffb0847d3c20 : 0xffffff80013462c5 mach_kernel : _vflush + 0x2a5
0xffffffb0847d3ca0 : 0xffffff8001352664 mach_kernel : _dounmount + 0x374
0xffffffb0847d3d60 : 0xffffff8001352189 mach_kernel : _unmount + 0x1a9
0xffffffb0847d3f40 : 0xffffff8001769ceb mach_kernel : _unix_syscall64 + 0x27b
0xffffffb0847d3fa0 : 0xffffff80010621f6 mach_kernel : _hndl_unix_scall64 + 0x16
      Kernel Extensions in backtrace:
         net.lundman.zfs(2.0)[44F77FAB-AD3F-365A-929B-6A759565821D]@0xffffff7fa2464000->0xffffff7fa2792fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[3FE3BE82-782C-3D93-8EFA-F06A4594D17C]@0xffffff8003b37000->0xffffff8003b48fff

Process name corresponding to current thread: umount
Boot args: keepsyms=1 debug=0x146

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x0000000000e00000
KernelCache base:  0xffffff8001000000
Kernel slide:      0x0000000000e10000
Kernel text base:  0xffffff8001010000
__HIB  text base: 0xffffff8000f00000
System model name: Parallels16,1 (Mac-7BA5B2D9E42DDD94)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 85145357198
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x00000013d30f0e8a
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x00000001aad76490 0x0000000000000000
last started kext at 19774000018: >AudioAUUC   1.70 (addr 0xffffff7fa07d5000, size 12288)
loaded kexts:
net.lundman.zfs   2.0.0
com.parallels.kext.video   16.1.1 49141
>AudioAUUC   1.70
@filesystems.smbfs   3.4.1
@fileutil   20.036.15
@filesystems.autofs   3.0
>!AHDAHardwareConfigDriver   283.15
>!AGraphicsDevicePolicy   6.1.27
>!AHDA   283.15
@AGDCPluginDisplayMetrics   6.1.27
>!AUpstreamUserClient   3.6.8
>!AMCCSControl   1.14
>pmtelemetry   1
>LuaHardwareAccess   1.0.16
|IOUserEthernet   1.0.1
>usb.!UUserHCI   1
|IO!BSerialManager   8.0.1f5
@Dont_Steal_Mac_OS_X   7.0.0
>!AHV   1
>!ADiskImages2   1
>ACPI_SMC_PlatformPlugin   1.0.0
>!A!ISlowAdaptiveClocking   4.0.0
>!APVPanic   1
>!A!IMCEReporter   115
>!AFIVRDriver   4.1.0
|SCSITaskUserClient   436.40.6
>!AFileSystemDriver   3.0.1
@filesystems.tmpfs   1
@filesystems.hfs.kext   556.41.1
@BootCache   40
@!AFSCompression.!AFSCompressionTypeZlib   1.0.0
@!AFSCompression.!AFSCompressionTypeDataless   1.0.0d1
@filesystems.apfs   1677.50.1
>!AVirtIO   74.50.1
>!AAHCIPort   346
>!A!I8254XEthernet   3.1.5
@private.KextAudit   1.0
>!AACPIButtons   6.1
>!AHPET   1.8
>!ARTC   2.0
>!ASMBIOS   2.1
>!AAPIC   1.7
@!ASystemPolicy   2.0.0
@nke.applicationfirewall   310
|IOKitRegistryCompatibility   1
|EndpointSecurity   1
>!AHIDKeyboard   222
@kext.triggers   1.0
>!AGraphicsControl   6.1.27
>DspFuncLib   283.15
@kext.OSvKernDSPLib   529
>!ASMBus!C   1.0.18d1
|IOSMBus!F   1.1
|IONDRVSupport   585
|IOAVB!F   900.12
@!AGPUWrangler   6.1.27
@!AGraphicsDeviceControl   6.1.27
>IOPlatformPluginLegacy   1.0.0
>IOPlatformPlugin!F   6.0.0d8
|IOSlowAdaptiveClocking!F   1.0.0
>!AHDA!C   283.15
|IOHDA!F   283.15
|IOGraphics!F   585
@plugin.IOgPTPPlugin   900.11
|IOEthernetAVB!C   1.1.0
>usb.IOUSBHostHIDDevice   1.2
>usb.cdc   5.0.0
>usb.networking   5.0.0
>usb.!UHostCompositeDevice   1.2
|IOSCSIMultimediaCommandsDevice   436.40.6
|IOBD!S!F   1.8
|IODVD!S!F   1.8
|IOCD!S!F   1.8
>!ABSDKextStarter   3
|IOSurface   289.3
|IOSkywalk!F   1
>mDNSOffloadUserClient   1.0.1b8
@filesystems.hfs.encodings.kext   1
>!AXsanScheme   3
|IOAHCISerialATAPI   268
|IOAHCIBlock!S   332
|IOSerial!F   11
|IOAudio!F   300.6.1
@vecLib.kext   1.2.0
|IOAHCI!F   294
>usb.!UXHCIPCI   1.2
>usb.!UXHCI   1.2
>usb.!UEHCIPCI   1.2
>usb.!UUHCIPCI   1.2
>usb.!UUHCI   1.2
>usb.!UEHCI   1.2
>usb.!UHostPacketFilter   1.0
|IOUSB!F   900.4.2
>!AEFINVRAM   2.1
>!AEFIRuntime   2.1
|IOHID!F   2.0.0
$!AImage4   3.0.0
|IOTimeSync!F   900.11
|IONetworking!F   3.4
>DiskImages   493.0.0
|IO!B!F   8.0.1f5
|IOReport!F   47
|IO!BPacketLogger   8.0.1f5
$quarantine   4
$sandbox   300.0
@kext.!AMatch   1.0.0d1
|CoreAnalytics!F   1
>!ASSE   1.0
>!AKeyStore   2
>!UTDM   511.40.9
|IOUSBMass!SDriver   184.40.6
|IOSCSIBlockCommandsDevice   436.40.6
|IO!S!F   2.1
|IOSCSIArchitectureModel!F   436.40.6
>!AMobileFileIntegrity   1.0.5
@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.corecrypto   1.0
@kec.Libm   1
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby lundman » Thu Nov 19, 2020 10:18 pm

Cheers, that is interesting. Looks like I should check zfs_zrele_async and make sure it is correct. There appears to be a zvol race still but not quite as bad as before.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Fri Nov 20, 2020 3:48 pm

Ok, #7 build on Parallels VM (w/Xeon)...

  • Install and reboot - ok.
  • Import pre-existing pool - ok.
  • Create Dataset and ZVOLs - ok.
  • Loaded data - ok.
  • Export pool - as before (did not unmount ZVOLs - export succeeds after manually unmounted the ZVOLs, fenerated OS warning about root Dataset not being unmounted cleanly).
  • Import pool - as before (inconsistent discovery/mounting ZVOLs).
  • Delete data - didn't immediately panic, but got ~138000 files into XCode and then Finder(?) started losing the plot and each application or shell I started interacted with would beachball-of-doom to the point the VM became unresponsive.
Any thoughts on how I could gather any useful info on that?

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

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby lundman » Fri Nov 20, 2020 4:37 pm

Since you mentioned Catalina behaves the same, I will run some local tests here - it is much easier to work/debug on Catalina.

If you do get hangs, and beachballs, the thing to run is "sudo spindump". Will show the stacks and what they are doing. Alternatively,
explain what you did so I can try replicate. I will try putting xcode in trash and empty.
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Fri Nov 20, 2020 5:23 pm

Thanks @lundman. I'll try sudo spindump if I can, however, the VM was so unresponsive that I couldn't even SSH into it - it was still "alive" though.

Ok... while typing this I was running another delete.

Things ran along for ~144000 files in XCode then I noticed the CPU drop right off... stayed there for a while then spiked backup. When I run 'sudo spindump" I was promptly told:
Code: Select all
zsh- too many open files in system


...

Once I've recovered the VM, I'll try copying and deleting XCode on a non-ZFS volume.

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

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby lundman » Fri Nov 20, 2020 7:46 pm

Too many files? Hmmmmm, that does sound connected to reclaim - I'll give it a whirl
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Fri Nov 20, 2020 10:40 pm

Mmm... so a copy of XCode on the boot disk and a copy of XCode on an external ExFAT drive all deleted ok.

Imported my test pool and recommenced emptying the trash and got ~110000 files in and "too many open files" and things went pear-shaped.

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

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby dguisinger01 » Sat Nov 21, 2020 2:21 pm

I'm still getting the same kernel panic in build 7.
I've searched for instructions on how to enable keep symbols on Big Sur but so far haven't found something that didn't just give me security errors, I saw mention of using a recovery partition boot which I've never done - but when I google the steps for that people say its no longer in Big Sur.

So... unless someone can give me step by step instructions, this is all you are going to get.

Code: Select all
panic(cpu 2 caller 0xffffff80025efa76): Kernel trap at 0xffffff7fa3b7f702, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff80057e4008, CR3: 0x0000000016576000, CR4: 0x00000000003626e0
RAX: 0x00000000000060e2, RBX: 0xffffff80057e4008, RCX: 0xffffff8002360000, RDX: 0x0000000000000000
RSP: 0xffffffc113b0bcb0, RBP: 0xffffffc113b0bcf0, RSI: 0xffffff8002411148, RDI: 0xffffff8002410020
R8:  0x0000000519fac21b, R9:  0x0000000000000000, R10: 0x0000020000011000, R11: 0xffffffa089ab4280
R12: 0x0000000000000000, R13: 0xffffff8002411188, R14: 0x0000000000000000, R15: 0xffffff8005b8f9c8
RFL: 0x0000000000010246, RIP: 0xffffff7fa3b7f702, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0xffffff80057e4008, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 2

Backtrace (CPU 2), Frame : Return Address
0xffffffc113b0b6d0 : 0xffffff80024bc66d
0xffffffc113b0b720 : 0xffffff80025ff073
0xffffffc113b0b760 : 0xffffff80025ef6aa
0xffffffc113b0b7b0 : 0xffffff8002461a2f
0xffffffc113b0b7d0 : 0xffffff80024bbf0d
0xffffffc113b0b8f0 : 0xffffff80024bc1f8
0xffffffc113b0b960 : 0xffffff8002cbee1a
0xffffffc113b0b9d0 : 0xffffff80025efa76
0xffffffc113b0bb50 : 0xffffff80025ef75d
0xffffffc113b0bba0 : 0xffffff8002461a2f
0xffffffc113b0bbc0 : 0xffffff7fa3b7f702
0xffffffc113b0bcf0 : 0xffffff7fa3b7efb1
0xffffffc113b0bd40 : 0xffffff7fa3b7ed4d
0xffffffc113b0bd90 : 0xffffff7fa39e8ff6
0xffffffc113b0bdd0 : 0xffffff8002bef09b
0xffffffc113b0be40 : 0xffffff8002beec46
0xffffffc113b0bef0 : 0xffffff8002beddcf
0xffffffc113b0bf50 : 0xffffff8002bf0b46
0xffffffc113b0bfa0 : 0xffffff800246113e
      Kernel Extensions in backtrace:
         net.lundman.zfs(2.0)[BCA3C767-0F77-3C82-8314-77E397B605B2]@0xffffff7fa38e5000->0xffffff7fa3c14fff
            dependency: com.apple.iokit.IOStorageFamily(2.1)[3FE3BE82-782C-3D93-8EFA-F06A4594D17C]@0xffffff8004f37000->0xffffff8004f48fff

Process name corresponding to current thread: kernel_task
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
20B29

Kernel version:
Darwin Kernel Version 20.1.0: Sat Oct 31 00:07:11 PDT 2020; root:xnu-7195.50.7~2/RELEASE_X86_64
Kernel UUID: 84C6DC45-6B02-335F-9439-5D2A9BC385A4
KernelCache slide: 0x0000000002200000
KernelCache base:  0xffffff8002400000
Kernel slide:      0x0000000002210000
Kernel text base:  0xffffff8002410000
__HIB  text base: 0xffffff8002300000
System model name: MacBookPro16,1 (Mac-E1008331FDC96864)
System shutdown begun: NO
Hibernation exit count: 0

System uptime in nanoseconds: 21916357736
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x000000051a51193d
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x00000010bbc0397c 0x0000000000000000
last started kext at 21736418776: >!ATopCaseHIDEventDriver   4000.27 (addr 0xffffff8003bcb000, size 28672)
loaded kexts:
dguisinger01
 
Posts: 21
Joined: Fri Jun 12, 2020 9:51 am

Re: Kernel Panic Issues after installing 2.0.0 RC5 on Big Su

Postby Jimbo » Sat Nov 21, 2020 3:37 pm

@dguisinger01
  1. Turn you machine off.
  2. Turn your machine on and immediately hold Command-r on the keyboard. Let go when you see the progress bar.
  3. This should boot into Recovery Mode.
  4. Pick your user, click next and enter your password.
  5. Select the Utilities menu and open a terminal, then:
    Code: Select all
    nvram boot-args=“keepsyms=1 debug=0x146”
  6. Exit terminal.
  7. Choose Restart from Apple menu.
  8. Done.
Jimbo
 
Posts: 149
Joined: Sun Sep 17, 2017 5:12 am

PreviousNext

Return to General Help

Who is online

Users browsing this forum: No registered users and 39 guests