No, I get it. They are separate! It's just that I was under the impression from my early exchanges with
@twol that importing unnecessary thousands of services might be overloading the system and causing a resource/memory leak of some kind. I now totally get that epg.dat and the various lists of services are separate and indexed on references. I'm entirely happy with that!
But I've made some progress.
First I tried to set up another Boot slot and it refused, claiming no space error. Which makes sense given I only had a few MB free in Flash memory.
So I made another image backup in case and then reloaded the release 6.7.10. I accepted the Wizard and tried to restore settings. I received an error saying something like no network try later. Presumably because I use WiFi and not having settings it could not yet access it? Anyway it booted ok and I restored the settings backup again just in case. Memory was then fine again. I then upgraded to 6.7.11 and restored settings/plugins. Memory is still all fine: 1.24GB Free RAM, 0.8GB Flash in use. Great! Haven't changed my bouquets yet - we're all agreed that is irrelevant here!
I've been experimenting and looking at the crash logs.
First, if I try a timeshift record and then change a channel and I tell it to save timeshift now in response to the timeshift warning, all is well. File saved, no errors (and no crash file). However if i set a timeshift record and leave to completion, I get the usual two new recordings in the PVR list, BUT a crash log is generated. I didn't actually see a restart, but it reverts to the default channel so it probably crashed and restarted fast.
Anyway, I've tried various combinations including switch off all KODI devices, restart VU+ but same behaviour.
Looking more closely at the logs, three things strike me.
Firstly all except one show disk errors. Here's a selection:
<4>[ 282.772362] [VID]: VIDEO_GET_SIZE src w: 0 h:0 display w:0 h:0
<4>[ 282.778484] [VID]: VIDEO_GET_SIZE aspect: 1 0
<4>[ 282.998486] [AUD]: HDMI Max Audio PCM Channels=8
<5>[ 305.240262] EXT4-fs (sda1): error count since last fsck: 386762
<5>[ 305.246201] EXT4-fs (sda1): initial error at time 1706567696: ext4_mb_generate_buddy:754
<5>[ 305.254312] EXT4-fs (sda1): last error at time 1749060973: ext4_mb_generate_buddy:754
<2>[ 885.341637] EXT4-fs error (device sda1): ext4_mb_generate_buddy:754: group 18386, block bitmap and bg descriptor inconsistent: 0 vs 32768 free clusters
<2>[ 885.355724] EXT4-fs error (device sda1): ext4_mb_generate_buddy:754: group 18387, block bitmap and bg descriptor inconsistent: 0 vs 32768 free clusters
/../
<2>[ 45.301343] EXT4-fs error (device sda1): ext4_mb_generate_buddy:754: group 14, block bitmap and bg descriptor inconsistent: 0 vs 32768 free clusters
<4>[ 46.217826] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
<4>[ 46.231987] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
<4>[ 51.808514] EXT4-fs error: 156 callbacks suppressed
<2>[ 51.813427] EXT4-fs error (device sda1): ext4_mb_generate_buddy:754: group 0, block bitmap and bg descriptor inconsistent: 0 vs 27026 free clusters
<4>[ 52.614086] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
<4>[ 52.627669] JBD2: Spotted dirty metadata buffer (dev = sda1, blocknr = 0). There's a risk of filesystem corruption in case of system crash.
/../
Al;so (?):
<3>[ 3.362160] EXT3-fs (mmcblk0p9): error: couldn't mount because of unsupported optional features (2c0)
<6>[ 3.384008] EXT4-fs (mmcblk0p9): recovery complete
<6>[ 3.389046] EXT4-fs (mmcblk0p9): mounted filesystem with ordered data mode. Opts: (null)
<6>[ 4.246209] usb 5-1.2: new full-speed USB device number 3 using ehci-brcm
<6>[ 4.415194] usb 5-1.1: new high-speed USB device number 4 using ehci-brcm
<4>[ 4.552670] EXT4-fs (sda1): warning: mounting fs with errors, running e2fsck is recommended
<6>[ 4.652198] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
<6>[ 4.733840] SGI XFS with security attributes, realtime, no debug enabled
<6>[ 4.967778] EXT4-fs (mmcblk0p9): re-mounted. Opts: data=ordered
<30>[ 5.249077] udevd[1075]: starting version 3.2.14
<5>[ 5.254622] random: udevd urandom read with 82 bits of entropy available
<30>[ 5.280622] udevd[1076]: starting eudev-3.2.14
<5>[ 5.530918] random: nonblocking pool is initialized
<6>[ 10.688244] usbcore: registered new interface driver dbus_usbdev
<4>[ 10.733286] bcm_event: module license 'Proprietary' taints kernel.
<4>[ 10.739491] Disabling lock debugging due to kernel taint
<6>[ 10.948997] nexus.ko: virtual irq: enabled (267)
<6>[ 10.953676] nexus.ko: shared gpio banks: enabled
<6>[ 11.734464] usb 5-1.1: USB disconnect, device number 4
<
What can/should I do with this? I have DiskMagic which readsEXT4 volumes via a PC. Odd that one crash file has no such errors. Must be recovering perhaps?
Secondly, There are lots of KODI entries as pointed out by
@twol. Are these there for historical reasons or are they supporting my various Android/KODI/Firesticks? There is a .kodi folder in media/hdd/ and it has various subfolders including addons. Like I said, I don't use KODI but I just noticed that KODIO was installed on my main (Android) TV. I've just uninstalled it and restarted the TV. The .kodi folder and contents are still there....
Thirdly, and this looks more interesting,
19:35:15.0736 Traceback (most recent call last):
19:35:15.0736 File "/usr/lib/enigma2/python/Components/Timeshift.py", line 948, in ptsMergeRecords
19:35:15.0742 FileNotFoundError: [Errno 2] No such file or directory: "
/media/hdd/movie/20240129 1854 - CNEWS - Face à l'info.ts.meta"
19:35:15.0743 [ePyObject] (CallObject(<bound method InfoBarTimeshift.ptsMergeRecords of <class 'Screens.InfoBar.InfoBar'>>,()) failed)
Where does the bold filename come from?? It was deleted many months ago from movies, so where is it picked up from? Had a look at timeshift.pyc, but couldn't determine much... My guess is that this is the culprit and that some ancient default filename parameter is being supplied perhaps via the KODI stuff... Can't think why though. Over to you...