Parallels with Ubuntu 7.04 as host

weux

Bit poster
I beleive I have installed all of the nessesary packages. I have edited some of the files from sh to bash. But I still get this error.

Code:
eric@eric-desktop:~$ sudo parallels-config


     Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.24833.error
eric@eric-desktop:~$
 
I'm getting a similar issue trying to install Parallels using the *.deb package under Ubuntu 6.10 (Edgy Eft) even after confirming the package installations mentioned in the FAQ.

I believe there might be a problem with the version of gcc. Even though I have 3.4 installed the symbolic link for gcc is gcc-4.1.

weux, how did you modify the scripts for bash?

Sorry for double threading, but there seems to be lots of Ubuntu as guest chatter and very few Ubuntu for host talk.

sudo parallels-config
Password:


[: 141: ==: unexpected operator
Compiling Parallels Workstation 2.2 drivers...
Drivers have been compiled successfully.
/usr/bin/parallels-config: 175: pushd: not found
/usr/bin/parallels-config: 186: popd: not found
Installing drivers...
Starting drivers...
/usr/lib/parallels/autostart/drivers_start: 19: Syntax error: "(" unexpected
Parallels Workstation drivers were successfully configured
and compiled but cannot be started (insmod command failed).
Run 'dmesg' command for more information.
exit: 3: Illegal number: -1
 
I think I figured this out for Edgy and it may work for Feisty.

Ubuntu uses dash as an alias for sh. After I created a new symbolic link for sh, everything worked.

sudo mv /bin/sh /bin/sh.bak
sudo ln -s /bin/bash /bin/sh
sudo parallels-config​
 
You can also just change /bin/sh to /bin/bash in /usr/lib/parallels/autostart/drivers_start (&stop) as well as in /usr/bin/parallels-configure
 
weux... I have the same problem. I had parallels running fine under Edgy but I get the same error as you when I try to get it to work under Feisty. I've changed the /bin/sh to /bin/bash like I did for Edgy but no luck. In addition I tried linking /bin/bash to /bin/sh to no avail. It appears we have another problem.
 
Yup,

I'm having the same problem under Feisty (upgraded from Edgy). I tried a clean install of Parallels 2.2 and tried all the bash stuff recommended above.

No joy :(
 
More of the Same

I had the same problem and found that after modifying the prlnet.c file as just described, I then had to create the symbolic link as described earlier in this thread.

jrasmussen0 said:
I think I figured this out for Edgy and it may work for Feisty.

Ubuntu uses dash as an alias for sh. After I created a new symbolic link for sh, everything worked.

sudo mv /bin/sh /bin/sh.bak
sudo ln -s /bin/bash /bin/sh
sudo parallels-config​
Thanks! Now, Parallels works as well as it did under 6.06.
 
Ubuntu 7.04, FreeBSD 5.5 and no direct tcp/ip

Having done all this to update parallels, I now have a working vm on Ubuntu 7.04.

The problem is, ubuntu and my emulated OS (Freebsd 5.5) can't talk together.

FreeBSD gets a dhcp-assigned ip-address, and I can ssh to it from other hosts on the network, and back again. But I can't ssh between Ubuntu and the FreeBSD image. I've tested ftp and telnet as well, so it's a general tcp/ip problem. The connection opens, but data only seems to flow from FreeBSD to Ubuntu, not the other way, as seen by telnetting port 22 on both hosts.

I've tried setting mtu down to 576 on all interfaces, but to no avail. Any clues?

(This setup worked fine on Ubuntu 6.06, btw).
 
Hi everyone,

I've followed all the above steps (modified prlnet.c, according to http://forums.parallels.com/thread6035.html), and have also followed jrasmussen0's steps, yet I'm still getting the following error.

//----------------------------------------------------------------------------------------------------------
Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.14327.error
------------------------------------------------------------------------------------------------------------//

Log file is attached. Any help is greatly appreciated. Thanks in advance.
-OrozcoVision
 

Attachments

So I tried both the editing of that particular file mentioned in the other thread, and swithcing to bash yet I can't get Parallels working in Ubuntu. It now errors out rather quickly when before it ran for a bit. Current error is:

Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.12652.error
 
Orozcovision,

Try downloading the zipped file from the link I provided earlier in this thread. Unzip it, then run
mv /usr/lib/parallels/drivers/drv_net/linux/prlnet.c /usr/lib/parallels/drivers/drv_net/linux/prlnet.c.old
then run:
cp -a prlnet.c /usr/lib/parallels/drivers_net/linux/prlnet.c
After running tho above as root, try the parallels-config command again. It should work.

Cfjedimaster,

I can't get your error file to look at, but if it is anything like the above poster's error file, then you should do the same thing as above.

titetanium
 
I have the error in this post:

[: 141: ==: unexpected operator
Compiling Parallels Workstation 2.2 drivers...

Can not compile and/or link drivers. Read /usr/lib/parallels/doc/INSTALL
and follow instructions specified in this document.

Compilation log is available at /usr/lib/parallels/comp.log.16320.error

I did everything in this post... but the error is there:o

Could someone here give me a hand...

this part of my log showing errors.... sorry I dont know how to attach it

log name: /usr/lib/parallels/comp.log.17387.error
-- --- - - - -
make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
/bin/sh: [[: not found
/bin/sh: [[: not found
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
cd drv_net/linux/ && make clean && cd ..

make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
cd hypervisor/ && make clean && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/hypervisor'
/bin/sh: [[: not found
/bin/sh: [[: not found
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
cd drv_net/linux/ && make clean && cd ..

LD [M] /usr/lib/parallels/drivers/drv_main/vm-main.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "hypervisorPresentInSystem" [/usr/lib/parallels/drivers/drv_main/vm-main.ko] undefined!
WARNING: "appDecCounter" [/usr/lib/parallels/drivers/drv_main/vm-main.ko] undefined!
WARNING: "appIncCounter" [/usr/lib/parallels/drivers/drv_main/vm-main.ko] undefined!
CC /usr/lib/parallels/drivers/drv_main/vm-main.mod.o
LD [M] /usr/lib/parallels/drivers/drv_main/vm-main.ko

MODPOST 1 modules
WARNING: could not find /usr/lib/parallels/drivers/hypervisor/.interrupt.o.cmd for /usr/lib/parallels/drivers/hypervisor/interrupt.o
CC /usr/lib/parallels/drivers/hypervisor/hypervisor.mod.o
LD [M] /usr/lib/parallels/drivers/hypervisor/hypervisor.ko
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
cd drv_net/linux/ && make && cd ..
make[2]: Entering directory `/usr/lib/parallels/drivers/drv_net/linux'
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/usr/lib/parallels/drivers/drv_net/linux SRCROOT=/usr/lib/parallels/drivers/drv_net/linux modules
make[3]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
make[4]: *** No rule to make target `/usr/lib/parallels/drivers/drv_net/linux/prlnet.o', needed by `/usr/lib/parallels/drivers/drv_net/linux/vm-bridge.o'. Stop.
make[3]: *** [_module_/usr/lib/parallels/drivers/drv_net/linux] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
make[1]: *** [vmbridge] Error 2
make[1]: Leaving directory `/usr/lib/parallels/drivers'
make: *** [build] Error 2

- - - - -

there are a lot of deprecated messages

thanks
 
Last edited:
Back
Top