A few days ago I connected my Raspberry Pi to my screen and I did some work directly on it (without GUI, thus only command line) and suddenly it crashed / shutdown.
The red light is on all the time. Today I tried with a bit of trial and error and I tried to run it with ethernet and power source connected, it happened again. Then I tried to connect almost everything except ethernet (mouse, keyboard and power). Then it stayed on-line all the time (a few hours) then I added the ethernet cable and it then after a few minutes crashed with only the red light appearing. (I can see from the light in my mouse (red laser light) that it was on before and then when I connected it to the ethernet it, after a while, didn't show its red laser light anymore. I also tried to reinstall Raspbian, didn't help.
Has anyone ever tried anything like this? Does the Raspberry Pi keep a failure log in which I could look at? Or anything else?
Update-I tried using another power source ( a garmin charger supplying 1A ) and yet again the pi crashed after sometime.So we can possibly rule out this being a power issue.