Dietpi starts hanging

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
kami
Posts: 26
Joined: Thu Jun 01, 2017 3:07 pm

Dietpi starts hanging

Post by kami »

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
User avatar
Fourdee
Site Admin
Posts: 2782
Joined: Tue Feb 06, 2007 1:36 pm

Re: Dietpi starts hanging

Post by Fourdee »

kami wrote: Sun Apr 29, 2018 12:34 pm 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
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.
kami
Posts: 26
Joined: Thu Jun 01, 2017 3:07 pm

Re: Dietpi starts hanging

Post by kami »

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
User avatar
WarHawk
Posts: 631
Joined: Thu Jul 20, 2017 8:55 am

Re: Dietpi starts hanging

Post by WarHawk »

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
kami
Posts: 26
Joined: Thu Jun 01, 2017 3:07 pm

Re: Dietpi starts hanging

Post by kami »

Hi,

just double checked everything and it was the power cable.

Now everything works fine.

Thanks a lot.

cu kami
kami
Posts: 26
Joined: Thu Jun 01, 2017 3:07 pm

Re: Dietpi starts hanging

Post by 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
kami
Posts: 26
Joined: Thu Jun 01, 2017 3:07 pm

Re: Dietpi starts hanging

Post by 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
Post Reply