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.

/usr/bin/pvrsrvctl crashes when Linux boots on DM3730

Other Parts Discussed in Thread: DM3730

Hi all, I'm new to this forum, so please excuse me if I am not providing all the information or asking question incorrectly.

I am builing a custom Embedded Linux system on IGEP COM MODULE board based on DM3730 processor. The goal is to get working OpenGLES 2 graphics for Qt 5.4 QML applications.

So far I've built a Linux kernel and a root filesystem using Buildroot. I've included the buildroot ti-gfx package, which includes the startup script S80ti-gfx in /etc/init.d directory. Here is it's source code: https://github.com/maximeh/buildroot/blob/master/package/ti-gfx/S80ti-gfx

Linux loads fine up until this script is executed.

In this line /usr/bin/pvrsrvctl --start --no-module it crashes with following error log:

  1. ti-gfx: starting pvr driver
  2. modprobe: ERROR: major version check fail: 2953311319 instead of 2953311319
  3. modprobe: ERROR: major version check fail: 2953311319 instead of 2953311319
  4. modprobe: ERROR: major version check fail: 2953311319 instead of 2953311319
  5. [    6.769958] Unhandled fault: external abort on non-linefetch (0x1008) at 0xe0980ca8
  6. [    6.777984] Internal error: : 1008 [#1]
  7. [    6.781982] last sysfs file: /sys/devices/virtual/bccat/bccat9/dev
  8. [    6.788421] Modules linked in: bufferclass_ti omaplfb pvrsrvkm
  9. [    6.794525] CPU: 0    Tainted: G        W    (2.6.37 #189)
  10. [    6.800292] PC is at PollForValueKM+0x40/0xac [pvrsrvkm]
  11. [    6.805816] LR is at PollForValueKM+0x34/0xac [pvrsrvkm]
  12. [    6.811370] pc : [<bf00804c>]    lr : [<bf008040>]    psr: 80000013
  13. [    6.811370] sp : db031d18  ip : 00000032  fp : 00000000
  14. [    6.823333] r10: 000f4240  r9 : 000000ff  r8 : e0980ca8
  15. [    6.828765] r7 : 00000000  r6 : 00000000  r5 : 00000001  r4 : ee899484
  16. [    6.835571] r3 : 00000001  r2 : 000003e7  r1 : 000003e8  r0 : 00000000
  17. [    6.842376] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
  18. [    6.849822] Control: 10c5387d  Table: 9b0b8019  DAC: 00000015
  19. [    6.855834] Process pvrsrvctl (pid: 742, stack limit = 0xdb0302f0)
  20. [    6.862304] Stack: (0xdb031d18 to 0xdb032000)
  21. [    6.866851] 1d00:                                                       00000195 dd36c000
  22. [    6.875396] 1d20: 00000000 00000000 dd36c000 40000000 db030000 00000000 00000000 bf015284
  23. [    6.883941] 1d40: 00000032 00000000 00000001 bf01532c dd36c000 00000000 00000000 e0939120
  24. [    6.892517] 1d60: 00000006 bf0125e4 00000006 bf015504 00000000 db0daf00 00000000 dd36c000
  25. [    6.901062] 1d80: dd20c0c0 bf0155ec 00000000 bf001c6c db031e50 00000006 00000000 c00bb0b0
  26. [    6.909606] 1da0: c04f06d8 00000002 00000000 c00ba53c 00000000 c00be3f0 bf021adc db0daf00
  27. [    6.918151] 1dc0: 00000000 00000000 db031e50 bf001cdc 00000000 db031df8 bf001c6c bf0099c4
  28. [    6.926696] 1de0: 00000000 00000000 00000000 bf021948 bf001c58 bf001c6c 00000000 00000000
  29. [    6.935241] 1e00: 00000000 00000006 00000000 dd20c0c0 ffffffff bf01312c 00000000 00000000
  30. [    6.943817] 1e20: 00000000 00000000 db0653c0 dd20c0c0 00000000 e0939180 00000045 bf011230
  31. [    6.952362] 1e40: 00000000 00000000 00000000 00000000 00000000 db031e78 bf001c6c 0f003180
  32. [    6.960906] 1e60: c06aecd0 ffffffff 00000000 bf021948 db0653c0 bf006a18 dd36c000 e090f000
  33. [    6.969451] 1e80: 00000045 db030000 00000000 bf011320 00000000 bf006a18 e090e000 e090f000
  34. [    6.977996] 1ea0: 00000045 bf006a10 bf021950 bf009870 e090f000 00000000 e090f000 bf01676c
  35. [    6.986572] 1ec0: e090e000 db031eec db0a6740 bf015984 bea33ab4 c01c6745 db008ec0 000002e6
  36. [    6.995117] 1ee0: bea33ab4 bf010a54 dd3e9b78 00000045 0000001c bea33ae8 00000008 bea33ae0
  37. [    7.003662] 1f00: 00000008 00000001 00000000 db0a6740 000003a6 00000000 db008ec0 c01c6745
  38. [    7.012207] 1f20: 00000003 c013ee64 dd3e9b78 c0121b8c dd3e9b78 00000000 dd3e9b78 00000000
  39. [    7.020751] 1f40: db0394f0 dd3e9b78 407fa000 c0121c2c dd3e9b78 dd3e9b78 dd373080 c0122cf4
  40. [    7.029327] 1f60: 407fa000 db008ec0 00000000 bea33ab4 c01c6745 00000003 db008ec0 db030000
  41. [    7.037872] 1f80: 00000000 c013ef20 00000000 00000000 01e73008 bea33b00 00000000 00000036
  42. [    7.046417] 1fa0: c00a4344 c00a41c0 01e73008 bea33b00 00000003 c01c6745 bea33ab4 00000001
  43. [    7.054962] 1fc0: 01e73008 bea33b00 00000000 00000036 00000014 00000000 00000014 00000000
  44. [    7.063507] 1fe0: 00000001 bea33ab0 400ddb78 401bf45c 20000010 00000003 00000000 00000000
  45. [    7.072113] [<bf00804c>] (PollForValueKM+0x40/0xac [pvrsrvkm]) from [<bf015284>] (SGXInitClocks+0x74/0x80 [pvrsrvkm])
  46. [    7.083251] [<bf015284>] (SGXInitClocks+0x74/0x80 [pvrsrvkm]) from [<bf01532c>] (SGXReset+0x9c/0x308 [pvrsrvkm])
  47. [    7.093902] [<bf01532c>] (SGXReset+0x9c/0x308 [pvrsrvkm]) from [<bf0125e4>] (SGXInitialise+0x5c/0x1d0 [pvrsrvkm])
  48. [    7.104675] [<bf0125e4>] (SGXInitialise+0x5c/0x1d0 [pvrsrvkm]) from [<bf0155ec>] (SGXPostPowerState+0x54/0xb0 [pvrsrvkm])
  49. [    7.116149] [<bf0155ec>] (SGXPostPowerState+0x54/0xb0 [pvrsrvkm]) from [<bf001cdc>] (PVRSRVDevicePostPowerStateKM_AnyVaCb+0x70/0x90 [pvrsrvkm])
  50. [    7.129638] [<bf001cdc>] (PVRSRVDevicePostPowerStateKM_AnyVaCb+0x70/0x90 [pvrsrvkm]) from [<bf0099c4>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x28/0x60 [pvrsrvkm])
  51. [    7.145324] [<bf0099c4>] (List_PVRSRV_POWER_DEV_PVRSRV_ERROR_Any_va+0x28/0x60 [pvrsrvkm]) from [<bf001c58>] (PVRSRVSetDevicePowerStateKM+0x54/0x68 [pvrsrvkm])
  52. [    7.160156] [<bf001c58>] (PVRSRVSetDevicePowerStateKM+0x54/0x68 [pvrsrvkm]) from [<bf01312c>] (SGXScheduleCCBCommandKM+0x68/0xbc [pvrsrvkm])
  53. [    7.173370] [<bf01312c>] (SGXScheduleCCBCommandKM+0x68/0xbc [pvrsrvkm]) from [<bf011230>] (SGXReadHWPerfCBKM+0x174/0x1e4 [pvrsrvkm])
  54. [    7.185852] [<bf011230>] (SGXReadHWPerfCBKM+0x174/0x1e4 [pvrsrvkm]) from [<bf011320>] (SGXDevInitCompatCheck+0x80/0x294 [pvrsrvkm])
  55. [    7.198272] [<bf011320>] (SGXDevInitCompatCheck+0x80/0x294 [pvrsrvkm]) from [<bf006a10>] (PVRSRVDevInitCompatCheck+0x1c/0x24 [pvrsrvkm])
  56. [    7.211120] [<bf006a10>] (PVRSRVDevInitCompatCheck+0x1c/0x24 [pvrsrvkm]) from [<bf009870>] (List_PVRSRV_DEVICE_NODE_PVRSRV_ERROR_Any+0x20/0x4c [pvrsrvkm])
  57. [    7.225616] [<bf009870>] (List_PVRSRV_DEVICE_NODE_PVRSRV_ERROR_Any+0x20/0x4c [pvrsrvkm]) from [<bf01676c>] (PVRSRVInitSrvDisconnectBW+0x4c/0x7c [pvrsrvkm])
  58. [    7.240173] [<bf01676c>] (PVRSRVInitSrvDisconnectBW+0x4c/0x7c [pvrsrvkm]) from [<bf015984>] (BridgedDispatchKM+0xe8/0x140 [pvrsrvkm])
  59. [    7.252777] [<bf015984>] (BridgedDispatchKM+0xe8/0x140 [pvrsrvkm]) from [<bf010a54>] (PVRSRV_BridgeDispatchKM+0x120/0x1d0 [pvrsrvkm])
  60. [    7.265350] [<bf010a54>] (PVRSRV_BridgeDispatchKM+0x120/0x1d0 [pvrsrvkm]) from [<c013ee64>] (do_vfs_ioctl+0x4c8/0x534)
  61. [    7.276519] [<c013ee64>] (do_vfs_ioctl+0x4c8/0x534) from [<c013ef20>] (sys_ioctl+0x50/0x74)
  62. [    7.285278] [<c013ef20>] (sys_ioctl+0x50/0x74) from [<c00a41c0>] (ret_fast_syscall+0x0/0x30)
  63. [    7.294067] Code: eb49c5c2 e1a07000 e2840001 ea00000f (e5983000)
  64. [    7.300445] ---[ end trace 1b75b31a2719ed1e ]---

I have a few questions here:

  • Why does this crash happen, what are possible causes and how do I diagnose this?
  • What is pvrsrvctl and do I need it at all? Where do I learn about this?

Please help if anyone has a clue. Thanks in advance!