Systematic Kernel Panic after unmount and remount

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

Moderators: jhartley, MSR734, nola

Systematic Kernel Panic after unmount and remount

Post by amedeomantica » Sat Oct 27, 2012 5:36 am

Hello,

I have always kernel panic when try to mount a pool that was just unmounted.

Here the detail:

Zpool configuration is a zraid1 with four disks

How to reproduce the Kernel Panic:

Unmount the pool from Finder
Physically disconnect the drive
Reconnect the drive
After a few seconds the machine will crash

The only way to avoid the kernel panic is unmounting the pool via the zpool export command


Here the panic report:

Interval Since Last Panic Report: 780440 sec
Panics Since Last Report: 4
Anonymous UUID: D529ECBF-5D56-AB4B-3C8A-7065B52F87F0

Sat Oct 27 12:27:33 2012
panic(cpu 0 caller 0xffffff8003ab7bd5): Kernel trap at 0xffffff7f83f7fcf5, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000005c7a8022, CR4: 0x00000000000606e0
RAX: 0x0000000000000000, RBX: 0xffffff800ecbfd00, RCX: 0xffffff80040e0500, RDX: 0xffffff800e3d2600
RSP: 0xffffff80b61c3060, RBP: 0xffffff80b61c3080, RSI: 0x0000000020000001, RDI: 0x0000000000000000
R8: 0x0000000000000e5d, R9: 0x0000000000000000, R10: 0xffffff8010f59ea0, R11: 0xffffff8012f909c0
R12: 0xffffff8015491200, R13: 0xffffff800ecbfd00, R14: 0x0000000000000001, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff7f83f7fcf5, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff80b61c2d00 : 0xffffff8003a1d626
0xffffff80b61c2d70 : 0xffffff8003ab7bd5
0xffffff80b61c2f40 : 0xffffff8003ace4ed
0xffffff80b61c2f60 : 0xffffff7f83f7fcf5
0xffffff80b61c3080 : 0xffffff8003e3072b
0xffffff80b61c30e0 : 0xffffff7f83f87395
0xffffff80b61c30f0 : 0xffffff7f83f816d1
0xffffff80b61c3150 : 0xffffff8003e3072b
0xffffff80b61c31b0 : 0xffffff7f83f87395
0xffffff80b61c31c0 : 0xffffff7f83f8275f
0xffffff80b61c3230 : 0xffffff8003b1fb5c
0xffffff80b61c32a0 : 0xffffff8003b11c46
0xffffff80b61c32e0 : 0xffffff8003b0936c
0xffffff80b61c3390 : 0xffffff8003b08acb
0xffffff80b61c34f0 : 0xffffff8003af3f40
0xffffff80b61c36c0 : 0xffffff7f84033d6a
0xffffff80b61c3790 : 0xffffff8003af8aee
0xffffff80b61c3ae0 : 0xffffff8003af97fa
0xffffff80b61c3f10 : 0xffffff8003af8fd9
0xffffff80b61c3f50 : 0xffffff8003de182a
0xffffff80b61c3fb0 : 0xffffff8003aced33
Kernel Extensions in backtrace:
com.apple.iokit.IOStorageFamily(1.8)[A3CC4E44-8E10-3D9A-BA8E-95743E79D125]@0xffffff7f83f78000->0xffffff7f83f9cfff
com.getgreenbytes.filesystem.zfs(2012.9.23)[04497DBB-8849-31D8-8496-BE10E5711C53]@0xffffff7f83fa5000->0xffffff7f8413ffff
dependency: com.apple.iokit.IOStorageFamily(1.8)[A3CC4E44-8E10-3D9A-BA8E-95743E79D125]@0xffffff7f83f78000

BSD process name corresponding to current thread: zpool

Mac OS version:
12C60

Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000003800000
Kernel text base: 0xffffff8003a00000
System model name: MacBookAir4,1 (Mac-C08A6BB70A942AC2)

System uptime in nanoseconds: 333740084956
last loaded kext at 255301063171: com.apple.iokit.SCSITaskUserClient 3.5.1 (addr 0xffffff7f857ee000, size 36864)
last unloaded kext at 112290004678: com.apple.driver.AppleUSBUHCI 5.2.5 (addr 0xffffff7f844fd000, size 65536)
loaded kexts:
org.virtualbox.kext.VBoxNetAdp 4.2.1
org.virtualbox.kext.VBoxNetFlt 4.2.1
org.virtualbox.kext.VBoxUSB 4.2.1
org.virtualbox.kext.VBoxDrv 4.2.1
com.getgreenbytes.driver.zfs 2012.09.14
com.getgreenbytes.filesystem.zfs 2012.09.23
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.AppleFireWireStorage 3.1.0
com.apple.driver.initioFWBridge 3.1.0
com.apple.driver.IOFireWireSerialBusProtocolSansPhysicalUnit 3.1.0
com.apple.driver.LSI_FW_500 3.1.0
com.apple.driver.StorageLynx 3.1.0
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AudioAUUC 1.60
com.apple.filesystems.autofs 3.0
com.apple.driver.AGPM 100.12.69
com.apple.driver.ApplePlatformEnabler 2.0.5d4
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleLPC 1.6.0
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleHDA 2.3.1f2
com.apple.driver.AppleSMCPDRC 1.0.0
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.driver.AppleIntelHD3000Graphics 8.0.0
com.apple.driver.AppleIntelSNBGraphicsFB 8.0.0
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.Oxford_Semi 3.1.0
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AirPort.Brcm4331 602.15.22
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.kext.triggers 1.0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.driver.AppleThunderboltDPInAdapter 1.8.5
com.apple.driver.AppleThunderboltDPAdapterFamily 1.8.5
com.apple.driver.AppleThunderboltPCIUpAdapter 1.2.5
com.apple.driver.AppleThunderboltPCIDownAdapter 1.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOFireWireSerialBusProtocolTransport 2.1.1
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOFireWireSBP2 4.2.0
com.apple.driver.CoreStorage 274.7
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.driver.AppleThunderboltNHI 1.6.0
com.apple.iokit.IOThunderboltFamily 2.1.1
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookAir4,1, BootROM MBA41.0077.B0F, 2 processors, Intel Core i7, 1.8 GHz, 4 GB, SMC 1.74f3
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In, 384 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1333 MHz, 0x80AD, 0x484D54333235533642465238432D48392020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xE9), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
PCI Card: pci11c1,5901, sppci_ieee1394openhci, Thunderbolt@8,0,0
Serial ATA Device: APPLE SSD SM256C, 251 GB
USB Device: FaceTime Camera (Built-in), apple_vendor_id, 0x850a, 0xfa200000 / 3
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfa100000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0249, 0xfa120000 / 5
USB Device: BRCM20702 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0xfa110000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x821f, 0xfa113000 / 6
USB Device: hub_device, 0x0424 (SMSC), 0x2513, 0xfd100000 / 2


Regards
Amedeo
amedeomantica Offline


 
Posts: 2
Joined: Sat Sep 15, 2012 3:45 am

Re: Systematic Kernel Panic after unmount and remount

Post by grahamperrin » Sat Oct 27, 2012 6:39 am

MacBookAir4,1 (mid 2011) with 4 GB memory … do you use Thunderbolt or USB for the connection to the drive?

What makes and models are:

  • the four disks
  • the enclosure
  • (if separate) the power supply to the enclosure?

Please paste (as code – use the full editor) outputs from these three commands:

Code: Select all
zpool list


Code: Select all
sudo zpool status


Code: Select all
zfs list


----

Code: Select all
      Kernel Extensions in backtrace:
         com.apple.iokit.IOStorageFamily(1.8)[A3CC4E44-8E10-3D9A-BA8E-95743E79D125]@0xffffff7f83f78000->0xffffff7f83f9cfff
         com.getgreenbytes.filesystem.zfs(2012.9.23)[04497DBB-8849-31D8-8496-BE10E5711C53]@0xffffff7f83fa5000->0xffffff7f8413ffff
            dependency: com.apple.iokit.IOStorageFamily(1.8)[A3CC4E44-8E10-3D9A-BA8E-95743E79D125]@0xffffff7f83f78000

BSD process name corresponding to current thread: zpool

Mac OS version:
12C60


Comparable panics, with different steps to reproduce: Kernel panics when mounting or unmounting zfs drive
grahamperrin Offline

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

Re: Systematic Kernel Panic after unmount and remount

Post by amedeomantica » Sun Nov 04, 2012 6:56 am

Connection was via FireWire (Thunderbolt -> Firewire)

I don't have disks here, because the storage in not my own, but the spool list and spool status would get me no errors, everything fine, four 2TB brand new HDDs
amedeomantica Offline


 
Posts: 2
Joined: Sat Sep 15, 2012 3:45 am

Re: Systematic Kernel Panic after unmount and remount

Post by grahamperrin » Sun Nov 04, 2012 8:58 am

Thanks. If/when you can, please let us have the details suggested above.

(In an edge case, it may be necessary to focus on hardware – whatever the age and apparent state.)

Also, with or without those above:

Code: Select all
ls -l /var/zfs/dsk


Code: Select all
ls -l /Volumes


How short/long is the period between disconnection and reconnection?
grahamperrin Offline

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

Re: Systematic Kernel Panic after unmount and remount

Post by hergum » Sun Dec 09, 2012 3:54 pm

I have exactly the same problem. Sorry that I did not find your post previously (bad Googling) and made another post for the same topic here: http://zevo.getgreenbytes.com/forum/viewtopic.php?f=7&t=1895

Thanks for the suggestion to export the pool via Terminal instead of Finder.
hergum Offline


 
Posts: 5
Joined: Sat Sep 15, 2012 2:54 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron