Document:

<PAGE>

EXHIBIT 10.2

[COMERICA]

                                                                LOAN
                                                        REVISION/EXTENSION
                                                             AGREEMENT

                                    BORROWER

                  Kinergy Marketing LLC
Comerica Bank

                  5711 North West Avenue
                  Presno, CA  43711

                           [herein called "Borrower"]

[herein called "Bank"]

<TABLE>
<S> <C>
ORIGIONAL NOTE  INTEREST RATE        AMOUNT       NOTE DATE         MATURITY DATE    OBLIGOR#         NOTE#
INFORMATION
-----------------------------------------------------------------------------------------------------------
                   B+1.000%       $2,000,000.00     09/24/04            10/05/05     4218358501        18/59

</TABLE>

This Agreement is effective as of: June 20, 2005

ORIGINAL OBLIGATION:
         This Loan Revision Agreement refers to the loan evidenced by the above
Note dated September 24, 2004 in favor of Bank executed by Kinergy Marketing LLC
in the amount of $2,000,000.00 payable in full on October 05, 2005 [ ] Said
Note is secured by a Deed of Trust dated N/A (hereinafter referred to as the
"Encumbrance", recorded on N/A as Instrument No. N/A in the Office of County
Recorder of N/A County California.

  CURRENT OBLIGATION:
         The unpaid principal balance of said Note as of October 04, 2005 is
$0.00 on which interest is paid to June 20, 2005 , with a maturity of October
05, 2OO5 [ ] As modified by previous N/A dated N/A.

  REVISION:

         The undersigned Borrower hereby requests Bank to revise the terms of
said Note, and said Bank to accept payment thereof at the time, or times, in the
following manner:

The maturity date is hereby amended from October 5, 2005 to October 5, 2006.

The attached Addendum "B" is hereby attached to made a part of said Note.

         In consideration of Bank's acceptance of the revision of said Note,
including the time for payment thereof, all as set forth above, the Borrower
does hereby acknowledge and admit to such indebtedness, and further does
unconditionally agree to pay such indebtedness together with interest thereon
within the time and in the manner as revised in accordance with the foregoing,
together with any and all attorney's fees, cost of collection, and any other
sums secured by the Encumbrance.

         Any and all security for said Note including but not limited to the
Encumbrance, if any, may be enforced by Bank concurrently or independently of
each other and in such order as Bank may determine; and with reference to any
such security in addition to the Encumbrance Bank may, without consent of or
notice to Borrower, exchange, substitute or release such security without
affecting the liability of the Borrower, and Bank may release any one or more
parties hereto or to the above obligation or permit the liability of said party
or parties to terminate without affecting the liability of any other party or
parties liable thereon.

         This Agreement is a revision only, and not a novation; and except as
herein provided, all of the terms and conditions of said Note, said Encumbrance
and all related documents shall remain unchanged and in full force and effect.

         When one or more Borrowers signs this Agreement, all agree:

         a.       That where in this Agreement the word "Borrower" appears, it
                  shall read "each Borrower";
         b.       That breach of any covenant by any Borrower may at the Bank's
                  option be treated as breach by all Borrowers;
         c.       That the liability and obligations of each Borrower are joint
                  and several.

                                                    Kinergy Marketing LLC

Dated this 4th day of October, 2005
           ---        -------------                 ----------------------------
                                                    See Attached Signature Page,

The foregoing agreement is accepted this            ----------------------------

4th day of October, 2005                            ----------------------------
---        -------------
                                                    ----------------------------

                                                    ----------------------------
By: /s/ Robert Marlan
    ---------------------------                     ----------------------------
Robert Marlan
Vice President-Western Division

Each of the undersigned agree and consent to the foregoing revisions to this
Agreement and the Encumbrance, if any.

----------------------                              ----------------------------

----------------------                              ----------------------------

<PAGE>

Signature page to that certain Loan Revision/Extension Agreement dated October
4, 2005 by and between Kinergy Marketing LLC and Comerica Bank.

Kinergy Marketing LLC

By: Pacific Ethanol, Inc.
Its: Member

By: /s/ William G. Langley
   --------------------------------

its: CFO
    --------------------------------

By:
   --------------------------------

its:
    --------------------------------<PAGE>

EXHIBIT 10.3

[COMERICA LOGO]

October 4, 2005

Kinergy Marketing LLC
5711 North West Avenue
Fresno, CA 93711

This Letter Agreement is entered into by and between Comerica Bank ("Bank") and
Kinergy Marketing LLC, an Oregon limited liability company ("Borrower") as of
this 4th day of October, 2005, at Bank's headquarters office at 333 West Santa
Clara Street, San Jose, California 95113. This Letter Agreement amends,
restates, and supersedes in its entirety all letter agreements entered into
prior to the date hereof, including without limitation, that Letter Agreement
dated September 24, 2004 by and between Borrower and Bank.

Bank and Borrower agree that any loans which Bank in its sole discretion has
made or may now or hereafter make to Borrower (sometimes hereinafter
collectively referred to as the "Loan") shall be subject to the terms and
conditions of this Letter Agreement unless otherwise agreed to in writing by
Bank and Borrower. In the event there are contradictions between the provisions
of this Letter Agreement and any other written agreement with the Bank, this
Letter Agreement shall prevail. Loan shall be subject to the terms and
conditions of this Letter Agreement, promissory note(s) executed in connection
herewith and/or previously or subsequently executed, and all amendments,
renewals and extensions thereof (singularly or collectively, the "Note"), and
all those certain security agreements and/or such other security or other
documents as Bank has required or may now or hereafter require in connection
with the Loan (collectively, the "Loan Documents").

1. Borrower shall provide to Bank the following reports:

         a.   Annual CPA audited financial statements of Borrower and Pacific
              Ethanol, Inc. within 120 days of year end.
         b.   Quarterly company prepared financial statements of Borrower and
              Pacific Ethanol, Inc. within forty five (45) days of quarter end.
         c.   Accounts Receivable Agings within 45 days of quarter end.
         d.   Accounts Payable Agings within 45 days of quarter end.

2. Borrower agrees to at all times maintain the following financial ratios and
covenants on a consolidated and nonconsolidated quarterly basis:

         a.   Maintain a Quick Ratio of not less than 0.90:1.00.
         b.   Maintain a Debt-to-Tangible Effective Worth Ratio of not more than
              1.75:1.00.
         c.   Minimum Net income of at least $100,000.00.
         d.   Working Capital of not less than $1,000,000.00.

3. Borrower further agrees as follows:

         a.   That Borrower shall not, without the Bank's prior written consent,
              change its name, business structure, corporate identity or
              structure; add any new fictitious names, liquidate, merge or
              consolidate with or into any other business organization.

         b.   That Borrower shall keep all of its principal bank accounts with
              Bank and shall notify the Bank immediately in writing of the
              existence of any other bank account, deposit account, or any other
              account into which money can be deposited.

         c.   Borrower acknowledges and agrees that the credit facility(ies)
              referenced herein may be evidenced by a demand note(s) which is
              payable upon demand. Nothing in this Letter Agreement is intended
              to nor shall be deemed to change the demand nature of any credit
              facility. The purpose of this Letter Agreement is to provide a
              means for Bank to monitor the credit facility and demand may,
              therefore, be made even if the Borrower is in compliance with each
              and every provision of this Letter Agreement or the Note(s).

4. As used in this Letter Agreement the following terms shall have the meanings
set forth below. All initially capitalized terms used but not defined in this
Letter Agreement shall have the meanings assigned to such terms in the Note and
Loan Documents.

"Current Assets" shall mean, in respect of a Person and as of any applicable
date of determination, all current assets of such Person determined in
accordance with GAAP.

"Current Liabilities" shall mean, in respect of a Person and as of any
applicable date of determination, all liabilities of such Person that should be
classified as current in accordance with GAAP.

                                       1

<PAGE>

"Debt" shall mean, as of any applicable date of determination, all items of
indebtedness, obligation or liability of a Person, whether matured or unmatured,
liquidated or unliquidated, direct or indirect, absolute or contingent, joint or
several, that should be classified as liabilities in accordance with GAAP. In
the case of Borrower, the term "Debt" shall include, without limitation, the
Indebtedness.

"Net Income" shall mean the net income (or loss) of a Person for any applicable
period of determination, determined in accordance with GAAP, but excluding, in
any event:

         (a)  Any gains or losses on the sale or other disposition, not in the
              ordinary course of business, of investments or fixed or capital
              assets, and any taxes on the excluded gains and any tax deductions
              or credits on account on any excluded losses; and,

         (b)  In the case of Borrower, net earnings of any Person in which
              Borrower has an ownership interest, unless such net earnings shall
              have actually been received by Borrower in the form of cash
              distributions.

"Person" or "person" shall mean and includes any individual, corporation,
partnership, joint venture, firm, association, trust, unincorporated
association, joint stock company, government, municipality, political
subdivision or agency or other entity.

"Quick Assets" shall mean, as of any applicable date of determination,
unrestricted cash, certificates of deposit or marketable securities and net
accounts receivable arising from the sale of goods and services, and United
States Government securities and/or claims against the United States Government
of Borrower and its subsidiaries.

"Quick Ratio" shall mean, as of any applicable date of determination, Quick
Assets divided by Current Liabilities.

"Subordinated Debt" shall mean indebtedness of the Borrower to third parties
which has been subordinated to the Indebtedness pursuant to a subordination
agreement in form and content satisfactory to Bank.

"Tangible Effective Net Worth" shall mean, with respect to any Person and as of
any applicable date of determination, Tangible Net Worth plus Subordinated Debt.

"Tangible Net Worth" shall mean, with respect to any Person and as of any
applicable date of determination, the excess of (a) the net book value of all
assets of such Person (excluding affiliate receivables, patents, patent rights,
trademarks, trade names, franchises, copyrights, licenses, goodwill, and all
other intangible assets of such Person) after all appropriate deductions in
accordance with GAAP (including, without limitation, reserves for doubtful
receivables, obsolescence, depreciation and amortization), over (b) all Debt of
such Person at such time.

"Working Capital" shall mean, as of any applicable date of determination,
Current Assets less Current Liabilities.

Please acknowledge your understanding and acceptance of these terms and
conditions by signing below and returning this Letter Agreement to me. A copy
has been provided for your records.

Comerica Bank

By:     /s/ Robert Harlan
        -----------------------------------
        Robert Harlan

Title:  Vice President Western Division
        -----------------------------------

Acknowledged and Accepted this____day of_________________________.

Kinergy Marketing LLC

By:   Pacific Ethanol, Inc.
Its:  Member

By:  /s/ William G. Langley
     ----------------------

Its: CFO
     ----------------------

By:
     ----------------------

Its:
     ----------------------

                                       2

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00092-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00092-of-00352.parquet"}]]