[OpenAFS-port-darwin] OpenAFS 1.6.0_fc7: frequent kernel panics under OS X 10.6.8 on iMac12,2

Duncan S Kincaid dsk@MIT.EDU
Tue, 6 Sep 2011 08:05:10 -0400


Thus far, under OpenAFS 1.6.0 final we see panics on restart/shutdown with =
the following frequency:
~ 40% chance of kernel panic when a script running from off an AFS volume c=
alls `shutdown`
~ 12% chance of kernel panic when a script running from off an AFS volume c=
alls 'reboot'
~.04% chance of kernel panic when shutdown/reboot from login window or Find=
er

The sampling is across 25 identically configured iMacs (as described below)=
. The kernel panics
are random across the 25, but percentages fairly consistent.

Would the above suggest an issue with afs unload in the presence of open fi=
les on afs volume?

[ Our environment is dual-boot public cluster, so reboots/restarts are freq=
uent as users boot between
Mac and Windows OS. We have maintenance scripts which call 'shutdown -r', s=
o this too is of importance to us. ]

Derreck, would you like some decode-panic data?

thanks much
dk


On Sep 1, 2011, at 3:23 PM, Derrick Brashear wrote:

> On Thu, Sep 1, 2011 at 3:09 PM, Duncan S Kincaid <dsk@mit.edu> wrote:
>> Sirs/Madams
>>=20
>> We are having difficulty running OpenAFS 1.6.0_pre7 under following:
>=20
> 1.6.0pre7? that's so 25 minutes ago.
>=20
>> 1. OS X 10.6.8 with latest updates
>> 2. iMac12,2, Core i7, 3.4GHz, 12GB RAM
>> 3. default AFS client cache settings
>>=20
>> [Interestingly, these same iMacs will not run OpenAFS 1.5.78 without eno=
rmous delays (Finder and shell) when accessing AFS volumes.
>=20
> yeah, the 64 bit issue.
>=20
>> OpenAFS 1.4.14.1 appears to run normally on these computers, however.]
>>=20
>> We have 25 identical iMacs, each of which has/does/will kernel panic as =
shown below--often at Shutdown/Restart:
>=20
> this particular panic quoted would be at afs unload, so that's not
> shocking. do you have others with a different panic string?
>=20
>> Has anyone else seen this behaviour with these most current iMacs?
>=20
> in general /Library/OpenAFS/Tools/tools/decode-panic provides more
> useful output than an unsymbolized panic, but in this case i am fairly
> certain
> based on the panic string that 1.6.0 final fixes it.
>=20
>> With thanks as always,
>> Duncan Kincaid
>> MIT School of Architecture and Planning
>>=20
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> Mon Aug 29 12:34:36 2011
>> panic(cpu 0 caller 0xffffff800036f845): "udp_lock: so=3D0xffffff801d9b89=
98 NO PCB! lr=3D0xffffff80004ad327 lrh=3D ffffff80004ac852:ffffff80004ac8b0=
 ffffff800036fe7d:ffffff800036fee4 ffffff800036fe7d:fff\n"@/SourceCache/xnu=
/xnu-1504.15.3/bsd/netinet/udp_usrreq.c:1522
>> Backtrace (CPU 0), Frame : Return Address
>> 0xffffff8103563950 : 0xffffff8000204d15
>> 0xffffff8103563a50 : 0xffffff800036f845
>> 0xffffff8103563a80 : 0xffffff80004ad327
>> 0xffffff8103563ba0 : 0xffffff80004c0066
>> 0xffffff8103563c70 : 0xffffff7f8168e12b
>> 0xffffff8103563e00 : 0xffffff7f816815ba
>> 0xffffff8103563ee0 : 0xffffff7f8168d448
>> 0xffffff8103563f40 : 0xffffff7f8168f82a
>> 0xffffff8103563f70 : 0xffffff7f816a8a8d
>> 0xffffff8103563fa0 : 0xffffff80002c8527
>>     Kernel Extensions in backtrace (with dependencies):
>>        org.openafs.filesystems.afs(1.6.0fc7)@0xffffff7f81608000->0xfffff=
f7f816d7fff
>>=20
>> BSD process name corresponding to current thread: kernel_task
>>=20
>> Mac OS version:
>> 10K549
>>=20
>> Kernel version:
>> Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011; root:xnu-150=
4.15.3~1/RELEASE_X86_64
>> System model name: iMac12,2 (Mac-942B59F58194171B)
>>=20
>> System uptime in nanoseconds: 33159887035938
>> unloaded kexts:
>> com.apple.driver.AppleUSBUHCI   4.2.0 (addr 0xffffff7f8129e000, size 0x6=
5536) - last unloaded 76429953088
>> loaded kexts:
>> org.openafs.filesystems.afs     1.6.0fc7
>> com.apple.filesystems.autofs    2.1.0 - last loaded 12922233687
>> com.apple.filesystems.ntfs      3.4
>> com.apple.driver.AGPM   100.12.31
>> com.apple.driver.AppleHWSensor  1.9.3d0
>> com.apple.driver.AppleMikeyHIDDriver    1.2.0
>> com.apple.driver.AppleHDA       2.0.5f14
>> com.apple.driver.AppleMikeyDriver       2.0.5f14
>> com.apple.driver.AppleUpstreamUserClient        3.5.7
>> com.apple.driver.AppleMCCSControl       1.0.20
>> com.apple.driver.AudioAUUC      1.57
>> com.apple.kext.ATIFramebuffer   6.3.6
>> com.apple.Dont_Steal_Mac_OS_X   7.0.0
>> com.apple.driver.AudioIPCDriver 1.1.6
>> com.apple.driver.AirPort.Atheros9388    426.35.3
>> com.apple.driver.ACPI_SMC_PlatformPlugin        4.7.0a1
>> com.apple.driver.AppleLPC       1.5.1
>> com.apple.driver.AppleBacklight 170.0.46
>> com.apple.kext.AppleSMCLMU      1.5.2d10
>> com.apple.ATIRadeonX3000        6.3.6
>> com.apple.driver.AppleIntelHDGraphics   6.3.6
>> com.apple.driver.AppleIntelSNBGraphicsFB        6.3.6
>> com.apple.iokit.SCSITaskUserClient      2.6.8
>> com.apple.driver.AppleUSBCardReader     2.6.1
>> com.apple.driver.AppleIRController      303.8
>> com.apple.iokit.IOAHCIBlockStorage      1.6.4
>> com.apple.BootCache     31.1
>> com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
>> com.apple.driver.AppleUSBHub    4.2.4
>> com.apple.driver.AppleFWOHCI    4.7.3
>> com.apple.iokit.AppleBCM5701Ethernet    3.0.5b8
>> com.apple.driver.AppleEFINVRAM  1.4.0
>> com.apple.driver.AppleAHCIPort  2.1.7
>> com.apple.driver.AppleUSBEHCI   4.2.4
>> com.apple.driver.AppleACPIButtons       1.3.6
>> com.apple.driver.AppleRTC       1.3.1
>> com.apple.driver.AppleHPET      1.5
>> com.apple.driver.AppleSMBIOS    1.7
>> com.apple.driver.AppleACPIEC    1.3.6
>> com.apple.driver.AppleAPIC      1.4
>> com.apple.driver.AppleIntelCPUPowerManagementClient     142.6.0
>> com.apple.security.sandbox      1
>> com.apple.security.quarantine   0
>> com.apple.nke.applicationfirewall       2.1.12
>> com.apple.driver.AppleIntelCPUPowerManagement   142.6.0
>> com.apple.driver.AppleProfileReadCounterAction  17
>> com.apple.driver.DspFuncLib     2.0.5f14
>> com.apple.driver.AppleProfileTimestampAction    10
>> com.apple.driver.AppleProfileThreadInfoAction   14
>> com.apple.driver.AppleProfileRegisterStateAction        10
>> com.apple.driver.AppleProfileKEventAction       10
>> com.apple.driver.AppleProfileCallstackAction    20
>> com.apple.driver.AppleSMBusController   1.0.10d0
>> com.apple.iokit.IOFireWireIP    2.0.3
>> com.apple.iokit.IOSurface       74.2
>> com.apple.iokit.IOBluetoothSerialManager        2.4.5f3
>> com.apple.iokit.IOSerialFamily  10.0.3
>> com.apple.iokit.IOAudioFamily   1.8.3fc2
>> com.apple.kext.OSvKernDSPLib    1.3
>> com.apple.driver.AppleHDAController     2.0.5f14
>> com.apple.iokit.IOHDAFamily     2.0.5f14
>> com.apple.iokit.IO80211Family   320.1
>> com.apple.iokit.AppleProfileFamily      41
>> com.apple.driver.IOPlatformPluginFamily 4.7.0a1
>> com.apple.driver.AppleSMBusPCI  1.0.10d0
>> com.apple.driver.AppleBacklightExpert   1.0.1
>> com.apple.driver.AppleSMC       3.1.0d5
>> com.apple.driver.AppleThunderboltEDMSink        1.1.1
>> com.apple.driver.AppleThunderboltEDMSource      1.1.1
>> com.apple.kext.ATI6000Controller        6.3.6
>> com.apple.kext.ATISupport       6.3.6
>> com.apple.iokit.IONDRVSupport   2.2
>> com.apple.iokit.IOGraphicsFamily        2.2
>> com.apple.driver.AppleThunderboltDPOutAdapter   1.3.2
>> com.apple.driver.AppleThunderboltDPInAdapter    1.3.2
>> com.apple.driver.AppleThunderboltDPAdapterFamily        1.3.2
>> com.apple.driver.AppleThunderboltPCIDownAdapter 1.1.6
>> com.apple.driver.BroadcomUSBBluetoothHCIController      2.4.5f3
>> com.apple.driver.AppleUSBBluetoothHCIController 2.4.5f3
>> com.apple.iokit.IOBluetoothFamily       2.4.5f3
>> com.apple.iokit.IOSCSIMultimediaCommandsDevice  2.6.8
>> com.apple.iokit.IOBDStorageFamily       1.6
>> com.apple.iokit.IODVDStorageFamily      1.6
>> com.apple.iokit.IOCDStorageFamily       1.6.1
>> com.apple.iokit.IOSCSIBlockCommandsDevice       2.6.8
>> com.apple.iokit.IOUSBMassStorageClass   2.6.7
>> com.apple.iokit.IOAHCISerialATAPI       1.2.6
>> com.apple.iokit.IOSCSIArchitectureModelFamily   2.6.8
>> com.apple.iokit.IOUSBHIDDriver  4.2.0
>> com.apple.driver.AppleUSBMergeNub       4.2.4
>> com.apple.driver.AppleUSBComposite      3.9.0
>> com.apple.driver.XsanFilter     402.1
>> com.apple.driver.AppleThunderboltNHI    1.2.6
>> com.apple.iokit.IOThunderboltFamily     1.4.9
>> com.apple.iokit.IOUSBUserClient 4.2.4
>> com.apple.iokit.IOFireWireFamily        4.2.6
>> com.apple.iokit.IONetworkingFamily      1.10
>> com.apple.iokit.IOAHCIFamily    2.0.6
>> com.apple.iokit.IOUSBFamily     4.2.4
>> com.apple.driver.AppleEFIRuntime        1.4.0
>> com.apple.iokit.IOHIDFamily     1.6.6
>> com.apple.iokit.IOSMBusFamily   1.1
>> com.apple.kext.AppleMatch       1.0.0d1
>> com.apple.security.TMSafetyNet  6
>> com.apple.driver.DiskImages     289.1
>> com.apple.iokit.IOStorageFamily 1.6.3
>> com.apple.driver.AppleACPIPlatform      1.3.6
>> com.apple.iokit.IOPCIFamily     2.6.5
>> com.apple.iokit.IOACPIFamily    1.3.0
>>=20
>>=20
>> ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||=
|||||||||
>> duncan kincaid
>> cron | mit school of architecture and planning
>>=20
>>=20
>>=20
>>=20
>> _______________________________________________
>> port-darwin mailing list
>> port-darwin@openafs.org
>> https://lists.openafs.org/mailman/listinfo/port-darwin
>>=20
>=20
>=20
>=20
> --=20
> Derrick


|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||=
||||||
duncan kincaid
cron | mit school of architecture and planning