2013-01-30, 09:25
Once every few days, my XBMC machine (openelec with ATI videocard) will appear to be frozen and wont accept any input. SSH-ing still works fine, its like X crashed. This appears to happen while the TV/AVR is off, but Im not quite sure about that.
Combing through the log files, I found dmesg will always show this before X freezes:
Googling that error appears to indicate its a bug in AMD drivers that has been around for ages, so Im not expecting a miracle solution, but never hurts asking
Meanwhile, I decided to work around it by creating a little script to check the kernel log for that error, and reboot the machine if needed.
In case someone has the same issue.
Combing through the log files, I found dmesg will always show this before X freezes:
Code:
[95685.745463] Assertion failed in ../../../../../../../../drivers/2d/lnx/fgl/drm/kernel/hal_evergreen.c at line: 64
Googling that error appears to indicate its a bug in AMD drivers that has been around for ages, so Im not expecting a miracle solution, but never hurts asking
Meanwhile, I decided to work around it by creating a little script to check the kernel log for that error, and reboot the machine if needed.
Code:
#! /bin/sh
echo $(date -u) "fixx started" >> /storage/.config/fixx.log
sleep 10;
while :
do
echo "sleeping"
sleep 10;
echo "checking dmesg"
if dmesg | grep "Assertion failed" ; then
echo $(date -u) "assertion failed detected, rebooting " >> /storage/.config//fixx.log
reboot
else
echo $(date -u) "ok"
fi
done
In case someone has the same issue.