View Single Post
Posts: 207 | Thanked: 31 times | Joined on Apr 2008
#498
Stskeeps
I did what you wrote.
I compiled kernel with
CONFIG_FB_OMAP_CONSISTENT_DMA_SIZE=8
and flashed it.
I compiled and installed kernel modules (debug version),
created and set perms for devices.
When I start glinfo kernel crashed
[ 999.296875] No flipbuffers
[ 999.304687] mbxdaemon: page allocation failure. order:8, mode:0xd0
[ 999.304687] [<c002c168>] (dump_stack+0x0/0x14) from [<c008204c>] (__alloc_pages+0x2c0/0x2d4)
[ 999.304687] [<c0081d8c>] (__alloc_pages+0x0/0x2d4) from [<c002dd20>] (__dma_alloc+0x184/0x3e4)
[ 999.304687] [<c002db9c>] (__dma_alloc+0x0/0x3e4) from [<c002dfa4>] (dma_alloc_coherent+0x24/0x30)
[ 999.304687] [<c002df80>] (dma_alloc_coherent+0x0/0x30) from [<bf072c2c>] (AllocContiguousMemory+0x30/0x6c [omaplcd])
[ 999.304687] [<bf072bfc>] (AllocContiguousMemory+0x0/0x6c [omaplcd]) from [<bf072d3c>] (GetBackBuffer+0xa8/0xc0 [omaplcd])
[ 999.304687] r6 = 00000001 r5 = 00000000 r4 = 00000000
[ 999.304687] [<bf072c94>] (GetBackBuffer+0x0/0xc0 [omaplcd]) from [<bf07243c>] (InitMain+0x19c/0x250 [omaplcd])
[ 999.304687] r6 = C890C00C r5 = C890C000 r4 = 00000000
[ 999.304687] [<bf0722a0>] (InitMain+0x0/0x250 [omaplcd]) from [<bf073544>] (OMAPLCDBridgeDispatch+0x408/0x460 [omaplcd])
[ 999.304687] [<bf07313c>] (OMAPLCDBridgeDispatch+0x0/0x460 [omaplcd]) from [<c00a9bf4>] (do_ioctl+0x74/0x84)
[ 999.304687] r6 = BEF400CC r5 = FFFFFFE7 r4 = C3FD50C0
[ 999.304687] [<c00a9b80>] (do_ioctl+0x0/0x84) from [<c00a9e9c>] (vfs_ioctl+0x298/0x2b8)
[ 999.304687] r6 = 00000000 r5 = BEF400CC r4 = C3FD50C0
[ 999.304687] [<c00a9c04>] (vfs_ioctl+0x0/0x2b8) from [<c00a9f28>] (sys_ioctl+0x6c/0x94)
[ 999.304687] r7 = 00000008 r6 = BEF400CC r5 = 00000000 r4 = C3FD50C0
[ 999.304687] [<c00a9ebc>] (sys_ioctl+0x0/0x94) from [<c0027be0>] (ret_fast_syscall+0x0/0x2c)
[ 999.304687] r8 = C0027D88 r7 = 00000036 r6 = 00009190 r5 = 0000B478
[ 999.304687] r4 = 40022DB8
[ 999.304687] Mem-info:
[ 999.304687] DMA per-cpu:
[ 999.304687] CPU 0: Hot: hi: 42, btch: 7 usd: 0 Cold: hi: 14, btch: 3 usd: 13
[ 999.304687] Active:20332 inactive:6234 dirty:1 writeback:0 unstable:0
[ 999.304687] free:471 slab:1598 mapped:7451 pagetables:551 bounce:0
[ 999.304687] DMA free:1884kB min:1440kB low:1800kB high:2160kB active:81328kB inactive:24936kB present:130048kB pages_scanned:16 all_unreclaimable? no
[ 999.304687] lowmem_reserve[]: 0 0
[ 999.304687] DMA: 21*4kB 11*8kB 7*16kB 6*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1884kB
[ 999.304687] Swap cache: add 0, delete 0, find 0/0, race 0+0
[ 999.304687] Free swap = 250712kB
[ 999.304687] Total swap = 250712kB
[ 999.304687] Free swap: 250712kB
[ 999.328125] 32768 pages of RAM
[ 999.328125] 794 free pages
[ 999.328125] 2728 reserved pages
[ 999.328125] 1598 slab pages
[ 999.328125] 28692 pages shared
[ 999.328125] 0 pages swap cached
[ 999.328125] AllocContiguousMemory: unable to allocate contiguous memory of bb800
[ 999.328125] request OMAPLCD IRQ failedrequest OMAPLCD IRQ failed<6>PVR_KERNLError): Failed to find offset struct (KVAddress=c8abd000)
[ 1000.671875] [567, /opt/3d/MBX_Linux_KM/embedded//services/env/linux/mmap.c]
[ 1000.671875] PVR_KERNLError): Failed to find offset struct (KVAddress=c891a000)
[ 1000.671875] [567, /opt/3d/MBX_Linux_KM/embedded//services/env/linux/mmap.c]
[ 1000.671875] PVR_KERNLError): Failed to find offset struct (KVAddress=c8914000)
[ 1000.671875] [567, /opt/3d/MBX_Linux_KM/embedded//services/env/linux/mmap.c]
[ 1000.679687] PVR_KERNLError): Failed to find offset struct (KVAddress=c8912000)
[ 1000.679687] [567, /opt/3d/MBX_Linux_KM/embedded//services/env/linux/mmap.c]


glinfo output:
glinfo
PVR_SRVUMWarning): Hint: Setting WindowSystem to libpvrX11WSEGL.so [192, /home/girish/Graphics/Nokia/embedded/services_um/env/linux/pvr_apphint.c]
PVR_DMSRV:HostMapPhysToLin: Mapped 0x48050000, 0x1000 bytes to 0xc8910000
PVR_DMSRV:HostMapPhysToLin: Mapped 0x80600000, 0xbc000 bytes to 0xc8a00000

**********************************
Config num 1
EGL vendor string: Imagination Technologies
EGL version string: 1.2 build 3.5.35.630
EGL extensions:
EGL_IMG_power_management
EGL config Attributes:
EGL_CONFIG_ID = 0x1
EGL_BUFFER_SIZE = 0x10
EGL_ALPHA_SIZE = 0x0
EGL_BLUE_SIZE = 0x5
EGL_GREEN_SIZE = 0x6
EGL_RED_SIZE = 0x5
EGL_DEPTH_SIZE = 0x18
EGL_STENCIL_SIZE = 0x0
EGL_CONFIG_CAVEAT = 0x3038
EGL_LEVEL = 0x0
EGL_MAX_PBUFFER_HEIGHT = 0x400
EGL_MAX_PBUFFER_PIXELS = 0x1fc000
EGL_MAX_PBUFFER_WIDTH = 0x7f0
EGL_NATIVE_RENDERABLE = 0x0
EGL_NATIVE_VISUAL_ID = 0x21
EGL_NATIVE_VISUAL_TYPE = 0x151a8
EGL_SAMPLES = 0x0
EGL_SAMPLE_BUFFERS = 0x0
EGL_SURFACE_TYPE = 0x5
EGL_TRANSPARENT_TYPE = 0x3038
EGL_TRANSPARENT_BLUE_VALUE = 0x0
EGL_TRANSPARENT_GREEN_VALUE = 0x0
EGL_TRANSPARENT_RED_VALUE = 0x0
PVR_SRVUMError): GLESTimeNow: not implemented [81, linux_os.c]
PVR_DMSRV:ui32PageTableBase = 8c2000
PVR_DMSRV:ui32StartPage = 1
PVR_DMSRV:ui32EndPage = 200
PVR_DMSRV:ui32ParamBase = 0
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 3 (X_GetWindowAttributes)
Resource id in failed request: 0x0
Serial number of failed request: 7
Current serial number in output stream: 8
PVR_SRVUM:
PVR_SRVUM:Memory Stats
PVR_SRVUM:------------
PVR_SRVUM:
PVR_SRVUM:High Water Mark = 25304 bytes
PVR_SRVUM:
PVR_SRVUM:18088 bytes still allocated in 35 allocations
PVR_SRVUM:
PVR_SRVUM:1 - 40 bytes at 0x1F128 - services_calls.c:39
PVR_SRVUM:2 - 32 bytes at 0x1EF88 - cfg_core.c:267
PVR_SRVUM:3 - 24 bytes at 0x1EFB0 - cfg_core.c:54
PVR_SRVUM:4 - 128 bytes at 0x1F0A0 - cfg_core.c:267
PVR_SRVUM:5 - 24 bytes at 0x1EF48 - cfg_core.c:54
PVR_SRVUM:6 - 24 bytes at 0x1EF08 - cfg_core.c:54
PVR_SRVUM:7 - 104 bytes at 0x1EE78 - khronos_egl.c:2220
PVR_SRVUM:8 - 40 bytes at 0x1EE28 - ./common/heapman.c:56
PVR_SRVUM:9 - 1288 bytes at 0x1E8F8 - ./common/dvcgen.c:1016
PVR_SRVUM:10 - 12 bytes at 0x15380 - names.c:631
PVR_SRVUM:11 - 508 bytes at 0x1E6B8 - names.c:585
PVR_SRVUM:12 - 28 bytes at 0x1E678 - names.c:578
PVR_SRVUM:13 - 648 bytes at 0x1E3C8 - vprogram.c:1424
PVR_SRVUM:14 - 12 bytes at 0x14E30 - names.c:631
PVR_SRVUM:15 - 508 bytes at 0x1E188 - names.c:585
PVR_SRVUM:16 - 28 bytes at 0x1E148 - names.c:578
PVR_SRVUM:17 - 524 bytes at 0x1DF18 - tex.c:7172
PVR_SRVUM:18 - 524 bytes at 0x1DCE8 - tex.c:7172
PVR_SRVUM:19 - 12 bytes at 0x1AAC0 - names.c:631
PVR_SRVUM:20 - 508 bytes at 0x1DAA8 - names.c:585
PVR_SRVUM:21 - 28 bytes at 0x1DA68 - names.c:578
PVR_SRVUM:22 - 48 bytes at 0x1AA88 - /home/girish/Graphics/Nokia/embedded/services_um/env/linux/pvr_glue.c:686
PVR_SRVUM:23 - 524 bytes at 0x1D838 - tex.c:7368
PVR_SRVUM:24 - 32 bytes at 0x14DC8 - tex.c:7354
PVR_SRVUM:25 - 11480 bytes at 0x1AB58 - eglglue.c:60
PVR_SRVUM:26 - 32 bytes at 0x14DA0 - cfg_core.c:267
PVR_SRVUM:27 - 24 bytes at 0x1A938 - cfg_core.c:54
PVR_SRVUM:28 - 128 bytes at 0x1AAD0 - cfg_core.c:267
PVR_SRVUM:29 - 24 bytes at 0x14D80 - cfg_core.c:54
PVR_SRVUM:30 - 24 bytes at 0x1A978 - cfg_core.c:54
PVR_SRVUM:31 - 140 bytes at 0x1A9D8 - khronos_egl.c:3743
PVR_SRVUM:32 - 40 bytes at 0x15330 - ./common/pvr2dinit.c:485
PVR_SRVUM:33 - 48 bytes at 0x14E70 - /home/girish/Graphics/Nokia/embedded/services_um/env/linux/mbx/mbx_glue.c:679
PVR_SRVUM:34 - 356 bytes at 0x1A500 - ./common/pvr2dinit.c:356
PVR_SRVUM:35 - 144 bytes at 0x12018 - tls.c:47
PVR_SRVUM:
Problems reading from a client. Disconnecting
Disconnecting client 133
PVR_DMSRVWarning): Free stale HW Context ID [1224, /home/girish/Graphics/Nokia/embedded/services/devices/devclass_3d/mbx/mbxinit.c]
PVR_DMSRVWarning): Free stale HW Context ID [1224, /home/girish/Graphics/Nokia/embedded/services/devices/devclass_3d/mbx/mbxinit.c]