telnet or ssh to ROCK64 stuck
#1
Telnet or ssh to rock64 linux system, when the data is large, such as dmesg or alsamixer, telnet or ssh will be stuck. This looks like a kernel bug, but I don't know how to fix it.
#2
(09-05-2017, 12:26 AM)LemonZou Wrote: Telnet or ssh to rock64 linux system, when the data is large, such as dmesg or alsamixer, telnet or ssh will be stuck. This looks like a kernel bug, but I don't know how to fix it.


Seems like the Gbe issue;  plug into a 10|100 switch or router, or force 10|100 on the Rock, or modify your cat5 cable ( clip the blue and brown pairs )  to force 10|100 on your router from the Rock.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
#3
(09-05-2017, 02:02 AM)MarkHaysHarris777 Wrote:
(09-05-2017, 12:26 AM)LemonZou Wrote: Telnet or ssh to rock64 linux system, when the data is large, such as dmesg or alsamixer, telnet or ssh will be stuck. This looks like a kernel bug, but I don't know how to fix it.


Seems like the Gbe issue;  plug into a 10|100 switch or router, or force 10|100 on the Rock, or modify your cat5 cable ( clip the blue and brown pairs )  to force 10|100 on your router from the Rock.

any one will handle fix this?
#4
(09-05-2017, 08:19 PM)listenfree Wrote:
(09-05-2017, 02:02 AM)MarkHaysHarris777 Wrote:
(09-05-2017, 12:26 AM)LemonZou Wrote: Telnet or ssh to rock64 linux system, when the data is large, such as dmesg or alsamixer, telnet or ssh will be stuck. This looks like a kernel bug, but I don't know how to fix it.


Seems like the Gbe issue;  plug into a 10|100 switch or router, or force 10|100 on the Rock, or modify your cat5 cable ( clip the blue and brown pairs )  to force 10|100 on your router from the Rock.

any one will handle fix this?

Hi, guys!

I just reinstalled another Linux image and the issue was solved!

Linux rock64 4.4.70-rockchip-ayufan-83 #1 SMP Mon Jul 31 08:43:12 UTC 2017 aarch64 GNU/Linux
#5
(09-05-2017, 02:02 AM)MarkHaysHarris777 Wrote:
(09-05-2017, 12:26 AM)LemonZou Wrote: Telnet or ssh to rock64 linux system, when the data is large, such as dmesg or alsamixer, telnet or ssh will be stuck. This looks like a kernel bug, but I don't know how to fix it.


Seems like the Gbe issue;  plug into a 10|100 switch or router, or force 10|100 on the Rock, or modify your cat5 cable ( clip the blue and brown pairs )  to force 10|100 on your router from the Rock.

I've been having this issue, it's been driving me nuts, seems to impact on remote desktop too - I'll try one of these and see if that helps, cheers Smile

And yup that solves it - did the following in software

sudo apt-get install ethtool
sudo ethtool -s eth0 speed 100 duplex full autoneg off

This limits the NIC to 100Mb and stops the issue - you'll need to have the command auto execute at boot as the setting is temporary and will clear at reboot otherwise.
#6
Instead of setting speed to 100Mb/s you can leave it at 1Gb/s and try:


Code:
ethtool -K eth0 tx off


Works for me with ayufan 4.4 kernel.
#7
I'll give that a go, cheers.
#8
(10-12-2017, 01:05 PM)maal Wrote: Instead of setting speed to 100Mb/s you can leave it at 1Gb/s and try:


Code:
ethtool -K eth0 tx off


Works for me with ayufan 4.4 kernel.

One question, do I have to write the code after every reboot or can I fix it in a config-file?
#9
Create a /etc/rc.local file with the following content and made sure it is executable (i.e. chmod +x /etc/rc.local):


Code:
#!/bin/bash
ethtool -K eth0 tx off
exit 0

Or add the ethtool line before the exit 0 line if the file already exists.

Then the command will run at the end of every boot. It may be possible to set it ealier, i.e. as a kernel argument, but I don't know the correct paramters for that if it is possible.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 No Audio @ Debian 12 dmitrymyadzelets 2 1,119 04-08-2024, 06:47 AM
Last Post: dmitrymyadzelets
  OpenWRT on the Rock64 CanadianBacon 14 10,824 04-03-2024, 08:48 AM
Last Post: helpmerock
  Rock64 bricked shawwwn 7 7,030 03-17-2024, 12:22 PM
Last Post: dmitrymyadzelets
  Rock64 won't boot luminosity7 10 6,036 03-16-2024, 08:33 AM
Last Post: dmitrymyadzelets
  Rock64 doesn't boot dstallmo 1 743 03-16-2024, 08:29 AM
Last Post: dmitrymyadzelets
  How well does Rock64 deal with HDR and Atmos on Kodi? drvlikhell 3 2,710 04-29-2023, 04:24 AM
Last Post: newestssd
  Rock64 board not working, no HDMI no Ethernet. EDited 3 4,287 01-17-2023, 02:31 PM
Last Post: Flagtrax
  ROCK64 v3 can it boot from USB? Tsagualsa 4 2,971 11-29-2022, 11:31 AM
Last Post: Macgyver
  rock64 v3 spiflash Macgyver 0 1,060 11-28-2022, 02:18 PM
Last Post: Macgyver
  my rock64 dosen't work rookie_267 0 1,253 10-07-2022, 07:50 PM
Last Post: rookie_267

Forum Jump:


Users browsing this thread: 3 Guest(s)