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

Derrick Brashear shadow@gmail.com
Tue, 29 Mar 2011 15:00:55 -0400


On Tue, Mar 29, 2011 at 2:46 PM, Chris Jones
<christopher.rob.jones@cern.ch> wrote:
> Hi,
>
> Actually. I have to take it back I'm afraid. It doesn't seem to work that=
 well for me.
>
> Initially, with some basic checks it seemed OK. But then quite quickly af=
ter I started more extensive usage I started to get again the same old hang=
s and unresponsive behaviour. I tried reinstalling, restarting etc., with n=
o success.

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)

> Finally just now, when trying to shutdown the AFS service, I got the firs=
t ever kernel panic I've ever had on this machine. The traceback is below.
>
> So, something is still not right when running on 64 bit OSX kernels....

that's less odd.

/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

which suggests the (unrelated to the 64 bit issue) bulkstat patch
somehow put back a reference to the wrong vnode.

that it happened at shutdown may be significant.

> Chris
>
> Interval Since Last Panic Report: =A0196077 sec
> Panics Since Last Report: =A0 =A0 =A0 =A0 =A01
> Anonymous UUID: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A03743D1E8-FC5C-4FBA=
-A77D-40256CD5A0F4
>
> Tue Mar 29 19:41:12 2011
> panic(cpu 1 caller 0xffffff8000238216): "vnode_rele_ext: vp 0xffffff80196=
94000 usecount -ve : -1. =A0v_tag =3D 0, v_type =3D 2, v_flag =3D 4800."@/S=
ourceCache/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
> =A0 =A0 =A0Kernel Extensions in backtrace (with dependencies):
> =A0 =A0 =A0 =A0 org.openafs.filesystems.afs(1.6.0fc4)@0xffffff7f8180f000-=
>0xffffff7f818dffff
>
> BSD process name corresponding to current thread: ls
>
> Mac OS version:
> 10J869
>
> 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)
>
> System uptime in nanoseconds: 1449945540743
> unloaded kexts:
> com.apple.driver.AirPortBrcm43xx =A0 =A0 =A0 =A0423.91.27 (addr 0xffffff7=
f80bff000, size 0x1925120) - last unloaded 102631776168
> loaded kexts:
> com.vmware.kext.vmnet =A0 3.1.2
> com.vmware.kext.vmioplug =A0 =A0 =A0 =A03.1.2
> com.vmware.kext.vmci =A0 =A03.1.2
> com.vmware.kext.vmx86 =A0 3.1.2
> org.openafs.filesystems.afs =A0 =A0 1.6.0fc4
> com.Cycling74.driver.Soundflower =A0 =A0 =A0 =A01.5.1
> com.iospirit.driver.rbiokithelper =A0 =A0 =A0 1.8.1
> com.apple.driver.AppleHWSensor =A01.9.3d0
> com.apple.filesystems.autofs =A0 =A02.1.0
> com.apple.driver.AGPM =A0 100.12.19
> com.apple.driver.AppleUpstreamUserClient =A0 =A0 =A0 =A03.5.4
> com.apple.driver.AppleMCCSControl =A0 =A0 =A0 1.0.17
> com.apple.driver.IOBluetoothBNEPDriver =A02.4.0f1
> com.apple.driver.AppleMikeyHIDDriver =A0 =A01.2.0
> com.apple.driver.AudioAUUC =A0 =A0 =A01.54
> com.apple.driver.AppleMikeyDriver =A0 =A0 =A0 1.9.9f12
> com.apple.driver.SMCMotionSensor =A0 =A0 =A0 =A03.0.0d4
> com.apple.driver.AppleHDA =A0 =A0 =A0 1.9.9f12
> com.apple.Dont_Steal_Mac_OS_X =A0 7.0.0
> com.apple.driver.AudioIPCDriver 1.1.6
> com.apple.driver.AppleGraphicsControl =A0 2.8.68
> com.apple.driver.AppleIntelPenrynProfile =A0 =A0 =A0 =A017.1
> com.apple.driver.ACPI_SMC_PlatformPlugin =A0 =A0 =A0 =A04.5.0d5
> com.apple.GeForce =A0 =A0 =A0 6.2.6
> com.apple.driver.AppleLPC =A0 =A0 =A0 1.4.12
> com.apple.kext.AppleSMCLMU =A0 =A0 =A01.5.0d3
> com.apple.driver.AppleUSBTCButtons =A0 =A0 =A0200.3.2
> com.apple.driver.AppleUSBTCKeyboard =A0 =A0 200.3.2
> com.apple.iokit.SCSITaskUserClient =A0 =A0 =A02.6.5
> com.apple.BootCache =A0 =A0 31
> com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
> com.apple.iokit.IOAHCIBlockStorage =A0 =A0 =A01.6.3
> com.apple.driver.AppleFWOHCI =A0 =A04.7.1
> com.apple.driver.AirPortBrcm43224 =A0 =A0 =A0 427.36.9
> com.apple.driver.AppleUSBHub =A0 =A04.1.7
> com.apple.driver.AppleAHCIPort =A02.1.5
> com.apple.nvenet =A0 =A0 =A0 =A02.0.15
> com.apple.driver.AppleUSBEHCI =A0 4.1.8
> com.apple.driver.AppleUSBOHCI =A0 4.1.5
> com.apple.driver.AppleSmartBatteryManager =A0 =A0 =A0 160.0.0
> com.apple.driver.AppleEFINVRAM =A01.4.0
> com.apple.driver.AppleRTC =A0 =A0 =A0 1.3.1
> com.apple.driver.AppleHPET =A0 =A0 =A01.5
> com.apple.driver.AppleACPIButtons =A0 =A0 =A0 1.3.5
> com.apple.driver.AppleSMBIOS =A0 =A01.6
> com.apple.driver.AppleACPIEC =A0 =A01.3.5
> com.apple.driver.AppleAPIC =A0 =A0 =A01.4
> com.apple.driver.AppleIntelCPUPowerManagementClient =A0 =A0 105.13.0
> com.apple.security.sandbox =A0 =A0 =A01
> com.apple.security.quarantine =A0 0
> com.apple.nke.applicationfirewall =A0 =A0 =A0 2.1.11
> com.apple.iokit.CHUDUtils =A0 =A0 =A0 364
> com.apple.iokit.CHUDProf =A0 =A0 =A0 =A0366
> com.apple.driver.AppleIntelCPUPowerManagement =A0 105.13.0
> com.apple.driver.IOBluetoothHIDDriver =A0 2.4.0f1 - last loaded 187585198=
048
> com.apple.driver.AppleProfileReadCounterAction =A017
> com.apple.driver.AppleProfileTimestampAction =A0 =A010
> com.apple.driver.AppleProfileThreadInfoAction =A0 14
> com.apple.driver.AppleProfileRegisterStateAction =A0 =A0 =A0 =A010
> com.apple.driver.AppleProfileKEventAction =A0 =A0 =A0 10
> com.apple.driver.AppleProfileCallstackAction =A0 =A020
> com.apple.nvidia.nv50hal =A0 =A0 =A0 =A06.2.6
> com.apple.iokit.IOFireWireIP =A0 =A02.0.3
> com.apple.driver.DspFuncLib =A0 =A0 1.9.9f12
> com.apple.iokit.IOSurface =A0 =A0 =A0 74.2
> com.apple.iokit.IOBluetoothSerialManager =A0 =A0 =A0 =A02.4.0f1
> com.apple.iokit.IOSerialFamily =A010.0.3
> com.apple.iokit.IOAudioFamily =A0 1.8.0fc1
> com.apple.kext.OSvKernDSPLib =A0 =A01.3
> com.apple.driver.AppleHDAController =A0 =A0 1.9.9f12
> com.apple.iokit.IOHDAFamily =A0 =A0 1.9.9f12
> com.apple.driver.AppleSMBusController =A0 1.0.8d0
> com.apple.iokit.AppleProfileFamily =A0 =A0 =A041.4
> com.apple.driver.IOPlatformPluginFamily 4.5.0d5
> com.apple.driver.AppleSMBusPCI =A01.0.8d0
> com.apple.NVDAResman =A0 =A06.2.6
> com.apple.iokit.IONDRVSupport =A0 2.2
> com.apple.iokit.IOGraphicsFamily =A0 =A0 =A0 =A02.2
> com.apple.driver.AppleSMC =A0 =A0 =A0 3.1.0d3
> com.apple.driver.BroadcomUSBBluetoothHCIController =A0 =A0 =A02.4.0f1
> com.apple.driver.AppleUSBBluetoothHCIController 2.4.0f1
> com.apple.iokit.IOBluetoothFamily =A0 =A0 =A0 2.4.0f1
> com.apple.driver.AppleUSBMultitouch =A0 =A0 206.6
> com.apple.iokit.IOUSBHIDDriver =A04.1.5
> com.apple.driver.AppleUSBMergeNub =A0 =A0 =A0 4.1.8
> com.apple.driver.AppleUSBComposite =A0 =A0 =A03.9.0
> com.apple.iokit.IOSCSIMultimediaCommandsDevice =A02.6.5
> com.apple.iokit.IOBDStorageFamily =A0 =A0 =A0 1.6
> com.apple.iokit.IODVDStorageFamily =A0 =A0 =A01.6
> com.apple.iokit.IOCDStorageFamily =A0 =A0 =A0 1.6
> com.apple.driver.XsanFilter =A0 =A0 402.1
> com.apple.iokit.IOAHCISerialATAPI =A0 =A0 =A0 1.2.5
> com.apple.iokit.IOSCSIArchitectureModelFamily =A0 2.6.5
> com.apple.iokit.IOFireWireFamily =A0 =A0 =A0 =A04.2.6
> com.apple.iokit.IO80211Family =A0 314.1.1
> com.apple.iokit.IOUSBUserClient 4.1.5
> com.apple.iokit.IOAHCIFamily =A0 =A02.0.4
> com.apple.iokit.IONetworkingFamily =A0 =A0 =A01.10
> com.apple.iokit.IOUSBFamily =A0 =A0 4.1.8
> com.apple.driver.NVSMU =A02.2.7
> com.apple.driver.AppleEFIRuntime =A0 =A0 =A0 =A01.4.0
> com.apple.iokit.IOHIDFamily =A0 =A0 1.6.5
> com.apple.iokit.IOSMBusFamily =A0 1.1
> com.apple.kext.AppleMatch =A0 =A0 =A0 1.0.0d1
> com.apple.security.TMSafetyNet =A06
> com.apple.iokit.CHUDKernLib =A0 =A0 365
> com.apple.driver.DiskImages =A0 =A0 289
> com.apple.iokit.IOStorageFamily 1.6.2
> com.apple.driver.AppleACPIPlatform =A0 =A0 =A01.3.5
> com.apple.iokit.IOPCIFamily =A0 =A0 2.6
> com.apple.iokit.IOACPIFamily =A0 =A01.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), Bro=
adcom BCM43xx 1.0 (5.10.131.36.9)
> Bluetooth: Version 2.4.0f1, 2 service, 19 devices, 1 incoming serial port=
s
> Network Service: AirPort, AirPort, en1
> Serial ATA Device: ST9500420ASG, 465.76 GB
> Serial ATA Device: MATSHITADVD-R =A0 UJ-868
> USB Device: Built-in iSight, 0x05ac =A0(Apple Inc.), 0x8507, 0x24400000
> USB Device: IR Receiver, 0x05ac =A0(Apple Inc.), 0x8242, 0x04500000
> USB Device: Apple Internal Keyboard / Trackpad, 0x05ac =A0(Apple Inc.), 0=
x0237, 0x04600000
> USB Device: BRCM2046 Hub, 0x0a5c =A0(Broadcom Corp.), 0x4500, 0x06100000
> USB Device: Bluetooth USB Host Controller, 0x05ac =A0(Apple Inc.), 0x8213=
, 0x06110000
>
>
> On 29 Mar 2011, at 2:53pm, Chris Jones wrote:
>
>> Hi,
>>
>> Just thought I would report back to say I am running this pre-release, a=
nd 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 be=
haviour is gone.
>>
>> many thanks
>>
>> Chris_______________________________________________
>> OpenAFS-info mailing list
>> OpenAFS-info@openafs.org
>> https://lists.openafs.org/mailman/listinfo/openafs-info
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



--=20
Derrick