SABRE Lite - ip link set eth0 up - RTNETLINK answers: No such device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SABRE Lite - ip link set eth0 up - RTNETLINK answers: No such device

2,265 Views
ethanhuang
Contributor I

Hi all,

When I use SABRE Lite, after boot into linux, then type command:

root@nitrogen:~# ip link set eth0 up
RTNETLINK answers: No such device


Below is ifconfig information:
-------------------------------

root@nitrogen:~# ifconfig -a
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
NOARP MTU:16 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:34

eth0 Link encap:Ethernet HWaddr 00:19:b8:03:a8:bf
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:200 errors:0 dropped:0 overruns:0 frame:0
TX packets:200 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15912 (15.9 KB) TX bytes:15912 (15.9 KB)

sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@nitrogen:~#

root@nitrogen:~# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN mode DEFAULT group default qlen 10
link/can
3: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:19:b8:03:a8:bf brd ff:ff:ff:ff:ff:ff
4: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default
link/sit 0.0.0.0 brd 0.0.0.0
root@nitrogen:~#

Thanks!!

Ethan

Tags (1)
0 Kudos
1 Reply

1,103 Views
gary_bisson
Senior Contributor III

Hi,

The Ethernet PHY has changed in last batch which unfortunately make Ethernet unusable on outdated kernel.

Here is the device patch that allows to fix that issue:
https://github.com/boundarydevices/linux-imx6/commit/8beb2d67

For Debian/Ubuntu users:
- A simple 'apt update && apt upgrade' should be sufficient

For Yocto/Buildroot users:
- Either add the patch to your current meta/configuration
- If you use latest branches from our repo, make sure to sync to latest version

For Android users:
- Make sure to 'repo sync' in order for the patch to be applied automatically

Sorry for the inconvenience.

Regards,
Gary

0 Kudos