diskutil kernel panic

Moderators: jhartley, MSR734, nola

diskutil kernel panic

Post by grahamperrin » Thu Mar 21, 2013 2:34 am

For reference only – at the moment I don't expect help with troubleshooting, because this panic was before I followed raattgift's advice concerning com.LaCie.ScsiType00 and org.dungeon.driver.SATSMARTDriver KEXTs.

For what it's worth, the panic here reminds me of two other topics:


Code: Select all
Sat Mar 16 20:34:29 2013
panic(cpu 0 caller 0xffffff8000eb7e95): Kernel trap at 0xffffff7f81373cf5, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x00000001f4cd8000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff8017d1ca00, RCX: 0xffffff80014e04f0, RDX: 0xffffff8014b5ff00
RSP: 0xffffff80e92cb860, RBP: 0xffffff80e92cb880, RSI: 0x0000000020000001, RDI: 0x0000000000000000
R8:  0x0000000000001873, R9:  0x0000000000000000, R10: 0xffffff802c537ae0, R11: 0xffffff7f81e69980
R12: 0xffffff8019e1a600, R13: 0xffffff8017d1ca00, R14: 0x0000000000000001, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff7f81373cf5, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff80e92cb500 : 0xffffff8000e1d626
0xffffff80e92cb570 : 0xffffff8000eb7e95
0xffffff80e92cb740 : 0xffffff8000ecd4dd
0xffffff80e92cb760 : 0xffffff7f81373cf5
0xffffff80e92cb880 : 0xffffff800122f7eb
0xffffff80e92cb8e0 : 0xffffff7f8137b395
0xffffff80e92cb8f0 : 0xffffff7f813756d1
0xffffff80e92cb950 : 0xffffff800122f7eb
0xffffff80e92cb9b0 : 0xffffff7f8137b395
0xffffff80e92cb9c0 : 0xffffff7f8137675f
0xffffff80e92cba30 : 0xffffff8000f1e984
0xffffff80e92cbaa0 : 0xffffff8000f10c66
0xffffff80e92cbae0 : 0xffffff8000f0838c
0xffffff80e92cbb90 : 0xffffff8000efab49
0xffffff80e92cbc40 : 0xffffff8000efb314
0xffffff80e92cbf50 : 0xffffff80011e063a
0xffffff80e92cbfb0 : 0xffffff8000ecdd23
      Kernel Extensions in backtrace:
         com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f8136c000->0xffffff7f81390fff

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

Mac OS version:
12D78

Kernel version:
Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
Kernel slide:     0x0000000000c00000
Kernel text base: 0xffffff8000e00000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 172151540070366
last loaded kext at 170449024110541: com.apple.iokit.IOSCSIReducedBlockCommandsDevice   3.5.5 (addr 0xffffff7f835f3000, size 49152)
last unloaded kext at 170767896150150: com.apple.iokit.IOFireWireSBP2   4.2.2 (addr 0xffffff7f835c6000, size 110592)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs   2.5.4
com.kaspersky.kext.kimul.44   44
org.virtualbox.kext.VBoxNetAdp   4.2.8
org.virtualbox.kext.VBoxNetFlt   4.2.8
org.virtualbox.kext.VBoxUSB   4.2.8
org.virtualbox.kext.VBoxDrv   4.2.8
foo.tun   1.0
foo.tap   1.0
com.eltima.ElmediaPlayer.kext   1.0
org.openafs.filesystems.afs   1.6.2a1
net.telestream.driver.TelestreamAudio   1.0.5
com.Cycling74.driver.Soundflower   1.6.2
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.LaCie.ScsiType00   1.2.13
at.obdev.nke.LittleSnitch   3909
com.apple.filesystems.afpfs   10.0
com.apple.nke.asp_tcp   7.0.0
com.apple.filesystems.smbfs   1.8
com.apple.driver.AppleBluetoothMultitouch   75.19
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.filesystems.autofs   3.0
com.apple.iokit.IOBluetoothSerialManager   4.1.3f3
com.apple.driver.AudioAUUC   1.60
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.ApplePolicyControl   3.3.0
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.GeForce   8.1.0
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.driver.AppleMuxControl   3.3.0
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.driver.AppleL


Note, the tail of that text – not complete.

The panic probably:

  • coincided with a run of a customised sysdiagnose, for a hang that affected Kaspersky Security
  • occurred around the time when diskutil was run by the script.

(I do have, locally, the partial results of that sysdiagnose.)
grahamperrin Offline

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

Re: diskutil kernel panic

Post by raattgift » Thu Mar 21, 2013 9:50 am

Err... but:

loaded kexts:
...
com.LaCie.ScsiType00 1.2.13

that one's still there.

What was it doing with diskutil? Was it "diskutil info device" by any chance?
raattgift Offline


 
Posts: 98
Joined: Mon Sep 24, 2012 11:18 pm

Re: diskutil kernel panic

Post by grahamperrin » Fri Mar 22, 2013 1:52 am

In the opening post:

> …  this panic was before I followed raattgift's advice concerning
> com.LaCie.ScsiType00 and org.dungeon.driver.SATSMARTDriver KEXTs

… and:  

> diskutil was run by the script

– the customised sysdiagnose script.

Today

Without those two KEXTs, with the following steps I produced a panic:

  1. ZEVO Community Edition 1.1.1 on OS X 10.8.3 on a MacBookPro5,2 with 8 GB memory
  2. use Finder to eject the two mounted file systems of a pool that comprises two trusted hard disk drives on an old USB hub (the same pool features in Finder eject, reconnect, panic, type 14=page fault, zpool)
  3. observe an alignment error message in system.log
  4. observe a zfsvfs_teardown message in system.log
  5. run Apple's original sysdiagnose without error
  6. around the time when sysdiagnose appears to run kextstat, observe a device is not open message in system.log for disk6, which contains the zfs_pool_proxy (disk6) and zfs_filesystem_proxy (disk6s1) for the affected pool
  7. disconnect the hub from the laptop
  8. run Apple's original sysdiagnose

Expected

Completion of sysdiagnose.

Actual result

Code: Select all
Kernel panic:

Anonymous UUID:                    6EC9434E-D891-BB1A-B9BA-FC712AAA083B

Fri Mar 22 02:01:54 2013
panic(cpu 0 caller 0xffffff801a6b7e95): Kernel trap at 0xffffff7f9ab73cf5, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x000000000bab5000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff8035310400, RCX: 0xffffff801ace04f0, RDX: 0xffffff8034702700
RSP: 0xffffff8104bc3860, RBP: 0xffffff8104bc3880, RSI: 0x0000000020000001, RDI: 0x0000000000000000
R8:  0x00000000000011d4, R9:  0x0000000000000000, R10: 0xffffff802ead2310, R11: 0xffffff7f9b629980
R12: 0xffffff8031e3f500, R13: 0xffffff8035310400, R14: 0x0000000000000001, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff7f9ab73cf5, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff8104bc3500 : 0xffffff801a61d626
0xffffff8104bc3570 : 0xffffff801a6b7e95
0xffffff8104bc3740 : 0xffffff801a6cd4dd
0xffffff8104bc3760 : 0xffffff7f9ab73cf5
0xffffff8104bc3880 : 0xffffff801aa2f7eb
0xffffff8104bc38e0 : 0xffffff7f9ab7b395
0xffffff8104bc38f0 : 0xffffff7f9ab756d1
0xffffff8104bc3950 : 0xffffff801aa2f7eb
0xffffff8104bc39b0 : 0xffffff7f9ab7b395
0xffffff8104bc39c0 : 0xffffff7f9ab7675f
0xffffff8104bc3a30 : 0xffffff801a71e984
0xffffff8104bc3aa0 : 0xffffff801a710c66
0xffffff8104bc3ae0 : 0xffffff801a70838c
0xffffff8104bc3b90 : 0xffffff801a6fab49
0xffffff8104bc3c40 : 0xffffff801a6fb314
0xffffff8104bc3f50 : 0xffffff801a9e063a
0xffffff8104bc3fb0 : 0xffffff801a6cdd23
      Kernel Extensions in backtrace:
         com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f9ab6c000->0xffffff7f9ab90fff

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

Mac OS version:
12D78

Kernel version:
Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
Kernel slide:     0x000000001a400000
Kernel text base: 0xffffff801a600000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 1044628638073
last loaded kext at 640709013725: com.apple.filesystems.smbfs   1.8 (addr 0xffffff7f9cc72000, size 229376)
last unloaded kext at 172259648306: com.apple.driver.AppleUSBTCKeyEventDriver   237.1 (addr 0xffffff7f9c5b4000, size 8192)
loaded kexts:
com.kaspersky.kext.kimul.44   44
com.eltima.ElmediaPlayer.kext   1.0
org.virtualbox.kext.VBoxNetAdp   4.2.10
org.virtualbox.kext.VBoxNetFlt   4.2.10
org.virtualbox.kext.VBoxUSB   4.2.10
org.virtualbox.kext.VBoxDrv   4.2.10
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.2
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
at.obdev.nke.LittleSnitch   3909
com.apple.filesystems.smbfs   1.8
com.apple.driver.AppleBluetoothMultitouch   75.19
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.iokit.IOBluetoothSerialManager   4.1.3f3
com.apple.filesystems.autofs   3.0
com.apple.driver.AudioAUUC   1.60
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.driver.ApplePolicyControl   3.3.0
com.apple.driver.AppleLPC   1.6.0
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.driver.AppleMuxControl   3.3.0
com.apple.GeForce   8.1.0
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.driver.AppleUSBTCButtons   237.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0d1
com.apple.BootCache   34
com.apple.driver.AppleUSBTCKeyboard   237.1
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   614.20.16
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.1
com.apple.nvenet   2.0.19
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
com.apple.driver.AppleIntelCPUPowerManagement   196.0.0
com.apple.driver.IOBluetoothHIDDriver   4.1.3f3
com.apple.driver.AppleMultitouchDriver   235.29
com.apple.iokit.IOSerialFamily   10.0.6
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   2.3.7fc4
com.apple.iokit.IOSurface   86.0.4
com.apple.iokit.IOBluetoothFamily   4.1.3f3
com.apple.iokit.IOAudioFamily   1.8.9fc11
com.apple.kext.OSvKernDSPLib   1.6
com.apple.iokit.IOFireWireIP   2.2.5
com.apple.driver.AppleHDAController   2.3.7fc4
com.apple.iokit.IOHDAFamily   2.3.7fc4
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.IOPlatformPluginFamily   5.3.0d51
com.apple.driver.AppleSMC   3.1.4d2
com.apple.driver.AppleGraphicsControl   3.3.0
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.nvidia.nv50hal   8.1.0
com.apple.driver.AppleSMBusPCI   1.0.11d0
com.apple.driver.AppleSMBusController   1.0.11d0
com.apple.NVDAResman   8.1.0
com.apple.iokit.IONDRVSupport   2.3.7
com.apple.iokit.IOGraphicsFamily   2.3.7
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.driver.CoreStorage   296.16
com.apple.driver.AppleUSBMultitouch   237.3
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   522.4
com.apple.iokit.IOFireWireFamily   4.5.5
com.apple.iokit.IOUSBUserClient   5.5.5
com.apple.iokit.IOAHCIFamily   2.3.1
com.apple.iokit.IONetworkingFamily   3.0
com.apple.driver.NVSMU   2.2.9
com.apple.iokit.IOUSBFamily   5.5.5
com.apple.driver.AppleEFIRuntime   1.7
com.apple.iokit.IOHIDFamily   1.8.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   220.2
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
System Profile:
Model: MacBookPro5,2, BootROM MBP52.008E.B05, 2 processors, Intel Core 2 Duo, 2.66 GHz, 8 GB, SMC 1.42f4
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D5434353153364D4D5238432D47372020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80AD, 0x484D5434353153364D4D5238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.16)
Bluetooth: Version 4.1.3f3 11349, 2 service, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: ST750LX003-1AC154, 750.16 GB
Serial ATA Device: HL-DT-ST DVDRW  GS21N
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 3
USB Device: DataTraveler 400, 0x0951  (Kingston Technology Company), 0x1614, 0x24100000 / 2
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x04600000 / 3
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8217, 0x06110000 / 5


Notes

I saved a number of screenshots (but as the home directory at the time was HFS Plus, the last few screenshots saved before the panic were missing from the file system after the panic).

Selected screenshots and other reference items will be at http://www.wuala.com/grahamperrin/publi ... de=gallery

Within one of the lines of sysdiagnose, there's the following string:

Code: Select all
'${DISKUTIL}' info


# Copyright (c) 2010 Apple Inc. All rights reserved.

– so in fairness I should keep copying to a minimum. But for anyone who's interested, the script at /usr/bin is human-readable.

A Finder review of partial results of the sysdiagnose that was interrupted by the panic, sorted by date created:

2013-03-22 06-32-39 screenshot.png
2013-03-22 06-32-39 screenshot.png (127.85 KiB) Viewed 105 times


diskutil.txt comprises only the basic listing:

  • it's missing the info that's customary for a sysdiagnose that runs to completion

– so I'm with raattgift on the "diskutil info device" thought.

In addition, a distant memory of something makes me want to attempt (re)production of a panic:

  • without a sysdiagnose run of diskutil
  • maybe with lsof …
grahamperrin Offline

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

Re: diskutil kernel panic

Post by raattgift » Fri Mar 22, 2013 8:07 am

Ok, so that's another step in the process of elimination...

In your shoes, I would now do:

diskutil list

(make sure that doesn't provoke a crash)

diskutil list | awk '/disk[0-9]+(s[0-9]+)$/ { print "echo about to do info for", $NF "; sleep 5; diskutil info", $NF, "; echo" }' | /bin/sh

(make sure that *does* provoke a crash and note which disk or slice is implicated)

I'd also see about removing

USB Device: DataTraveler 400, 0x0951 (Kingston Technology Company), 0x1614, 0x24100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2

if the USB stick is not strictly needed for the use of your pool(s) and your USB port count allows.
raattgift Offline


 
Posts: 98
Joined: Mon Sep 24, 2012 11:18 pm

Re: diskutil kernel panic

Post by grahamperrin » Fri Mar 22, 2013 7:18 pm

Thanks for the hints, I'll do some more reduction/elimination in due course.

raattgift wrote:USB Device: DataTraveler 400, 0x0951 (Kingston Technology Company), 0x1614, 0x24100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06100000 / 2


I can easily work without the Kingston DataTraveler 400. (L2ARC with neither benchmarking nor measurement:
a small USB flash drive as L2ARC for my home directory – terribly unscientific!)

The BRCM2046 is internal.

A shot of System Information:

2013-03-22 23-43-02 screenshot.png
2013-03-22 23-43-02 screenshot.png (211.46 KiB) Viewed 98 times
grahamperrin Offline

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

diskutil and diskmanagementd kernel panics

Post by grahamperrin » Fri Mar 22, 2013 9:14 pm

grahamperrin wrote:… I'm with raattgift on the "diskutil info device" thought.

In addition, a distant memory of something makes me want to attempt (re)production of a panic:

  • without a sysdiagnose run of diskutil
  • maybe with lsof …


lsof

Today I can't produce a panic with lsof … shelve that thought. (Think bubble … maybe long ago I observed a kernel panic whilst a Terminal window to a sysdiagnose showed lsof running … possible coincidence with invisible (or less visible) scripted use of diskutil.)

diskutil

In the opening post:

  • BSD process name corresponding to current thread: diskutil

diskmanagementd

In the two panic reports below:

  • BSD process name corresponding to current thread: diskmanagementd

When attempting diskutil info for the zfs_pool_proxy that remains following disconnection of the hub (context):

Code: Select all
Sat Mar 23 00:49:30 2013
panic(cpu 0 caller 0xffffff800f6b7e95): Kernel trap at 0xffffff7f8fb73cf5, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x00000000498e4000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff80284e2d00, RCX: 0xffffff800fce04f0, RDX: 0xffffff8027c50300
RSP: 0xffffff80fc3bb860, RBP: 0xffffff80fc3bb880, RSI: 0x0000000020000001, RDI: 0x0000000000000000
R8:  0x0000000000001653, R9:  0x0000000000000000, R10: 0xffffff8024837b90, R11: 0xffffff7f90629980
R12: 0xffffff80365e2900, R13: 0xffffff80284e2d00, R14: 0x0000000000000001, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff7f8fb73cf5, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff80fc3bb500 : 0xffffff800f61d626
0xffffff80fc3bb570 : 0xffffff800f6b7e95
0xffffff80fc3bb740 : 0xffffff800f6cd4dd
0xffffff80fc3bb760 : 0xffffff7f8fb73cf5
0xffffff80fc3bb880 : 0xffffff800fa2f7eb
0xffffff80fc3bb8e0 : 0xffffff7f8fb7b395
0xffffff80fc3bb8f0 : 0xffffff7f8fb756d1
0xffffff80fc3bb950 : 0xffffff800fa2f7eb
0xffffff80fc3bb9b0 : 0xffffff7f8fb7b395
0xffffff80fc3bb9c0 : 0xffffff7f8fb7675f
0xffffff80fc3bba30 : 0xffffff800f71e984
0xffffff80fc3bbaa0 : 0xffffff800f710c66
0xffffff80fc3bbae0 : 0xffffff800f70838c
0xffffff80fc3bbb90 : 0xffffff800f6fab49
0xffffff80fc3bbc40 : 0xffffff800f6fb314
0xffffff80fc3bbf50 : 0xffffff800f9e063a
0xffffff80fc3bbfb0 : 0xffffff800f6cdd23
      Kernel Extensions in backtrace:
         com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f8fb6c000->0xffffff7f8fb90fff

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

Mac OS version:
12D78

Kernel version:
Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
Kernel slide:     0x000000000f400000
Kernel text base: 0xffffff800f600000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 47288651467789
last loaded kext at 26654071574687: com.apple.driver.AppleUSBCDC   4.1.23 (addr 0xffffff7f91c96000, size 16384)
last unloaded kext at 47028032091803: com.apple.iokit.IOUSBMassStorageClass   3.5.1 (addr 0xffffff7f907fc000, size 69632)
loaded kexts:
com.github.osxfuse.filesystems.osxfusefs   2.5.4
com.kaspersky.kext.kimul.44   44
org.virtualbox.kext.VBoxNetAdp   4.2.10
org.virtualbox.kext.VBoxNetFlt   4.2.10
org.virtualbox.kext.VBoxUSB   4.2.10
org.virtualbox.kext.VBoxDrv   4.2.10
foo.tap   1.0
foo.tun   1.0
com.eltima.ElmediaPlayer.kext   1.0
org.openafs.filesystems.afs   1.6.2a1
net.telestream.driver.TelestreamAudio   1.0.5
com.Cycling74.driver.Soundflower   1.6.2
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
at.obdev.nke.LittleSnitch   3909
com.apple.filesystems.smbfs   1.8
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.driver.AppleBluetoothMultitouch   75.19
com.apple.iokit.IOBluetoothSerialManager   4.1.3f3
com.apple.filesystems.autofs   3.0
com.apple.driver.AudioAUUC   1.60
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.ApplePolicyControl   3.3.0
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.AppleLPC   1.6.0
com.apple.GeForce   8.1.0
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.driver.AppleMuxControl   3.3.0
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.driver.AppleUSBTCButtons   237.1
com.apple.driver.AppleUSBTCKeyboard   237.1
com.apple.driver.AppleIRController   320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0d1
com.apple.BootCache   34
com.apple.iokit.SCSITaskUserClient   3.5.5
com.apple.driver.XsanFilter   404
com.apple.iokit.IOAHCIBlockStorage   2.3.1
com.apple.driver.AppleIntelCPUPowerManagementClient   196.0.0
com.apple.driver.AppleFWOHCI   4.9.6
com.apple.driver.AirPort.Brcm4331   614.20.16
com.apple.driver.AppleUSBHub   5.5.5
com.apple.driver.AppleAHCIPort   2.5.1
com.apple.nvenet   2.0.19
com.apple.driver.AppleUSBEHCI   5.5.0
com.apple.driver.AppleUSBOHCI   5.2.5
com.apple.driver.AppleSmartBatteryManager   161.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
com.apple.driver.AppleIntelCPUPowerManagement   196.0.0
com.apple.driver.IOBluetoothHIDDriver   4.1.3f3
com.apple.driver.AppleMultitouchDriver   235.29
com.apple.iokit.IOSerialFamily   10.0.6
com.apple.kext.triggers   1.0
com.apple.driver.DspFuncLib   2.3.7fc4
com.apple.iokit.IOSurface   86.0.4
com.apple.iokit.IOBluetoothFamily   4.1.3f3
com.apple.iokit.IOFireWireIP   2.2.5
com.apple.driver.AppleHDAController   2.3.7fc4
com.apple.iokit.IOHDAFamily   2.3.7fc4
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.iokit.IOAudioFamily   1.8.9fc11
com.apple.kext.OSvKernDSPLib   1.6
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.AppleSMBusPCI   1.0.11d0
com.apple.driver.IOPlatformPluginFamily   5.3.0d51
com.apple.nvidia.nv50hal   8.1.0
com.apple.driver.AppleSMC   3.1.4d2
com.apple.driver.AppleGraphicsControl   3.3.0
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.driver.AppleSMBusController   1.0.11d0
com.apple.NVDAResman   8.1.0
com.apple.iokit.IONDRVSupport   2.3.7
com.apple.iokit.IOGraphicsFamily   2.3.7
com.apple.driver.AppleUSBMultitouch   237.3
com.apple.iokit.IOUSBHIDDriver   5.2.5
com.apple.driver.AppleUSBMergeNub   5.5.5
com.apple.driver.AppleUSBComposite   5.2.5
com.apple.driver.CoreStorage   296.16
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.IO80211Family   522.4
com.apple.iokit.IOUSBUserClient   5.5.5
com.apple.iokit.IOAHCIFamily   2.3.1
com.apple.iokit.IONetworkingFamily   3.0
com.apple.driver.NVSMU   2.2.9
com.apple.iokit.IOUSBFamily   5.5.5
com.apple.driver.AppleEFIRuntime   1.7
com.apple.iokit.IOHIDFamily   1.8.1
com.apple.iokit.IOSMBusFamily   1.1
com.apple.security.sandbox   220.2
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


In that context, some time before the panic there was by coincidence a bug that affected the Finder view of the mounted child file system. Probably not relevant to the kernel panic (see: sometimes, not all volumes at the Computer level in Finder).

When attempting diskutil info for the zfs_filesystem_proxy that remains following disconnection of the hub: (context):

Code: Select all
Sat Mar 23 01:03:08 2013
panic(cpu 0 caller 0xffffff80068b7e95): Kernel trap at 0xffffff7f86d73cf5, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000000, CR3: 0x0000000026acf000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff8020b6ec00, RCX: 0xffffff8006ee04f0, RDX: 0xffffff80200ef100
RSP: 0xffffff80f64a3860, RBP: 0xffffff80f64a3880, RSI: 0x0000000020000001, RDI: 0x0000000000000000
R8:  0x0000000000001175, R9:  0x0000000000000000, R10: 0xffffff801ed83260, R11: 0xffffff7f87829980
R12: 0xffffff8020714a00, R13: 0xffffff8020b6ec00, R14: 0x0000000000000001, R15: 0x0000000000000000
RFL: 0x0000000000010282, RIP: 0xffffff7f86d73cf5, CS:  0x0000000000000008, SS:  0x0000000000000010
Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0

Backtrace (CPU 0), Frame : Return Address
0xffffff80f64a3500 : 0xffffff800681d626
0xffffff80f64a3570 : 0xffffff80068b7e95
0xffffff80f64a3740 : 0xffffff80068cd4dd
0xffffff80f64a3760 : 0xffffff7f86d73cf5
0xffffff80f64a3880 : 0xffffff8006c2f7eb
0xffffff80f64a38e0 : 0xffffff7f86d7b395
0xffffff80f64a38f0 : 0xffffff7f86d756d1
0xffffff80f64a3950 : 0xffffff8006c2f7eb
0xffffff80f64a39b0 : 0xffffff7f86d7b395
0xffffff80f64a39c0 : 0xffffff7f86d7675f
0xffffff80f64a3a30 : 0xffffff800691e984
0xffffff80f64a3aa0 : 0xffffff8006910c66
0xffffff80f64a3ae0 : 0xffffff800690838c
0xffffff80f64a3b90 : 0xffffff80068fab49
0xffffff80f64a3c40 : 0xffffff80068fb314
0xffffff80f64a3f50 : 0xffffff8006be063a
0xffffff80f64a3fb0 : 0xffffff80068cdd23
      Kernel Extensions in backtrace:
         com.apple.iokit.IOStorageFamily(1.8)[5BA4CD36-E96D-3A9E-ADFF-A863BBD63BC7]@0xffffff7f86d6c000->0xffffff7f86d90fff

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

Mac OS version:
12D78

Kernel version:
Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64
Kernel UUID: 3EB7D8A7-C2D3-32EC-80F4-AB37D61492C6
Kernel slide:     0x0000000006600000
Kernel text base: 0xffffff8006800000
System model name: MacBookPro5,2 (Mac-F2268EC8)

System uptime in nanoseconds: 423797088290
last loaded kext at 251963622284: com.kaspersky.kext.kimul.44   44 (addr 0xffffff7f88e6a000, size 45056)
last unloaded kext at 368402806157: com.apple.iokit.IOUSBMassStorageClass   3.5.1 (addr 0xffffff7f879fc000, size 69632)
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.10
org.virtualbox.kext.VBoxNetFlt   4.2.10
org.virtualbox.kext.VBoxUSB   4.2.10
org.virtualbox.kext.VBoxDrv   4.2.10
foo.tap   1.0
foo.tun   1.0
com.eltima.ElmediaPlayer.kext   1.0
org.openafs.filesystems.afs   1.6.2a1
net.telestream.driver.TelestreamAudio   1.0.5
com.Cycling74.driver.Soundflower   1.6.2
com.kaspersky.nke   1.0.1d41
com.kaspersky.kext.klif   3.0.0d23
com.Greatdy.driver.SystemAudioCapture   1.0.0
at.obdev.nke.LittleSnitch   3909
com.apple.driver.AppleBluetoothMultitouch   75.19
com.apple.driver.AppleHWSensor   1.9.5d0
com.apple.filesystems.autofs   3.0
com.apple.iokit.IOBluetoothSerialManager   4.1.3f3
com.apple.driver.AudioAUUC   1.60
com.apple.driver.AGPM   100.12.87
com.apple.driver.AppleMikeyHIDDriver   122
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.driver.AppleSMCLMU   2.0.3d0
com.apple.iokit.IOUserEthernet   1.0.0d1
com.apple.Dont_Steal_Mac_OS_X   7.0.0
com.apple.driver.ApplePolicyControl   3.3.0
com.apple.driver.SMCMotionSensor   3.0.3d1
com.apple.driver.ACPI_SMC_PlatformPlugin   1.0.0
com.apple.driver.AppleHDA   2.3.7fc4
com.apple.driver.AppleMikeyDriver   2.3.7fc4
com.apple.driver.AppleLPC   1.6.0
com.apple.driver.AppleMuxControl   3.3.0
com.apple.GeForce   8.1.0
com.apple.driver.AppleUpstreamUserClient   3.5.10
com.apple.driver.AppleMCCSControl   1.1.11
com.apple.driver.AppleUSBTCButtons   237.1
com.apple.driver.AppleUSBTCKeyboard   237.1
com.apple.driver.AppleIRController   320.15
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless   1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib   1.0.0d1
com.apple.BootCache   34
com.apple.iokit.SCSITaskUserClient   3.5.5
com.apple.driver.XsanFilter   404
com.apple.iokit.IOAHCIBlockStorage   2.3.1
com.apple.driver.AppleAHCIPort   2.5.1
com.apple.driver.AppleSmartBatteryManager   161.0.0
com.apple.driver.AppleIntelCPUPowerManagementClient   196.0.0
com.apple.driver.AirPort.Brcm4331   614.20.16
com.apple.driver.AppleUSBHub   5.5.5
com.apple.driver.AppleEFINVRAM   1.7
com.apple.driver.AppleFWOHCI   4.9.6
com.apple.nvenet   2.0.19
com.apple.driver.AppleUSBEHCI   5.5.0
com.apple.driver.AppleUSBOHCI   5.2.5
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
com.apple.driver.AppleIntelCPUPowerManagement   196.0.0
com.apple.driver.IOBluetoothHIDDriver   4.1.3f3
com.apple.driver.AppleMultitouchDriver   235.29
com.apple.kext.triggers   1.0
com.apple.iokit.IOSerialFamily   10.0.6
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport   4.1.3f3
com.apple.iokit.IOSurface   86.0.4
com.apple.iokit.IOBluetoothFamily   4.1.3f3
com.apple.nvidia.nv50hal   8.1.0
com.apple.driver.AppleSMC   3.1.4d2
com.apple.driver.IOPlatformPluginLegacy   1.0.0
com.apple.driver.DspFuncLib   2.3.7fc4
com.apple.iokit.IOAudioFamily   1.8.9fc11
com.apple.kext.OSvKernDSPLib   1.6
com.apple.driver.AppleHDAController   2.3.7fc4
com.apple.iokit.IOHDAFamily   2.3.7fc4
com.apple.driver.AppleSMBusPCI   1.0.11d0
com.apple.driver.IOPlatformPluginFamily   5.3.0d51
com.apple.driver.AppleGraphicsControl   3.3.0
com.apple.driver.AppleBacklightExpert   1.0.4
com.apple.iokit.IOFireWireIP   2.2.5
com.apple.driver.AppleSMBusController   1.0.11d0
com.apple.NVDAResman   8.1.0
com.apple.iokit.IONDRVSupport   2.3.7
com.apple.iokit.IOGraphicsFamily   2.3.7
com.apple.driver.AppleUSBMultitouch   237.3
com.apple.iokit.IOUSBHIDDriver   5.2.5
com.apple.driver.CoreStorage   296.16
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.IOAHCIFamily   2.3.1
com.apple.iokit.IO80211Family   522.4
com.apple.iokit.IOUSBUserClient   5.5.5
com.apple.iokit.IOFireWireFamily   4.5.5
com.apple.iokit.IONetworkingFamily   3.0
com.apple.iokit.IOUSBFamily   5.5.5
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.2
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


Again I wonder about the alignment error messages from kernel (debug, level 7). For the period since I performed a full installation of OS X 10.8.3:

Code: Select all
2013-03-17 18:09:15.000 kernel[0]: disk7: alignment error.
2013-03-19 19:09:36.000 kernel[0]: disk7: alignment error.
2013-03-19 19:19:40.000 kernel[0]: disk8: alignment error.
2013-03-19 19:22:48.000 kernel[0]: disk8: alignment error.
2013-03-19 19:29:52.000 kernel[0]: disk8: alignment error.
2013-03-20 12:14:34.000 kernel[0]: disk7: alignment error.
2013-03-21 07:04:00.000 kernel[0]: disk6: alignment error.
2013-03-22 01:46:06.000 kernel[0]: disk6: alignment error.
2013-03-22 01:46:21.000 kernel[0]: disk6: alignment error.
2013-03-22 01:46:40.000 kernel[0]: disk6: alignment error.
2013-03-22 01:46:54.000 kernel[0]: disk6: alignment error.
2013-03-22 07:32:31.000 kernel[0]: disk8: alignment error.
2013-03-23 00:38:57.000 kernel[0]: disk8: alignment error.
2013-03-23 00:58:30.000 kernel[0]: disk5: alignment error.


– I suspect that any such error, followed by reconnection of the (hub to the) hard disk drives, would have resulted in a panic.
grahamperrin Offline

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


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests

cron