[OpenAFS] openafs 1.6.0pre4 and OSX 10.6.7 and 64bit kernel (NOT really) FIXED ;(

Chris Jones christopher.rob.jones@cern.ch
Tue, 29 Mar 2011 20:08:32 +0100


On 29 Mar 2011, at 8:00pm, Derrick Brashear wrote:

> On Tue, Mar 29, 2011 at 2:46 PM, Chris Jones
> <christopher.rob.jones@cern.ch> wrote:
>> Hi,
>>=20
>> Actually. I have to take it back I'm afraid. It doesn't seem to work =
that well for me.
>>=20
>> Initially, with some basic checks it seemed OK. But then quite =
quickly after I started more extensive usage I started to get again the =
same old hangs and unresponsive behaviour. I tried reinstalling, =
restarting etc., with no success.
>=20
> that's quite odd; i'm running 1.6.0pre4 in 64 bit without issue. when
> it hangs, can you gather output from cmdebug localhost (cmdebug is in
> /Library/OpenAFS/Tools/bin if it's not on your path)

Sure, this is what I get

Chris-Jones-Macbook-Pro /Library/OpenAFS/Tools/bin > ./cmdebug localhost
Lock afs_discon_lock status: (none_waiting, 1 read_locks(pid:1133))
** Cache entry @ 0xd35161a0 for 0.1.16777996.1 [dynroot]
    locks: (none_waiting, write_locked(pid:1133 at:599))
              18 bytes  DV            1  refcnt     0
    callback 00000000	expires 0
    0 opens	0 writers
    mount point
    states (0x5), stat'd, read-only

cheers Chris

>=20
>> Finally just now, when trying to shutdown the AFS service, I got the =
first ever kernel panic I've ever had on this machine. The traceback is =
below.
>>=20
>> So, something is still not right when running on 64 bit OSX =
kernels....
>=20
> that's less odd.
>=20
> /Library/OpenAFS/Tools/tools/decode-panic -i (your panic) -o /tmp/out
> gave me:
> 0xffffff8000238216 <vnode_rele_internal+87>:    test   $0x2,%r12b
> 0xffffff7f8184111d <afs_PutVCache+113>: lea    -0x60(%rbp),%rdx
> 0xffffff7f818524a2 <afs_PutFakeStat+82>:        jmp
> 0xffffff7f818524b5 <afs_ENameOK+9>
> 0xffffff7f81857700 <afs_lookup+7812>:   add    %al,(%rax)
> 0xffffff7f818ac1a8 <afs_vop_lookup+516>:        lea
> 0x1f621(%rip),%rax        # 0xffffff7f818cb7d0 <afs_vfsops+80>
> 0xffffff800023d2f7 <VNOP_LOOKUP+52>:    leaveq
> 0xffffff80002356d7 <lookup+694>:        mov    %eax,%r13d
> 0xffffff80002363ef <namei+1269>:        mov    %eax,%ebx
> 0xffffff8000300875 <pathconf+275>:      mov    %eax,%r12d
> 0xffffff8000300bf3 <pathconf+1169>:     mov    -0x28(%rbp),%rbx
> 0xffffff80004e55ec <unix_syscall64+544>:        mov    %eax,%r12d
> 0xffffff80002e29f4 <hndl_unix_scall64+20>:      mov    %r12,%rsp
>=20
> which suggests the (unrelated to the 64 bit issue) bulkstat patch
> somehow put back a reference to the wrong vnode.
>=20
> that it happened at shutdown may be significant.
>=20
>> Chris
>>=20
>> Interval Since Last Panic Report:  196077 sec
>> Panics Since Last Report:          1
>> Anonymous UUID:                    =
3743D1E8-FC5C-4FBA-A77D-40256CD5A0F4
>>=20
>> Tue Mar 29 19:41:12 2011
>> panic(cpu 1 caller 0xffffff8000238216): "vnode_rele_ext: vp =
0xffffff8019694000 usecount -ve : -1.  v_tag =3D 0, v_type =3D 2, v_flag =
=3D 4800."@/SourceCache/xnu/xnu-1504.9.37/bsd/vfs/vfs_subr.c:1669
>> Backtrace (CPU 1), Frame : Return Address
>> 0xffffff80aac8b630 : 0xffffff8000204b99
>> 0xffffff80aac8b730 : 0xffffff8000238216
>> 0xffffff80aac8b770 : 0xffffff7f8184111d
>> 0xffffff80aac8b7a0 : 0xffffff7f818524a2
>> 0xffffff80aac8b7c0 : 0xffffff7f81857700
>> 0xffffff80aac8b940 : 0xffffff7f818ac1a8
>> 0xffffff80aac8b9b0 : 0xffffff800023d2f7
>> 0xffffff80aac8b9f0 : 0xffffff80002356d7
>> 0xffffff80aac8bad0 : 0xffffff80002363ef
>> 0xffffff80aac8bbd0 : 0xffffff8000300875
>> 0xffffff80aac8bd60 : 0xffffff8000300bf3
>> 0xffffff80aac8bf40 : 0xffffff80004e55ec
>> 0xffffff80aac8bfa0 : 0xffffff80002e29f4
>>      Kernel Extensions in backtrace (with dependencies):
>>         =
org.openafs.filesystems.afs(1.6.0fc4)@0xffffff7f8180f000->0xffffff7f818dff=
ff
>>=20
>> BSD process name corresponding to current thread: ls
>>=20
>> Mac OS version:
>> 10J869
>>=20
>> Kernel version:
>> Darwin Kernel Version 10.7.0: Sat Jan 29 15:16:10 PST 2011; =
root:xnu-1504.9.37~1/RELEASE_X86_64
>> System model name: MacBookPro5,1 (Mac-F42D86C8)
>>=20
>> System uptime in nanoseconds: 1449945540743
>> unloaded kexts:
>> com.apple.driver.AirPortBrcm43xx        423.91.27 (addr =
0xffffff7f80bff000, size 0x1925120) - last unloaded 102631776168
>> loaded kexts:
>> com.vmware.kext.vmnet   3.1.2
>> com.vmware.kext.vmioplug        3.1.2
>> com.vmware.kext.vmci    3.1.2
>> com.vmware.kext.vmx86   3.1.2
>> org.openafs.filesystems.afs     1.6.0fc4
>> com.Cycling74.driver.Soundflower        1.5.1
>> com.iospirit.driver.rbiokithelper       1.8.1
>> com.apple.driver.AppleHWSensor  1.9.3d0
>> com.apple.filesystems.autofs    2.1.0
>> com.apple.driver.AGPM   100.12.19
>> com.apple.driver.AppleUpstreamUserClient        3.5.4
>> com.apple.driver.AppleMCCSControl       1.0.17
>> com.apple.driver.IOBluetoothBNEPDriver  2.4.0f1
>> com.apple.driver.AppleMikeyHIDDriver    1.2.0
>> com.apple.driver.AudioAUUC      1.54
>> com.apple.driver.AppleMikeyDriver       1.9.9f12
>> com.apple.driver.SMCMotionSensor        3.0.0d4
>> com.apple.driver.AppleHDA       1.9.9f12
>> com.apple.Dont_Steal_Mac_OS_X   7.0.0
>> com.apple.driver.AudioIPCDriver 1.1.6
>> com.apple.driver.AppleGraphicsControl   2.8.68
>> com.apple.driver.AppleIntelPenrynProfile        17.1
>> com.apple.driver.ACPI_SMC_PlatformPlugin        4.5.0d5
>> com.apple.GeForce       6.2.6
>> com.apple.driver.AppleLPC       1.4.12
>> com.apple.kext.AppleSMCLMU      1.5.0d3
>> com.apple.driver.AppleUSBTCButtons      200.3.2
>> com.apple.driver.AppleUSBTCKeyboard     200.3.2
>> com.apple.iokit.SCSITaskUserClient      2.6.5
>> com.apple.BootCache     31
>> com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
>> com.apple.iokit.IOAHCIBlockStorage      1.6.3
>> com.apple.driver.AppleFWOHCI    4.7.1
>> com.apple.driver.AirPortBrcm43224       427.36.9
>> com.apple.driver.AppleUSBHub    4.1.7
>> com.apple.driver.AppleAHCIPort  2.1.5
>> com.apple.nvenet        2.0.15
>> com.apple.driver.AppleUSBEHCI   4.1.8
>> com.apple.driver.AppleUSBOHCI   4.1.5
>> com.apple.driver.AppleSmartBatteryManager       160.0.0
>> com.apple.driver.AppleEFINVRAM  1.4.0
>> com.apple.driver.AppleRTC       1.3.1
>> com.apple.driver.AppleHPET      1.5
>> com.apple.driver.AppleACPIButtons       1.3.5
>> com.apple.driver.AppleSMBIOS    1.6
>> com.apple.driver.AppleACPIEC    1.3.5
>> com.apple.driver.AppleAPIC      1.4
>> com.apple.driver.AppleIntelCPUPowerManagementClient     105.13.0
>> com.apple.security.sandbox      1
>> com.apple.security.quarantine   0
>> com.apple.nke.applicationfirewall       2.1.11
>> com.apple.iokit.CHUDUtils       364
>> com.apple.iokit.CHUDProf        366
>> com.apple.driver.AppleIntelCPUPowerManagement   105.13.0
>> com.apple.driver.IOBluetoothHIDDriver   2.4.0f1 - last loaded =
187585198048
>> com.apple.driver.AppleProfileReadCounterAction  17
>> 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.nvidia.nv50hal        6.2.6
>> com.apple.iokit.IOFireWireIP    2.0.3
>> com.apple.driver.DspFuncLib     1.9.9f12
>> com.apple.iokit.IOSurface       74.2
>> com.apple.iokit.IOBluetoothSerialManager        2.4.0f1
>> com.apple.iokit.IOSerialFamily  10.0.3
>> com.apple.iokit.IOAudioFamily   1.8.0fc1
>> com.apple.kext.OSvKernDSPLib    1.3
>> com.apple.driver.AppleHDAController     1.9.9f12
>> com.apple.iokit.IOHDAFamily     1.9.9f12
>> com.apple.driver.AppleSMBusController   1.0.8d0
>> com.apple.iokit.AppleProfileFamily      41.4
>> com.apple.driver.IOPlatformPluginFamily 4.5.0d5
>> com.apple.driver.AppleSMBusPCI  1.0.8d0
>> com.apple.NVDAResman    6.2.6
>> com.apple.iokit.IONDRVSupport   2.2
>> com.apple.iokit.IOGraphicsFamily        2.2
>> com.apple.driver.AppleSMC       3.1.0d3
>> com.apple.driver.BroadcomUSBBluetoothHCIController      2.4.0f1
>> com.apple.driver.AppleUSBBluetoothHCIController 2.4.0f1
>> com.apple.iokit.IOBluetoothFamily       2.4.0f1
>> com.apple.driver.AppleUSBMultitouch     206.6
>> com.apple.iokit.IOUSBHIDDriver  4.1.5
>> com.apple.driver.AppleUSBMergeNub       4.1.8
>> com.apple.driver.AppleUSBComposite      3.9.0
>> com.apple.iokit.IOSCSIMultimediaCommandsDevice  2.6.5
>> com.apple.iokit.IOBDStorageFamily       1.6
>> com.apple.iokit.IODVDStorageFamily      1.6
>> com.apple.iokit.IOCDStorageFamily       1.6
>> com.apple.driver.XsanFilter     402.1
>> com.apple.iokit.IOAHCISerialATAPI       1.2.5
>> com.apple.iokit.IOSCSIArchitectureModelFamily   2.6.5
>> com.apple.iokit.IOFireWireFamily        4.2.6
>> com.apple.iokit.IO80211Family   314.1.1
>> com.apple.iokit.IOUSBUserClient 4.1.5
>> com.apple.iokit.IOAHCIFamily    2.0.4
>> com.apple.iokit.IONetworkingFamily      1.10
>> com.apple.iokit.IOUSBFamily     4.1.8
>> com.apple.driver.NVSMU  2.2.7
>> com.apple.driver.AppleEFIRuntime        1.4.0
>> com.apple.iokit.IOHIDFamily     1.6.5
>> com.apple.iokit.IOSMBusFamily   1.1
>> com.apple.kext.AppleMatch       1.0.0d1
>> com.apple.security.TMSafetyNet  6
>> com.apple.iokit.CHUDKernLib     365
>> com.apple.driver.DiskImages     289
>> com.apple.iokit.IOStorageFamily 1.6.2
>> com.apple.driver.AppleACPIPlatform      1.3.5
>> com.apple.iokit.IOPCIFamily     2.6
>> com.apple.iokit.IOACPIFamily    1.3.0
>> Model: MacBookPro5,1, BootROM MBP51.007E.B05, 2 processors, Intel =
Core 2 Duo, 2.53 GHz, 8 GB, SMC 1.33f8
>> Graphics: NVIDIA GeForce 9600M GT, NVIDIA GeForce 9600M GT, PCIe, 512 =
MB
>> Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
>> Memory Module: global_name
>> AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), =
Broadcom BCM43xx 1.0 (5.10.131.36.9)
>> Bluetooth: Version 2.4.0f1, 2 service, 19 devices, 1 incoming serial =
ports
>> Network Service: AirPort, AirPort, en1
>> Serial ATA Device: ST9500420ASG, 465.76 GB
>> Serial ATA Device: MATSHITADVD-R   UJ-868
>> USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8507, 0x24400000
>> USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0x04500000
>> USB Device: Apple Internal Keyboard / Trackpad, 0x05ac  (Apple Inc.), =
0x0237, 0x04600000
>> USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, =
0x06100000
>> USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), =
0x8213, 0x06110000
>>=20
>>=20
>> On 29 Mar 2011, at 2:53pm, Chris Jones wrote:
>>=20
>>> Hi,
>>>=20
>>> Just thought I would report back to say I am running this =
pre-release, and it appears to have fully fixed the problems I was =
having on OSX 10.6(.7) when running the 64 bit kernel. The slow downs =
and general unresponsive behaviour is gone.
>>>=20
>>> many thanks
>>>=20
>>> Chris_______________________________________________
>>> OpenAFS-info mailing list
>>> OpenAFS-info@openafs.org
>>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>=20
>> _______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>>=20
>=20
>=20
>=20
> --=20
> Derrick
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info