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.
  Reply
#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! )
  Reply
#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?
  Reply
#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
  Reply
#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.
  Reply
#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.
  Reply
#7
I'll give that a go, cheers.
  Reply
#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?
  Reply
#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.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Rock64 board seems defective, how to confirm? Josk 1 56 08-15-2019, 08:24 PM
Last Post: tllim
  Rock64 for video surveillance martinschm 4 195 08-12-2019, 11:55 AM
Last Post: pkfpeters
  Purchase Rock64 V3? richardk 6 419 08-03-2019, 12:56 PM
Last Post: mcerveny
  Rock64 v3 - POE P1V 2 273 07-28-2019, 02:03 PM
Last Post: mcerveny
  Rock64 running OMV, how to setup RTL8812AU WiFi? electrosam 2 107 07-16-2019, 04:03 PM
Last Post: ayufan
  Rock64 random freezes BTB 3 187 07-01-2019, 10:17 AM
Last Post: Luke
Sad Rock64 Seafile Installation klaus_nase 2 130 06-27-2019, 09:11 AM
Last Post: klaus_nase
  rock64, compile problems "illegal instruction", "memory fault" -> ddr_333Mhz? hunderteins 5 363 06-22-2019, 12:36 PM
Last Post: redfish
  Another non-booting ROCK64 SuburbanDad 13 651 06-19-2019, 01:48 AM
Last Post: mcerveny
  Plastic storage box for Rock64 matwey 1 106 06-18-2019, 10:56 PM
Last Post: tllim

Forum Jump:


Users browsing this thread: 1 Guest(s)