PDA

View Full Version : Crashing on Record



Phaeton
30-07-16, 20:34
Unable to record any programs when I press the record button I then get the 5 options to record, but on pressing options 1-4 the machine reboots.

< 27603.516> [RecordTimer] start recording
< 27603.519> [Notifications] AddPopup, id = None
< 27603.531> [Skin] processing screen MessageBoxSimple:
< 27603.556> [Skin] processing screen MessageBoxSimple_summary:
< 27603.562> [eDVBServiceRecord] Recording to /media/hdd/movie/20160730 2018 - ITV Yorkshire HD - New_ Tom Daley_ Diving for Gold.ts...
< 27603.562> [eDVBServiceRecord] start recording...
< 27603.562> [eDVBServiceRecord] RECORD: have 1 video stream(s) (0906), and 1 audio stream(s) (0907), and the pcr pid is 0906, and the text pid is 0908
< 27603.562> [eDVBServiceRecord] ADD PID: 0000
< 27603.562> [eDVBServiceRecord] ADD PID: 0906
< 27603.562> [eDVBServiceRecord] ADD PID: 0907
< 27603.562> [eDVBServiceRecord] ADD PID: 0908
< 27603.613> [setIoPrio] realtime level 7 ok
< 27603.613> [eFilePushThreadRecorder] THREAD START
< 27603.629> Traceback (most recent call last):
< 27603.629> File "/usr/lib/enigma2/python/mytest.py", line 222, in processDelay
< 27603.630> callback(*retval)
< 27603.630> File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 3055, in recordQuestionCallback
< 27603.630> File "/usr/lib/enigma2/python/Screens/InfoBarGenerics.py", line 2974, in startInstantRecording
< 27603.630> File "/usr/lib/enigma2/python/RecordTimer.py", line 977, in record
< 27603.631> File "/usr/lib/enigma2/python/RecordTimer.py", line 903, in saveTimer
< 27603.631> IOError: [Errno 28] No space left on device: '/etc/enigma2/timers.xml.writing'
< 27603.631> [ePyObject] (CallObject(<bound method Session.processDelay of <__main__.Session instance at 0x71f8f2d8>>,()) failed)

root@vusolo2:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 199436 199432 4 100% /
devtmpfs 286116 8 286108 0% /dev
tmpfs 64 0 64 0% /media
tmpfs 286244 188 286056 0% /var/volatile
/dev/sda1 976559616 92750848 882760192 10% /media/hdd

From this it appears that ubi0:rootfs is full, how do I free up space?

abu baniaz
30-07-16, 20:47
Stop enigma2 with "init 4" command. Delete what you do not need. Most probably EPG or one of the IPTV plugins is cause.

duoduo
30-07-16, 20:49
You shouldn't be recording to root as a starting point you need to use internal and or external hard drive. This will just keep happening until you use my suggestion, generally most receivers have limited root memory available over an above what is used for the image et al

abu baniaz
30-07-16, 20:50
If it's EPG, you will find EPG.dat in /etc/enigma2

ccs
30-07-16, 20:51
You shouldn't be recording to root as a starting point you need to use internal and or external hard drive. This will just keep happening until you use my suggestion, generally most receivers have limited root memory available over an above what is used for the image et al

He's recording to /media/hdd which is only 10% full.

dsayers
30-07-16, 20:56
You shouldn't be recording to root as a starting point you need to use internal and or external hard drive. This will just keep happening until you use my suggestion, generally most receivers have limited root memory available over an above what is used for the image et al

hes not recording to internal flash as he found out it was the epg saving to internal

< 27603.562> [eDVBServiceRecord] Recording to /media/hdd/movie/20160730 2018 - ITV Yorkshire HD - New_ Tom Daley_ Diving for Gold.ts...

Phaeton
30-07-16, 22:27
Thanks for the help guys but I've deleted some files from /etc/enigma2 but the situation doesn't look any better

root@vusolo2:~# ls -lhrt /etc/enigma2/
-rw-r--r-- 1 root root 0 Jan 1 1970 profile
-rw-r--r-- 1 root root 23 Apr 5 19:25 userbouquet.favourites.tv.del
-rw-r--r-- 1 root root 26 Apr 5 19:25 userbouquet.favourites.radio
-rw-r--r-- 1 root root 43.7K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.separator.tv
-rw-r--r-- 1 root root 4.9K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.main.tv
-rw-r--r-- 1 root root 45.5K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.main.radio
-rw-r--r-- 1 root root 46.3K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.hd.tv
-rw-r--r-- 1 root root 45.2K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.fta.tv
-rw-r--r-- 1 root root 150 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.998.tv.del
-rw-r--r-- 1 root root 920 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.980.tv
-rw-r--r-- 1 root root 1.3K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.950.tv.del
-rw-r--r-- 1 root root 2.2K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.900.tv
-rw-r--r-- 1 root root 959 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.881.tv.del
-rw-r--r-- 1 root root 1014 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.861.tv.del
-rw-r--r-- 1 root root 3.4K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.780.tv.del
-rw-r--r-- 1 root root 3.6K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.700.tv.del
-rw-r--r-- 1 root root 2.2K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.650.tv
-rw-r--r-- 1 root root 2.1K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.601.tv
-rw-r--r-- 1 root root 956 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.580.tv.del
-rw-r--r-- 1 root root 2.6K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.520.tv
-rw-r--r-- 1 root root 847 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.501.tv
-rw-r--r-- 1 root root 4.5K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.401.tv
-rw-r--r-- 1 root root 2.2K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.350.tv
-rw-r--r-- 1 root root 2.1K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.301.tv
-rw-r--r-- 1 root root 74 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.1050.tv
-rw-r--r-- 1 root root 1.2K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.1030.tv.del
-rw-r--r-- 1 root root 636 Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.1020.tv.del
-rw-r--r-- 1 root root 8.6K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.101.tv
-rw-r--r-- 1 root root 1.3K Apr 17 10:49 userbouquet.abm.sat_282_sky_uk.1000.tv.del
-rw-r--r-- 1 root root 216 Apr 17 10:49 bouquets.radio
-rw-r--r-- 1 root root 23 Apr 24 08:23 userbouquet.favourites.tv
-rw-r--r-- 1 root root 1.6K Apr 24 08:23 bouquets.tv
-rw-r--r-- 1 root root 42 May 17 19:32 pm_timers.xml
-rw-r--r-- 1 root root 43.9K May 17 19:32 lamedb
-rw-r--r-- 1 root root 0 May 17 19:32 blacklist
-rw-r--r-- 1 root root 61 May 17 19:32 autotimer.xml
-rw-r--r-- 1 root root 2.0K Jun 10 16:37 settings
-rw-r--r-- 1 root root 18.6K Jul 27 23:05 timers.xml
-rw-r--r-- 1 root root 0 Jul 29 19:13 resumepoints.pkl
root@vusolo2:~# rm /etc/enigma2/userbouquet.abm.sat_282_sky_uk.*
root@vusolo2:~# ls -lhrt /etc/enigma2/
-rw-r--r-- 1 root root 0 Jan 1 1970 profile
-rw-r--r-- 1 root root 23 Apr 5 19:25 userbouquet.favourites.tv.del
-rw-r--r-- 1 root root 26 Apr 5 19:25 userbouquet.favourites.radio
-rw-r--r-- 1 root root 216 Apr 17 10:49 bouquets.radio
-rw-r--r-- 1 root root 23 Apr 24 08:23 userbouquet.favourites.tv
-rw-r--r-- 1 root root 1.6K Apr 24 08:23 bouquets.tv
-rw-r--r-- 1 root root 42 May 17 19:32 pm_timers.xml
-rw-r--r-- 1 root root 43.9K May 17 19:32 lamedb
-rw-r--r-- 1 root root 0 May 17 19:32 blacklist
-rw-r--r-- 1 root root 61 May 17 19:32 autotimer.xml
-rw-r--r-- 1 root root 2.0K Jun 10 16:37 settings
-rw-r--r-- 1 root root 18.6K Jul 27 23:05 timers.xml
-rw-r--r-- 1 root root 0 Jul 29 19:13 resumepoints.pkl
root@vusolo2:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 199436 199420 16 100% /
devtmpfs 286116 8 286108 0% /dev
tmpfs 64 0 64 0% /media
tmpfs 286244 196 286048 0% /var/volatile
/dev/sda1 976559616 92750848 882760192 10% /media/hdd

I'm not sure what I am looking for that I can delete to free up space

Phaeton
30-07-16, 22:48
I found epg.dat but it appears to be on the hard drive

root@vusolo2:~# ls -lhrt /media/hdd/epg.dat
-rw-r--r-- 1 root root 9.1M May 17 19:32 /media/hdd/epg.dat

birdman
30-07-16, 23:22
Run:


find / -xdev -type f -size +10000k

and look at what gets reported.
If nothing gets reported, lower that 10000 by 50% until something is....

Are you running backups/image backups to /media/usb without actually having a USB stick inserted?

Phaeton
30-07-16, 23:55
root@vusolo2:~# find / -xdev -type f -size +10000k
/usr/lib/xbmc/xbmc.bin
/usr/lib/gstreamer-1.0/libgstlibav.so

root@vusolo2:~# find / -xdev -type f -size +5000k
/lib/modules/3.13.5/extra/dvb_base.ko
/var/lib/opkg/lists/openvix-mips32el
/usr/lib/xbmc/system/players/dvdplayer/avcodec-54-mips.so
/usr/lib/xbmc/xbmc.bin
/usr/lib/gstreamer-1.0/libgstlibav.so

root@vusolo2:~# find / -xdev -type f -size +2500k
/lib/modules/3.13.5/extra/dvb_base.ko
/var/lib/opkg/lists/openvix-mips32el
/usr/bin/enigma2
/usr/lib/xbmc/system/players/dvdplayer/avcodec-54-mips.so
/usr/lib/xbmc/xbmc.bin
/usr/lib/gstreamer-1.0/libgstlibav.so
/usr/lib/libmysqlclient.so.18..0
/usr/lib/libdvb_base.so
/usr/share/xbmc/media/Fonts/arial.ttf
/usr/share/xbmc/media/weather.zip

root@vusolo2:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 199436 199432 4 100% /
devtmpfs 286116 8 286108 0% /dev
tmpfs 64 0 64 0% /media
tmpfs 286244 112 286132 0% /var/volatile
/dev/sda1 976559616 92741376 882769664 10% /media/hdd

Not sure where the backups are going to but I don't appear to have a /media/usb

root@vusolo2:~# ls -lhrt /media/
drwxr-xr-x 2 root root 40 Jan 1 01:00 autofs
drwxr-xr-x 10 root root 4.0K Jul 30 2016 hdd

As far as I know nothing has changed on the system since last April(ish) it's been fine, this just happened a couple of days ago

Phaeton
31-07-16, 00:26
After I deleted some files I didn't have any channels at all, so I restored back to 17th April the last time I had to do anything with the box, all now works & there now appears to be space

root@vusolo2:~# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
ubi0:rootfs 199436 129608 69828 65% /
devtmpfs 286116 8 286108 0% /dev
tmpfs 64 0 64 0% /media
tmpfs 286244 744 285500 0% /var/volatile
/dev/sda1 976559616 92784128 882726912 10% /media/hdd


But it would be good to know what is filling it up, is there a command I can run that will show my files that have been written today so I can run it daily & see what is getting larger?

birdman
31-07-16, 00:37
After I deleted some files I didn't have any channels at all, so I restored back to 17th April the last time I had to do anything with the box, all now works & there now appears to be spaceAnd did you then reboot it? Or restart the GUI?
If so, the problem may be caused by deleted files which some process still has open (so the disk-space doesn't get freed even though it has been "deleted").

Your first find only found 2 files >10MB.

birdman
31-07-16, 00:39
But it would be good to know what is filling it up, is there a command I can run that will show my files that have been written today so I can run it daily & see what is getting larger?


find / -xdev -type f -mtime -1 -print0 | xargs -0r ls -l | sort -nk5

Phaeton
31-07-16, 00:48
And did you then reboot it? Or restart the GUI?

I just restored & at the end the system restarted, not sure whether that was a full reboot or just the GUI, but I did do a power off/on earlier in the day before posting