Arduino Micro butterfly_recv error

Hi,

I was using my arduino micros which i purchased about a month ago, and one of them suddenly started giving a “butterfly_recv” error
The same error is mentioned at : avrdude: butterfly_recv(): programmer is not responding · Issue #19 · Robot-Will/Stino · GitHub
But no proper solution was found then

Any idea how i can solve this ?

The micro was moving as it was attached to some moving parts, so I thought maybe theUSB jack may have somehow broken, but it doesnt seem so.
I am using Ubuntu - 13.10
Also, on windows, the micro gets detected for about 2 seconds and then vanishes from serial port list.

Any idea how to fix this :\

(deleted)