Dietpi starts hanging

Hi,

i am running on an odriod C2 the dietpi image. Really often unter LXDE Screen i can move the mouse and change windows, but in the background for example if i untar a big file it stops and hangs in the terminal. No reaction nothing. After some minutes it goes on. The Tar-command just hangs. Why is this happening. What can i do?

Thanks a lot.

Cu kami

Hi Kami,

Sounds like possible system instability due to hardware.

Please can you confirm:

  • SD/EMMC card used (eg: sandisk ultra)
  • PSU used (eg: 5V 1A)
  • Size of TAR file
  • Size of swapfile: /DietPi/dietpi/func/dietpi-set_dphys-swapfile

Hi i am using an SD Card from Sandisk, a standard PSU (is there an output if the odroid gets enough power?)
Tar is like 80MB and swap is 331MB

Thanks a lot kami

Check to ensure that power is above 5vdc

Any time I had flaky RPi usage…it was due to flaky or chincy USB power cables

Hi,

just double checked everything and it was the power cable.

Now everything works fine.

Thanks a lot.

cu kami

Hi,

i just have to reopen this thread. The Problem comes back. The Power supply is now good enough. Odroid C2 with 2,4A Power Supplay and Dietpi 6.7 Image. I have tested the SD Card with h2testw no write/read error.

But for example if i use the TAB key or try to run “top” or “htop” it keeps hanging like it is waiting for anything. I cannot see anything in the logs and the CPU temp is at 48-52 °C. I hope this is normal. CPU usage is not full but the command just hangs.

Can someone help how to find out where the error is?

Thanks a lot.

Cu kami

Mhh, dmesg is full of this:

[ 35.905925] hub 1-1:1.0: port 2 disabled by hub (EMI?), re-enabling…
[ 35.906351] usb 1-1.2: USB disconnect, device number 4
[ 35.912600] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 35.912663] ch341 1-1.2:1.0: device disconnected
[ 36.151975] usb 1-1.2: new full-speed USB device number 8 using dwc_otg
[ 36.254056] ch341 1-1.2:1.0: ch341-uart converter detected
[ 36.256243] usb 1-1.2: ch341-uart converter now attached to ttyUSB0
[ 60.744526] hub 1-1:1.0: port 2 disabled by hub (EMI?), re-enabling…
[ 60.744916] usb 1-1.2: USB disconnect, device number 8
[ 60.745557] ch341-uart ttyUSB0: ch341-uart converter now disconnected from ttyUSB0
[ 60.745593] ch341 1-1.2:1.0: device disconnected
[ 60.982091] usb 1-1.2: new full-speed USB device number 9 using dwc_otg
[ 61.084743] ch341 1-1.2:1.0: ch341-uart converter detected
[ 61.087026] usb 1-1.2: ch341-uart converter now attached to ttyUSB0