Jump to content
  • 0

NanoPi R4s, enp1s0 ethernet device not showed up after reboot


3735943886
 Share

Question

Hello,

After NanoPi R4S reboot, ethernet interface `enp1s0` disappeared. I tried soft reboot for several times but failed. 

ip_a.PNG.d4672e30789f2631a4f059199db5dd5c.PNG

 

If I shutdown the board and power plug out/in again, then `enp1s0` appears. I tested it several times and 100% same results.

ip_a_ok.PNG.8bed58701da16566a4e0330e58dd5e3c.PNG

Any idea please?

 

wg* is for vpn. please ignore them.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts

Search Before Posting!

  • 0

 

9 hours ago, Werner said:

Providing logs with 

armbianmonitor -u

 helps with troubleshooting and significantly raises chances that issue gets addressed.

Thank you for prompt reply.

 

I uploaded armbianmonitor -u

 

http://ix.io/3WJi

is for working state (power off and on)

 

http://ix.io/3WJk

is for non-working state (soft reboot)

 

Thank you

Link to comment
Share on other sites

  • 0

If the device works normally on cold boot I strongly assume it is an uboot/kernel bug. Hard to tell though where it comes from. If you have time and want to help us tracking down try older images and check when reboot breaks (or even wasn't working at all, no idea).

Link to comment
Share on other sites

  • 0
50 minutes ago, Werner said:

If the device works normally on cold boot I strongly assume it is an uboot/kernel bug. Hard to tell though where it comes from. If you have time and want to help us tracking down try older images and check when reboot breaks (or even wasn't working at all, no idea).

Thank you for reply.

I'll try older images and post again later when I have time.

Link to comment
Share on other sites

  • 0
6 hours ago, 3735943886 said:

Thank you for reply.

I'll try older images and post again later when I have time.

I tested with 4 archived images today.

GOOD is enp1s0 works fine with warm reboot.

BAD is enp1s0 works only after cold boot.

 

Armbian_20.11.10_Nanopi-r4s_focal_current_5.9.14.img.xz :GOOD
Armbian_21.08.1_Nanopi-r4s_bullseye_current_5.10.60.img.xz :GOOD
Armbian_21.08.1_Nanopi-r4s_hirsute_edge_5.13.12.img.xz :BAD
Armbian_22.02.1_Nanopi-r4s_jammy_edge_5.16.11.img.xz :BAD

and current my system is Armbian 22.02.1 with bullseye 5.15.25 :BAD

 

So I think,

Armbian version does not matter.

Debian (or ubuntu) version does not matter, either.

Kernel version (5.13 and above) may cause something.

 

Now I downgraded my system's kernel to 5.10.63 with via armbian-config.

And enp1s0 normally works after warm reboot again.

 

If you need more information that I can provide for this issue, please let me know.

Thank you.

Link to comment
Share on other sites

  • 0

I was having a similar issue, but can't remember if I tried fully powering it down.  I think I've always done the soft reboot.

 


As I said in that topic, the new version of the armbian-firmware-full package seems to have fixed the problem.  I did "reboot" via ssh.  The kernel was not updated.

Link to comment
Share on other sites

  • 0

Update:  I haven't had that port working for a while now.  For a brief time after I installed the full firmware, it was working, and now it doesn't any more.  Cold boot does not seem to help.  I did a complete reinstall with the jammy build and it still doesn't work.

Link to comment
Share on other sites

  • 0

I upgraded my kernel again today and now the LAN port shows up in the OS.

It works with both a cold boot and a warm reboot.

 

elyograg@legolas:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 54:10:ec:69:2a:04 brd ff:ff:ff:ff:ff:ff
    inet 192.168.217.165/24 brd 192.168.217.255 scope global dynamic noprefixroute eth0
       valid_lft 10776sec preferred_lft 10776sec
    inet6 fe80::e711:cec1:6580:b9c9/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: enp1s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether be:4f:ec:fc:14:a2 brd ff:ff:ff:ff:ff:ff
elyograg@legolas:~$ uname -a
Linux legolas 6.0.5-rockchip64 #22.08.8 SMP PREEMPT Fri Oct 28 15:15:06 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
elyograg@legolas:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 22.04.1 LTS
Release:	22.04
Codename:	jammy

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...