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.

关于am335x的pvrsrvkm.ko的问题

Other Parts Discussed in Thread: AM3359

我想请教一个问题,我使用的是am3359的最新sdk linux-rt-06.03版本,这几天在移植4G模块,usb接口的,因为很多模块需要重新编译,否则编译完内核之后就会出现版本校验的问题,等我都移植好了之后,出现了pvrsrvkm.ko的版本校验问题,我想知道这个应该怎么解决啊,这个模块是sgx的,在make modules的时候并没有编译这个模块啊,那么这个问题应该怎么解决呢?

[ 10.775847] pvrsrvkm: disagrees about version of symbol finish_wait
[ 10.775869] pvrsrvkm: Unknown symbol finish_wait (err -22)
[ 10.775932] pvrsrvkm: disagrees about version of symbol prepare_to_wait
[ 10.775937] pvrsrvkm: Unknown symbol prepare_to_wait (err -22)
[ 10.776028] pvrsrvkm: disagrees about version of symbol __wake_up
[ 10.776033] pvrsrvkm: Unknown symbol __wake_up (err -22)
[ 10.776494] pvrsrvkm: disagrees about version of symbol __init_waitqueue_head
[ 10.776499] pvrsrvkm: Unknown symbol __init_waitqueue_head (err -22)
[ 11.472187] net eth0: initializing cpsw version 1.12 (0)

  • 查看模块信息,打印出来是这样的,这个ko我用的就是ti的文件系统自带的,之前没有出现过这个问题。模块编译完成之后,我用主机上交叉编译出来的/lib/modules/4.19.94-rt39-ga242ccf3f1这个文件夹替换掉了目标板的这个位置的文件夹,但是下面的extra文件夹还在,pvrsrvkm.ko等4个ko还是用的之前ti自带的,别的驱动都好用,就这个版本验证有问题:
    filename: /lib/modules/4.19.94-rt39-ga242ccf3f1/extra/pvrsrvkm.ko
    license: Dual MIT/GPL
    author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
    license: Dual MIT/GPL
    author: Imagination Technologies Ltd. <gpl-support@imgtec.com>
    srcversion: 533BB7E5866E52F63B9ACCB
    alias: of:N*T*Cti,am3352-sgx530C*
    alias: of:N*T*Cti,am3352-sgx530
    alias: of:N*T*Cti,am4376-sgx530C*
    alias: of:N*T*Cti,am4376-sgx530
    alias: of:N*T*Cti,dra7-sgx544C*
    alias: of:N*T*Cti,dra7-sgx544
    alias: of:N*T*Cti,am654-sgx544C*
    alias: of:N*T*Cti,am654-sgx544
    depends:
    name: pvrsrvkm
    vermagic: 4.19.94-rt39-ga242ccf3f1 preempt mod_unload modversions ARMv7 p2v8
    parm: gPVRDebugLevel:Sets the level of debug output (default 0x7) (uint)
  • 这个之前应该是未加载这个模块,我看了一下别的板子,modinfo的信息也是这样的,并没有加载,加载之后也是版本验证的问题,这个应该怎么解决呢!
  • 参考:
    e2e.ti.com/.../2517289
    另外建议去英文论坛搜索pvrsrvkm: disagrees about version of symbol 相关报错的帖子,看能否找到解决方案,也可以发布一个新帖,会有相关专家跟进。
    e2e.ti.com/.../791