May I ask you what ROM are you using for VM SGS2?
I'm not sure what you mean by incompatibility between cm10 and the software. I really do think GPS is not working on this build. I have tried rebooting my device multiple times, I have tried flashing and reflashing it multiple times, I have played with gps.conf file putting different servers in it (not sure why it's necessary, my P509 gets a lock in seconds without any data connection). I just have real difficulty obtaining GPS lock. Past friday I drove to pick up a friend of mine to go skiing, I wanted to use phone's GPS and I literally drove for 10 minutes after getting off the highway and my phone would not obtain GPS lock, I even put it on the dashboard to give it unobstructed view of the sky, and it still wouldn't lock after 10 minutes.
I did manage to get a lock next day, which is consistent with the GPS Test app, occasionally GPS test app would show 2 satellites in view (not in use) and I would get a lock, poor lock with poor accuracy (anywhere from 20 to 200 feet), but google maps were smart enough to put me on the right road.
However, I've tested this over and over multiple times in the last couple of days and GPS lock is extremely flaky, I never know if it's going to get a lock or not. I hate bloated stock firmware and I hate Samsung interface, their messaging app, and all the bloatware, but at least GPS works. I have seen someone say that certain devs include samsung TW files to interface with GPS and that is the only way to get it reliably working, but I'm not sure if that's true or not.
I thought this ROM would have working GPS, since it says so in the release notes, but apparently it is not true?
PS apparently I still cannot post links, but there are multiple thread of GPS not working on CM10 on E4GT on xda forums.