if the pedal is solid it will be a pressure fault
does the handbrake light come on at the same time (or stay on and not go off) ?
and does the pump stop buzzing after about 20 seconds or does it run on and on and on for ages?
i remember someone else had this problem and it was a short in one of the wires which was letting hte pump over run