LAN743X Module loading issue in nano jetson

Hi Support team,

I have build LAN743X driver in jetson nano board.

  1. I have enable its driver as a module.(CONFIG_LAN743X=m)
  2. Driver is build successfully on my target board.
  3. I have found .ko file on below path.
    ls /home/cimcon/linux-master/drivers/net/ethernet/microchip/lan743x.ko
    4)sudo insmod lan743x.ko
    insmod: ERROR: could not insert module lan743x.ko: Invalid module format

5)sudo modprobe lan743x.ko
modprobe: FATAL: Module lan743x.ko not found in directory /lib/modules/4.9.253-tegra

cimcon@cimcon-nano:~/linux-master/drivers/net/ethernet/microchip$ ls /lib/modules/4.9.253-tegra/lan743x.ko
/lib/modules/4.9.253-tegra/lan743x.ko

file lan743x.ko
lan743x.ko: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), BuildID[sha1]=5a7c29d8caee8e415c0926e30fb78bc9df7a7aa0, with debug_info, not stripped

Please provide some solution How can load it??

I have moved and tagged this topic with Jetson Nano. This will help it get the best attention.

Also rebuild the kernel image on the same device again and you shall be able to insmod this ko file.

Hi Team,

I am using Nano jetson kernel 4.9 tegra. It is not supported LAN7430 driver So Can you help me for that?

Is nano jetson support any other kernel version ?

regards,
Babbelal patel

Hi Team,

I have use Lan7430 IC and I have add its driver in our Kernel 4.5.

My driver is successfully build and load. but I am facing some issue for not detecting driver in kernel. I have attached dmesg log for details.

[ 59.340368] pcieport 0000:00:02.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=0010(Receiver ID)
[ 59.351420] pcieport 0000:00:02.0: device [10de:0faf] error status/mask=00000001/00002000
[ 59.359989] pcieport 0000:00:02.0: [ 0] Receiver Error (First)

lsmod
Module Size Used by
lan743x 47273 0
bnep 18822 2
fuse 111883 3
xt_conntrack 3979 1
ipt_MASQUERADE 2570 1
nf_nat_masquerade_ipv4 3993 1 ipt_MASQUERADE
nf_conntrack_netlink 32059 0
nfnetlink 9716 2 nf_conntrack_netlink
xt_addrtype 3915 2
iptable_filter 3008 1
iptable_nat 3423 1
nf_conntrack_ipv4 14094 2
nf_defrag_ipv4 2129 1 nf_conntrack_ipv4
nf_nat_ipv4 8112 1 iptable_nat
nf_nat 24764 2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack 130028 6 nf_conntrack_ipv4,nf_conntrack_netlink,nf_nat_masquerade_ipv4,xt_conntrack,nf_nat_ipv4,nf_nat
br_netfilter 17656 0
zram 29313 4
overlay 51726 0
spidev 14507 0
sc16is7xx 16270 0
nvgpu 1725077 18
ip_tables 21475 2 iptable_filter,iptable_nat
x_tables 38016 5 ip_tables,iptable_filter,ipt_MASQUERADE,xt_addrtype,xt_conntrack
.

I am unable to get output of below commands.

cimcon@cimcon:/lib/modules/4.9.140-tegra/kernel/drivers/net/ethernet/microchip$ dmesg | grep lan743x

cimcon@cimcon:/lib/modules/4.9.140-tegra/kernel/drivers/net/ethernet/microchip$ ethtool --driver eth1

Cannot get driver information: No such device

Regards,
Babbelal

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.