Let G split as a finite connected reduced graph of finitely generated free abelian groups whose edge images are direct summands. Then G is linear if and only if its vertex groups have finite stature. In this case we construct an embedding into \SLN(\Q[u]). Otherwise G contains an amalgam (B⋊MZ)∗E(E×Z), where E is a direct summand of B with infinite M-orbit. We prove that every such amalgam is nonlinear over every field.