The problem appears to be caused by a series of monomorphic markers.
A plot of the LOD curves showed a huge spike at the tip of one of the
chromosomes; this is probably where those "X'X is singular" warnings
are coming from.
I used geno.table() to view the genotype counts for the markers on
that chromosome (I've anonymized the marker names and chromosome
name). See below.
karl
> geno.table(x2, chr="1")
chr missing AA AB BB not.BB not.AA P.value
mar1 1 5 360 0 0 0 0 3.026772e-235
mar2 1 3 139 184 39 0 0 9.578999e-13
mar3 1 1 142 182 40 0 0 3.862013e-13
mar4 1 5 141 182 37 0 0 8.754122e-14
mar5 1 5 140 183 37 0 0 1.513102e-13
mar6 1 5 147 174 39 0 0 6.950241e-15
mar7 1 4 148 173 40 0 0 6.799797e-15
mar8 1 2 150 174 39 0 0 1.332038e-15
mar9 1 1 172 162 30 0 0 9.716309e-26
mar10 1 1 172 161 31 0 0 1.687788e-25
mar11 1 1 363 0 1 0 0 4.051523e-236
mar12 1 1 364 0 0 0 0 7.502619e-238
mar13 1 5 360 0 0 0 0 3.026772e-235
mar14 1 1 364 0 0 0 0 7.502619e-238
mar15 1 0 365 0 0 0 0 1.674061e-238
mar16 1 0 365 0 0 0 0 1.674061e-238
mar17 1 0 365 0 0 0 0 1.674061e-238
mar18 1 0 365 0 0 0 0 1.674061e-238
mar19 1 0 365 0 0 0 0 1.674061e-238
mar20 1 1 364 0 0 0 0 7.502619e-238
mar21 1 0 365 0 0 0 0 1.674061e-238
mar22 1 1 364 0 0 0 0 7.502619e-238