The gas valve is bad if there is gas getting to the valve but no gas on the other side of the valve (no flame on the primary burner).