[OpenAFS-port-darwin] 10.6.3 + 1.5.73.3: can't copy symlinks in Finder; can't decode panic

Nicholas Riley njriley@illinois.edu
Wed, 14 Apr 2010 13:40:32 -0500


I can't copy a symlink in the Finder either within or from outside AFS
in 1.5.73.3 - I get a -36 error.  (This most commonly occurs when
copying an application bundle as symlinks are common in frameworks.)
Works fine with cp, of course.

Also, a user triggered a panic after logging in immediately after
startup (with an AFS home directory) then starting Firefox.  I
couldn't get it to decode:

% sudo ./decode-panic -i /Library/Logs/DiagnosticReports/Kernel_2010-04-14-121750_maggie.panic -o /local/scratch/njriley/panic-decoded.txt -v
Use of uninitialized value $crash_info{"kernel_version"} in pattern match (m//) at ./decode-panic line 88.
Use of uninitialized value $crash_info{"kernel_version"} in pattern match (m//) at ./decode-panic line 92.
Use of uninitialized value $crash_info{"kernel_version"} in pattern match (m//) at ./decode-panic line 96.
Use of uninitialized value $kernel_address in concatenation (.) or string at ./decode-panic line 340.
/usr/bin/kextutil -k /mach_kernel -s /tmp/afsdebugHUKvJd -arch  -a org.openafs.filesystems.afs@ -n /Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.kext/
Use of uninitialized value $kernel_address in concatenation (.) or string at ./decode-panic line 342.
Unknown architecture .
-kernel (-k) is allowed only when not loading or sending personalities.
usage: kextutil [options] [--] [kext] ...

use kextutil -help for an explanation of each option
kextload failed to run: No such file or directory
 at ./decode-panic line 362
 main::generate_symbol_files(undef, '/tmp/afsdebugHUKvJd', '', '/mach_kernel', '/Library/OpenAFS/Tools/root.client/usr/vice/etc/afs.kext/') called at ./decode-panic line 117

but here's the panic:

Interval Since Last Panic Report:  10 sec
Panics Since Last Report:          1
Anonymous UUID:                    2930DD9E-DCE9-4E8F-B2E2-6CFF45FF3516

Wed Apr 14 12:17:50 2010
panic(cpu 1 caller 0x2dbe09): "vnode_put(0x6d48d4c): iocount < 1"@/SourceCache/xnu/xnu-1504.3.12/bsd/vfs/vfs_subr.c:3773
Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
0x35a5bb88 : 0x21b449 (0x5ce420 0x35a5bbbc 0x2238a5 0x0) 
0x35a5bbd8 : 0x2dbe09 (0x595120 0x6d48d4c 0x0 0x0) 
0x35a5bbf8 : 0x2dbeba (0x6d48d4c 0x0 0x0 0x35a5bddc) 
0x35a5bc18 : 0x2e670a (0x6d48d4c 0x35a5bd00 0x0 0x1) 
0x35a5bd88 : 0x2e6a99 (0x226ed8 0x1 0x0 0x0) 
0x35a5bf48 : 0x2e6b32 (0x226ed8 0x1 0x0 0x0) 
0x35a5bf78 : 0x4ecbb9 (0x7bf8000 0x9a68de8 0x99c6594 0x1) 
0x35a5bfc8 : 0x29f43d (0x9a68de4 0x0 0x10 0x9a68de4) 

BSD process name corresponding to current thread: upgradedb

Mac OS version:
10D573

Kernel version:
Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386
System model name: iMac5,1 (Mac-F4228EC8)

System uptime in nanoseconds: 321187263228
unloaded kexts:
com.apple.driver.AppleFileSystemDriver	2.0 (addr 0xd1a000, size 0x12288) - last unloaded 84646993198
loaded kexts:
org.openafs.filesystems.afs	1.5.73f3 - last loaded 22268583914
com.apple.filesystems.autofs	2.1.0
com.apple.driver.AppleHWSensor	1.9.3d0
com.apple.driver.AppleHDA	1.8.4fc3
com.apple.driver.AppleUpstreamUserClient	3.3.2
com.apple.kext.ATIFramebuffer	6.1.0
com.apple.driver.AudioAUUC	1.4
com.apple.ATIRadeonX1000	6.1.0
com.apple.driver.AppleLPC	1.4.11
com.apple.driver.ACPI_SMC_PlatformPlugin	4.1.1d0
com.apple.Dont_Steal_Mac_OS_X	7.0.0
com.apple.iokit.CHUDUtils	201
com.apple.iokit.CHUDProf	214
com.apple.driver.AudioIPCDriver	1.1.2
com.apple.driver.AppleBacklight	170.0.16
com.apple.driver.AppleIntelMeromProfile	19
com.apple.driver.AppleIRController	303
com.apple.iokit.SCSITaskUserClient	2.6.2
com.apple.iokit.AppleYukon2	3.1.14b1
com.apple.iokit.IOAHCIBlockStorage	1.6.1
com.apple.driver.AppleUSBHub	3.9.6
com.apple.driver.AppleFWOHCI	4.5.7
com.apple.BootCache	31
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib	1.0.0d1
com.apple.driver.AppleEFINVRAM	1.3.0
com.apple.driver.AppleAHCIPort	2.1.1
com.apple.driver.AppleIntelPIIXATA	2.5.1
com.apple.driver.AppleHPET	1.5
com.apple.driver.AppleUSBEHCI	3.9.6
com.apple.driver.AppleUSBUHCI	3.9.6
com.apple.driver.AppleRTC	1.3.1
com.apple.driver.AirPortBrcm43xx	422.91.27
com.apple.driver.AppleACPIButtons	1.3.2
com.apple.driver.AppleSMBIOS	1.5
com.apple.driver.AppleACPIEC	1.3.2
com.apple.driver.AppleAPIC	1.4
com.apple.security.sandbox	0
com.apple.security.quarantine	0
com.apple.nke.applicationfirewall	2.1.11
com.apple.driver.AppleIntelCPUPowerManagementClient	104.3.0
com.apple.driver.AppleIntelCPUPowerManagement	104.3.0
com.apple.driver.AppleProfileReadCounterAction	17
com.apple.driver.DspFuncLib	1.8.4fc3
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.kext.ATI1600Controller	6.1.0
com.apple.kext.ATISupport	6.1.0
com.apple.driver.IOPlatformPluginFamily	4.1.1d0
com.apple.iokit.IOFireWireIP	2.0.3
com.apple.iokit.IOSurface	74.0
com.apple.iokit.IOBluetoothSerialManager	2.3.1f4
com.apple.iokit.IOSerialFamily	10.0.3
com.apple.iokit.CHUDKernLib	207
com.apple.iokit.IOAudioFamily	1.7.6fc2
com.apple.kext.OSvKernDSPLib	1.3
com.apple.driver.AppleSMC	3.0.1d2
com.apple.driver.AppleHDAController	1.8.4fc3
com.apple.iokit.IOHDAFamily	1.8.4fc3
com.apple.iokit.IONDRVSupport	2.1
com.apple.iokit.IOGraphicsFamily	2.1
com.apple.iokit.AppleProfileFamily	41
com.apple.driver.CSRUSBBluetoothHCIController	2.3.1f4
com.apple.driver.AppleUSBBluetoothHCIController	2.3.1f4
com.apple.iokit.IOBluetoothFamily	2.3.1f4
com.apple.iokit.IOUSBHIDDriver	3.9.6
com.apple.driver.AppleUSBMergeNub	3.9.6
com.apple.driver.AppleUSBComposite	3.9.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice	2.6.2
com.apple.iokit.IOBDStorageFamily	1.6
com.apple.iokit.IODVDStorageFamily	1.6
com.apple.iokit.IOCDStorageFamily	1.6
com.apple.iokit.IOATAPIProtocolTransport	2.5.1
com.apple.iokit.IOSCSIArchitectureModelFamily	2.6.2
com.apple.driver.XsanFilter	402.1
com.apple.iokit.IOUSBUserClient	3.9.6
com.apple.iokit.IOFireWireFamily	4.2.6
com.apple.iokit.IOAHCIFamily	2.0.3
com.apple.iokit.IOATAFamily	2.5.1
com.apple.iokit.IOUSBFamily	3.9.6
com.apple.driver.AppleEFIRuntime	1.3.0
com.apple.iokit.IO80211Family	310.6
com.apple.iokit.IONetworkingFamily	1.9
com.apple.iokit.IOHIDFamily	1.6.2
com.apple.iokit.IOSMBusFamily	1.1
com.apple.kext.AppleMatch	1.0.0d1
com.apple.security.TMSafetyNet	6
com.apple.driver.DiskImages	283
com.apple.iokit.IOStorageFamily	1.6
com.apple.driver.AppleACPIPlatform	1.3.2
com.apple.iokit.IOPCIFamily	2.6
com.apple.iokit.IOACPIFamily	1.3.0
Model: iMac5,1, BootROM IM51.0090.B09, 2 processors, Intel Core 2 Duo, 2.16 GHz, 2 GB, SMC 1.9f4
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x87), Broadcom BCM43xx 1.0 (5.10.91.27)
Bluetooth: Version 2.3.1f4, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: Hitachi HDS725050KLA360, 465.76 GB
Parallel ATA Device: PIONEER DVD-RW  DVR-K06
USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8501, 0xfd400000
USB Device: iMate, USB To ADB Adaptor, 0x077d, 0x0405, 0x1d100000
USB Device: Microsoft 3-Button Mouse with IntelliEye(TM), 0x045e  (Microsoft Corporation), 0x0053, 0x3d100000
USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8206, 0x7d100000
USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8240, 0x7d200000

-- 
Nicholas Riley <njriley@illinois.edu>