|"I had upgraded the memory by installing 2 new modules and the problem surfaced after this."|
You may have loosened or damaged some connection while doing that.
Try using a different data cable to the drive.
Ram that works in another mboard , or any ram you buy or have lying around, may not work properly, or sometimes, not at all - even if it physically fits and is the right overall type (e.g. SDram, DDR, DDR2, etc.; PCxxxx, xxx mhz) for your mboard. In the worst cases of incompatibilty your mboard WILL NOT BOOT all the way with it installed, and the mboard may not even beep - the ram has to be compatible with the mboard's main chipset, or in the case of recent mboards, compatible with the memory controller built into the cpu.
In the case of lesser ram incompatibilty problems, or a poor connection of the ram in it's slots, you only get a tiny amount of ram errors - your system seems to work more or less normally, yet you get occaisional random weird symptoms.
I've never heard of that causing a CD drive to eject it's tray, but that's possible.
The only way you can definately rule out you are not experiencing a small amount of ram errors is to test the ram after having made sure the ram has a good connection in it's slots.
See response 2 in this - try cleaning the contacts on the ram modules, and making sure the modules are properly seated:
If you do a ram test, do that AFTER having tried cleaning the contacts and making sure the ram is seated properly - otherwise any errors found may be FALSE.
If the ram is incompatible with the chipset, it will likely FAIL a ram test - that is NOT a true indication of the ram being faulty - there is probably nothing wrong with it, and it will pass the test if installed in a mboard it is compatible with.
If a ram test DOES find errors, if you have more than one module installed, try the test with one module at a time - sometimes they won't work properly when more than one is installed, but it will pass when by itself.
If you want to try a memory diagnostic utility that takes a lot less time to run a full pass than memtest86 does, this one is pretty good - Microsoft's
Windows Memory Diagnostic:
It can be toggled (press T) to do a standard or a more comprehensive set of tests - use the default 6 test one first - if it passes one pass of that, use the latter one. A few of the tests in the latter set are intentionally slower.
If you don't have a floppy drive, see the Quick Start Information at that Microsoft link for how to make a bootable CD of the Windows Memory Diagnostic (you need Windiag.iso - you don't necessarily need to use the program they mention to add it to the CD).