Loosing network connection on XU4

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Allamur
Posts: 30
Joined: Mon Jun 26, 2017 2:58 pm

Loosing network connection on XU4

Post by Allamur »

here's the setup:
- XU4 with Cloudshell2 on a RAID1 with two WD Red 2 TB, dietpi v158, kernel 3.1.106+

I cannot pinpoint the issue but I'm loosing the network connection (static or dhcp - no matter what) after some time.
The router and the display of the cloudshell says, that there's no network connection whatsoever.
I've replaced the ethernet cable with another one, restarted my router (fritzbox 7490) but this didn't help - restarting the XU4 does help, but I cannot shutdown it safely before, which could be the reason for a damaged database in the future. (And THIS is some bullcrap work to get it working again!)

Does anybody else having this issue?
schnitzelbrain
Posts: 13
Joined: Sun Nov 05, 2017 4:23 pm

Re: Loosing network connection on XU4

Post by schnitzelbrain »

I got my xu4 setup also with a 7490, no Cloudshell though.
WLAN has reconnect problems but LAN runs stable.

But to mention I have v158 and kernel 4.9.61+ running.
I think you spare the kernel because of the USB3 HDD problems, but that might be the cause.

For the shutdown, doesnt holding the reset button > 3sec perfom a normal shutdown ?

Schnitzelbrain
Allamur
Posts: 30
Joined: Mon Jun 26, 2017 2:58 pm

Re: Loosing network connection on XU4

Post by Allamur »

Well - it was kinda stable before on 3.x - until I crashed the whole system and had to reinstall everything...
Now it's mostly in a very unstable state.

I've installed the newest kernel from 24.11. and now it remains stable - but in a NOTworking state, even after a restart.
The cloudshell lcd doesn't show any signs about network activity or even the mac-address. See the attachment..
Attachments
cloudshell 2 lcd showing any networkinfo
cloudshell 2 lcd showing any networkinfo
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Loosing network connection on XU4

Post by Fourdee »

Allamur wrote:Well - it was kinda stable before on 3.x - until I crashed the whole system and had to reinstall everything...
Now it's mostly in a very unstable state.
Hi,

Unstable ETH is not something i've personally seen. I have 3.x and 4.9 XU4's running 24/7.

The issue could be one of the following:
- Router incompatibility/failure. If the router is dropping the connection, this would cause loss of connection. When this happens try running ifdown eth0; ifup eth0 to reinit the connection.
- Hardware failure on XU4/eth chip. Would need to test other images to verify.
- Ensure sufficient/stable PSU

I personally believe hardware or router failure, especially considering STATIC is having the same issue.

Things to check, when the loss of connection occurs:
- Run dmesg | grep eth and check for any kernel errors
- Run ifconfig, check status of connection
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Allamur
Posts: 30
Joined: Mon Jun 26, 2017 2:58 pm

Re: Loosing network connection on XU4

Post by Allamur »

Ok, the network connection itself is working fine, so no hardware problem.
Tried that with another SD card with dietpi installed and several hours later, still a working network connection.

But if I plug my "old" card in, it doesn't boot anymore.
First it changes in the boot.ini the line

Code: Select all

fatload mmc 0:1 0x44000000 exynos5422-odroidxu3.dtb
to

Code: Select all

fatload mmc 0:1 0x44000000 exynos5422-odroidxu4.dtb
and stops booting, because the dtb-file cannot be found.
(whether I use this https://github.com/Fourdee/DietPi/blob/dev/boot_xu4.ini or the standard boot.ini)
If I change the filename of the dtb-file to "xu4" instead of "xu3" the boot.ini file gets corrupted.

See the screenshot - it's german but basically it says "input/output" error while opening it. A fsck /dev/mmcblk0p1 results in a corrupted boot.ini file and the correction of it results in an empty boot.ini file.

Is there some kind of automatism to change the content of the boot.ini file?
Attachments
booterror.png
Allamur
Posts: 30
Joined: Mon Jun 26, 2017 2:58 pm

Re: Loosing network connection on XU4

Post by Allamur »

I gave up - the networkchip is working with a new install and I hope this will be the last time I run into such issues...
Post Reply