By "alarm", are you talking about the traction control related piezo beep/ring?
It feels like you have no brakes, because there is no assist with the ABS/TRAC/VSC ECU not working properly.
I've heard of the ABS/master/booster pump/etc assembly in the engine bay going tits up, but your issue sounds to be ECU related.
The ECU is under the dash, where your clutch pedal should be. I would pull each connector out, and re-plug them in- just to make sure they're all seated 100% in their home.
Also, check your ABS/TRAC/VSC related fuses.
Have you done any wiring on your vehicle at all? Any aftermarket lights, alarm, stereo, etc installed?