hi Greg, look here
http://www.xt660.com/showthread.php?t=19882 as it is the first place to check, also make sure the gear lever spindle is not bent and is moving freely. I kinda documented my gearbox failure its at
http://www.xt660.com/showthread.php?t=17351
let us know how you get on