Eight years old but worth a try: https://stackoverflow.com/questions/2516…down-and-reboot
Posts by mglae
-
-
-
Just a few brief thoughts.
Modifying systemd services
Use /storage/.config/system.d to create systemd drop-in directories or your modified service files. Additional units can be created too.
Persistent Logging
Can be enabled via LE Settings Addon's System tab. Use journalctl -b -1 to view last boot. Logs are visible until local file systems are unmounted on shutdown.
Final error messages
Do exist because neither /flash/SYSTEM nor /flash can be cleanly unmounted while still being used.
Shutdown scripts
Due to target dependencies network access is not possible in shutdown.sh. Use autostop.sh
-
SEGFAULT due to null pointer access in elementtree, no idea about the cause:
Code
Display MoreThread 1 (Thread 0x7f1654ff96c0 (LWP 151486)): #0 0x0000000000000000 in ?? () #1 0x00007f169188738e in ?? () from /usr/lib/python3.11/lib-dynload/_elementtree.so #2 0x00007f16b9a6f781 in ?? () from /usr/lib/libpython3.11.so.1.0 #3 0x00007f16b9a18c1b in _PyObject_MakeTpCall () from /usr/lib/libpython3.11.so.1.0 #4 0x00007f16b99c8c94 in _PyEval_EvalFrameDefault () from /usr/lib/libpython3.11.so.1.0 #5 0x00007f16b9ae72e0 in ?? () from /usr/lib/libpython3.11.so.1.0 #6 0x00007f16b9ae7383 in PyEval_EvalCode () from /usr/lib/libpython3.11.so.1.0 #7 0x00007f16b9b259f3 in ?? () from /usr/lib/libpython3.11.so.1.0 #8 0x00007f16b9b25bf6 in ?? () from /usr/lib/libpython3.11.so.1.0 #9 0x00007f16b9b25cd0 in ?? () from /usr/lib/libpython3.11.so.1.0 #10 0x00007f16b9b28dec in PyRun_FileExFlags () from /usr/lib/libpython3.11.so.1.0 #11 0x0000000000ab8810 in CPythonInvoker::executeScript(_IO_FILE*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, _object*) () #12 0x0000000000acb2f0 in CPythonInvoker::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >&) () #13 0x0000000000acbeca in CPythonInvoker::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&) () #14 0x00000000015211be in CLanguageInvokerThread::Process() () #15 0x0000000000e559a3 in CThread::Action() () #16 0x00000000016a2b93 in ?? () #17 0x0000000000e53d93 in ?? () #18 0x00007f16b6f2a403 in ?? () from /usr/lib/libstdc++.so.6 #19 0x00007f16b70f0460 in ?? () from /usr/lib/libc.so.6 #20 0x00007f16b7169a2c in ?? () from /usr/lib/libc.so.6
-
Creating /storage/.please_resize_me will result in the current partition being removed and a new one being created on the next boot. This is a destructive action that will nuke the current contents of /storage, so you probably don't want to do that.
The resize file is ignored if there is anything relevant on the partition although the resize operations are not destructive (when the whole process is working correctly).
It only works on a fresh empty image.
-
-
Seems to be a job for the Audio Profiles Addon.
-
-
-
Python 3.11 bump was at Nov 12.
I've never used Plex, just looked into your log.
-
Regarding pastekodi: http://ix.io is flaky from time to time, retry after a few minutes.
As last resort type pastekodi -c >my.log and upload the file to your favorite paste site.
-
Code
2022-12-13 01:12:20.961 T:1097 error <general>: if inspect.getargspec(slot).keywords is None: 2022-12-13 01:12:20.961 T:1097 error <general>: ^^^^^^^^^^^^^^^^^^ 2022-12-13 01:12:20.962 T:1097 error <general>: AttributeError: module 'inspect' has no attribute 'getargspec'
Likely there is an update for Python 3.11 missing.
-
The TV specification shows a AV4: HDMI port?!
-
when I play music, whatever stream I choose - be it FLAC, WMA, WAV, MP3,
None of these formats can be passed through,, they have to be decoded to PCM..
-
You have to enable Show Hidden Directories.
-
Yes, but you have to be careful with dependencies to not geting the same behavior as with autostart below.
Adding ExecStartPost=... to connman service may be possible too.
-
I'm not sure what has caused it but now I can't ping the RPi4 at all.
Hopefully not a broken RJ45 connector.
Calling ethtool directly from udev is not working because the PHY needs to be UP. As work around I used a delay but this may not be bullet proof.
-
I do not speak fluent Linux, but I'm learning slowly, so can you please explain. I googled UDEV and the answers I found were far to techie.
Was afraid of such an answer :-). Have to test is myself later.
Using the cables supplied with the BT powerline adaptor I tried pinging - about 50% of packets lost.
After reading this again: looks like using CAT5 cables or less for gigabit connection. At least CAT5e cables are required.