Using Ubuntu 14.04 LTS.
In my case the error
[xxx.xxxxxx] end_request: I/O error, dev sda, sector nnnnnnnnn]
was visible when I went to the terminal session (ctrl + alt + F2) and made attempts to log in. (Actually I got a volley of this messages with the same sector number [...nnn...], but different report codes [...xxx...].)
The early problems showed up in the graphics environment playing around with the terminal. Commands such as ls
returned bus error
,
ls *
did Killed
, firefox &> Desktop/log
did bash:Desktop/log: Read-only file system
, and like oddities. Programs would not start from the desktop either.
Since both the bash and several desktop were unresponsive, I had to shut down the computer brutally via the power button.
In one case the computer restarted well at the third attempt.
In the last occurrence, sadly, it did not go any further than the BIOS with a Read error
, i.e. the system could not detect the hard disk at all, as feared and anticipated.
However, I have extracted the hard disk from the computer and then from its casing, so exposing some circuits. These were covered by a thin layer of fine dust.
In this design, the hard-disk casing also holds the fan cooling the CPU underneath. So there is a chance that the fine particles sucked in by the fan deposit at the back of it, under the hard disk and on top of its circuits, because that's a low pressure zone.
I then gently dusted off those circuits with a microfibre cloth, remounted the HD on the casing, reconnected the casing to the computer, and it all worked again. I also have the impression that the computer is a tad faster.
Before the last salute to your hard disk, please control if dust has settled on its circuitry.
It might be that the fickle behaviour does not mean borrowed time, and that your hard disk is in fact healthy.