[AT&T Samsung Galaxy S II Skyrocket SGH-I727] m4570d0n:
So I'm having an odd issue that I just noticed that seems specific to my linux partition. I can't connect to CM's gerrit via http or ssh in any browser or via CLI. Whether I'm using FF or Chromium I get a 502: Bad Gateway error, and if I try to connect via http or ssh in a terminal I immediately get "Connection refused." Not sure what's going on here as I can connect to gerrit for AOSP, AOSP, PAC-man, etc. without issue. It's just CM, and just on my linux partition. I can connect fine on my windows partition and on my phone. Anyone have any ideas where I should look to troubleshoot?

Also, I finally got around to trying to build PAC-man (cm-10.2 branch) and hit an error with AudioPolicyManagerBase.cpp. I can't paste the exact output as I'm not on my linux partition right now but the error was this:

hardware/libhardware_legacy/audio/AudioPolicyManagerBase.cpp:2814:1: error: too many initializers for 'const android_audio_legacy::AudioPolicyManagerBase::VolumeCurvePoint* [10][3]'

And in that file, the relevant code is lines 2746-2814:

https://github.com/CyanogenMod/andr...m-10.2/audio/AudioPolicyManagerBase.cpp#L2746

const AudioPolicyManagerBase::VolumeCurvePoint
*AudioPolicyManagerBase::sVolumeProfiles[AUDIO_STREAM_CNT]
[AudioPolicyManagerBase::DEVICE_CATEGORY_CNT] = {
{ // AUDIO_STREAM_VOICE_CALL
sDefaultVoiceVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerVoiceVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultVoiceVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_SYSTEM
sHeadsetSystemVolumeCurve, // DEVICE_CATEGORY_HEADSET
sDefaultSystemVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultSystemVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_RING
sDefaultVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerSonificationVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_MUSIC
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_ALARM
sDefaultVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerSonificationVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_NOTIFICATION
sDefaultVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerSonificationVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_BLUETOOTH_SCO
sDefaultVoiceVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerVoiceVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultVoiceVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_ENFORCED_AUDIBLE
sHeadsetSystemVolumeCurve, // DEVICE_CATEGORY_HEADSET
sDefaultSystemVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultSystemVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_DTMF
sHeadsetSystemVolumeCurve, // DEVICE_CATEGORY_HEADSET
sDefaultSystemVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultSystemVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
{ // AUDIO_STREAM_TTS
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
#ifdef QCOM_HARDWARE
{ // AUDIO_STREAM_INCALL_MUSIC
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
#endif
#ifdef QCOM_FM_ENABLED
{ // AUDIO_STREAM_FM
sDefaultMediaVolumeCurve, // DEVICE_CATEGORY_HEADSET
sSpeakerMediaVolumeCurve, // DEVICE_CATEGORY_SPEAKER
sDefaultMediaVolumeCurve // DEVICE_CATEGORY_EARPIECE
},
#endif

};

I've done some digging around and I think the problem may be that the PAC repos are missing some commits to system/core, but I'm not sure which commit specifically, if that's the case. (Perhaps something in /include/system/audio.h?)