Possible Duplicate:
How can I check my RAM and harddrive for errors?
Lately, I have been experiencing problems using an Apple (macbook pro 3,1 2GB ram) with Natty installed. In three consecutive occasions/days, the system has started to go extremely slow; running out of memory; using the swap a lot...., after searching and browsing a lot of images in images.google and facebook, and saving some from time to time.
Acording to top, Xorg was using from 35 to 60% of memory. But even after closing every single program launched from the GUI, the system continued to be extremely slow, and little mem appeared as free (Why can this hapen?). The last day this happened, the root partition was unmounted.
I suspected there could be a mem. or hard disk failure. So, after that issue, I ran memtest at boot time (which, by the way, cannot be controlled with the keyboard in this install --does that happen in all Macs?) and, after 8 passes, it showed some errors: it displayed "8 errors", but (why?) the count details, in the red error-lines of output, showed what seemed to be 10 errors: 1 in test 6, pass #4; and 9 between tests 5 and 6 in pass #5. That's all.
After booting again, I was asked if I wanted to fix errors in the disk. I answered 'F' (fix - not manual) and the system booted ok. I think dmesg shows no errors now.
The system continues to work fine (as long as I don't browse too many photos with firefox or don't stress it too much).
I want to know how are the memory chipsets and the Hard Disk. For that, I want to know:
How much can I rely on those memtest results? Is it more or less normal to have errors in memtest with a fine mem chipset? Should I perform further tests? Could a faulty memory give all those symptoms?.
What is a good way to check the HD and what to do afterwards? I want to know if there are bad blocks marked and check the root partition again. It is type 83 (according to all '?fdisk' commands) or ext4 (according to mount). The other partitions in the HD are swap, a fat32 and Apple's filesystem: HFS+