Editing Talk:Troubleshooting boot issues
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
== reboot analyse script == | == reboot analyse script == | ||
- | I've just written a script to help analyse an unexpected reboot. | + | I've just written a script to help analyse an unexpected reboot: |
- | See http://talk.maemo.org/showthread.php?p=1092902#post1092902 | + | <nowiki> |
+ | # cat debug_n900_reboots.sh | ||
+ | #!/bin/sh | ||
+ | debug_dir="$(pwd)" | ||
+ | dt=$(date +%Y%m%d_%H%M) | ||
+ | mkdir -p /dev/shm/debug_script/$dt | ||
+ | cd /dev/shm/debug_script/$dt | ||
+ | cat /proc/bootreason > "$(pwd)/bootreason" | ||
+ | cat /dev/mtd2 > "$(pwd)/mtd2" | ||
+ | dmesg > "$(pwd)/dmesg" | ||
+ | cp -r /var/lib/dsme/stats "$(pwd)" | ||
+ | cd "$debug_dir" | ||
+ | tar -cjf "$debug_dir/$dt.tar.bz2" /dev/shm/debug_script/$dt | ||
+ | ls -lh $dt.tar.bz2 | ||
+ | </nowiki> | ||
+ | |||
+ | + See http://talk.maemo.org/showthread.php?p=1092902#post1092902 | ||
And I also suggest adding "reboot" to the page title. | And I also suggest adding "reboot" to the page title. |
Learn more about Contributing to the wiki.