This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP4460: error when change from SLAB allocator to SLUB allocator

I am using RaccoonBoard Development Kit.

I used software release here:  http://59.124.231.13/index.php/JAJ_2.5-P2_AP_Module_OMAP4_Jelly_Bean_Release_Notes

I encounted a problem that is  "Unable to handle kernel paging request at virtual address 86000000" when internet traffic increase.

I've googled and saw that the issue caused because Memory fragmentation

And SLUB allocator can reduce  Memory fragmentation, so I want to change to it

I use "make menuconfig" to enable SLUB and disable SLAB

But my board can't boot, At console windows, I see following log error run continually:

[ 12.792724] init: untracked pid 106 exited
[ 13.528839] init: untracked pid 431 exited
[ 18.054626] init: untracked pid 432 exited
[ 20.428802] init: untracked pid 436 exited
[ 23.597076] init: untracked pid 437 exited
[ 28.877624] init: untracked pid 443 exited
[ 34.060852] init: untracked pid 451 exited
[ 34.174468] init: untracked pid 457 exited
[ 39.325408] init: untracked pid 470 exited
[ 39.440093] init: untracked pid 476 exited
[ 44.604644] init: untracked pid 489 exited
[ 44.760406] init: untracked pid 495 exited
[ 49.875366] init: untracked pid 508 exited
[ 50.002563] init: untracked pid 514 exited

Anybody know about this issue, please help me

Regards,

Anh

  • Hello Anh,

    It seems that there are a service or driver which doesn't work correctly.

    Please provide output of logcat command so it will help to debug your issue.

    I suggest you to take a look on this discussion - http://e2e.ti.com/support/omap/f/849/t/156272.aspx

    Best regards,

    Yanko

  • Hi Yanko,

    Before, When I use SLAB allocator, my board can boot normally.

    And when I return to use SLAB allocator again, my board also boot normally.

    But I want to use SLUB allocator.

    Can you tell what is the problem?

    Here is my logcat:

    root@android:/ # logcat
    --------- beginning of /dev/log/main
    I/installd( 110): installd firing up
    E/cutils ( 110): Failed to read /data/.layout_version: No such file or directory
    E/uim-sysfs( 102): uim: Inside main
    E/uim-sysfs( 102): uim:ST built into the kernel ?
    E/uim-sysfs( 102): uim:BT driver module un-available...
    E/uim-sysfs( 102): uim:BT driver built into the kernel ?
    E/uim-sysfs( 102): uim:FM driver module un-available...
    E/uim-sysfs( 102): uim:FM driver built into the kernel ?
    E/uim-sysfs( 102): uim:GPS driver module un-available...
    E/uim-sysfs( 102): uim:GPS driver built into the kernel ?
    E/uim-sysfs( 102): uim:FM V4L2 driver module un-available...
    E/uim-sysfs( 102): uim:FM V4L2 driver built into the kernel ?
    E/uim-sysfs( 102): uim:unable to chmod /dev/radio0, might not exist
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill0/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill1/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill2/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill3/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill4/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill5/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill6/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill7/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill8/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill9/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill10/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill11/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill12/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill13/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill14/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill15/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill16/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill17/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill18/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill19/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill20/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill21/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill22/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill23/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill24/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill25/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill26/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill27/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill28/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill29/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill30/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill31/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill32/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill33/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill34/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill35/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill36/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill37/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill38/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill39/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill40/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill41/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill42/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill43/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill44/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill45/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill46/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill47/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill48/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:open(/sys/class/rfkill/rfkill49/type) failed: No such file or directory (2)
    E/uim-sysfs( 102):
    E/uim-sysfs( 102): uim:rfkill not enabled in st_drv - BT on from UI might fail
    E/uim-sysfs( 102):
    I/DEBUG ( 105): debuggerd: Oct 19 2014 23:25:06
    D/installd( 110): Upgrading /data/media for multi-user
    --------- beginning of /dev/log/system
    I/Vold ( 99): Vold 2.1 (the revenge) firing up
    I/Netd ( 104): Netd 1.0 starting
    W/InterfaceController( 104): Warning (Cannot load library: load_library(linker.cpp:745): library "/system/lib/libnetcmdiface.so" not found) while opening the net interface command library
    D/Vold ( 99): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media)
    D/Vold ( 99): Volume usbflash1 state changing -1 (Initializing) -> 0 (No-Media)
    D/Vold ( 99): Volume usbflash2 state changing -1 (Initializing) -> 0 (No-Media)
    D/installd( 110): Upgrading to shared /data/media/obb
    I/SurfaceFlinger( 106): SurfaceFlinger is starting
    I/SurfaceFlinger( 106): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
    I/libEGL ( 106): Processor type: omap4460
    I/libEGL ( 106): egl.cfg: entry POWERVR_SGX540_120 omap4430
    I/libEGL ( 106): egl.cfg: entry POWERVR_SGX540_120 omap4460
    I/libEGL ( 106): Picked EGL type 'POWERVR_SGX540_120' for processor 'omap4460'
    D/libEGL ( 106): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
    E/IMGSRV ( 100): Cannot load gfx modules!
    E/IMGSRV ( 100): pvrsrvinit failed to initialize graphics modules!!!
    D/libEGL ( 106): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
    D/libEGL ( 106): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
    W/libEGL ( 106): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
    I/mediaserver( 109): ServiceManager: 0x40af8e80
    I/AudioFlinger( 109): Using default 3000 mSec as standby time.
    I/CameraService( 109): CameraService started (pid=109)
    D/skia ( 107): SkGraphics::Init() - BLTsville (CPU) dlopen success
    D/AndroidRuntime( 107):
    D/AndroidRuntime( 107): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
    D/AndroidRuntime( 107): CheckJNI is ON
    D/dalvikvm( 107): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) ---
    D/MDnsDS ( 104): MDnsSdListener::Hander starting up
    D/MDnsDS ( 104): MDnsSdListener starting to monitor
    D/MDnsDS ( 104): Going to poll with pollCount 1
    E/CameraHal( 109): (401093dc) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXDCC.cpp:99 initDCC - No DCC files found, switching back to default DCC
    E/CameraHal( 109): (401093dc) hardware/ti/omap4xxx/camera/OMXCameraAdapter/OMXDCC.cpp:44 loadDCC - Error in DCC Init
    D/DOMX ( 109): hardware/ti/domx/domx/omx_proxy_common/src/omx_proxy_common.c:1671 __PROXY_SetConfig()
    D/DOMX ( 109): ERROR: failed check:(eError == OMX_ErrorNone) || (eError == OMX_ErrorNoMore) - returning error: 0x80001009 - Error returned from OMX API in ducati
    E/CameraHal( 109): (401093dc) hardware/ti/omap4xxx/camera/BaseCameraAdapter.cpp:2708 CameraAdapter_Capabilities - supportedCameras= 0
    E/CameraHal( 109): (401093dc) hardware/ti/omap4xxx/camera/CameraProperties.cpp:108 loadProperties - camera busy. properties not loaded. num_cameras = 0
    E/CameraHal( 109): (401093dc) hardware/ti/omap4xxx/camera/CameraHal_Module.cpp:770 camera_get_number_of_cameras - Unable to create or initialize CameraProperties
    D/dalvikvm( 351): Ignoring duplicate verify attempt on Ljava/lang/Object;
    I/AudioPolicyManagerBase( 109): loadAudioPolicyConfig() loaded /system/etc/audio_policy.conf
    I/audio_hw_primary( 109): boardtype used: blaze_tablet(1)
    I/AudioFlinger( 109): loadHwModule() Loaded primary audio interface from OMAP audio HW HAL (audio) handle 1
    I/AudioFlinger( 109): HAL output buffer size 960 frames, normal mix buffer size 960 frames
    W/EffectsFactory( 109): loadLibrary() failed to open /system/lib/soundfx/libdseffect.so
    W/EffectsFactory( 109): loadEffect() could not get library ds
    I/AudioMixer( 109): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
    I/AudioFlinger( 109): Using module 1 has the primary audio interface
    I/AudioFlinger( 109): AudioFlinger's thread 0x40ae7fc0 ready to run
    W/AudioFlinger( 109): Thread AudioOut_2 cannot connect to the power manager service
    I/AudioFlinger( 109): HAL output buffer size 960 frames, normal mix buffer size 960 frames
    I/AudioMixer( 109): found effect "Multichannel Downmix To Stereo" from The Android Open Source Project
    I/AudioFlinger( 109): AudioFlinger's thread 0x40f8e008 ready to run
    W/AudioFlinger( 109): Thread AudioOut_3 cannot connect to the power manager service
    W/AudioFlinger( 109): Thread AudioOut_3 cannot connect to the power manager service
    D/dalvikvm( 351): Ignoring duplicate verify attempt on Ljava/lang/Class;
    I/AudioFlinger( 109): loadHwModule() Loaded hdmi audio interface from OMAP HDMI audio HW HAL (audio) handle 4
    I/audio_a2dp_hw( 109): adev_open: adev_open in A2dp_hw module
    I/AudioFlinger( 109): loadHwModule() Loaded a2dp audio interface from A2DP Audio HW HAL (audio) handle 5
    I/r_submix( 109): adev_open(name=audio_hw_if)
    I/r_submix( 109): adev_init_check()
    I/AudioFlinger( 109): loadHwModule() Loaded r_submix audio interface from Wifi Display audio HAL (audio) handle 6
    I/AudioPolicyService( 109): Loaded audio policy from LEGACY Audio Policy HAL (audio_policy)
    D/dalvikvm( 351): Ignoring duplicate verify attempt on Ljava/lang/ref/Reference;
    D/dalvikvm( 351): Ignoring duplicate verify attempt on Ljava/lang/ref/ReferenceQueue;
    D/dalvikvm( 351): Ignoring duplicate verify attempt on Ljava/lang/ref/FinalizerReference;
    D/dalvikvm( 351): DexOpt: load 57ms, verify+opt 816ms, 1615380 bytes
    D/dalvikvm( 107): DexOpt: --- END 'core.jar' (success) ---
    D/dalvikvm( 107): DEX prep '/system/framework/core.jar': unzip in 99ms, rewrite 1954ms
    D/dalvikvm( 107): DexOpt: --- BEGIN 'core-junit.jar' (bootstrap=1) ---
    D/dalvikvm( 431): DexOpt: load 3ms, verify+opt 7ms, 140460 bytes
    D/dalvikvm( 107): DexOpt: --- END 'core-junit.jar' (success) ---
    D/dalvikvm( 107): DEX prep '/system/framework/core-junit.jar': unzip in 1ms, rewrite 227ms
    D/dalvikvm( 107): DexOpt: --- BEGIN 'bouncycastle.jar' (bootstrap=1) ---
    D/dalvikvm( 432): DexOpt: load 20ms, verify+opt 284ms, 670940 bytes
    D/dalvikvm( 107): DexOpt: --- END 'bouncycastle.jar' (success) ---
    D/dalvikvm( 107): DEX prep '/system/framework/bouncycastle.jar': unzip in 34ms, rewrite 1111ms
    D/dalvikvm( 107): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) ---
    E/SurfaceFlinger( 106): framebuffer_open failed for fb0 (Not a typewriter)
    E/ti_hwc ( 106): Framebuffer HAL not opened before HWC
    E/SurfaceFlinger( 106): composer device failed to initialize (Bad address)
    E/SurfaceFlinger( 106): ERROR: failed to open framebuffer, aborting
    F/libc ( 106): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 165 (SurfaceFlinger)
    I/DEBUG ( 105): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    I/DEBUG ( 105): Build fingerprint: 'unknown'
    I/DEBUG ( 105): Revision: '16'
    I/DEBUG ( 105): pid: 106, tid: 165, name: SurfaceFlinger >>> /system/bin/surfaceflinger <<<
    I/DEBUG ( 105): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadbaad
    I/DEBUG ( 105): r0 00000027 r1 deadbaad r2 400fa258 r3 00000000
    I/DEBUG ( 105): r4 00000000 r5 404b9d54 r6 400fa228 r7 41aaa350
    I/DEBUG ( 105): r8 00000000 r9 00000000 sl 41aaa600 fp 00000000
    I/DEBUG ( 105): ip 400a8e04 sp 404b9d50 lr 400cd0b9 pc 400c9752 cpsr 60000030
    I/DEBUG ( 105): d0 61202c7265666662 d1 62656d617266206f
    I/DEBUG ( 105): d2 725f747865746e72 d3 73656e7473756274
    I/DEBUG ( 105): d4 0000000000000000 d5 0000000000000000
    I/DEBUG ( 105): d6 0000000000000000 d7 00674f0e00000000
    I/DEBUG ( 105): d8 0000000000000000 d9 0000000000000000
    I/DEBUG ( 105): d10 0000000000000000 d11 0000000000000000
    I/DEBUG ( 105): d12 0000000000000000 d13 0000000000000000
    I/DEBUG ( 105): d14 0000000000000000 d15 0000000000000000
    I/DEBUG ( 105): d16 4159d3c3b1db22d1 d17 3f50624dd2f1a9fc
    I/DEBUG ( 105): d18 41c6f60add800000 d19 0000000000000000
    I/DEBUG ( 105): d20 0000000000000000 d21 0000000000000000
    I/DEBUG ( 105): d22 0000000000000000 d23 0000000000000000
    I/DEBUG ( 105): d24 0000000000000000 d25 0000000000000000
    I/DEBUG ( 105): d26 0000000000000000 d27 0000000000000000
    I/DEBUG ( 105): d28 0000000000000000 d29 0000000000000000
    I/DEBUG ( 105): d30 0000000000000000 d31 0000000000000000
    I/DEBUG ( 105): scr 00000010
    I/DEBUG ( 105):
    I/DEBUG ( 105): backtrace:
    I/DEBUG ( 105): #00 pc 0001a752 /system/lib/libc.so
    I/DEBUG ( 105): #01 pc 00018080 /system/lib/libc.so (abort+4)
    I/DEBUG ( 105): #02 pc 00024091 /system/lib/libsurfaceflinger.so (android::HWComposer::HWComposer(android::sp<android::SurfaceFlinger> const&, android::HWComposer::EventHandler&)+280)
    I/DEBUG ( 105): #03 pc 000296af /system/lib/libsurfaceflinger.so (android::SurfaceFlinger::readyToRun()+66)
    I/DEBUG ( 105): #04 pc 0001123d /system/lib/libutils.so (android::Thread::_threadLoop(void*)+72)
    I/DEBUG ( 105): #05 pc 00010dcd /system/lib/libutils.so
    I/DEBUG ( 105): #06 pc 0000e3e8 /system/lib/libc.so (__thread_entry+72)
    I/DEBUG ( 105): #07 pc 0000dad4 /system/lib/libc.so (pthread_create+160)
    I/DEBUG ( 105):
    I/DEBUG ( 105): stack:
    I/DEBUG ( 105): 404b9d10 00000000
    I/DEBUG ( 105): 404b9d14 401bf6a4 /system/lib/libEGL.so
    I/DEBUG ( 105): 404b9d18 00000029
    I/DEBUG ( 105): 404b9d1c 400dc0f9 /system/lib/libc.so (__system_property_find+56)
    I/DEBUG ( 105): 404b9d20 c0000000
    I/DEBUG ( 105): 404b9d24 00000024
    I/DEBUG ( 105): 404b9d28 400f7254 /system/lib/libc.so
    I/DEBUG ( 105): 404b9d2c 400f71b4 /system/lib/libc.so
    I/DEBUG ( 105): 404b9d30 00000000
    I/DEBUG ( 105): 404b9d34 400cd0b9 /system/lib/libc.so (_fwalk+32)
    I/DEBUG ( 105): 404b9d38 00000001
    I/DEBUG ( 105): 404b9d3c 404b9d54 [stack:165]
    I/DEBUG ( 105): 404b9d40 400fa228
    I/DEBUG ( 105): 404b9d44 41aaa350 [heap]
    I/DEBUG ( 105): 404b9d48 df0027ad
    I/DEBUG ( 105): 404b9d4c 00000000
    I/DEBUG ( 105): #00 404b9d50 400fa228
    I/DEBUG ( 105): 404b9d54 fffffbdf
    I/DEBUG ( 105): 404b9d58 400a1599 /system/lib/libsurfaceflinger.so
    I/DEBUG ( 105): 404b9d5c 400a1590 /system/lib/libsurfaceflinger.so
    I/DEBUG ( 105): 404b9d60 400ee54b /system/lib/libc.so
    I/DEBUG ( 105): 404b9d64 20e23c11
    I/DEBUG ( 105): 404b9d68 41aaa960 [heap]
    I/DEBUG ( 105): 404b9d6c 41aaa960 [heap]
    I/DEBUG ( 105): 404b9d70 00000000
    I/DEBUG ( 105): 404b9d74 400c7084 /system/lib/libc.so (__pthread_clone)
    I/DEBUG ( 105): #01 404b9d78 20e23c11
    I/DEBUG ( 105): 404b9d7c 40098095 /system/lib/libsurfaceflinger.so (android::HWComposer::HWComposer(android::sp<android::SurfaceFlinger> const&, android::HWComposer::EventHandler&)+284)
    I/DEBUG ( 105): #02 404b9d80 4006baa0
    I/DEBUG ( 105): 404b9d84 404da290 /system/vendor/lib/libsrv_um_SGX540_120.so (PVRSRVGetLibFuncAddr+12)
    I/DEBUG ( 105): 404b9d88 404c0030 /system/vendor/lib/libIMGegl_SGX540_120.so
    I/DEBUG ( 105): 404b9d8c 404c3574 /system/vendor/lib/libIMGegl_SGX540_120.so
    I/DEBUG ( 105): 404b9d90 4077625c /system/vendor/lib/libpvrANDROID_WSEGL_SGX540_120.so (WSEGL_GetFunctionTablePointer)
    I/DEBUG ( 105): 404b9d94 00000000
    I/DEBUG ( 105): 404b9d98 404cc197 /system/vendor/lib/libIMGegl_SGX540_120.so
    I/DEBUG ( 105): 404b9d9c 404cc1b9 /system/vendor/lib/libIMGegl_SGX540_120.so
    I/DEBUG ( 105): 404b9da0 404ce014 /system/vendor/lib/libIMGegl_SGX540_120.so
    I/DEBUG ( 105): 404b9da4 41aaa6a8 [heap]
    I/DEBUG ( 105): 404b9da8 c0000000
    I/DEBUG ( 105): 404b9dac 00000130
    I/DEBUG ( 105): 404b9db0 400a0dc8 /system/lib/libsurfaceflinger.so
    I/DEBUG ( 105): 404b9db4 00000000
    I/DEBUG ( 105): 404b9db8 0000013b
    I/DEBUG ( 105): 404b9dbc 400c03d3 /system/lib/libc.so (dlmalloc+5170)
    I/DEBUG ( 105): ........ ........
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near r2:
    I/DEBUG ( 105): 400fa238 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa248 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa258 00000001 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa268 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa278 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa288 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa298 00000000 00000000 00674f0e 00000000
    I/DEBUG ( 105): 400fa2a8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2b8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2c8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2d8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2e8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2f8 00000000 00000000 00000000 00004000
    I/DEBUG ( 105): 400fa308 00000000 00000000 00000000 00004000
    I/DEBUG ( 105): 400fa318 00000000 00000000 00000000 00004000
    I/DEBUG ( 105): 400fa328 00000000 00000000 00000000 00004000
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near r5:
    I/DEBUG ( 105): 404b9d34 400cd0b9 00000001 404b9d54 400fa228
    I/DEBUG ( 105): 404b9d44 41aaa350 df0027ad 00000000 400fa228
    I/DEBUG ( 105): 404b9d54 fffffbdf 400a1599 400a1590 400ee54b
    I/DEBUG ( 105): 404b9d64 20e23c11 41aaa960 41aaa960 00000000
    I/DEBUG ( 105): 404b9d74 400c7084 20e23c11 40098095 4006baa0
    I/DEBUG ( 105): 404b9d84 404da290 404c0030 404c3574 4077625c
    I/DEBUG ( 105): 404b9d94 00000000 404cc197 404cc1b9 404ce014
    I/DEBUG ( 105): 404b9da4 41aaa6a8 c0000000 00000130 400a0dc8
    I/DEBUG ( 105): 404b9db4 00000000 0000013b 400c03d3 404b9dd4
    I/DEBUG ( 105): 404b9dc4 40188f59 401bf6f4 40189277 401bf6f4
    I/DEBUG ( 105): 404b9dd4 41aaa318 400a0dc8 400a75e8 400a75e8
    I/DEBUG ( 105): 404b9de4 20e23c11 00100000 41aaa318 400a0dc8
    I/DEBUG ( 105): 404b9df4 41aaa960 400a75e8 4014ed35 00100000
    I/DEBUG ( 105): 404b9e04 4009d6b3 0000000d 400dc0f9 20e23c11
    I/DEBUG ( 105): 404b9e14 404b9e50 41aaa318 40154834 fffffff8
    I/DEBUG ( 105): 404b9e24 4014ed35 00100000 400dc159 404b9e50
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near r6:
    I/DEBUG ( 105): 400fa208 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa218 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa228 20e23c11 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa238 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa248 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa258 00000001 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa268 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa278 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa288 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa298 00000000 00000000 00674f0e 00000000
    I/DEBUG ( 105): 400fa2a8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2b8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2c8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2d8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2e8 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 400fa2f8 00000000 00000000 00000000 00004000
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near r7:
    I/DEBUG ( 105): 41aaa330 00000000 41aaa630 00000000 00000000
    I/DEBUG ( 105): 41aaa340 00000000 00000100 00000000 000000a5
    I/DEBUG ( 105): 41aaa350 400a7608 00000000 400a7448 00000000
    I/DEBUG ( 105): 41aaa360 00000000 00000000 00000004 400a6ee0
    I/DEBUG ( 105): 41aaa370 00000000 00000000 00000000 00000040
    I/DEBUG ( 105): 41aaa380 ffffffff 00000000 400a89bc 400fa228
    I/DEBUG ( 105): 41aaa390 400a7a10 bed04b10 00000000 00000000
    I/DEBUG ( 105): 41aaa3a0 00000000 41aaa318 400a7a14 000000df
    I/DEBUG ( 105): 41aaa3b0 41aa6030 00000018 00000000 00000000
    I/DEBUG ( 105): 41aaa3c0 400a6c60 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa3d0 00000004 00000000 400a48c0 00000000
    I/DEBUG ( 105): 41aaa3e0 00000000 00000000 00000004 00000000
    I/DEBUG ( 105): 41aaa3f0 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa400 93b4ddbb 00000001 00000000 00000000
    I/DEBUG ( 105): 41aaa410 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa420 00000001 00000000 00000000 400a7448
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near sl:
    I/DEBUG ( 105): 41aaa5e0 41aaa5e8 0000001b 00000001 00000001
    I/DEBUG ( 105): 41aaa5f0 41aaa5dc 00000000 00000000 00000013
    I/DEBUG ( 105): 41aaa600 41aab6a8 41aaa620 404bbfbc 00000023
    I/DEBUG ( 105): 41aaa610 00000001 00000009 66727553 46656361
    I/DEBUG ( 105): 41aaa620 70616d6f 30363434 00000000 00000043
    I/DEBUG ( 105): 41aaa630 400733dc 400f9b08 00000001 403ba000
    I/DEBUG ( 105): 41aaa640 00100000 00001000 00000000 00000000
    I/DEBUG ( 105): 41aaa650 000000a5 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa660 00000000 00000000 404b9f00 0000003b
    I/DEBUG ( 105): 41aaa670 00003000 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa680 00000000 00000000 00000000 00000000
    I/DEBUG ( 105): 41aaa690 00000000 00000000 00000001 41aaa630
    I/DEBUG ( 105): 41aaa6a0 404ce014 0000001b 00000000 fffffffc
    I/DEBUG ( 105): 41aaa6b0 00000000 00000000 41aaa630 00000013
    I/DEBUG ( 105): 41aaa6c0 4006b2a4 4006b610 4006b858 00000223
    I/DEBUG ( 105): 41aaa6d0 00000000 00000000 00000000 00000000
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near ip:
    I/DEBUG ( 105): 400a8de4 400bbf19 400bbf05 4018a855 400c5e38
    I/DEBUG ( 105): 400a8df4 4026cd9d 400bd3f4 40124431 400d092d
    I/DEBUG ( 105): 400a8e04 400c707c 401187a8 4014ef55 400d3dbd
    I/DEBUG ( 105): 400a8e14 400c8540 4014d701 400d41fd 40152359
    I/DEBUG ( 105): 400a8e24 402939c1 40152f89 40259c11 40152d09
    I/DEBUG ( 105): 400a8e34 4015291f 40296b19 401528eb 4029bfc5
    I/DEBUG ( 105): 400a8e44 400c7610 40296e9d 40296d81 4018a3e9
    I/DEBUG ( 105): 400a8e54 401048e9 4018a44d 4018a5dd 401048f7
    I/DEBUG ( 105): 400a8e64 4018a8f5 4012442d 4026ea0f 4026f63d
    I/DEBUG ( 105): 400a8e74 4026f6bb 4026e98d 4026f675 4026ec97
    I/DEBUG ( 105): 400a8e84 4026ec9b 4023f1c4 4023f5e4 4023fd80
    I/DEBUG ( 105): 400a8e94 401501f9 40122e44 4014d723 4005e0ad
    I/DEBUG ( 105): 400a8ea4 4005e019 4005df59 4014fda9 4025aeb1
    I/DEBUG ( 105): 400a8eb4 4014d7bf 4018a3ad 40240cc0 4018ad15
    I/DEBUG ( 105): 400a8ec4 4023f994 4023fc60 4023fd98 4023fe74
    I/DEBUG ( 105): 400a8ed4 40240498 40240468 402404b0 4024052c
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory near sp:
    I/DEBUG ( 105): 404b9d30 00000000 400cd0b9 00000001 404b9d54
    I/DEBUG ( 105): 404b9d40 400fa228 41aaa350 df0027ad 00000000
    I/DEBUG ( 105): 404b9d50 400fa228 fffffbdf 400a1599 400a1590
    I/DEBUG ( 105): 404b9d60 400ee54b 20e23c11 41aaa960 41aaa960
    I/DEBUG ( 105): 404b9d70 00000000 400c7084 20e23c11 40098095
    I/DEBUG ( 105): 404b9d80 4006baa0 404da290 404c0030 404c3574
    I/DEBUG ( 105): 404b9d90 4077625c 00000000 404cc197 404cc1b9
    I/DEBUG ( 105): 404b9da0 404ce014 41aaa6a8 c0000000 00000130
    I/DEBUG ( 105): 404b9db0 400a0dc8 00000000 0000013b 400c03d3
    I/DEBUG ( 105): 404b9dc0 404b9dd4 40188f59 401bf6f4 40189277
    I/DEBUG ( 105): 404b9dd0 401bf6f4 41aaa318 400a0dc8 400a75e8
    I/DEBUG ( 105): 404b9de0 400a75e8 20e23c11 00100000 41aaa318
    I/DEBUG ( 105): 404b9df0 400a0dc8 41aaa960 400a75e8 4014ed35
    I/DEBUG ( 105): 404b9e00 00100000 4009d6b3 0000000d 400dc0f9
    I/DEBUG ( 105): 404b9e10 20e23c11 404b9e50 41aaa318 40154834
    I/DEBUG ( 105): 404b9e20 fffffff8 4014ed35 00100000 400dc159
    I/DEBUG ( 105):
    I/DEBUG ( 105): code around pc:
    I/DEBUG ( 105): 400c9730 e000b164 6823461c d1fb2b00 68e3e026
    I/DEBUG ( 105): 400c9740 4a17b123 447a2401 47986014 20274911
    I/DEBUG ( 105): 400c9750 70082400 eb9ef7fc f7fd2106 a902ed02
    I/DEBUG ( 105): 400c9760 f04f2006 460a5380 94029304 f7fd9403
    I/DEBUG ( 105): 400c9770 4629e8e8 20024622 e8f0f7fd eb8af7fc
    I/DEBUG ( 105): 400c9780 f7fd2106 2001ecee e8aaf7fc 2a006962
    I/DEBUG ( 105): 400c9790 e7d4d1dc deadbaad 0002d846 00030b2a
    I/DEBUG ( 105): 400c97a0 00030b0e 2400b510 aa04b088 46699002
    I/DEBUG ( 105): 400c97b0 94014620 94039400 e848f7fd bfb842a0
    I/DEBUG ( 105): 400c97c0 db054620 b1139b07 1c489906 98069006
    I/DEBUG ( 105): 400c97d0 bd10b008 4604b510 e9def7fc d10542a0
    I/DEBUG ( 105): 400c97e0 447b4b04 6018681b bd102000 30fff04f
    I/DEBUG ( 105): 400c97f0 bf00bd10 0002d77a 460db538 481eb928
    I/DEBUG ( 105): 400c9800 f7fc4478 2800eddc b9fdd130 2102481b
    I/DEBUG ( 105): 400c9810 f0014478 2800faae db274604 f7fc4629
    I/DEBUG ( 105): 400c9820 2800ec66 2101db0b f7fc4620 2800ec60
    I/DEBUG ( 105):
    I/DEBUG ( 105): code around lr:
    I/DEBUG ( 105): 400cd098 41f0e92d 4c0b2600 447c4680 68a56824
    I/DEBUG ( 105): 400cd0a8 e0076867 300cf9b5 dd022b00 47c04628
    I/DEBUG ( 105): 400cd0b8 35544306 d5f53f01 2c006824 4630d1ef
    I/DEBUG ( 105): 400cd0c8 81f0e8bd 00029ee2 43f0e92d fb01461f
    I/DEBUG ( 105): 400cd0d8 f8dff602 b0878058 44f8460c 8000f8d8
    I/DEBUG ( 105): 400cd0e8 9001a901 f8d84615 20013000 96059602
    I/DEBUG ( 105): 400cd0f8 90049103 4638b113 fa35f7ff a9034638
    I/DEBUG ( 105): 400cd108 fe9bf7ff 2000f8d8 b1124681 f7ff4638
    I/DEBUG ( 105): 400cd118 f1b9fa37 d0050f00 46219d05 f01a1b70
    I/DEBUG ( 105): 400cd128 4605ed46 b0074628 83f0e8bd 00029e5a
    I/DEBUG ( 105): 400cd138 1e4b6841 2b006043 f000da01 6803bbab
    I/DEBUG ( 105): 400cd148 2b01f813 46106003 00004770 4604b570
    I/DEBUG ( 105): 400cd158 447e4e0d 68336836 f7ffb10b 6861fa04
    I/DEBUG ( 105): 400cd168 60601e48 bfa22800 f8106820 60205b01
    I/DEBUG ( 105): 400cd178 4620da03 fb8ef000 68324605 4620b112
    I/DEBUG ( 105): 400cd188 f9fef7ff bd704628 00029de2 447b4b07
    I/DEBUG ( 105):
    I/DEBUG ( 105): memory map around fault addr deadbaad:
    I/DEBUG ( 105): bece4000-bed05000 [stack]
    I/DEBUG ( 105): (no map for address)
    I/DEBUG ( 105): ffff0000-ffff1000 [vectors]
    I/SurfaceFlinger( 435): SurfaceFlinger is starting
    I/SurfaceFlinger( 435): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
    I/libEGL ( 435): Processor type: omap4460
    I/libEGL ( 435): egl.cfg: entry POWERVR_SGX540_120 omap4430
    I/libEGL ( 435): egl.cfg: entry POWERVR_SGX540_120 omap4460
    I/libEGL ( 435): Picked EGL type 'POWERVR_SGX540_120' for processor 'omap4460'
    D/libEGL ( 435): loaded /vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
    D/libEGL ( 435): loaded /vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
    D/libEGL ( 435): loaded /vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
    W/libEGL ( 435): eglInitialize(0x1) failed (EGL_BAD_ALLOC)
    D/skia ( 434): SkGraphics::Init() - BLTsville (CPU) dlopen success
    D/AndroidRuntime( 434):
    D/AndroidRuntime( 434): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
    D/AndroidRuntime( 434): CheckJNI is ON
    D/dalvikvm( 434): DexOpt: sleeping on flock(/data/dalvik-cache/system@framework@ext.jar@classes.dex)
    D/dalvikvm( 433): DexOpt: load 30ms, verify+opt 1772ms, 940516 bytes
    D/dalvikvm( 434): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) ---
    D/dalvikvm( 438): Note: class Landroid/app/ActivityManagerNative; has 157 unimplemented (abstract) methods
    D/dalvikvm( 438): Note: class Landroid/opengl/GLWrapperBase; has 250 unimplemented (abstract) methods
    D/dalvikvm( 438): DexOpt: load 299ms, verify+opt 2802ms, 5284460 bytes
    E/SurfaceFlinger( 435): framebuffer_open failed for fb0 (Not a typewriter)
    E/ti_hwc ( 435): Framebuffer HAL not opened before HWC
    E/SurfaceFlinger( 435): composer device failed to initialize (Bad address)
    E/SurfaceFlinger( 435): ERROR: failed to open framebuffer, aborting
    F/libc ( 435): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 436 (SurfaceFlinger)
    I/DEBUG ( 105): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***

    Regards,

    Anh

  • Hello Anh,

    How do you make the change from SLAB to SLUB allocator:

    Did you apply changes in .Config file:

    #
    # Kernel Performance Events And Counters
    #
    CONFIG_PERF_EVENTS=y
    # CONFIG_DEBUG_PERF_USE_VMALLOC is not set
    CONFIG_VM_EVENT_COUNTERS=y
    CONFIG_COMPAT_BRK=y
    CONFIG_SLAB=y
    # CONFIG_SLUB is not set
    # CONFIG_SLOB is not set

    After applying those settings you must rebuild your kernel.

    Best regards,

    Yanko

  • Hi Yanko, 

    I changed from SLAB to SLUB by command " make menuconfig", then choose what I want to build in graphic menu in console, then result will be saved into .Config file.

    Here is content of my .Config

    You can search in that file with key word "CONFIG_SLUB" and it is set to y.

    Then I clean all by command "make clean", and rebuild.

    I could be mistake anywhere, don't you? Please tell me.

    Regards,

    Anh

  • Anybody know about this problem, please help me.

  • Hello Anh,

    It seems that your activities changing from SLAB to SLUB are correct.

    However, I think that it is not enough to enable SLUB support.

     I suggest you to apply the changes presented in this link - https://android.googlesource.com/kernel/omap/+/81819f0fc8285a2a5a921c019e3e3d7b6169d225

    https://gitorious.org/omap-sw-develoment/linux-omap-dev/source/c9623de4fc2f8320fe94316b46171683be3b1d59:Documentation/kmemcheck.txt#L113

    Best regards,

    Yanko