Last active
          April 24, 2021 13:51 
        
      - 
      
 - 
        
Save kokokodak/142fd699b88ef78bb9273e8f459d7046 to your computer and use it in GitHub Desktop.  
    OpenBSD - watchdog killing system during reordering libraries - solution
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | I've faced slight issue with watchdog on Raspberry Pi 3 and OpenBSD, which turned out to be my fault, but for future | |
| reference, or if somebody happens to be equally stupid as me. | |
| It seems that prefered way of starting watchdog in OpenBSD is to run watchdogd daemon, which sets | |
| kern.watchdog.period=30 sysctl setting. Seeing that "it just sets the sysctl variable", I've set it myself | |
| in /etc/sysctl.conf, which turned out to be the problem as /etc/sysctl.conf gets processed quite early in the | |
| boot process, while watchdogd daemon is late in the boot process. | |
| This setting caused that watchdog has been killing Raspberry Pi during the "reordering libraries..." phase. | |
| Not sure why that is happening though, but not setting the kern.watchdog.period in sysctl.conf and only letting | |
| the watchdogd deal with it solves the issue. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment