Panic (ZFS assertion failed) when adding cache vdev

This forum is to find answers to problems you may be having with ZEVO Community Edition.

Moderators: jhartley, MSR734, nola

Panic (ZFS assertion failed) when adding cache vdev

Post by grahamperrin » Mon Jun 10, 2013 2:09 pm

A comparable topic:

Adding a L2ARC cache USB pendrive panics

– but the panic reports below seem different from the report given by amteza.

Code: Select all
Sun Jun  9 08:52:20 2013
panic(cpu 0 caller 0xffffff7f9679a1b7): "/staging/zevo/src/uts/common/fs/zfs/dnode.c:1021 ZFS assertion failed: spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 || (spa_is_root(os->os_spa) && spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))"@/staging/zevo/src/uts/darwin/os/printf.c:43
Backtrace (CPU 0), Frame : Return Address
0xffffff80fd272e60 : 0xffffff801461d626
0xffffff80fd272ed0 : 0xffffff7f9679a1b7
0xffffff80fd272ee0 : 0xffffff7f967ad977
0xffffff80fd272f50 : 0xffffff7f967b73d5
0xffffff80fd272f90 : 0xffffff7f96807361
0xffffff80fd273000 : 0xffffff7f96807db1
0xffffff80fd273060 : 0xffffff7f9680a2e2
0xffffff80fd273120 : 0xffffff7f9680a70c
0xffffff80fd2731a0 : 0xffffff7f9683352f
0xffffff80fd273210 : 0xffffff7f96821b8f
0xffffff80fd2732a0 : 0xffffff8014711504
0xffffff80fd2732e0 : 0xffffff80146eb43c
0xffffff80fd273360 : 0xffffff80146eae1e
0xffffff80fd273420 : 0xffffff80146f3b1a
0xffffff80fd2735e0 : 0xffffff7f96794dd0
0xffffff80fd2736a0 : 0xffffff7f9683b15d
0xffffff80fd273800 : 0xffffff7f96840de3
0xffffff80fd2739a0 : 0xffffff7f96795082
0xffffff80fd273a90 : 0xffffff7f967fa4f5
0xffffff80fd273b20 : 0xffffff7f967f6d42
0xffffff80fd273b60 : 0xffffff7f967ee51d
0xffffff80fd273bd0 : 0xffffff7f967e7435
0xffffff80fd273c10 : 0xffffff7f967ea7a7
0xffffff80fd273c80 : 0xffffff7f9680e1d0
0xffffff80fd273cd0 : 0xffffff7f9680d6af
0xffffff80fd273d10 : 0xffffff80147203bd
0xffffff80fd273d60 : 0xffffff8014711d54
0xffffff80fd273dd0 : 0xffffff8014708179
0xffffff80fd273e20 : 0xffffff801494af03
0xffffff80fd273e50 : 0xffffff8014977963
0xffffff80fd273f50 : 0xffffff80149e16aa
0xffffff80fd273fb0 : 0xffffff80146ce9c3
      Kernel Extensions in backtrace:
         com.getgreenbytes.filesystem.zfs(2012.9.23)[04497DBB-8849-31D8-8496-BE10E5711C53]@0xffffff7f9678f000->0xffffff7f96928fff
            dependency: com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f94b72000

BSD process name corresponding to current thread: zpool
Boot args: -v

Mac OS version:
12E55

Kernel version:
Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
Kernel slide:     0x0000000014400000
Kernel text base: 0xffffff8014600000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 61181099220587
last loaded kext at 60936894921365: com.apple.driver.AppleUSBCDC   4.1.23 (addr 0xffffff7f96973000, size 16384)
last unloaded kext at 60889222342099: com.apple.driver.AppleUSBCDC   4.1.23 (addr 0xffffff7f96962000, size 12288)
loaded kexts:
com.kaspersky.kext.kimul.44   44
com.getgreenbytes.driver.zfs   2012.09.14
com.getgreenbytes.filesystem.zfs   2012.09.23
org.virtualbox.kext.VBoxNetAdp   4.2.12
org.virtualbox.kext.VBoxNetFlt   4.2.12
com.eltima.ElmediaPlayer.kext   1.0
org.virtualbox.kext.VBoxUSB   4.2.12
org.virtualbox.kext.VBoxDrv   4.2.12
foo.tun   1.0
foo.tap   1.0
org.openafs.filesystems.afs   1.6.2a1
net.telestream.driver.TelestreamAudio   1.0.5
com.Cycling74.driver.Soundflower   1.6.6
com.kaspersky.nke   1.0.1d41
com.kaspersky.kext.klif   3.0.0d23
com.Greatdy.driver.SystemAudioCapture   1.0.0
com.apple.driver.AppleUSBCDC   4.1.23
com.apple.filesystems.msdosfs   1.8.1
com.apple.driver.IOBluetoothSCOAudioDriver   4.1.4f2
com.apple.iokit.IOBluetoothSerialManager   4.1.4f2
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.filesystems.autofs   3.0
com.apple.driver.AudioAUUC   1.60
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.GeForce   8.1.2
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.nvenet   2.0.19
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.4f2
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.driver.AppleMuxControl   3.4.5
com.apple.driver.ApplePolicyControl   3.4.5
com.apple.driver.AirPort.Brcm4331   615.20.17
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.AppleLPC   1.6.0
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.driver.AppleUSBTCButtons   237.1
com.apple.driver.AppleUSBTCKeyboard   237.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0d1
com.apple.BootCache   34
com.apple.driver.AppleIRController   320.15
com.apple.iokit.SCSITaskUserClient   3.5.5
com.apple.driver.XsanFilter   404
com.apple.iokit.IOAHCIBlockStorage   2.3.1
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleFWOHCI   4.9.6
com.apple.driver.AppleUSBHub   5.5.5
com.apple.driver.AppleAHCIPort   2.5.2
com.apple.driver.AppleUSBEHCI   5.5.0
com.apple.driver.AppleUSBOHCI   5.2.5
com.apple.driver.AppleIntelCPUPowerManagementClient   196.0.0
com.apple.driver.AppleEFINVRAM   1.7
com.apple.driver.AppleRTC   1.5
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleACPIButtons   1.7
com.apple.driver.AppleSMBIOS   1.9
com.apple.driver.AppleACPIEC   1.7
com.apple.driver.AppleAPIC   1.6
com.apple.nke.applicationfirewall   4.0.39
com.apple.security.quarantine   2.1
com.apple.driver.AppleIntelCPUPowerManagement   196.0.0
com.apple.iokit.IOSCSIBlockCommandsDevice   3.5.5
com.apple.iokit.IOUSBMassStorageClass   3.5.1
com.apple.iokit.IOSerialFamily   10.0.6
com.apple.kext.triggers   1.0
com.apple.iokit.IOSurface   86.0.4
com.apple.iokit.IOBluetoothFamily   4.1.4f2
com.apple.nvidia.nv50hal   8.1.2
com.apple.NVDAResman   8.1.2
com.apple.driver.DspFuncLib   2.3.7fc4
com.apple.iokit.IOAudioFamily   1.8.9fc11
com.apple.kext.OSvKernDSPLib   1.6
com.apple.iokit.IOFireWireIP   2.2.5
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport   4.1.4f2
com.apple.driver.AppleHDAController   2.3.7fc4
com.apple.iokit.IOHDAFamily   2.3.7fc4
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.driver.AppleGraphicsControl   3.4.5
com.apple.iokit.IONDRVSupport   2.3.7
com.apple.iokit.IO80211Family   530.4
com.apple.iokit.IONetworkingFamily   3.0
com.apple.driver.NVSMU   2.2.9
com.apple.driver.AppleSMC   3.1.4d2
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.AppleSMBusPCI   1.0.11d0
com.apple.driver.IOPlatformPluginFamily   5.3.0d51
com.apple.driver.AppleSMBusController   1.0.11d0
com.apple.iokit.IOGraphicsFamily   2.3.7
com.apple.driver.AppleUSBMultitouch   237.3
com.apple.driver.CoreStorage   296.16.1
com.apple.iokit.IOUSBHIDDriver   5.2.5
com.apple.driver.AppleUSBMergeNub   5.5.5
com.apple.driver.AppleUSBComposite   5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice   3.5.5
com.apple.iokit.IOBDStorageFamily   1.7
com.apple.iokit.IODVDStorageFamily   1.7.1
com.apple.iokit.IOCDStorageFamily   1.7.1
com.apple.iokit.IOAHCISerialATAPI   2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily   3.5.5
com.apple.iokit.IOFireWireFamily   4.5.5
com.apple.iokit.IOUSBUserClient   5.5.5
com.apple.iokit.IOAHCIFamily   2.3.1
com.apple.iokit.IOUSBFamily   5.6.0
com.apple.driver.AppleEFIRuntime   1.7
com.apple.iokit.IOHIDFamily   1.8.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   220.3
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet   7
com.apple.driver.DiskImages   345
com.apple.iokit.IOStorageFamily   1.8
com.apple.driver.AppleKeyStore   28.21
com.apple.driver.AppleACPIPlatform   1.7
com.apple.iokit.IOPCIFamily   2.7.3
com.apple.iokit.IOACPIFamily   1.4
com.apple.kec.corecrypto   1.0


Code: Select all
Sun Jun  9 09:17:49 2013
panic(cpu 1 caller 0xffffff7f963a61b7): "/staging/zevo/src/uts/common/fs/zfs/dnode.c:1021 ZFS assertion failed: spa_config_held(os->os_spa, SCL_ALL, RW_WRITER) == 0 || (spa_is_root(os->os_spa) && spa_config_held(os->os_spa, SCL_STATE, RW_WRITER))"@/staging/zevo/src/uts/darwin/os/printf.c:43
Backtrace (CPU 1), Frame : Return Address
0xffffff80fe212e60 : 0xffffff8015e1d626
0xffffff80fe212ed0 : 0xffffff7f963a61b7
0xffffff80fe212ee0 : 0xffffff7f963b9977
0xffffff80fe212f50 : 0xffffff7f963c33d5
0xffffff80fe212f90 : 0xffffff7f96413361
0xffffff80fe213000 : 0xffffff7f96413db1
0xffffff80fe213060 : 0xffffff7f964162e2
0xffffff80fe213120 : 0xffffff7f9641670c
0xffffff80fe2131a0 : 0xffffff7f9643f52f
0xffffff80fe213210 : 0xffffff7f9642db8f
0xffffff80fe2132a0 : 0xffffff8015f11504
0xffffff80fe2132e0 : 0xffffff8015eeb43c
0xffffff80fe213360 : 0xffffff8015eeae1e
0xffffff80fe213420 : 0xffffff8015ef3b1a
0xffffff80fe2135e0 : 0xffffff7f963a0dd0
0xffffff80fe2136a0 : 0xffffff7f9644715d
0xffffff80fe213800 : 0xffffff7f9644cde3
0xffffff80fe2139a0 : 0xffffff7f963a1082
0xffffff80fe213a90 : 0xffffff7f964064f5
0xffffff80fe213b20 : 0xffffff7f96402d42
0xffffff80fe213b60 : 0xffffff7f963fa51d
0xffffff80fe213bd0 : 0xffffff7f963f3435
0xffffff80fe213c10 : 0xffffff7f963f67a7
0xffffff80fe213c80 : 0xffffff7f9641a1d0
0xffffff80fe213cd0 : 0xffffff7f964196af
0xffffff80fe213d10 : 0xffffff8015f203bd
0xffffff80fe213d60 : 0xffffff8015f11d54
0xffffff80fe213dd0 : 0xffffff8015f08179
0xffffff80fe213e20 : 0xffffff801614af03
0xffffff80fe213e50 : 0xffffff8016177963
0xffffff80fe213f50 : 0xffffff80161e16aa
0xffffff80fe213fb0 : 0xffffff8015ece9c3
      Kernel Extensions in backtrace:
         com.getgreenbytes.filesystem.zfs(2012.9.23)[04497DBB-8849-31D8-8496-BE10E5711C53]@0xffffff7f9639b000->0xffffff7f96535fff
            dependency: com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f9636e000

BSD process name corresponding to current thread: zpool
Boot args: -v

Mac OS version:
12E55

Kernel version:
Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64
Kernel UUID: 896CB1E3-AB79-3DF1-B595-549DFFDF3D36
Kernel slide:     0x0000000015c00000
Kernel text base: 0xffffff8015e00000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 840103940816
last loaded kext at 730797551254: com.kaspersky.kext.kimul.44   44 (addr 0xffffff7f98342000, size 45056)
last unloaded kext at 399344173079: com.apple.driver.AppleFileSystemDriver   3.0.1 (addr 0xffffff7f9810f000, size 8192)
loaded kexts:
com.kaspersky.kext.kimul.44   44
com.eltima.ElmediaPlayer.kext   1.0
org.virtualbox.kext.VBoxNetAdp   4.2.12
org.virtualbox.kext.VBoxNetFlt   4.2.12
org.virtualbox.kext.VBoxUSB   4.2.12
org.virtualbox.kext.VBoxDrv   4.2.12
foo.tap   1.0
foo.tun   1.0
org.openafs.filesystems.afs   1.6.2a1
net.telestream.driver.TelestreamAudio   1.0.5
com.Cycling74.driver.Soundflower   1.6.6
com.kaspersky.nke   1.0.1d41
com.kaspersky.kext.klif   3.0.0d23
com.Greatdy.driver.SystemAudioCapture   1.0.0
com.getgreenbytes.driver.zfs   2012.09.14
com.getgreenbytes.filesystem.zfs   2012.09.23
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.driver.IOBluetoothSCOAudioDriver   4.1.4f2
com.apple.filesystems.autofs   3.0
com.apple.driver.AudioAUUC   1.60
com.apple.iokit.IOBluetoothSerialManager   4.1.4f2
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.driver.AppleLPC   1.6.0
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.4f2
com.apple.driver.AppleMuxControl   3.4.5
com.apple.driver.ApplePolicyControl   3.4.5
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.GeForce   8.1.2
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.driver.AppleUSBTCButtons   237.1
com.apple.driver.AppleUSBTCKeyboard   237.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0d1
com.apple.BootCache   34
com.apple.driver.AppleIRController   320.15
com.apple.iokit.SCSITaskUserClient   3.5.5
com.apple.driver.XsanFilter   404
com.apple.iokit.IOAHCIBlockStorage   2.3.1
com.apple.driver.AirPort.Brcm4331   615.20.17
com.apple.driver.AppleFWOHCI   4.9.6
com.apple.driver.AppleAHCIPort   2.5.2
com.apple.nvenet   2.0.19
com.apple.driver.AppleUSBHub   5.5.5
com.apple.driver.AppleIntelCPUPowerManagementClient   196.0.0
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleUSBEHCI   5.5.0
com.apple.driver.AppleUSBOHCI   5.2.5
com.apple.driver.AppleEFINVRAM   1.7
com.apple.driver.AppleRTC   1.5
com.apple.driver.AppleHPET   1.8
com.apple.driver.AppleACPIButtons   1.7
com.apple.driver.AppleSMBIOS   1.9
com.apple.driver.AppleACPIEC   1.7
com.apple.driver.AppleAPIC   1.6
com.apple.nke.applicationfirewall   4.0.39
com.apple.security.quarantine   2.1
com.apple.driver.AppleIntelCPUPowerManagement   196.0.0
com.apple.kext.triggers   1.0
com.apple.iokit.IOSerialFamily   10.0.6
com.apple.iokit.IOSurface   86.0.4
com.apple.iokit.IOBluetoothFamily   4.1.4f2
com.apple.iokit.IOFireWireIP   2.2.5
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport   4.1.4f2
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.driver.AppleGraphicsControl   3.4.5
com.apple.driver.AppleSMBusController   1.0.11d0
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.IOPlatformPluginFamily   5.3.0d51
com.apple.driver.AppleSMBusPCI   1.0.11d0
com.apple.nvidia.nv50hal   8.1.2
com.apple.NVDAResman   8.1.2
com.apple.driver.DspFuncLib   2.3.7fc4
com.apple.iokit.IOAudioFamily   1.8.9fc11
com.apple.kext.OSvKernDSPLib   1.6
com.apple.driver.AppleSMC   3.1.4d2
com.apple.driver.AppleHDAController   2.3.7fc4
com.apple.iokit.IOHDAFamily   2.3.7fc4
com.apple.iokit.IONDRVSupport   2.3.7
com.apple.iokit.IOGraphicsFamily   2.3.7
com.apple.driver.AppleUSBMultitouch   237.3
com.apple.driver.CoreStorage   296.16.1
com.apple.iokit.IOUSBHIDDriver   5.2.5
com.apple.driver.AppleUSBMergeNub   5.5.5
com.apple.iokit.IOSCSIBlockCommandsDevice   3.5.5
com.apple.iokit.IOUSBMassStorageClass   3.5.1
com.apple.driver.AppleUSBComposite   5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice   3.5.5
com.apple.iokit.IOBDStorageFamily   1.7
com.apple.iokit.IODVDStorageFamily   1.7.1
com.apple.iokit.IOCDStorageFamily   1.7.1
com.apple.iokit.IOAHCISerialATAPI   2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily   3.5.5
com.apple.iokit.IO80211Family   530.4
com.apple.iokit.IOFireWireFamily   4.5.5
com.apple.iokit.IOAHCIFamily   2.3.1
com.apple.iokit.IONetworkingFamily   3.0
com.apple.iokit.IOUSBUserClient   5.5.5
com.apple.iokit.IOUSBFamily   5.6.0
com.apple.driver.NVSMU   2.2.9
com.apple.driver.AppleEFIRuntime   1.7
com.apple.iokit.IOHIDFamily   1.8.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   220.3
com.apple.kext.AppleMatch   1.0.0d1
com.apple.security.TMSafetyNet   7
com.apple.driver.DiskImages   345
com.apple.iokit.IOStorageFamily   1.8
com.apple.driver.AppleKeyStore   28.21
com.apple.driver.AppleACPIPlatform   1.7
com.apple.iokit.IOPCIFamily   2.7.3
com.apple.iokit.IOACPIFamily   1.4
com.apple.kec.corecrypto   1.0


Two USB 2.0 flash drives involved. Each panic occurred when I attempted to add a drive as a cache vdev to the pool gjp22 on Core Storage where the ZFS file system at the root is my home directory gjp22. The resulting drives seemed to be suitably partitioned, for example – 

Code: Select all
/dev/disk3
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *4.0 GB     disk3
   1:                        EFI                         209.7 MB   disk3s1
   2:                        ZFS                         3.7 GB     disk3s2


– but not within the pool.

Workaround

I performed the additions to the pool whilst not logged in as gjp22.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron