Created
October 28, 2019 08:13
-
-
Save hyphop/4499f3aed67cef3d949fbf7b00aed86b to your computer and use it in GitHub Desktop.
vim2 ethernet mainline linux kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@Khadas:~# ifconfig eth0 | |
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 | |
inet 192.168.100.110 netmask 255.255.255.0 broadcast 192.168.100.255 | |
inet6 fe80::6e06:2d8b:b93e:9ccc prefixlen 64 scopeid 0x20<link> | |
ether be:10:1b:4a:3b:2c txqueuelen 1000 (Ethernet) | |
RX packets 5233 bytes 6585309 (6.5 MB) | |
RX errors 0 dropped 0 overruns 0 frame 0 | |
TX packets 1126 bytes 83055 (83.0 KB) | |
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 | |
device interrupt 22 | |
root@Khadas:~# ping 8.8.8.8 -c1 | |
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. | |
64 bytes from 8.8.8.8: icmp_seq=1 ttl=50 time=19.2 ms | |
--- 8.8.8.8 ping statistics --- | |
1 packets transmitted, 1 received, 0% packet loss, time 0ms | |
rtt min/avg/max/mdev = 19.210/19.210/19.210/0.000 ms | |
root@Khadas:~# ifdown eth0^C | |
root@Khadas:~# mii-tool eth0 | |
eth0: negotiated 1000baseT-FD flow-control, link ok | |
root@Khadas:~# ifdown eth0 && ifup eth0 | |
Killed old client process | |
Internet Systems Consortium DHCP Client 4.3.5 | |
Copyright 2004-2016 Internet Systems Consortium. | |
All rights reserved. | |
For info, please visit https://www.isc.org/software/dhcp/ | |
Listening on LPF/eth0/be:10:1b:4a:3b:2c | |
Sending on LPF/eth0/be:10:1b:4a:3b:2c | |
Sending on Socket/fallback | |
DHCPRELEASE on eth0 to 192.168.100.1 port 67 (xid=0x3e647683) | |
Internet Systems Consortium DHCP Client 4.3.5 | |
Copyright 2004-2016 Internet Systems Consortium. | |
All rights reserved. | |
For info, please visit https://www.isc.org/software/dhcp/ | |
[ 71.578058] meson8b-dwmac c9410000.ethernet: Failed to reset the dma | |
[ 71.578835] meson8b-dwmac c9410000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed | |
[ 71.587857] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Hw setup failed | |
RTNETLINK answers: Device or resource busy | |
Listening on LPF/eth0/be:10:1b:4a:3b:2c | |
Sending on LPF/eth0/be:10:1b:4a:3b:2c | |
Sending on Socket/fallback | |
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 (xid=0xab15472f) | |
send_packet: Network is down | |
dhclient.c:2438: Failed to send 300 byte long packet over eth0 interface. | |
receive_packet failed on eth0: Network is down | |
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0xab15472f) | |
send_packet: Network is down | |
dhclient.c:2438: Failed to send 300 byte long packet over eth0 interface. | |
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13 (xid=0xab15472f) | |
send_packet: Network is down | |
dhclient.c:2438: Failed to send 300 byte long packet over eth0 interface. | |
^C | |
dmesg -c | |
[ 71.291332] meson8b-dwmac c9410000.ethernet eth0: phy link down rgmii/1Gbps/Full | |
[ 71.291352] meson8b-dwmac c9410000.ethernet eth0: Link is Down | |
[ 71.473224] meson8b-dwmac c9410000.ethernet eth0: PHY [0.2009087f:00] driver [RTL8211F Gigabit Ethernet] | |
[ 71.473239] meson8b-dwmac c9410000.ethernet eth0: phy: setting supported 00,00000000,000062ff advertising 00,00000000,000062ff | |
[ 71.578058] meson8b-dwmac c9410000.ethernet: Failed to reset the dma | |
[ 71.578835] meson8b-dwmac c9410000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed | |
[ 71.587857] meson8b-dwmac c9410000.ethernet eth0: stmmac_open: Hw setup failed | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment