Page 2 of 2
Re: Can't Get value of 1 from DIO module Input
Posted: 29 Jan 2020, 17:07
by nicolaiB
It seems that your eMMC is full. Try to free space (for example with apt-get clean)
df -h shows you the usage.
Nicolai
Re: Can't Get value of 1 from DIO module Input
Posted: 29 Jan 2020, 17:39
by Harry
Hi all,
thanks Nicolai. I tried this and after executing "apt-get clean" the black screen is gone and I get a login dialog on the desktop but it reappears all the time without continuing.
My application is very small (around 400KB src + 600 KB exe). How is it possible to get into a memory leak?
B/R Harry
pi@RevPi31438:~ $ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root 3,5G 3,4G 0 100% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6,3M 458M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 44M 22M 22M 51% /boot
tmpfs 93M 0 93M 0% /run/user/1000
tmpfs 93M 0 93M 0% /run/user/109
Re: Can't Get value of 1 from DIO module Input
Posted: 30 Jan 2020, 11:03
by nicolaiB
Hi Harry,
try to login on the tty console (CTRL + ALT + F1-3) and try again. As the system hasn't any disk space left the graphical environment can fail (cannot write temp data). I would also uninstall unused software packages and clean up the home dir.
The following command lists all files with their size in the current directory and sorts them by size:
Nicolai
Re: Can't Get value of 1 from DIO module Input
Posted: 03 Feb 2020, 07:55
by Harry
Hi Dirk, Nicolai,
the issue could be resolved with writing the default stretch image. Then I updated the system and installed some packages. My application is running fine now.
I cant explain what went wrong with the first installation procedure.
There should be enough available memory, this is the overview in the end:
pi@RevPi31438:~ $ df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root 3,5G 2,5G 911M 76% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 0 464M 0% /dev/shm
tmpfs 464M 6,3M 458M 2% /run
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 44M 22M 22M 51% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Thank you very much for your help!
Regards,
Harry
Re: Can't Get value of 1 from DIO module Input
Posted: 04 Feb 2020, 10:56
by dirk
@JEPOYTEK how is it going? Do you still have the error?