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

Joseph Jackson jackson@andrew.cmu.edu
Tue, 06 Sep 2011 08:42:54 -0400


If this turns out to be a problem with the script file being open, a
work-around might be to run "exec /sbin/reboot ..." or "exec
/sbin/shutdown ..." at the end of the script. That assumes you're not
going to try to sneak in any more commands after the reboot.

Joe Jackson,
Computing Services,
Carnegie Mellon University.

On 9/6/11 8:05 AM, "Duncan S Kincaid" <dsk@MIT.EDU> wrote:

>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
>calls `shutdown`
>~ 12% chance of kernel panic when a script running from off an AFS volume
>calls 'reboot'
>~.04% chance of kernel panic when shutdown/reboot from login window or
>Finder
>
>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
>files on afs volume?
>
>[ Our environment is dual-boot public cluster, so reboots/restarts are
>frequent as users boot between
>Mac and Windows OS. We have maintenance scripts which call 'shutdown -r',
>so 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
>>> 
>>> We are having difficulty running OpenAFS 1.6.0_pre7 under following:
>> 
>> 1.6.0pre7? that's so 25 minutes ago.
>> 
>>> 1. OS X 10.6.8 with latest updates
>>> 2. iMac12,2, Core i7, 3.4GHz, 12GB RAM
>>> 3. default AFS client cache settings
>>> 
>>> [Interestingly, these same iMacs will not run OpenAFS 1.5.78 without
>>>enormous delays (Finder and shell) when accessing AFS volumes.
>> 
>> yeah, the 64 bit issue.
>> 
>>> OpenAFS 1.4.14.1 appears to run normally on these computers, however.]
>>> 
>>> We have 25 identical iMacs, each of which has/does/will kernel panic
>>>as shown below--often at Shutdown/Restart:
>> 
>> this particular panic quoted would be at afs unload, so that's not
>> shocking. do you have others with a different panic string?
>> 
>>> Has anyone else seen this behaviour with these most current iMacs?
>> 
>> 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.
>> 
>>> With thanks as always,
>>> Duncan Kincaid
>>> MIT School of Architecture and Planning
>>> 
>>> 
>>>========================================================================
>>>=================
>>> Mon Aug 29 12:34:36 2011
>>> panic(cpu 0 caller 0xffffff800036f845): "udp_lock:
>>>so=0xffffff801d9b8998 NO PCB! lr=0xffffff80004ad327 lrh=
>>>ffffff80004ac852:ffffff80004ac8b0 ffffff800036fe7d:ffffff800036fee4
>>>ffffff800036fe7d:fff\n"@/SourceCache/xnu/xnu-1504.15.3/bsd/netinet/udp_u
>>>srreq.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->0xffffff7f816d
>>>7fff
>>> 
>>> BSD process name corresponding to current thread: kernel_task
>>> 
>>> Mac OS version:
>>> 10K549
>>> 
>>> Kernel version:
>>> Darwin Kernel Version 10.8.0: Tue Jun  7 16:32:41 PDT 2011;
>>>root:xnu-1504.15.3~1/RELEASE_X86_64
>>> System model name: iMac12,2 (Mac-942B59F58194171B)
>>> 
>>> System uptime in nanoseconds: 33159887035938
>>> unloaded kexts:
>>> com.apple.driver.AppleUSBUHCI   4.2.0 (addr 0xffffff7f8129e000, size
>>>0x65536) - 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
>>> 
>>> 
>>> 
>>>||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
>>>|||||||||
>>> duncan kincaid
>>> cron | mit school of architecture and planning
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> port-darwin mailing list
>>> port-darwin@openafs.org
>>> https://lists.openafs.org/mailman/listinfo/port-darwin
>>> 
>> 
>> 
>> 
>> -- 
>> Derrick
>
>
>||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
>|||||||
>duncan kincaid
>cron | mit school of architecture and planning
>
>
>
>
>_______________________________________________
>port-darwin mailing list
>port-darwin@openafs.org
>https://lists.openafs.org/mailman/listinfo/port-darwin
>