Properly identify which master cylinder you have, as a starting point, and check that it's properly plumbed in to your brake pressure regulator. A solid pedal suggests a lack of movement in the calipers for some reason.
Some part numbers for google comparison
GMC 227 - yellow band master
GMC 195 - black band master
FAM 7821 - valve