[AT&T Samsung Galaxy S II Skyrocket SGH-I727] titanic_fanatic:
[GUIDE/ROM] Project Rookie - How to's - Building ROMs, Kernels & Mods [TEAM R...

Hey guys, I'm having an issue with phone calls on my latest carbon build.

Phone calls do not come through. No ringing, vibrating or anything. Vm/sms notification still works but can't receive calls. I can make a call, but pressing the hangup button did nothing but freeze the incallui. Using the "radiooptions 10" from the shell causes the network to reset and hangs up the call, but can't hangup from incallui.

The logcat turns up nothing, but the dmesg shows the following:

[ 5228.346801] BUG: sleeping function called from invalid context at ../../../../../../kernel/samsung/msm8660-common/kernel/mutex.c:85

[ 5228.347290] in_atomic(): 1, irqs_disabled(): 128, pid: 10074, name: kworker/u:0

[ 5228.347778] [] (unwind_backtrace+0x0/0xe0) from [] (mutex_lock+0x18/0x3c)

[ 5228.348266] [] (mutex_lock+0x18/0x3c) from [] (voice_get_session+0x18/0x88)

[ 5228.348571] [] (voice_get_session+0x18/0x88) from [] (modem_cvp_callback+0x50/0x1dc)

[ 5228.349060] [] (modem_cvp_callback+0x50/0x1dc) from [] (apr_cb_func+0x234/0x278)

[ 5228.349517] [] (apr_cb_func+0x234/0x278) from [] (apr_tal_notify+0xd4/0x15c)

[ 5228.350006] [] (apr_tal_notify+0xd4/0x15c) from [] (handle_smd_irq.isra.18+0xc0/0x10c)

[ 5228.350494] [] (handle_smd_irq.isra.18+0xc0/0x10c) from [] (smd_modem_irq_handler+0xc/0x1c)

[ 5228.350982] [] (smd_modem_irq_handler+0xc/0x1c) from [] (handle_irq_event_percpu+0xa8/0x288)

[ 5228.351470] [] (handle_irq_event_percpu+0xa8/0x288) from [] (handle_irq_event+0x3c/0x5c)

[ 5228.351806] [] (handle_irq_event+0x3c/0x5c) from [] (handle_fasteoi_irq+0xd8/0x124)

[ 5228.352264] [] (handle_fasteoi_irq+0xd8/0x124) from [] (generic_handle_irq+0x20/0x30)

[ 5228.352752] [] (generic_handle_irq+0x20/0x30) from [] (handle_IRQ+0x8c/0xe0)

[ 5228.353240] [] (handle_IRQ+0x8c/0xe0) from [] (gic_handle_irq+0x74/0xa0)

[ 5228.353698] [] (gic_handle_irq+0x74/0xa0) from [] (__irq_svc+0x54/0x80)

[ 5228.353973] Exception stack(0xca893d78 to 0xca893dc0)

[ 5228.354400] 3d60: 00000000 c0c3f1c0

[ 5228.354888] 3d80: 3a2dc509 00000014 00000013 00000000 00000072 00000003 d9a16400 00000000

[ 5228.355163] 3da0: 00000072 00000000 c0c3f1c0 ca893dc0 c0114968 c03ad798 20000013 ffffffff

[ 5228.355651] [] (__irq_svc+0x54/0x80) from [] (read_current_timer_delay_loop+0x2c/0x30)

[ 5228.356140] [] (read_current_timer_delay_loop+0x2c/0x30) from [] (__delay+0x10/0x18)

[ 5228.356628] [] (__delay+0x10/0x18) from [] (i2c_outb+0x34/0xe0)

[ 5228.356903] [] (i2c_outb+0x34/0xe0) from [] (try_address+0x2c/0x6c)

[ 5228.357360] [] (try_address+0x2c/0x6c) from [] (bit_xfer+0x1ac/0x458)

[ 5228.357849] [] (bit_xfer+0x1ac/0x458) from [] (i2c_transfer+0xb8/0x114)

[ 5228.358337] [] (i2c_transfer+0xb8/0x114) from [] (i2c_smbus_xfer+0x3a0/0x4fc)

[ 5228.358642] [] (i2c_smbus_xfer+0x3a0/0x4fc) from [] (i2c_smbus_read_word_data+0x34/0x44)

[ 5228.359130] [] (i2c_smbus_read_word_data+0x34/0x44) from [] (taos_work_func_ptime+0x2c/0x94)

[ 5228.359588] [] (taos_work_func_ptime+0x2c/0x94) from [] (process_one_work+0x228/0x434)

[ 5228.360076] [] (process_one_work+0x228/0x434) from [] (worker_thread+0x19c/0x2bc)

[ 5228.360565] [] (worker_thread+0x19c/0x2bc) from [] (kthread+0x7c/0x88)

[ 5228.361022] [] (kthread+0x7c/0x88) from [] (kernel_thread_exit+0x0/0x8)

In the second line, the pid and name change every time this error prints. Any ideas how to fix this?

---------- Post added at 01:03 PM ---------- Previous post was at 12:55 PM ----------

[MENTION=2107489]bryan2894[/MENTION], I noticed you have disabled CONFIG_STRICT_MEMORY_RWX. I can't find any useful information about this and was wondering why you have disabled it?

EDIT:

Whew, problem is solved. It appears that carbon's device repos are slightly out of date and the override for build.prop property ro.telephony.ril_class was missing. Restoring it to my build.prop completely fixed the issue ;)