leatherjacket
June 4th, 2010, 01:28 PM
Many Parallels users are having issues with Parallels after upgrading to Ubuntu 10.04
Tried posting this solution on the Parallels Forum, but the website does not want to play along :-(
After struggling with it for a couple of hours I finally managed to get it working
Below is a rough outline of what I did -
Reply to this post if you have particular issues - Can't guarantee the solution, but
it worked for me ...
---------------------------------------------------------------------------------------
Fixing Parallels to run on Ubuntu 10_04 x64bit after Ubuntu 10.04 upgrade - not sure if this will work on fresh install
>> sudo -i
run the Parallels installer (it will crash at 96% complete)
Find the temp directory in /tmp into which the parallels kernel module sources where installed
typically /tmp/.XXXXXXX (i.e. it is a HIDDEN directory) - lets call this directory TMPDIR
it contains
ChangeLog dkms.conf Makefile src(dir)
edit the file in TMPDIR/parallels-kernel-modules/src/vtd/prl_os.c
add the line: #include "/linux/sched.h"
make sure that you have the kernel headers installed in your system
change back to "tmpdir"/parallels-kernel-modules
run 'make '
(this should compile the new kernel module without errors)
"tmpdir"/parallels-kernel-modules is also the place where dkms.conf can be found - to install the module follow the following steps:
1) add the kernel-module to the dkms system using the following commands (replacing xxx.xxx with the version number of your parallels 4.0 installer)
dkms add -m parallels-desktop -v 4.0.xxx.xxx
dkms build -m parallels-desktop -v 4.0.xxx.xxx
dkms install -m parallels-desktop -v 4.0.xxx.xxx
2) reboot the machine (might not be required - but I did it just in case)
3) change to /etc/init.d in a terminal
sudo ./parallels-desktop start
You should now be able to run Parallels Desktop without trouble
Hope this helps
The Parallels Forum did not want me to upload this fix :-(
-------------------------------------------------------------------------------------------------------------------------
Tried posting this solution on the Parallels Forum, but the website does not want to play along :-(
After struggling with it for a couple of hours I finally managed to get it working
Below is a rough outline of what I did -
Reply to this post if you have particular issues - Can't guarantee the solution, but
it worked for me ...
---------------------------------------------------------------------------------------
Fixing Parallels to run on Ubuntu 10_04 x64bit after Ubuntu 10.04 upgrade - not sure if this will work on fresh install
>> sudo -i
run the Parallels installer (it will crash at 96% complete)
Find the temp directory in /tmp into which the parallels kernel module sources where installed
typically /tmp/.XXXXXXX (i.e. it is a HIDDEN directory) - lets call this directory TMPDIR
it contains
ChangeLog dkms.conf Makefile src(dir)
edit the file in TMPDIR/parallels-kernel-modules/src/vtd/prl_os.c
add the line: #include "/linux/sched.h"
make sure that you have the kernel headers installed in your system
change back to "tmpdir"/parallels-kernel-modules
run 'make '
(this should compile the new kernel module without errors)
"tmpdir"/parallels-kernel-modules is also the place where dkms.conf can be found - to install the module follow the following steps:
1) add the kernel-module to the dkms system using the following commands (replacing xxx.xxx with the version number of your parallels 4.0 installer)
dkms add -m parallels-desktop -v 4.0.xxx.xxx
dkms build -m parallels-desktop -v 4.0.xxx.xxx
dkms install -m parallels-desktop -v 4.0.xxx.xxx
2) reboot the machine (might not be required - but I did it just in case)
3) change to /etc/init.d in a terminal
sudo ./parallels-desktop start
You should now be able to run Parallels Desktop without trouble
Hope this helps
The Parallels Forum did not want me to upload this fix :-(
-------------------------------------------------------------------------------------------------------------------------