Closed SoraKasvgano closed 11 months ago
The real problem is this message:
BUG: soft lockup - CPU#0 stuck for 41s!
I am not sure why one of your CPU cores get stuck after 6 hours (maybe powersaving feature, or hardware failure, or bug in qemu or your kernel..) In any case its not normal.
Then that triggers an NMI interrupt and in old versions of this container I used the NMI interrupt as a way to signal a shutdown request.
The good news is that in the more recent version I use a different method to shutdown, so this code that listens for NMI interrupts has become totally obsolete now and can be removed without a problem.
The easiest ways to do that is to just remove these two scripts inside your DSM:
/usr/local/bin/agent.sh
/usr/local/etc/rc.d/agent.sh
Another way is to remove all files inside your /storage
folder on your host (except data.img
to keep your files) and run the latest container version (v4.25). And it will do a fresh installation of DSM without this agent.sh
script.
That still does not solve the soft lockup
problem of your CPU, so you will still see that crash every six hours I think. But at least it will not cause the system to shutdown anymore.
The real problem is this message:
BUG: soft lockup - CPU#0 stuck for 41s!
I am not sure why one of your CPU cores get stuck after 6 hours (maybe powersaving feature, or hardware failure, or bug in qemu or your kernel..) In any case its not normal.
Then that triggers an NMI interrupt and in old versions of this container I used the NMI interrupt as a way to signal a shutdown request.
The good news is that in the more recent version I use a different method to shutdown, so this code that listens for NMI interrupts has become totally obsolete now and can be removed without a problem.
The easiest ways to do that is to just remove these two scripts inside your DSM:
/usr/local/bin/agent.sh /usr/local/etc/rc.d/agent.sh
Another way is to remove all files inside your
/storage
folder on your host (exceptdata.img
to keep your files) and run the latest container version (v4.25). And it will do a fresh installation of DSM without thisagent.sh
script.That still does not solve the
soft lockup
problem of your CPU, so you will still see that crash every six hours I think. But at least it will not cause the system to shutdown anymore.
Thanks dude ,i will have a try!!!!
The real problem is this message:
BUG: soft lockup - CPU#0 stuck for 41s!
I am not sure why one of your CPU cores get stuck after 6 hours (maybe powersaving feature, or hardware failure, or bug in qemu or your kernel..) In any case its not normal.
Then that triggers an NMI interrupt and in old versions of this container I used the NMI interrupt as a way to signal a shutdown request.
The good news is that in the more recent version I use a different method to shutdown, so this code that listens for NMI interrupts has become totally obsolete now and can be removed without a problem.
The easiest ways to do that is to just remove these two scripts inside your DSM:
/usr/local/bin/agent.sh /usr/local/etc/rc.d/agent.sh
Another way is to remove all files inside your
/storage
folder on your host (exceptdata.img
to keep your files) and run the latest container version (v4.25). And it will do a fresh installation of DSM without thisagent.sh
script.That still does not solve the
soft lockup
problem of your CPU, so you will still see that crash every six hours I think. But at least it will not cause the system to shutdown anymore.
looks like Synology has officialy fixed this problem
·https://www.synology.com/en-us/releaseNote/DSM#ver_69057-2·
(2023-Oct-15th)V7.2.1-69057 Update 2
thanks for this great project......everything works fine except auto shutdown....almost every 6 hours. .
LOG CENTER:
user:SYSTEM_ADMIN System started counting down to shutdown
after i checked logs ,i found NMI problems....How to avoid it being shutdown? Thanks!!!
what's it function?
changes:
ENABLED AME
curl http://code.imnks.com/ame3patch/ame72-3005.py | python
ENABLED VideoStation support DTS、EAC3 and TrueHDcurl https://raw.githubusercontent.com/AlexPresso/VideoStation-FFMPEG-Patcher/main/patcher.sh | bash -s -- -p https://ghproxy.com/https://github.com -v 5
ENABLED Synology Photos face identify