Document:

<PAGE>

                                                                    EXHIBIT 10.6

                    ACKNOWLEDGEMENT, WAIVER #2 AND AMENDMENT
                                       TO
                               FINANCING AGREEMENT

         This ACKNOWLEDGMENT, WAIVER #2 AND AMENDMENT ("Amendment") TO THE
AMENDED AND RESTATED REVOLVING CREDIT AGREEMENT is made as of March 29, 2002 by
and between Pemstar Inc., duly organized under the laws of the State of
Minnesota ("Customer"), Turtle Mountain Corporation, duly organized under the
laws of the State of North Dakota ("Turtle Mountain") and Pemstar Pacific
Consultants Inc., duly organized under the laws of the State of California
("Pemstar Pacific Consultants") (Customer, Turtle Mountain and Pemstar Pacific
Consultants, collectively, the "Credit Parties", individually, a "Credit
Party"), and IBM Credit Corporation, a Delaware corporation ("IBM Credit").

                                    RECITALS:

         WHEREAS, the Credit Parties and IBM Credit have entered into that
certain Amended and Restated Revolving Credit Agreement dated as of June 29,
2001 (as amended, supplemented or otherwise modified from time to time, the
"Agreement");

         WHEREAS, the Credit Parties are in default of one or more of its
financial covenants contained in the Agreement (as more specifically explained
in Section 2 hereof); and

         WHEREAS, IBM Credit is willing to waive such defaults subject to the
terms and conditions set forth below.

                                    AGREEMENT

         NOW, THEREFORE, in consideration of the premises set forth herein, and
for other good and valuable consideration, the value and sufficiency of which is
hereby acknowledged, the parties hereto agree that the Agreement is amended as
follows:

Section 1. Definitions. All capitalized terms not otherwise defined herein shall
have the respective meanings set forth in the Agreement.

Section 2. Acknowledgment.

         The Credit Parties acknowledge that the financial covenants set forth
in Attachment A to Agreement are applicable to the financial results of the
Credit Parties for the fiscal months ending January 31, 2002 and February 28,
2002, and the Credit Parties were required to maintain such financial covenants
at all times. The Credit Parties further acknowledge that their actual
attainment was as follows:

<TABLE>
<CAPTION>
                                                                                            Covenant Actual
                                                                     Covenant Actual for    for the monthly
                                                                     the monthly period      period ending
                 Covenant                 Covenant Requirement        ending 01/31/2002        02/28/2002
                 --------                 --------------------        -----------------        ----------
<S>     <C>                          <C>                                <C>                  <C>
(a)     Net Profit after Tax to      Equal to or Greater than 0.75           N/A                   N/A
        Revenue                      percent quarterly and Equal
                                     to or Greater than 1.25%
                                     annually

(b)     Total Liabilities to         Greater than Zero and Equal           1.36:1.0             1.32:1.0
        Tangible Net Worth           to or Less than 2.50:1.0

</TABLE>

                                       Page 1 of 9

<PAGE>

<TABLE>
<S>     <C>                          <C>                                <C>                  <C>
(c)     Current Assets to Current    Greater than 1.50:1.00                2.59:1.0             2.66:1.0
        Liabilities

(d)     Fixed Charge Coverage        Equal to or Greater than             (1.95:1.0)           (2.58:1.0)
        Ration                       1.30:1.0

(e)     Maximum Capital              Less than or equal to               $36,251,488           $38,277,587
        Expenditures                 $32,000,000 for the fiscal
                                     year ending March 2002

(f)     Net Profit After Tax to      Equal to or greater than 0.1            N/A                   N/A
        Revenue (U.S. Credit         percent
        Parties operations only)

</TABLE>

Section 3. Waivers to Agreement. Subject to the terms and conditions set forth
herein including, without limitation, Section 5 hereof, IBM Credit hereby waives
the defaults of the Credit Parties with the terms of the Agreement to the extent
such defaults are set forth in Section 2 hereof. The waiver shall not be
effective until the conditions to effectiveness set forth in Section 5 have been
fulfilled to IBM Credit's satisfaction in its sole discretion.

Section 4. Amendment.

         The Agreement is hereby amended as follows:

         A. Attachment A to the Agreement is hereby amended by deleting such
Attachment A in its entirety and substituting, in lieu thereof, the Attachment A
attached hereto. Such new Attachment A shall be effective as of the date
specified in the new Attachment A. The changes contained in the new Attachment A
include, without limitation, the following:

(A) Credit Facility; Revolving A; Seventy Million Dollars ($70,000,000)
Revolving Credit Facility.

Notwithstanding the foregoing, Revolving A shall be reduced to Sixty-five
Million Dollars ($65,000,000) if the Credit Parties' Net Profit after Tax to
Revenue attainment is less than 0% for the fiscal quarter ending March 31, 2002
as determined by IBM Credit based on the Credit Parties' draft financial
statements due to IBM Credit on April 30, 2002 or other financial information
provided or available to IBM Credit. Such reduction in the Credit Facility shall
be effective immediately when IBM Credit determines that the Credit Parties' Net
Profit after Tax to Revenue attainment was less than 0%.

(B) Borrowing Base.

         (i) 90% of the amount of each Credit Party's Eligible Accounts from
International Business Machines Corp ("IBM") or its domestic subsidiaries as
account debtor pursuant to agreements between such Credit Party and IBM in form
and substance satisfactory to IBM Credit as of the date of determination as
reflected in the Customer's most recent Collateral Management Report;

         (ii) 80% of the amount of each Credit Party's Eligible Accounts from
Honeywell Inc. ("Honeywell"), Minnesota Mining & Manufacturing Company ("3M"),
and Applied Materials, Inc. ("Applied Materials") as account debtor, provided
such account debtors remain investment grade, in IBM Credit's sole discretion,
and pursuant to agreements between such Credit Party and such account debtor, in
form and substance satisfactory to IBM Credit as of the date of determination as
reflected in the Customer's most recent Collateral Management Report;

                                       Page 2 of 9

<PAGE>

         (iii) For the period prior to April 3, 2002, 80% of TMC, Inc. (a North
Dakota corporation) ("TMC") Eligible Accounts, but in no event greater than
$6,000,000 for the period from the date hereof through but excluding April 3,
2002. On and after April 3, 2002, TMC Eligible Accounts will be given $0 value
for purposes of calculating the Borrowing Base.

         (iv) 80% of the amount of each Credit Party's other Eligible Accounts,
other than Concentration Accounts, as of the date of determination as reflected
in the Customer's most recent Collateral Management Report provided, however,
IBM Credit has a first priority security interest in such Eligible Account;

         (v) a percentage, determined from time to time by IBM Credit in its
sole discretion, of the amount of Customer's Concentration Accounts for a
specific Concentration Account Debtor as of the date of determination as
reflected in the Customer's most recent Collateral Management Report; unless
otherwise notified by IBM Credit, in writing, the percentage for Concentration
Accounts for a specific Concentration Account Debtor shall be the same as the
percentage set forth in paragraph (ii) of the Borrowing Base;

The following subsections (vi), (vii), (viii) and (ix) specify valuation rates
for Eligible Finished Goods Inventory, Eligible Parts Inventory and Eligible
Inventory (as such items are defined below) for the following Credit Parties' at
the specified locations:

Pemstar Inc. = Rochester, MN
Pemstar Inc. = San Jose, CA
Pemstar Inc. = Taunton, MA
Turtle Mountain Corporation = Dunseith, ND

         (vi) Rochester, MN = 96%, San Jose, CA = 0%, Taunton, MA = 0%,
Dunseith, ND = 97% of the lower of (x) book value or (y) fair market value of
each Credit Party's Eligible Finished Goods Inventory destined for IBM aged less
than 180 days;

         (vii) Rochester, MN = 84%, San Jose, CA = 0%, Taunton, MA = 0%,
Dunseith, ND = 75% of the lower of (x) book value or (y) fair market value of
each Credit Party's Eligible Parts Inventory destined for IBM aged less than 180
days;

         (viii) Rochester, MN = 69%, San Jose, CA = 80%, Taunton, MA = 0%,
Dunseith, ND = 75% of the lower of (x) book value or (y) fair market value of
each Credit Party's Eligible Inventory destined for Honeywell, 3M, and Applied
Materials aged less than 180 days;

         (ix) Rochester, MN (other than Eligible Finished Goods Inventory,
Eligible Parts Inventory and Eligible Inventory destined for Celestica) = 48%,
Rochester, MN (for Eligible Finished Goods Inventory, Eligible Parts Inventory
and Eligible Inventory destined for Celestica) = 59%, San Jose, CA = 59%,
Taunton, MA = 58%, Dunseith, ND = 60% of the lower of (x) book value or (y) fair
market value of each Credit Party's other Eligible Inventory aged less than 180
days, provided, however, IBM Credit has a first priority security interest in
such Eligible Inventory.

Eligible Finished Goods Inventory shall mean finished goods inventory in salable
condition aged less than 180 days, owned by a Credit Party free and clear of any
Liens (other than Liens pursuant to this Agreement), and designated and
identified as product to be sold to IBM as evidenced by (i) non-cancellable
purchase orders from IBM or (ii) a non-cancellable written agreement that IBM
will purchase such inventory, in each case, in form and substance satisfactory
to IBM Credit.

Eligible Parts Inventory shall mean parts Inventory and floor stock raw
materials in good condition aged less than 180 days, owned by a Credit Party
free and clear of any Liens (other than Liens pursuant to this Agreement), and
designated and identified as parts to be used to manufacture product (the
Eligible Finished

                                       Page 3 of 9

<PAGE>

Goods Inventory) to be sold to IBM as evidenced by (i) non-cancellable purchase
orders from IBM to such Credit Party or (ii) a non-cancellable written agreement
that IBM will purchase such inventory, in each case, in form and substance
satisfactory to IBM Credit.

Eligible Inventory shall mean raw materials, floor stock raw materials and
finished goods inventory aged less than 180 days and owned by a Credit Party
free and clear of any Liens (other than Liens pursuant to this Agreement)
designated and identified by the Customer in its periodic collateral report or
borrowing request to IBM Credit as inventory application to product sold, or to
be manufactured and sole, by a Credit Party to an end-user pursuant to
non-cancellable purchase orders or other written agreements binding such end
user to purchase such product, in each case, in form and substance satisfactory
to IBM Credit.

Notwithstanding the foregoing, IBM Credit may consider Eligible Finished Goods
Inventory, Eligible Parts Inventory and/or Eligible Inventory in the Borrowing
Base greater than 180 days old provided that (i) a purchase order is in place
between the end-user and the Credit Party, in form and substance satisfactory to
IBM Credit or (ii) Credit Party provides evidence to IBM Credit, in form and
substance satisfactory to IBM Credit, that the end-user is paying all carrying
costs associated with such Eligible Finished Goods Inventory. Eligible Parts
Inventory and/or Eligible Inventory. Under no circumstances will Eligible
Inventory be considered in the Borrowing Base if older than 365 days.

IBM Credit will consider Eligible Finished Goods Inventory, Eligible Parts
Inventory and/or Eligible Inventory to be ineligible if the end-user customer
with respect to such Eligible Finished Goods Inventory, Eligible Parts Inventory
and/or Eligible Inventory becomes delinquent in its payments of accounts
receivable to the Credit Parties and such accounts receivable owing from such
account debtor are not eligible pursuant to the terms of Section 3.1(C) of the
Agreement.

Notwithstanding the foregoing, assets of Pemstar Pacific Consultants shall not
be included for the purposes of calculating the Borrowing Base. For purposes of
calculating the Borrowing Base, Pemstar Pacific Consultants shall not be deemed
a Credit Party.

(C) Collateral Insurance Amount: Seventy Million Dollars ($70,000,000).

(D) Applicable Margin: (i) Effective as of the date hereof and hereafter
(subject to the next sentence), the Applicable Margin shall be Prime Rate plus
3.00%. (ii) If on October 20, 2002, IBM Credit determines that the Credit
Parties are in full compliance with the covenants set forth in the Agreement and
that no Default or Event of Default exists, then for the period beginning
October 20, 2002 and thereafter the Applicable Margin for determining an A/R
Advance shall be based upon the previous fiscal quarter's Cash Flow Leverage
Ratio as of the relevant date of determination, as set forth below.

Cash Flow Leverage Ratio            LIBOR Margin           Prime Rate Margin
------------------------            ------------           -----------------
Less than or Equal to 1.5:1.0          1.75%                      0.00%

Greater than 1.5:1.0 and
  Less than or Equal to 2.5:1.0        2.25%                     0.375%

Greater than 2.5:1.0 and
  Less than or Equal to 3.5:1.0        2.75%                     0.875%

Greater than 3.5:1.0 and
  Less than or Equal to 4.50:1.0       3.00%                     1.125%

Greater than 4.50:1.0                  3.50%                     1.625%

         The date of determination (for purposes of this clause ii) shall be the
first day of the calendar month following the earlier of (i) receipt by IBM
Credit of the financial statements required by Section 7.1 showing a change in
the Cash Flow Leverage Ratio, and (ii) receipt and consent by IBM Credit of a
notice from the Customer requesting a change in the Applicable Margin based on
the Customer's Cash Flow Leverage Ratio. Each subsequent change in the
Applicable Margin shall be effective on the first day of the calendar month
following the earlier of (i) receipt by IBM Credit of the financial statements
required by Section 7.1

                                       Page 4 of 9

<PAGE>

showing a change in the Cash Flow Leverage Ratio from the prior fiscal quarter,
and (ii) receipt and consent by IBM Credit of a notice requesting a change in
the Applicable Margin.

         As of any date, the Cash Flow Leverage Ratio shall be the Cash Flow
Leverage Ratio as calculated in the quarterly financial statements last received
by IBM Credit pursuant to Section 7.1, provided that a change in the Applicable
Margin shall not be effective until the first day of the calendar month
following the receipt by IBM Credit of such financial statements, and provided
further that for any period during which Customer fails to deliver the quarterly
financial statements as required under Section 7.1, the Cash Flow Leverage Ratio
shall be deemed to be greater than 4.50:1.0

(E) Delinquency Fee Rate:          Prime Rate plus 6.500%

(F) Shortfall Transaction Fee:     Shortfall Amount multiplied by 0.30%

(G) Other Charges:

(i) Unused Line Fee: 0.375% per annum on the daily average unused portion of the
Credit Line for each day from the closing date of the Agreement and shall be
computed on the basis of a 360 day year and payable monthly in arrears and upon
the maturity or termination of the Agreement.

(ii) Prepayment Fee: A prepayment premium, payable to IBM Credit in the event
that the Customer terminates the Credit Line prior to the third year anniversary
of the closing date, in an amount equal to the amount of the Credit Line in
effect as of the date of notice of termination or date of default, multiplied by
one half of one percent (0.50%).

(b) Customer will be required to maintain the following financial ratios,
percentages and amounts as of the last day of the fiscal period under review by
IBM Credit:

On a consolidated basis:

        Covenant                       Covenant Requirement
        --------                       --------------------

 (a)    Net Profit after Tax to        Equal to or Greater than 0.75
        Revenue                        percent quarterly and Equal to
                                       or Greater than 1.25% annually

 (b)    Total Liabilities to           Greater than Zero and Equal to
        Tangible Net Worth             or Less than 2.50:1.0

 (c)    Current Assets to Current      Greater than 1.50:1.0
        Liabilities

 (d)    Fixed Charge Coverage Ratio    Equal to or Greater than 1.30:1.0

 (e)    Maximum Capital Expenditures   Less than or equal to
                                       $32,000,000 for the fiscal
                                       year ending March 2002

 (f)    Net Profit After Tax to        Equal to or greater than 0.1 percent
        Revenue (U.S. Credit Parties
        operations only)

                                       Page 5 of 9

<PAGE>

On and after the date the Proposed Debt Issuance is closed and the transactions
contemplated thereunder are closed (provided such date is on or prior to April
12, 2002 (and IBM Credit and US Bank provide written consent to the Proposed
Debt Issuance and the gross cash proceeds from the Proposed Debt Issuance is at
least $20,000,000 and the other conditions to effectiveness set forth in Section
5 hereof have been satisfied), Customer will be required to maintain the
following financial ratios, percentages and amounts as of the fiscal period
under review by IBM Credit:

<TABLE>
<CAPTION>
          Covenant                       Covenant Requirement
          --------                       --------------------
   <S>                                   <C>
   (a)    Net Profit After Tax to        Equal to or Greater than 0.75 percent quarterly for
          Revenue                        the fiscal quarter ending September 30, 2002 and
                                         all fiscal quarters thereafter and Equal to
                                         or Greater than .6 percent for the fiscal
                                         year ending March 31, 2003 and 1.25 percent
                                         for all fiscal year ends thereafter

   (b)    Total Liabilities to           Greater than Zero and Equal to or Less than 1.6:1.0
          Tangible Net Worth

   (c)    Current Assets to Current      Greater than 2.0:1.0
          Liabilities

   (d)    Fixed Charge Coverage Ratio    Equal to or Greater than 1.00:1.0 for each
                                         fiscal month beginning December 31, 2002,
                                         including the fiscal months ending January
                                         31, 2003 and February 28, 2003 and 1.30:1.0
                                         for each fiscal month beginning March 31,
                                         2003 and for all fiscal months thereafter

   (e)    Maximum Capital Expenditures   Less than or equal to $40,000,000 for
                                         the fiscal year ending March 31, 2002 and
                                         $18,000,000 for the fiscal year ending March
                                         31, 2003 and all fiscal year ends
                                         thereafter.

   (f)    Net Profit After Tax to        Equal to or greater than 0.1 percent for the fiscal
          Revenue (U.S. Credit Parties   quarter ending December 31, 2002 and all fiscal
          operations only)               quarters thereafter

   (g)    EBITDA (U.S. Credit Parties    Equal to or Greater than ($5,700,000) for fiscal
          operations only)               quarter ending March 31, 2002 and ($8,300,000) for
                                         the six months ending June 30, 2002

   (h)    EBITDA                         Equal to or Greater than ($9,600,000) for fiscal
                                         quarter ending March 31, 2002 and ($8,300,000) for
                                         the six months ending June 30, 2002
</TABLE>

(c) The following new definition is added:

"Proposed Debt Issuance": shall mean the convertible subordinated debt issued by
the Customer on terms and conditions and pursuant to documentation satisfactory
to IBM Credit in its sole discretion."

(d) The definition of Termination Date is hereby deleted in its entirety and
restated as follows:

"Termination Date": shall mean June 29, 2004 or such other date as IBM Credit
and Customer may agree from time to time; provided however if the Credit
Parties' Net Profit after Tax to Revenue attainment is less

                                       Page 6 of 9

<PAGE>

than 0% for the fiscal quarter ending March 31, 2002, as determined by IBM
Credit based on the Credit Parties' draft financial statements due to IBM Credit
on April 30, 2002 or any other information provided or available to IBM Credit,
"Termination Date" shall mean June 29, 2003 or such other date as IBM Credit and
Customer may agree from time to time."

(e) The following new Section 9.1(U) is added:

"(U) The Credit Parties fail to maintain direct lockbox participation to a
minimum of 85% prior to IBM Credit's next on-site collateral audit scheduled on
or about June 2002 and at all times thereafter. Direct lockbox participation
means that remittances from the account debtors in respect of the Accounts go
directly to the lockbox."

(f) Schedule 6.20 is deleted in its entirety and replaced with Schedule 6.20
attached hereto.

(g) Schedule 6.27 is deleted in its entirety and replaced with Schedule 6.27
attached hereto.

(h) Attachment C to the Agreement is hereby amended by deleting such Attachment
C in its entirety and substituting, in lieu thereof, the Attachment C attached
hereto. Such new Attachment C shall be effective as of the date specified in the
new Attachment A.

Section 5. Conditions to Effectiveness of Waiver. The waiver set forth in
Section 3 hereof shall become effective only upon the fulfillment of all of the
following conditions precedent to the satisfaction of IBM Credit in its sole
discretion of (i) this Amendment shall have been executed by each of the parties
hereto and IBM Credit shall have received a fully executed copy of this
Amendment by no later than March 29, 2002, (ii) IBM Credit shall have received
evidence satisfactory to it in its sole discretion that U.S. Bank shall have
waived all defaults under its financing facility with the Credit Parties by no
later than March 29, 2002, (iii) IBM Credit shall have given its written consent
to the Proposed Debt Issuance and the transactions contemplated thereby and the
Proposed Debt Issuance shall have closed on or prior to April 12, 2002, all on
terms and conditions satisfactory to IBM Credit and the gross cash proceeds
resulting from the Proposed Debt Issuance shall be at least $20,000,000 and (iv)
US Bank shall have consented to the proposed Debt Issuance prior to April 12,
2002 and such consent shall be in form and substance satisfactory to IBM Credit.

Section 6. Additional Requirements. The Agreement is hereby amended by inserting
therein the following new sections:

Additional Covenants

(a) The Credit Parties shall: (i) execute a lockbox agreement with a bank
acceptable to IBM Credit, in form and substance satisfactory to IBM Credit; and
(ii) execute a Contingent Blocked Account Amendment and cause a bank,
satisfactory to IBM Credit, to execute such Contingent Blocked Account Amendment
on or prior to April 30, 2002 in accordance with Section IV of Attachment A.

(b) The Credit Parties shall provide to IBM Credit, Compliance Certificates, in
form and substance satisfactory to IBM Credit, providing detail as described in
the new Compliance Certificate attached hereto.

(c) The Credit Parties shall provide draft financial statements for the Credit
Parties' to IBM Credit for Customer's fiscal year end March 31, 2002, in form
and substance satisfactory to IBM Credit, on or prior to April 30, 2002.

(d) The Credit Parties shall have provided a stock pledge agreement and opinion
of Japanese counsel with respect to Pemstar Japan K.K. in form and substance
(and from counsel satisfactory to IBM Credit) satisfactory to IBM Credit on or
prior to April 30, 2002.

                                       Page 7 of 9

<PAGE>

(e) The Credit Parties shall have provided all remaining foreign stock pledges
and foreign opinions of counsel, all in form and substance satisfactory to IBM
Credit, on or prior to April 30, 2002.

(f) If the Proposed Debt Issuance is closed, Customer agrees not to amend or
modify the terms of the convertible subordinated debt issued pursuant to the
Proposed Debt Issuance without the prior written consent of IBM Credit.

The failure by any of the Credit Parties to comply with any of the above
covenants or the failure of any of the above requirements to be satisfied
(within the above time frames) in IBM Credit's determination in its sole
discretion shall constitute an immediate Event of Default under the Agreement.

Section 7. Rights and Remedies. Except to the extent specifically waived herein
IBM Credit reserves any and all rights and remedies that IBM Credit now has or
may have in the future with respect to each Credit Party, including any and all
rights or remedies which may have in the future as a result of each Credit
Parties' failure to comply with its financial covenants or any other covenants
to IBM Credit. Except to the extent specifically waived herein neither this
Amendment, any of IBM Credit's actions or IBM Credit's failure to act shall be
deemed to be a waiver of any such rights or remedies. The Credit Parties and IBM
Credit agree that failure to comply with the terms and provisions of this
Amendment or the Agreement constitute a new default under the Agreement. Nothing
herein shall be deemed a consent to the Proposed Debt Issuance.

Section 8. Governing Law. This Amendment shall be governed by and interpreted in
accordance with the laws which govern the Agreement.

Section 9. Counterparts. This Amendment may be executed in any number of
counterparts, each of which shall be an original and all of which shall
constitute one agreement.

Section 10. Covenants. The parties have discussed the possibility of amending
certain financial covenants in light of the projections of the Credit Parties.
Nothing herein is a commitment to change the financial covenants.

Section 11. Representations. The Credit Parties and Pemstar Pacific Consultants
hereby represent that this Amendment is a legal, valid, binding obligation of
such parties and enforceable in accordance with its terms.

                                       Page 8 of 9

<PAGE>

         IN WITNESS WHEREOF, this Amendment has been executed by duly authorized
representatives of the undersigned as of the day and year first above written.

IBM Credit Corporation                      Pemstar Inc.

By:/s/ Albert G. Mitchell                   By:/s/ William J. Kullback
   ---------------------------------           ---------------------------------
Print Name:Albert G. Mitchell               Print Name:William J. Kullback
           -------------------------                   -------------------------
Title: Business Unit Executive              Title: CFO
      ------------------------------             -------------------------------
Date: 03-29-02                              Date: 03-29-02
     -------------------------------            --------------------------------

Turtle Mountain Corporation                 Pemstar Pacific Consultants, Inc.

By:/s/ Roy Bauer                            By:/s/ Al Berning
   ---------------------------------           ---------------------------------
Print Name:Roy Bauer                        Print Name:Al Berning
           -------------------------                   -------------------------
Title:VP GM Pemstar Rochester               Title:CEO
      ------------------------------              ------------------------------
Date:03-29-02                               Date:03-29-02
     -------------------------------             -------------------------------

By:/s/ Al Berning
   ---------------------------------
Print Name:Al Berning
           -------------------------
Title:CEO
      ------------------------------
Date:03-29-02
     -------------------------------

                                       Page 9 of 9<PAGE>

                                                                    Exhibit 10.7

                                 AMENDMENT NO. 3
                                       TO
                 AMENDED AND RESTATED REVOLVING CREDIT AGREEMENT

         This Amendment No. 3 ("Amendment") to the Amended and Restated
Revolving Credit Agreement is made as of May 3, 2002 by and among Pemstar Inc.,
duly organized under the laws of the State of Minnesota ("Customer"), Turtle
Mountain Corporation, duly organized under the laws of the State of North Dakota
("Turtle Mountain") and Pemstar Pacific Consultants Inc., duly organized under
the laws of the State of California ("Pemstar Pacific Consultants") (Customer,
Turtle Mountain and Pemstar Pacific Consultants, collectively the "Credit
Parties", individually a "Credit Party") and IBM Credit Corporation, a Delaware
corporation ("IBM Credit").

                                    RECITALS:

         A. The Credit Parties have entered into that certain Amended and
Restated Revolving Credit Agreement dated as of June 29, 2001 (as amended,
modified or supplemented from time to time, the "Agreement").

         B. The parties have agreed to modify the Agreement as more specifically
set forth below, upon and subject to the terms and conditions set forth herein.

                                    AGREEMENT

         NOW THEREFORE, in consideration of the premises and other good and
valuable consideration, the receipt and sufficiency of which is hereby
acknowledged, the Credit Parties and IBM Credit hereby agree as follows:

Section 1. Definitions. All capitalized terms not otherwise defined herein shall
have the respective meanings set forth in the Agreement.

Section 2. Amendment. The Agreement is hereby amended as follows:

A. Attachment A to the Agreement is hereby amended as follows:

1. Section I. (A) is amended in its entirety to read as follows

"(A) Credit Facility: Revolving A: Sixty-five Million Dollars ($65,000,000)
Revolving Credit Facility"

2. Section III Financial Covenants is amended by (i) amending the definition of
Subordinated Debt used in Section III of Attachment A in its entirety to read as
follows: "Subordinated Debt" shall mean Customer's indebtedness to third parties
as evidenced by an executed Notes Payable Subordination Agreement in favor of
IBM Credit including without limitation "Subordinated Debt (2002);" and (ii)
deleting the following paragraph:

"On and after the date the Proposed Debt Issuance is closed (provided such date
is on or prior to May 7, 2002 and the transactions contemplated thereby are
closed and IBM Credit and US Bank provide written consent to the Proposed Debt
Issuance and the gross cash proceeds from the Proposed Debt Issuance is at least
$20,000,000 and the conditions to effectiveness set forth in Section 5 hereof
have been satisfied), Customer will be required to maintain the following
financial ratios, percentages and amounts as of the fiscal period under review
by IBM Credit:..."

and substituting in lieu thereof the following new paragraph:

                                       Page 1 of 6

<PAGE>

"On and after the date the initial tranche of Subordinated Debt (2002) is closed
(provided that such date is on or prior to May 8, 2002 ("Initial Funding Date")
and IBM Credit and US Bank provide written consent to the Subordinated Debt
(2002) and the gross cash proceeds received by the Customer from the initial
tranche of Subordinated Debt (2002) is at least $5,000,000 on the Initial
Funding Date and the conditions to effectiveness set forth in Section 5 of
Acknowledgment, Waiver #2 and Amendment to Financing Agreement dated March 29,
2002 between the Credit Parties have been satisfied (except that Customer shall
only be required to receive gross cash proceeds from the initial tranche of
Subordinated Debt (2002) in an amount equal to $5,000,000 by May 8, 2002),
Customer will be required to maintain the following financial ratios,
percentages and amounts as of the fiscal period under review by IBM Credit:..."

B. (a) The following new definitions are added:

"Change of Control": as defined in the Securities Purchase Agreement.

"Enforcement Action": as defined in the Subordinated Convertible Notes.

"Securities Purchase Agreement": means that Securities Purchase Agreement dated
May 3, 2002 between Customer, Smithfield Fiduciary LLC and Citadel Equity Fund
Ltd.

""Subordinated Convertible Notes": shall mean those certain subordinated
convertible notes as issued by Customer pursuant to the Securities Purchase
Agreement in favor of certain holders in the form of the note attached to
Amendment No. 3 to the Amended and Restated Revolving Credit Agreement dated May
3, 2002 among the parties hereto."

""Subordinated Debt (2002)": shall mean all of the indebtedness, liabilities and
obligations of the Customer to the holders of the Subordinated Convertible
Notes, as evidenced by the Subordinated Convertible Notes."

"Subordinated Debt Documents": shall mean the Subordinated Convertible Notes,
the warrants issued by the Customer in favor of the holders of the Subordinated
Debt (2002), the Registration Rights Agreement, dated May 3, 2002 between the
Customer and the holders of the Subordinated Debt (2002) and the Securities
Purchase Agreement.

"Triggering Event": as defined in the Securities Purchase Agreement.

"Triggering Event Redemption Notice": as defined in the Securities Purchase
Agreement.

(b) The following new Section 7.19. is added:

"7.19. Subordinated Convertible Notes. Customer agrees to adhere to the terms of
the Subordinated Convertible Note and the other Subordinated Debt Documents.
Customer promptly, but in no event later than 1 day after its receipt thereof,
give to IBM Credit copies of all notices (including without limitation notices
of any redemptions under the Subordinated Convertible Notes) given and received
in connection with the Subordinated Debt Documents and Subordinated Debt (2002)
including without limitation, notices of any Triggering Event, Change of
Control, Triggering Event Redemption Notice, Triggering Event Notice, Change of
Control Notice, Change of Control Redemption Notice and notice of a sale or
disposition of assets by the Customer and/or its Subsidiaries which would allow
the holders of the Subordinated Debt (2002) to take an Enforcement Action and
notices of any Triggering Event or Change of Control or a sale of assets of the
Customer or any (direct or indirect) Subsidiary or Affiliate of Customer that
could allow the holder of the Subordinated Debt (2002) to take an Enforcement
Action (as such capitalized terms are defined in the Subordinated Convertible
Notes).

(c) Section 8.2. is amended in its entirety to read as follows:

                                       Page 2 of 6

<PAGE>

"8.2. Disposition of Assets. No Credit Party will (nor will any Credit Party
permit any of its direct or indirect Subsidiaries, including without limitation,
Foreign Subsidiaries to) directly or indirectly, sell, lease, assign, transfer
or otherwise dispose of any assets other than (i) sales of inventory in the
ordinary course of business and short term rental of inventory as demonstrations
in amounts not material to it, and (ii) voluntary dispositions of individual
assets and obsolete or worn out property in the ordinary course of business,
provided, that the aggregate book value of all such assets and property so sold
or disposed of under this section 8.2 (ii) in any fiscal year shall not exceed
5% of the consolidated assets of such Credit Party or Subsidiary as of the
beginning of such fiscal year. Notwithstanding the foregoing, in no event shall
any Credit Party or any other direct or indirect Subsidiaries of any Credit
Party (including, without limitation, Foreign Subsidiaries) sell assets for less
than fair value.

(d) Section 8.14. is amended in its entirety to read as follows:

"8.14. Indebtedness. No Credit Party will create, incur, assume or permit to
exist any Indebtedness except for (i) Permitted Indebtedness and (ii)
Subordinated Debt (2002) issued by the Customer up to $50,000,000 provided that
the first tranche of debt must be issued by no later than May 8, 2002 in an
amount not less than $5,000,000."

(e) The following new Section 8.21. is added:

"8.21. The Credit Parties shall not cause or permit any Affiliate or Subsidiary
of any Credit Party to (directly or indirectly including any Foreign
Subsidiaries) redeem, acquire or purchase, the Subordinated Debt (2002) from the
Customer or any holder of the Subordinated Debt (2002). Prior to the
indefeasible payment in full of the Obligations, the Credit Parties shall not
(and shall not permit any Affiliate or Subsidiary of a Credit Party), directly
or indirectly, make any payment on, or redeem, repurchase, defease or make any
sinking fund payment on account of, or any other provision for, or otherwise
pay, acquire or retire for value, any of the Subordinated Convertible Notes and
the Subordinated Debt (2002) except for (a) regularly scheduled payments of
interest (which shall not include payments due upon the giving of any Redemption
Notice (as defined in the Subordinated Convertible Notes) that are not
prohibited by Section 15 of the Subordinated Convertible Notes and other
subordination provisions therein or by any other subordination agreement and (b)
Pro Rata Permitted Payments (as defined in the Securities Purchase Agreement)."

(f) The following new Section 8.22. is added:

"8.22. The Customer shall not amend, modify or supplement the Subordinated Debt
Documents or any of the terms and conditions of the Subordinated Debt (2002)
without the prior written consent of IBM Credit."

(g) The following new Section 9.1.(V) is added:

"9.1.(V) (i) A breach of Section 7.19., 8.2., 8.14., 8.21. or 8.22. shall have
occurred, (ii) any Triggering Event or default occurs under the terms of any of
the Subordinated Convertible Notes, (iii) any Change of Control occurs (iv) any
sale of assets by the Customer or any of its (direct or indirect) Subsidiaries
or Affiliates shall have occurred for less than fair value without the consent
of IBM Credit (v) any holder of the Subordinated Debt (2002) shall deliver a
Triggering Event Redemption Notice, Holder Redemption Notice or Change of
Control Redemption Notice, or the Customer shall deliver a Company Optional
Redemption Notice (as such capitalized terms are defined in the Subordinated
Convertible Note) or (vi) any other event shall have occurred that would permit
any holder of all or any portion of the Subordinated Debt (2002) to declare the
Subordinated Debt (2002) to be due and payable prior to the Maturity Date (as
defined in the Subordinated Convertible Note) or that would result in
acceleration of the Subordinated Debt (2002) or redemption of the Subordinated
Debt (2002)."

(h)  The following new Sections 9.1.(W) and 9.1.(X) are added:

                                       Page 3 of 6

<PAGE>

"9.1.(W) (i) The occurrence of a default or any event of default under the terms
of any agreement between U.S. Bank (or any other holder of Senior Indebtedness)
(as defined in the Subordinated Convertible Notes) (other than IBM Credit) and
the Credit Parties (ii) the failure of any Credit Party to pay to U.S. Bank (or
any other holder of Senior Indebtedness other than IBM Credit) when due any
indebtedness under any agreement between U.S. Bank (or such other holder of
Senior Indebtedness) and the Credit Parties or (iii) the failure by the Customer
to notify IBM Credit in writing immediately of any blocking notice or default
notice given by any holder of Senior Indebtedness pursuant to the Subordinated
Convertible Notes."

"9.1.(X) The Customer shall have failed to issue an initial tranche of
Subordinated Debt (2002) in an amount at least equal to $5,000,000 by May 8,
2002."

         Section 3. Representations and Warranties. Each Credit Party makes to
IBM Credit the following representations and warranties all of which are
material and are made to induce IBM Credit to enter into this Amendment.

Section 3.1 Accuracy and Completeness of Warranties and Representations. All
representations made by each Credit Party in the Agreement were true and
accurate and complete in every respect as of the date made, and, as amended by
this Amendment, all representations made by each Credit Party in the Agreement
are true, accurate and complete in every material respect as of the date hereof,
and do not fail to disclose any material fact necessary to make representations
not misleading. Section 3.2 Violation of Other Agreements. The execution and
delivery of this Amendment and the performance and observance of the covenants
to be performed and observed hereunder do not violate or cause any Credit Party
not to be in compliance with the terms of any agreement to which any Credit
Party is a party.

Section 3.3 Litigation. Except as has been disclosed by the Credit Parties to
IBM Credit in writing, there is no litigation, proceeding, investigation or
labor dispute pending or threatened against any Credit Party, which, if
adversely determined, would materially adversely affect any Credit Party's
ability to perform any Credit Party's obligations under the Agreement and the
other documents, instruments and agreements executed in connection therewith or
pursuant hereto. Section 3.4 Enforceability of Amendment. This Amendment has
been duly authorized, executed and delivered by the Credit Parties and is
enforceable against each Credit Party in accordance with its terms.

Section 4. Ratification of Agreement.Except as specifically amended hereby, all
of the provisions of the Agreement shall remain unamended and in full force and
effect. Nothing herein shall be deemed a waiver of any default or consent. Each
Credit Party hereby ratifies, confirms and agrees that the Agreement, as amended
hereby, represents a valid and enforceable obligation of each Credit Party, and
is not subject to any claims, offsets or defenses.

Section 5. Governing Law. This Amendment shall be governed by and interpreted in
accordance with the laws which govern the Agreement.

Section 6. Counterparts. This Amendment may be executed in any number of
counterparts, each of which shall be an original and all of which shall
constitute one agreement.

Section 7. Conditions to Effectiveness. This Amendment shall only become
effective upon the fulfillment of the following conditions precedent to the
satisfaction of IBM Credit:

         1. IBM Credit shall have given its written consent to (i) the issuance
of the Subordinated Debt (2002) and (ii) the Subordinated Debt Documents;

         2. U.S. Bank shall have given its written consent to the issuance of
(i) the Subordinated Debt (2002) and (ii) the Subordinated Debt Documents and
the consent shall be in form and substance satisfactory to IBM Credit;

                                       Page 4 of 6

<PAGE>

         3. This Amendment shall have been executed by all the parties hereto;

         4. Before and after giving effect to this Amendment, the
representations and warranties in Section 6 of the Financing Agreement shall be
true and correct as though made on the date hereof. The execution by the Credit
Parties of this Amendment shall be deemed a representation that the Credit
Parties have complied with the foregoing condition; and

         5. Before and after giving effect to this Amendment, no Default or
Event of Default shall have occurred and be continuing under the Financing
Agreement. The execution by the Credit Parties of this Amendment shall be deemed
a representation that the Credit Parties have complied with the foregoing
condition.

         IN WITNESS WHEREOF, this Amendment has been executed by duly authorized
officers of the undersigned as of the day and year first above written.

Pemstar Inc.                               Turtle Mountain Corporation

By: /s/ Linda E. Feuss                     By: /s/ Linda U. Feuss
    ----------------------------------         ---------------------------------

Print Name: Linda E. Feuss                 Print Name: Linda U. Feuss
            --------------------------                 -------------------------

Title: Vice President, General Counsel     Title: Secretary
       -------------------------------            ------------------------------

Date: May 3, 2002                          Date: May 3, 2002
      --------------------------------           -------------------------------
ATTEST:                                    ATTEST:

/s/ John E. Miller                         /s/ John E. Miller
--------------------------------------     -------------------------------------

Print Name: John E. Miller                 Print Name: John E. Miller
            --------------------------                 -------------------------

Pemstar Pacific Consultants Inc.           IBM Credit Corporation

By: /s/ Linda U. Feuss                     By: /s/ Sal Grasso
    ----------------------------------         ---------------------------------

Print Name: Linda U. Feuss                 Print Name: Sal Grasso
            --------------------------                 -------------------------

Title: Secretary                           Title: Manager of Credit
       -------------------------------            ------------------------------

Date: May 3, 2002                          Date: 5/3/02
      --------------------------------           -------------------------------
ATTEST:                                    ATTEST:

/s/ John E. Miller
--------------------------------------     -------------------------------------

Print Name: John E. Miller                 Print Name:
            --------------------------                 -------------------------

                                       Page 5 of 6

<PAGE>

                            Form of Subordinated Note

                                       Page 6 of 6

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