Ethanol producer Aventine Renewable Energy has signed a $40 million loan agreement in a move it hailed "a significant milestone" in its turnaround plan.