2.4.3, VMWare, 2 VMs
Quoted 6 lines · Wade Hampton
Is anyone having problems with running more than 1 VM on 2.4.3. I have crashed my host O/S several times when I try to start two VMs. Currently, I don't have an oops or other info to report, but I did see a post on the vmware list about 2.4.3 SMP and VMWARE.
As I already answered on VMware newsgroups:
VMware's 2.0.3 vmmon module uses save_flags() + cli() in poll() fops, and after this cli() it calls spin_lock() :-( It is not safest thing to do. But it should not cause reboot. You should get
/dev/vmmon: 11 wait for global VM lock XX
and now dead machine with disabled interrupts...
As all other callers of HostIF_GlobalVMLock() hold big kernel lock, easiest thing to do is to add lock_kernel()/unlock_kernel() around LinuxDriver_Poll() body.
Removing whole save_flags/cli is for sure much better, but it is still in my queue (if you are looking into vmmon driver, then whole poll mess is there to get wakeup on next jiffy, and not on next + one...).
Petr Vandrovec [email protected]
Quoted 5 lines · Petr Vandrovec
Quoted 1 line · Wade Hampton
Is anyone having problems with running more than
As I already answered on VMware newsgroups:
Thanks. I didn't see the post on the VMware newsgroup....
Quoted 6 lines
VMware's 2.0.3 vmmon module uses
save_flags()+cli()inpoll()fops, and after thiscli()it callsspin_lock():-( It is not safest thing to do. But it should not cause reboot. You should get
/dev/vmmon: 11 wait for global VM lock XX
I had over 2000 of those in /var/log/messages (not counting the "repeated" lines in /var/log/messages). Yep, that's the problem....
Quoted 2 lines
and now dead machine with disabled interrupts...
Yes, basically a dead machine with NO response to anything....
Quoted 10 lines
As all other callers of
HostIF_GlobalVMLock()hold big kernel lock, easiest thing to do is to add lock_kernel()/unlock_kernel() aroundLinuxDriver_Poll()body.Removing whole save_flags/cli is for sure much better, but it is still in my queue (if you are looking into vmmon driver, then whole poll mess is there to get wakeup on next jiffy, and not on next + one...).
No, I can wait for the a release that fixes this. If you have a patch or test version, send it to me and I'll test it on my development machine....
For now, I'll just not use 2 VMs until it is fixed.
Cheers,
Signature · 1 line
W. Wade, Hampton <[email protected]>