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.

About "Internal error" generated by the pvrsrvkm driver

Hello,
 
If pvrsrvkm driver's insmod and rmmod are done, internal error is generated.
If "devmem2 0x48004B48 w 0x2" is executed after insmod, and he or she does rmmod afterwards, the error generates the pvrsrvkm driver.
"devmem2 0x48004B48 w 0x2" Processing is executed by the start script because it goes in "/etc/init.d/pvr-init" being included in GSDK.
It is not generated in GSDK4.4, and it is generated by GSDK4.8.
Could you teach the workaround?
[Supplementation]
After the kernel starts, 0x48004b48, 0x48004b00, and 0x48004b10 seem to be set to 3, 0, and 0.

≪Error message≫
[  103.447326] [drm] Module unloaded
[  103.450805] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa200098 [  103.458801] Internal error: : 1028 [#1] [  103.462829] last sysfs file: /sys/kernel/uevent_seqnum [  103.468200] Modules linked in: pvrsrvkm(-) drm
[  103.472839] CPU: 0    Not tainted  (2.6.37 #357)
[  103.477691] PC is at __irq_svc+0x34/0x80 [  103.481781] LR is at vprintk+0x368/0x3e0
[  103.485870] pc : [<c03a8ef4>]    lr : [<c007048c>]    psr: 20000193
[  103.485900] sp : ddcc1e70  ip : ddcc0000  fp : ddcc1ec6 [  103.497894] r10: ddcc1ed5  r9 : 0000002b  r8 : 00000016 [  103.503356] r7 : c06bb0df  r6 : ddcc1ed5  r5 : fa200000  r4 : ffffffff [  103.510162] r3 : 60000013  r2 : c0070494  r1 : c007048c  r0 : ddcc1eb8 [  103.516998] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user [  103.524536] Control: 10c5387d  Table: 9ae00019  DAC: 00000015 [  103.530548] Process rmmod (pid: 1553, stack limit = 0xddcc02e8)
.....<It continues still.>
 
Best regards,
  • Hi,

    It seems that there is some incompatibility between the pvrsrvkm and your version of Graphic SDK. You can look the short troubleshooting guide at the link below:

    http://processors.wiki.ti.com/index.php/SGXDbg#Unable_to_install_the_kernel_modules_.28pvrsrvkm.ko_or_omaplfb.ko.29

    BR

    Tsvetolin Shulev

  • Thanks for the response.
     
    It is an execution result of "gfx_check.sh".
    Is there a problem?
     
    Best regards.
     
     
    ----- "gfx_check.sh" result -----
    WSEGL settings
    [default]
    WindowSystem=libpvrPVR2D_DRIWSEGL.so
    #WindowSystem=libpvrPVR2D_FLIPWSEGL.so
    ------
    ARM CPU information
    Processor       : ARMv7 Processor rev 2 (v7l)
    BogoMIPS        : 998.84
    Features        : swp half thumb fastmult vfp edsp neon vfpv3
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x3
    CPU part        : 0xc08
    CPU revision    : 2
    Hardware        : OMAP3 DM3730 EP01
    Revision        : 0020
    Serial          : 0000000000000000
    ------
    SGX driver information
    Version SGX_DDK_Linux_CustomerTI sgxddk 19 1.9.RC2@2139099 (release) /home/necep/work/matsubara/repositry/ti-dvsdk_dm3730-evm_04_03_00_06/graphics-sdk_4.08.00.02/GFX_Linux_KM
    System Version String: SGX revision = 1.2.5
    ------
    Framebuffer settings
    mode "800x600"
        geometry 800 600 800 1800 32
        timings 0 0 0 0 0 0 0
        rgba 8/16,8/8,8/0,8/24
    endmode
    Frame buffer device information:
        Name        : omapfb
        Address     : 0x9ec00000
        Size        : 20971520
        Type        : PACKED PIXELS
        Visual      : TRUECOLOR
        XPanStep    : 1
        YPanStep    : 1
        YWrapStep   : 0
        LineLength  : 3200
        Accelerator : No
    ------
    Rotation settings
    0
    ------
    Kernel Module information
    Module                  Size  Used by
    sdmak                   5426  0
    lpm_omap3530            7243  0
    dsplinkk              130077  1 lpm_omap3530
    cmemk                  23023  0
    pvrsrvkm              320380  0
    drm                   171764  1 pvrsrvkm
    ------
    Boot settings
    console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw ip=off mem=72M@0x80000000 mpurate=1000 mem=359M@0x89900000 vram=20M omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:20M rootwait lvolt_mem=256@0x89900000,0x100
    ------
    Linux Kernel version
    Linux dm37x-evm 2.6.37 #357 Tue Dec 4 12:40:41 JST 2012 armv7l unknown
  • I don't see any problems in the execution result of the 'gfx_check.sh' script.

    BR

    Tsvetolin Shulev

  • Thank you for the answer.
     
    Besides, isn't there thought factor if there is no problem in the result of executing 'gfx_check.sh' script?
     
    Best regards.