For some reasons, some memory modules are not well recognized by some Mac... Maybe bad/cheap RAM quality...? Not sure if this can help, but try to reset the PRAM (press command-option-P-R during startup). If this does not work, boot into open firmware (command-option-O-F) then enter :
reset-nvram
reset-all
just in case...