# Allis Chalmers Energy Inc. POS AM filed Feb 21, 2006: Legal opinion

- Company: Allis Chalmers Energy Inc.
- Filing: Form POS AM (Post-effective amendment to a registration statement that is not immediately effective upon filing), filed Feb 21, 2006
- Document: Legal opinion (allis_ex0501.htm)
- Page for people: https://s6y.io/c/3982/POS_AM-20060221/allis_ex0501.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/3982/000101968706000418/allis_ex0501.htm
- This is the whole document, about 400 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/3982/POS_AM-20060221/allis_ex0501.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/3982/POS_AM-20060221/allis_ex0501.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

EXHIBIT 5.1

### GREENBERG GLUSKER FIELDS CLAMAN MACHTINGER & KINSELLA LLP 1900

Avenue of the Stars, Suite 2100

Los Angeles, CA 90067

February 16, 2006

Allis-Chalmers Energy Inc.

5075 Westheimer, Suite 890

Houston, Texas 77056

Re: Allis-Chalmers Corporation

Registration Statement on Form S-1

Ladies and Gentlemen:

At your request, we have examined the Registration Statement on Form S-1 (the "Registration Statement") to which this letter is attached as Exhibit 5.1 filed by Allis-Chalmers Energy Inc., a Delaware corporation (the "Company"), in order to register under the Securities Act of 1933, as amended (the "Act"), 9,411,391 shares of Common Stock of the Company and any additional shares of Common Stock of the Company which may be registered pursuant to Rule 462(b) under the Act (the "Shares"). The Shares consist of: (i) 8,166,530 shares that were acquired by certain investors (identified in the Registration Statement), and (ii) 1,244,861 shares that are issuable to upon the conversion of options and warrants issued to certain investors identified in the Registration Statement.

We have examined originals or certified copies of such corporate records of the Company and other certificates and documents of officials of the Company, public officials and others as we have deemed appropriate for purposes of this letter. We have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the conformity to authentic original documents of all copies submitted to us as conformed and certified or reproduced copies.

Based on the foregoing, we are of the opinion that (a) the 8,166,530 issued and outstanding Shares have been duly authorized, and are validly issued, fully paid and non-assessable, (b) the 1,244,861 Shares that may be issued upon exercise of outstanding options and warrants and other rights, upon issuance and sale in conformity with the agreements and receipt by the Company of the purchase price therefore as specified in the applicable agreements, will be validly issued, fully paid and non-assessable.

We consent to the use of this opinion as an Exhibit to the Registration Statement and to use of our name in the prospectus constituting a part thereof.

Very truly yours,

### /s/ Greenberg Glusker Fields Claman Machtinger & Kinsella LLP

### Greenberg Glusker Fields Claman Machtinger & Kinsella LLP
