Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix watchdog when majestic crashes on hi3516cv100 #1534

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zerog2k
Copy link
Contributor

@zerog2k zerog2k commented Aug 22, 2024

per wdt.ko:

parm=nodeamon:By default, a kernel deamon feed watchdog when idle, set 'nodeamon=1' to disable this. (default=0)
parmtype=nodeamon:int

as documented in OpenIPC/majestic#171, when majestic crashes, without nodeamon=1 param to wdt kmod, camera does not automatically reboot.

Expected behavior is for majestic to feed the watchdog, and if majestic crashes, watchdog timer would expire and reset cpu, forcing host reboot.

per wdt.ko:
```
parm=nodeamon:By default, a kernel deamon feed watchdog when idle, set 'nodeamon=1' to disable this. (default=0)
parmtype=nodeamon:int
```
as documented in OpenIPC/majestic#171, when majestic crashes, without `nodeamon=1` param to wdt kmod, camera does not automatically reboot.

Expected behavior is for majestic to feed the watchdog, and if majestic crashes, watchdog timer would expire and reset cpu, forcing host reboot.
@zerog2k zerog2k changed the title fix watchdog when majestic crashes fix watchdog when majestic crashes on hi3516cv100 Aug 23, 2024
Copy link
Member

@flyrouter flyrouter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you
Your suggestion will be considered

@Flole998
Copy link

I've discovered this a few months ago, performed the change and for me it was an improvement as now the camera reboots when there's an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants