Special PW build 2226 for Linux 2.6.24 kernels

Discussion in 'Installation and Configuration in Windows and Linux' started by spectre, Mar 27, 2008.

  1. spectre

    spectre Parallels Team

    Messages:
    270
    Dear Users,

    New build for Parallels Workstation for Linux is available.
    Please keep in mind that it isn't a release version, but a custom build that addresses issues with compiling Parallels Workstation modules on 2.6.24 kernels.

    There are several known issues with this version:
    - possible stability issues if there are network adapters in Bridged mode connected to VM
    - possible stability issues if Host OS X.org is using "intel" driver - change xorg.conf to "vesa" driver to resolve this issue

    We are looking forward to your feedback on this build, please submit any reports on the issues you may encounter to this thread to help us testing and troubleshooting this update further.

    Download links:
    http://download.parallels.com/GA/Parallels-2.2.2226-lin-en-parallels.tgz
    http://download.parallels.com/GA/Parallels-2.2.2226-lin-en-parallels.deb
    http://download.parallels.com/GA/Parallels-2.2.2226-lin-en-parallels.i386.rpm
     
    Last edited: Mar 27, 2008
  2. 1nept

    1nept Junior Member

    Messages:
    12
    To run PW build 2226 under linux kernel 2.6.25 one needs:

    1) To patch the kernel to restore export of init_mm symbol as described at this link:
    http://www.nvnews.net/vbulletin/showthread.php?t=109362
    (it seems to be enough just to have CONFIG_UNUSED_SYMBOLS=y in the kernel config)

    2) To apply the following patch to PW build 2226 (posted above) run something like:

    mkdir temp
    cd temp
    tar -xvzf /usr/lib/parallels/devel.tar.gz
    patch -p1 </path_to_patch/support_2.6.25.patch
    tar -czf devel.tar.gz *

    Copy created devel.tar.gz over original /usr/lib/parallels/devel.tar.gz and run parallels-config

    Code:
    diff -ru old/drivers/drv_main/compat/compat_memory.h new/drivers/drv_main/compat/compat_memory.h
    --- old/drivers/drv_main/compat/compat_memory.h	2008-03-13 21:00:00.000000000 -0700
    +++ new/drivers/drv_main/compat/compat_memory.h	2008-04-17 23:38:47.000000000 -0700
    @@ -115,7 +115,7 @@
     #endif
     
     /* change page attr */
    -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)
    +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20) && LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 25)
     # define compat_change_page_attr(pg, cnt, flag) change_page_attr(pg, cnt, flag)
     #else
     # define compat_change_page_attr(pg, cnt, flag) (0)
    diff -ru old/drivers/drv_main/vmmain.h new/drivers/drv_main/vmmain.h
    --- old/drivers/drv_main/vmmain.h	2008-03-13 21:00:00.000000000 -0700
    +++ new/drivers/drv_main/vmmain.h	2008-04-17 23:36:44.000000000 -0700
    @@ -19,6 +19,7 @@
     #ifndef __VMMAIN_H__
     #define __VMMAIN_H__
     
    +#include <asm/semaphore.h>
     #include <linux/slab.h>
     #include "timer.h"
     #include "compat/compat_memory.h"
     
    Last edited: Apr 24, 2008
  3. Morgano

    Morgano Junior Member

    Messages:
    13
    Hi
    2222 failed but 2226 worked nicely for me (except crash @ bridged mode) on original Mandriva Linux 2008 spring, with kernel 2.6.24.4-desktop-1mnb, :)

    But now after upgrade to kernel 2.6.24.4-desktop-3mnb i get "Invalid module format" trying load the compiled module:
    Code:
         Compiling Parallels Workstation 2.2 drivers...
         Drivers have been compiled successfully.
         Installing drivers...
         Starting drivers...
    Loading Parallels Workstation 2.2 hypervisor ...
    FATAL: Error inserting hypervisor (/lib/modules/2.6.24.4-desktop-3mnb/kernel/drivers/misc/parallels/hypervisor.ko): Invalid module format
     Can not load hypervisor module.
    Parallels Workstation drivers were successfully configured
    and compiled but cannot be started (insmod command failed).
    Run 'dmesg' command for more information.
    
    Using dmesg i see i seem to suggest it simply a naming problem?
    Code:
    hypervisor: version magic '2.6.24.4-3mnbcustom SMP mod_unload 686 ' should be '2
    .6.24.4-desktop-3mnb SMP mod_unload 686 '
     
  4. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    New build 2232 is ready, try to use it
     
  5. 1nept

    1nept Junior Member

    Messages:
    12
    But where it is?
    The official download page still offers to download build 2.2.2222.
     
  6. Morgano

    Morgano Junior Member

    Messages:
    13
    I wonder too.
    I tried to modify the number in the links in first post here, but just get redirected to the general download page.
     
  7. L0cutus

    L0cutus Bit poster

    Messages:
    6
    freeze

    With version 2.2226 patched for 2.6.25 kernel is simply impossible to use due to continue freeze of system while installing XP Professional :(

    host system Archlinux (latest)

    thanks.
     
  8. fromans

    fromans Member

    Messages:
    61
    Where can we download build 2232?
     
  9. Morgano

    Morgano Junior Member

    Messages:
    13
    Hello, I am a customer!!

    It seem Parallels do not care much, to either tell us where 2232 is alternatively they are afraid it wil give us mor problems - in that case please say so.

    Failing is one thing, but no communication about the status so i can plan work really is annoying.

    Also earler i had issues and the support did not answer promptly, but othe ruser could help. But now i ceratinly do not understand why they tell us to use something but do not tell where to get it...!

    This problem have us currently runing Virtualbox instead.

    We may get back to Parallels if they show some interest, i do have two licenses anyhow.

    I have also sent PM: no response for a week.
    Tried to join beta program: page link error.

    Now i tried google, and it found
    https://launchpad.net/ubuntu/hardy/+source/parallels/2.2.2232-1hardy3
    It seems that ubuntu users can use that?

    And *I* wonder if i could use the content of the files somehow to update or reinstall in Mandriva Linux? (rpm based)

    Or maybe an official upgrade is due soon?
     
  10. Morgano

    Morgano Junior Member

    Messages:
    13
    Update
    I upgraded the kernel to 2.6.24.5-desktop-1mnb (new today, Mandriva) and now parallells build 2226 works again :)
    At least currently.

    Still wondering about the 2232 build, and the future.
     
  11. boris

    boris Bit poster

    Messages:
    2
  12. Morgano

    Morgano Junior Member

    Messages:
    13
  13. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
  14. faa_70

    faa_70 Bit poster

    Messages:
    8
    i'm still having the same problem when i try to run parallels-config

    here is my uname -r
    2.6.25.4-10.fc8

    and the error log when i run parallels-config

    cd drivers && make KSRC=/lib/modules/2.6.25.4-10.fc8/build clean && cd ../
    make[1]: Entering directory `/usr/lib/parallels/drivers'
    cd drv_main/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    cd common; rm -rf *.o .*.cmd .tmp_versions; cd ..
    cd mm; rm -rf *.o .*.cmd .tmp_versions; 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'
    make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
    cd drv_net/linux/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_net/linux'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
    cd drv_virtualnic/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_virtualnic'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_virtualnic'
    make[1]: Leaving directory `/usr/lib/parallels/drivers'
    cd drivers && make KSRC=/lib/modules/2.6.25.4-10.fc8/build all && cd ../
    make[1]: Entering directory `/usr/lib/parallels/drivers'
    cd drv_main/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    cd common; rm -rf *.o .*.cmd .tmp_versions; cd ..
    cd mm; rm -rf *.o .*.cmd .tmp_versions; 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'
    make[2]: Leaving directory `/usr/lib/parallels/drivers/hypervisor'
    cd drv_net/linux/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_net/linux'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_net/linux'
    cd drv_virtualnic/ && make clean && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_virtualnic'
    rm -rf *.o *.ko .*.cmd *.mod.c .tmp_versions
    make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_virtualnic'
    cd drv_main/ && make KSRC=/lib/modules/2.6.25.4-10.fc8/build && cd ..
    make[2]: Entering directory `/usr/lib/parallels/drivers/drv_main'
    make -C /lib/modules/2.6.25.4-10.fc8/build SUBDIRS=/usr/lib/parallels/drivers/drv_main SRCROOT=/usr/lib/parallels/drivers/drv_main modules
    make[3]: Entering directory `/usr/src/kernels/2.6.25.4-10.fc8-i586'
    CC [M] /usr/lib/parallels/drivers/drv_main/vmmain.o
    In file included from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
    /usr/lib/parallels/drivers/drv_main/vmmain.h:193: error: field ‘pmmAccSem’ has incomplete type
    /usr/lib/parallels/drivers/drv_main/vmmain.h:206: error: field ‘wsSem’ has incomplete type
    make[4]: *** [/usr/lib/parallels/drivers/drv_main/vmmain.o] Error 1
    make[3]: *** [_module_/usr/lib/parallels/drivers/drv_main] Error 2
    make[3]: Leaving directory `/usr/src/kernels/2.6.25.4-10.fc8-i586'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/usr/lib/parallels/drivers/drv_main'
    make[1]: *** [vmmain] Error 2
    make[1]: Leaving directory `/usr/lib/parallels/drivers'
    make: *** [build] Error 2

    what am i missing?
     
  15. Morgano

    Morgano Junior Member

    Messages:
    13
    I know it does not help last poster, sorry.
    But as feedback i want to report that 2232 works on latest Mandriva kernel 2.6.24.5-desktop-1mnb
     
  16. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    On Ubuntu such error can be resolved as


    # sudo mv /bin/sh /bin/sh.old
    # sudo ln -s /bin/bash /bin/sh

    Please try on Fedora
     
  17. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    It seems to be related to 2.6.25 kernel, we are checking it now
     
  18. dhjdhj

    dhjdhj Hunter

    Messages:
    220
    I just upgraded from Fedora 8 to Fedora 9 in a final attempt to try and get a consistent kernel and set of kernel sources so I can get Parallels working.
    I'm getting the two errors related to incomplete types (pmmAccSem, and wsSem) and would love a reasonably simple solution.
    I am running the kernel 2.6.25.6-55.fc9.i686

    Any hope of a quick reslution to this one?
     
  19. dhjdhj

    dhjdhj Hunter

    Messages:
    220
    Well, any update --- is there a patch that will fix this compilation error?
     
  20. John@Parallels

    John@Parallels Forum Maven

    Messages:
    6,333
    Please wait, we checking various Oses
     

Share This Page