I am having same problem on my GS650G. The bike will suddenly switch off while riding. Computer will switch off. Nothing turns on at all. Connection to the battery seem ok, although on negative there is a little of white corrosion building up.
Could it be the solenoid? How to check for engine ground cable?
Any help would be appreciated.