Deepak
Deepak

Reputation: 1088

nvidia driver error while running program

I am getting following error while running my program in jetson-tk1 board

root@tegra-ubuntu:~# ./a.out 
modprobe: ERROR: ../libkmod/libkmod-module.c:809 kmod_module_insert_module() could not find module by name='nvidia_340'
modprobe: ERROR: could not insert 'nvidia_340': Function not implemented couldn't get the symbol addr

I am getting same error while executing nvidia-smi command

My system info is given below

Linux tegra-ubuntu 3.10.40 #22 SMP PREEMPT Fri Sep 11 18:31:28 CST 2015 armv7l armv7l armv7l GNU/Linux

I have installed nvidia driver as follows

root@tegra-ubuntu:~# apt-get install nvidia-340
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nvidia-340 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 522 not upgraded.

Can anyone tell what is the problem ?

Upvotes: 0

Views: 418

Answers (1)

AlexanderKomarov
AlexanderKomarov

Reputation: 460

I'm guess what happens is, that it tried to load driver is not compatible for Jetson TK1. The Nvidia have a specific driver for the L4T and this driver is loaded on Jetson default.

So you need to remove this package. And may be execute this command

"echo "alias nvidia nvhost_vi" >> /etc/modprobe.d/nvidia.conf"

A more information you can find on these links

post on devtalk nvidia

another post on devtalk nvidia

Upvotes: 2

Related Questions