> For the complete documentation index, see [llms.txt](https://dev.solid-run.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.solid-run.com/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/linux-bedrock-v3000/enabling-watchdog-in-linux-on-bedrock-v3000.md).

# Enabling Watchdog in Linux on Bedrock V3000

This guide outlines the steps to configure and test the `sp5100_tco` watchdog on your system.

## Step 1: Remove the Watchdog Module from Modprobe Blacklists

1. Search for the `sp5100_tco` entry in the modprobe configuration:

```
grep -r sp5100_tco /lib/modprobe.d/
```

2. For each returned result, open the file and comment out lines containing "blacklist sp5100\_tco".

## Step 2: Create a New Modprobe Entry

Enter the following command to add a new configuration for `sp5100_tco`:

```
echo "options sp5100_tco heartbeat=30 nowayout=1" > /etc/modprobe.d/sp5100_tco.conf
```

## Step 3: Install the Watchdog Package

Use the package manager to install the watchdog package:

```
apt install -y watchdog
```

## Step 4: Update the Watchdog Configuration

1. Open the watchdog configuration file:

```
nano /etc/watchdog.conf
```

2. Locate and uncomment the line:

```
#watchdog-device = /dev/watchdog
```

3. Find the line:

```
#watchdog-timeout = 60
```

Uncomment it and change its value to `30`:

```
watchdog-timeout = 30
```

## Step 5: Reboot the System

To apply the changes, reboot your system:

```
reboot
```

## Testing the Configuration

To test if the watchdog is working correctly, you can intentionally trigger a kernel crash:

After executing the above command, the kernel will crash. If the watchdog is correctly configured, the system should reboot automatically within 30 seconds.

{% hint style="warning" %}
**Warning**: The test command will cause system instability and an immediate reboot. Ensure you've saved all your work before executing the test command.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev.solid-run.com/amd/v3000/sbc-platform/bedrock-v3000-technical-documentation/software-bedrock-v3000/linux-bedrock-v3000/enabling-watchdog-in-linux-on-bedrock-v3000.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
