This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
crash_log [2024/03/23 20:39] – grammar, punctuation hogwild | crash_log [2024/03/23 20:44] (current) – hogwild | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | The crashlog feature is used to log crashes. In order to use the crashlog feature, your hardware must have an AIO firmware build installed. \\ | + | ====== Log a Crash ====== |
- | VPN firmware build files do not include crashlog. (You can also create a custom image with CRASH_LOG=y)\\ | + | |
- | Note that builds that include crashlog are only available for ARM model routers. | + | The crashlog feature is used to log crashes. In order to use the crashlog feature, your hardware must have an AIO firmware build installed. \\ VPN firmware build files do not include crashlog. (You can also create a custom image with CRASH_LOG=y)\\ |
Here are the steps involved: | Here are the steps involved: | ||
+ | |||
+ | \\ | ||
1. Check partitions for your router | 1. Check partitions for your router | ||
Example: | Example: | ||
- | < | + | |
+ | < | ||
root@RT-AC56U:/ | root@RT-AC56U:/ | ||
dev: size | dev: size | ||
Line 23: | Line 26: | ||
=> mtd6 (" | => mtd6 (" | ||
- | 2. prepare | + | \\ |
+ | |||
+ | \\ | ||
+ | |||
+ | 2. Prepare the crashlog (needs to be done each time a new crashlog file is generated) | ||
Example: | Example: | ||
- | < | + | |
+ | < | ||
root@RT-AC56U:/ | root@RT-AC56U:/ | ||
Erase MTD crash | Erase MTD crash | ||
Line 33: | Line 41: | ||
</ | </ | ||
- | 3. let the router crash! :) | + | \\ |
+ | |||
+ | 3. let the router crash | ||
+ | |||
+ | \\ | ||
4. Get/save the crashlog file | 4. Get/save the crashlog file | ||
Example: | Example: | ||
- | < | + | |
+ | < | ||
root@RT-AC56U:/ | root@RT-AC56U:/ | ||
</ | </ | ||
- | Get the crashlog.bin file from the /tmp directory with FTP, SFTP or SCP (using for example, WinSCP)\\ | ||
- | This example will save to a USB storage device: | + | \\ |
- | < | + | |
+ | Get the crashlog.bin file from the /tmp directory with FTP, SFTP or SCP (using for example, WinSCP)\\ | ||
+ | |||
+ | For example, the following | ||
+ | |||
+ | < | ||
root@RT-AC56U:/ | root@RT-AC56U:/ | ||
</ | </ | ||
+ | \\ | ||
+ | |||
+ | \\ | ||