Possible Duplicate:
What should I do when Ubuntu freezes?
I have a problem with my Ubuntu 10.10 system which regularly freezes and can then only be switched off via the mains switch. When I try to re-start the system I need to try repeatedly before it will log in.
How can I trace the reason for this and correct it?