I've been thinking alot about how computers could be better at handling events that make them crash and after a bit of a search found this research some guys are doing at washington uni.
http://www.cs.washington.edu/homes/mikesw/nooks/
Its already available to linux users and claims to prevent upto 90% of crashes by using a 'Middle ware' that acts as an intelligent go-between from the device drivers to the kernel,( which causes something like 85% of crashes). I dont have linux so cant vouch from experience but if you do have a go with it please post a result to let us know if it works.