[OpenAFS] 1.6.0 causes kernel panic (OS X 10.7.1 32-bit kernel)

Derrick Brashear shadow@gmail.com
Thu, 1 Sep 2011 22:51:55 -0400


a decoded panic (/Library/OpenAFS/Tools/tools/decode-panic) is always
more interesting. I decoded it, tho, and...

In any case, i have seen this one before, in 10.6, 32 bit.
0x22032e <panic+510>:   mov    0x85fab4,%eax
0x2ccb0f <kernel_trap+1535>:    add    $0x9c,%esp
0x2e2e34 <return_from_trap+212>:        mov    0x8(%esp),%esp
0x4943a7d8 <_rxevent_Post+552>: mov    %ecx,(%eax)
0x4943acf4 <rxevent_Post+100>:  mov    %eax,-0x20(%ebp)
0x4943367c <rxi_ReapConnections+4812>:  add    $0x128,%esp
0x4941a0c8 <rx_StartServer+376>:        mov    -0x4(%ebp),%eax
0x493d87e3 <afs_ResourceInit+395>:      movl   $0x49474948,(%esp)
0x49456e99 <afs_InitSetup+169>: movl   $0x1,0x49472cf4
0x494574ee <afs_DaemonOp+78>:   mov    %eax,-0x34(%ebp)

in that case, it went away... when I recompiled with a different
Xcode, namely, 3.2.3; For Lion, that's not an option.
Fun thing is, providing information to track this to Apple is probably
a huge adventure, because it's probably not our bug.
I'll see what I can come up with.

On Thu, Sep 1, 2011 at 7:44 PM, Stuart Yarrow <s.yarrow@ed.ac.uk> wrote:
> Hi,
>
> I just installed 1.6.0 on a Core 2 Duo MBP (32-bit EFI, 32-bit kernel). =
=A0The installer caused a kernel panic at the point where the post-install =
script is run (on OpenAFS kext load). =A0Subsequently I could reboot succes=
sfully and run the installer again, apparently successfully. =A0Couldn't ge=
t aklog to communicate with the next ("pioctl failed" error). =A0Restarted =
again; now getting reliable KPs on boot, immediately following the load of =
the OpenAFS kext.
>
> Looks like with the 32-bit kernel we've gone from the kext not loading, t=
o it loading, then KPing? :-)
>
> Panic report below. =A0Let me know if I can give you any more info or do =
anything else to help.
>
> cheers,
>
> Stuart
>
> --
>
> Stuart Yarrow
> Research Student
>
> Institute for Adaptive and Neural Computation
> Neuroinformatics and Computational Neuroscience DTC
> School of Informatics, University of Edinburgh
>
> http://www.anc.ed.ac.uk/dtc/find.php?stuartyarrow
>
> The University of Edinburgh is a charitable body, registered in Scotland,=
 with registration number SC005336.
>
>
>
>
>
> Interval Since Last Panic Report: =A01203163 sec
> Panics Since Last Report: =A0 =A0 =A0 =A0 =A02
> Anonymous UUID: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A008A6E68C-0742-4572=
-A063-47E8294F54A9
>
> Fri Sep =A02 00:31:49 2011
> panic(cpu 1 caller 0x2ccb0f): Kernel trap at 0x4943a7d8, type 14=3Dpage f=
ault, registers:
> CR0: 0x80010033, CR2: 0x00000000, CR3: 0x1242f000, CR4: 0x00000660
> EAX: 0x00000000, EBX: 0x48a636e0, ECX: 0x076fea04, EDX: 0x000000b4
> CR2: 0x00000000, EBP: 0x48a636b8, ESI: 0x00000000, EDI: 0x494323b0
> EFL: 0x00010206, EIP: 0x4943a7d8, CS: =A00x00000008, DS: =A00x00000010
> Error code: 0x00000002
>
> Backtrace (CPU 1), Frame : Return Address (4 potential args on stack)
> 0x48a63488 : 0x22032e (0x6ac0fc 0x48a634a8 0x229ef0 0x0)
> 0x48a634b8 : 0x2ccb0f (0x6b8638 0x4943a7d8 0xe 0x6b85e1)
> 0x48a63568 : 0x2e2e34 (0x48a63590 0x48a63578 0x48a63588 0x2261da)
> 0x48a63588 : 0x4943a7d8 (0xe 0x48 0x10 0x10)
> 0x48a636b8 : 0x4943acf4 (0x48a637b0 0x48a636e0 0x494323b0 0x0)
> 0x48a63708 : 0x4943367c (0x48a637b0 0x494323b0 0x0 0x0)
> 0x48a63838 : 0x4941a0c8 (0x0 0x0 0x0 0x1)
> 0x48a63868 : 0x493d87e3 (0x0 0x199 0x494685ec 0x4946df74)
> 0x48a63898 : 0x49456e99 (0x13ba 0x591b 0x40 0x1)
> 0x48a638c8 : 0x494574ee (0x13ba 0x0 0x48a638e8 0x780c3f8)
> 0x48a63928 : 0x49458026 (0x0 0x13ba 0x0 0x0)
> 0x48a63c48 : 0x493e6bb4 (0x0 0x0 0x13ba 0x0)
> 0x48a63d78 : 0x4944f4ac (0x70542b8 0x48a63ee4 0x48a63db0 0x0)
> 0x48a63dd8 : 0x33aa6e (0x22000000 0xc0384302 0x48a63ee4 0x3)
> 0x48a63e18 : 0x3294f1 (0x48a63e28 0x0 0x8213c0 0x78bbc24)
> 0x48a63e48 : 0x31e948 (0x78bbc24 0xc0384302 0x48a63ee4 0x3)
> 0x48a63e88 : 0x55126f (0x7052cd0 0xc0384302 0x48a63ee4 0x48a63ed8)
> 0x48a63ea8 : 0x58379c (0x7052cd0 0xc0384302 0x48a63ee4 0x48a63ed8)
> 0x48a63f78 : 0x5f023a (0x70542b8 0x75cdbd4 0x70bb044 0x0)
> 0x48a63fc8 : 0x2e3977 (0x75cdbd0 0x0 0x10 0x75cdbd0)
> =A0 =A0 =A0Kernel Extensions in backtrace:
> =A0 =A0 =A0 =A0 org.openafs.filesystems.afs(1.6)[CAE5534A-A3C8-4CC1-89AE-=
3B9716288D9B]@0x493b8000->0x49488fff
>
> BSD process name corresponding to current thread: afsd
>
> Mac OS version:
> 11B26
>
> Kernel version:
> Darwin Kernel Version 11.1.0: Tue Jul 26 16:09:02 PDT 2011; root:xnu-1699=
.22.81~1/RELEASE_I386
> Kernel UUID: D5E41653-40ED-37E7-AEFD-4C2E2002D3B1
> System model name: MacBookPro2,2 (Mac-F42187C8)
>
> System uptime in nanoseconds: 8936957659
> last loaded kext at 7902831258: org.openafs.filesystems.afs =A0 =A0 1.6.0=
 (addr 0x493b8000, size 856064)
> loaded kexts:
> org.openafs.filesystems.afs =A0 =A0 1.6.0
> com.apple.filesystems.autofs =A0 =A03.0
> com.apple.driver.AppleTyMCEDriver =A0 =A0 =A0 1.0.2d2
> com.apple.driver.AppleHWSensor =A01.9.4d0
> com.apple.driver.AppleUpstreamUserClient =A0 =A0 =A0 =A03.5.9
> com.apple.driver.AppleMCCSControl =A0 =A0 =A0 1.0.24
> com.apple.kext.ATIFramebuffer =A0 7.0.4
> com.apple.ATIRadeonX1000 =A0 =A0 =A0 =A07.0.0
> com.apple.driver.AppleHDA =A0 =A0 =A0 2.1.1f12
> com.apple.driver.ACPI_SMC_PlatformPlugin =A0 =A0 =A0 =A04.7.0b2
> com.apple.driver.AppleLPC =A0 =A0 =A0 1.5.1
> com.apple.driver.SMCMotionSensor =A0 =A0 =A0 =A03.0.1d2
> com.apple.driver.AppleSMCLMU =A0 =A02.0.1d2
> com.apple.driver.AirPort.Atheros21 =A0 =A0 =A0430.14.9
> com.apple.driver.AudioAUUC =A0 =A0 =A01.59
> com.apple.driver.AppleMuxControl =A0 =A0 =A0 =A03.0.8
> com.apple.driver.AppleBacklight 170.1.9
> com.apple.iokit.IOUserEthernet =A01.0.0d1
> com.apple.Dont_Steal_Mac_OS_X =A0 7.0.0
> com.apple.driver.AudioIPCDriver 1.2.0
> com.apple.AppleFSCompression.AppleFSCompressionTypeDataless =A0 =A0 1.0.0=
d1
> com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
> com.apple.BootCache =A0 =A0 32
> com.apple.driver.CSRHIDTransitionDriver 2.5f17
> com.apple.driver.AppleIRController =A0 =A0 =A0309
> com.apple.driver.AppleUSBTrackpad =A0 =A0 =A0 220.8
> com.apple.driver.AppleUSBTCKeyEventDriver =A0 =A0 =A0 220.8
> com.apple.driver.AppleUSBTCKeyboard =A0 =A0 220.8
> com.apple.driver.USBCameraFirmwareLoader =A0 =A0 =A0 =A01.1.0
> com.apple.iokit.IOAHCIBlockStorage =A0 =A0 =A02.0.0
> com.apple.driver.AppleUSBHub =A0 =A04.4.0
> com.apple.driver.AppleSmartBatteryManager =A0 =A0 =A0 161.0.0
> com.apple.driver.AppleAHCIPort =A02.1.8
> com.apple.driver.AppleIntelPIIXATA =A0 =A0 =A02.5.1
> com.apple.iokit.AppleYukon2 =A0 =A0 3.2.2b1
> com.apple.driver.AppleFWOHCI =A0 =A04.8.6
> com.apple.driver.AppleUSBEHCI =A0 4.4.0
> com.apple.driver.AppleUSBUHCI =A0 4.4.0
> com.apple.driver.AppleEFINVRAM =A01.5.0
> com.apple.driver.AppleRTC =A0 =A0 =A0 1.4
> com.apple.driver.AppleHPET =A0 =A0 =A01.6
> com.apple.driver.AppleACPIButtons =A0 =A0 =A0 1.4
> com.apple.driver.AppleSMBIOS =A0 =A01.7
> com.apple.driver.AppleACPIEC =A0 =A01.4
> com.apple.driver.AppleAPIC =A0 =A0 =A01.5
> com.apple.driver.AppleIntelCPUPowerManagementClient =A0 =A0 166.0.0
> com.apple.nke.applicationfirewall =A0 =A0 =A0 3.0.30
> com.apple.security.quarantine =A0 1
> com.apple.driver.AppleIntelCPUPowerManagement =A0 166.0.0
> com.apple.kext.triggers 1.0
> com.apple.iokit.IOSCSIArchitectureModelFamily =A0 3.0.0
> com.apple.driver.AppleHDAHardwareConfigDriver =A0 2.1.1f12
> com.apple.driver.DspFuncLib =A0 =A0 2.1.1f12
> com.apple.kext.ATI1600Controller =A0 =A0 =A0 =A07.0.4
> com.apple.kext.ATISupport =A0 =A0 =A0 7.0.4
> com.apple.driver.IOPlatformPluginFamily 4.7.0b2
> com.apple.driver.AppleAVBAudio =A01.0.0d11
> com.apple.iokit.IOFireWireIP =A0 =A02.2.3
> com.apple.driver.AppleHDAController =A0 =A0 2.1.1f12
> com.apple.iokit.IOHDAFamily =A0 =A0 2.1.1f12
> com.apple.iokit.IO80211Family =A0 400.40
> com.apple.driver.AppleGraphicsControl =A0 3.0.8
> com.apple.driver.AppleSMBusPCI =A01.0.10d0
> com.apple.driver.AppleBacklightExpert =A0 1.0.3
> com.apple.iokit.IONDRVSupport =A0 2.3
> com.apple.iokit.IOSurface =A0 =A0 =A0 80.0
> com.apple.iokit.IOGraphicsFamily =A0 =A0 =A0 =A02.3
> com.apple.iokit.IOBluetoothSerialManager =A0 =A0 =A0 =A02.5f17
> com.apple.iokit.IOSerialFamily =A010.0.5
> com.apple.iokit.IOAVBFamily =A0 =A0 1.0.0d22
> com.apple.iokit.IOEthernetAVBController 1.0.0d5
> com.apple.driver.AppleSMC =A0 =A0 =A0 3.1.1d2
> com.apple.iokit.IOAudioFamily =A0 1.8.3fc11
> com.apple.kext.OSvKernDSPLib =A0 =A01.3
> com.apple.driver.CSRUSBBluetoothHCIController =A0 2.5f17
> com.apple.driver.AppleUSBBluetoothHCIController 2.5f17
> com.apple.iokit.IOBluetoothFamily =A0 =A0 =A0 2.5f17
> com.apple.driver.AppleUSBMergeNub =A0 =A0 =A0 4.4.0
> com.apple.driver.AppleFileSystemDriver =A013
> com.apple.iokit.IOUSBHIDDriver =A04.4.0
> com.apple.driver.AppleUSBComposite =A0 =A0 =A03.9.0
> com.apple.driver.XsanFilter =A0 =A0 403
> com.apple.iokit.IOATABlockStorage =A0 =A0 =A0 3.0.0
> com.apple.iokit.IOUSBUserClient 4.4.0
> com.apple.iokit.IOAHCIFamily =A0 =A02.0.6
> com.apple.iokit.IOATAFamily =A0 =A0 2.5.1
> com.apple.iokit.IONetworkingFamily =A0 =A0 =A02.0
> com.apple.iokit.IOFireWireFamily =A0 =A0 =A0 =A04.4.3
> com.apple.iokit.IOUSBFamily =A0 =A0 4.4.0
> com.apple.driver.AppleEFIRuntime =A0 =A0 =A0 =A01.5.0
> com.apple.iokit.IOHIDFamily =A0 =A0 1.7.0
> com.apple.iokit.IOSMBusFamily =A0 1.1
> com.apple.security.sandbox =A0 =A0 =A0165
> com.apple.kext.AppleMatch =A0 =A0 =A0 1.0.0d1
> com.apple.security.TMSafetyNet =A07
> com.apple.driver.DiskImages =A0 =A0 326
> com.apple.iokit.IOStorageFamily 1.7
> com.apple.driver.AppleKeyStore =A028.18
> com.apple.driver.AppleACPIPlatform =A0 =A0 =A01.4
> com.apple.iokit.IOPCIFamily =A0 =A0 2.6.5
> com.apple.iokit.IOACPIFamily =A0 =A01.4
> Model: MacBookPro2,2, BootROM MBP22.00A5.B07, 2 processors, Intel Core 2 =
Duo, 2.33 GHz, 3 GB, SMC 1.12f5
> Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 256 MB
> Memory Module: BANK 0/DIMM0, 2 GB, DDR2 SDRAM, 667 MHz, 0x7F7F9E000000000=
0, 0x565332475344533636374432202020202020
> Memory Module: BANK 1/DIMM1, 1 GB, DDR2 SDRAM, 667 MHz, 0xCE0000000000000=
0, 0x4D342037305432393533435A332D43453620
> Bluetooth: Version 2.5.0f17, 2 service, 19 devices, 0 incoming serial por=
ts
> Serial ATA Device: OCZ-VERTEX2, 115.03 GB
> Parallel ATA Device: Hitachi HTE722020K9A300, 200.05 GB
> USB Device: Built-in iSight, apple_vendor_id, 0x8501, 0xfd400000 / 2
> USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x021b, =
0x1d200000 / 2
> USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8205, 0x7d1=
00000 / 2
> USB Device: IR Receiver, apple_vendor_id, 0x8240, 0x5d200000 / 2
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>



--=20
Derrick