Hi,

I'm trying to analyze the overall and realtime performance of an preempt_rt 
patched Android kernel on Pandaboard. 
To achieve this, i modified the matching (linux kernel version match) 
preempt_rt patch.

My android linux kernel version is 3.0.8.

After successfully patching, I modified the configuration w/ 
panda_defconfig and then according to preeempt_rt source 
<https://rt.wiki.kernel.org/index.php/RT_PREEMPT_HOWTO#Configuration_and_Compilation>,
 
full preemption is opened, high res timer is closed.
Building is also done successfully. However while booting process, I'm 
getting 

BUG: sleeping function called from invalid context at kernel/rtmutex.c:645

After digging in a while, i realize that problem can be about basically 
from function call order. source 
<http://permalink.gmane.org/gmane.linux.rt.user/11691>.

Unfortunately, I still don't know the exact reason of this error, and how 
to fix it. 

Can anybody share own experience with me, to lead the way.

Thanks.

Emre Can Kucukoglu.

*sources:*
My android kernel source: *https://github.com/dlandoll/android_kernel_omap.git 
<https://github.com/dlandoll/android_kernel_omap.git> --branch=branch 
"android-omap-cm-panda-3.0"*
*booting.log*: my booting debug outputs.
*preempt_rt-on-android-3.0.8.tar.gz*: difference of my modified preempt_rt 
3.0.8-rt23 patch from main preempt_rt 3.0.8-rt23.

I have changed the following patches from preempt_rt 3.0.8-rt23:
- arm-allow-irq-threading.patch 
- arm-raw_lock-conversions.patch 
- hwlatdetect.patch 
- rt-mutex-add-sleeping-spinlocks-support.patch 
- sched-use-schedule-preempt-disabled.patch 
- set-the-command-name-of-the-idle-tasks-in-smp-kernels-v3.patch

Also did not apply these patches from preempt_rt 3.0.8-rt23:
- arm-smp-online-fix.patch 
- plist-remove-spinlock-types-dependency.patch

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Attachment: booting.log
Description: Binary data

Attachment: preempt_rt-on-android-3.0.8.tar.gz
Description: Binary data

Reply via email to