Can you try booting your system with single ram module? Try all ram slots. Does it work in all slots?
Then repeat this with next ram module.
This would reveal, if any slot is bad or any module is bad.
Then you can try updating BIOS to latest version. This can sometimes solve ram compatibility issues.