Patch for PW for Linux on 2.6.22+ Kernels

Discussion in 'Installation and Configuration in Windows and Linux' started by spectre, Aug 1, 2007.

  1. spectre

    spectre Parallels Team

    Messages:
    270
    Dear Customers,

    There is a known issue with installing Parallels Workstation 2.2 (build 2112) on the Linux system running kernel version 2.6.22 or newer. There is a patch available for Parallels Workstation as a temporary solution for the problem before the update will be released.

    Please check this KB article - http://kb.parallels.com/entry/500 for the detailed information.
     
  2. titetanium

    titetanium Member

    Messages:
    84
    Why a patch instead of an update?

    The reply title says it all. The way I see it, the upcoming update/upgrade is probably going to be more likely an upgrade as opposed to an update. It's been almost a year since we had any updates. A patch doesn't do us justice, I'd like an update instead. The mac users have been getting regular updates for free for so long, so why are you holding out till we have to pony up for an upgrade for us to see any of the vast improvements you've provided to the mac users for free?

    Sorry if I come off as ranting, but I feel cheated.
     
  3. fromans

    fromans Member

    Messages:
    61
    I also would like to know when a new version is going to be available? I held off buy 2.2 for so long in hopes that a new version would come out. Sadly, it did not, and now that I've bought it a version will come out and NO free upgrade will be the order of the day. It's nearly been a year. If the product is end of life, can we at least get fair notification? I'd rather not waste my time and just use VMware Workstation exclusively if Parallels for Win/Lin is dead.

    Edit: grammar.
     
    Last edited: Aug 8, 2007
  4. MaximS

    MaximS Forum Maven

    Messages:
    715
  5. fromans

    fromans Member

    Messages:
    61
    Yes I saw the update and dowloaded before your post. However it is not a a true update, it is only a maintenance release. When are we going to see more features and functionality? The canned response of "soon" or "in the coming months" is not acceptable. The time between releases has almost been 11 months. VMware / Virtual Box may be a dead horse, but that still doesn't change the fact that Parallels has completely disappointed whatever small base they had to begin with.
     
  6. rs37

    rs37 Member

    Messages:
    60
    The only thing I saw resolved by this 2.2 Build 2204 updated is that now /dev/sr0 (CD/DVD ROM) in Linux hosts is recognized by Parallels and finally we can use ImageTool.

    The bugged US International layout keyboard (dead-keys) and other keyboard issues like Brazilian ABNT2 layout are very old known problems and never resolved (only promisses).

    This keyboard bugs at least, Virtual Box team seems to trying to fix! And Parallels?
     
  7. 1nept

    1nept Junior Member

    Messages:
    12
    It does not install under kernel 2.6.23 with the following compilation error:

    In file included from /usr/lib/parallels/drivers/drv_main/vmmain.c:29:
    /usr/lib/parallels/drivers/drv_main/vmmain.h:196: error: expected specifier-qualifier-list before 'kmem_cache_t'
    /usr/lib/parallels/drivers/drv_main/vmmain.c: In function 'init_module':
    /usr/lib/parallels/drivers/drv_main/vmmain.c:82: error: 'struct <anonymous>' has no member named 'totalMem'

    Is there any fix/patch available?
    Thanks.
     
  8. 1nept

    1nept Junior Member

    Messages:
    12
    patch to support kernel 2.6.23

    I've traced the troubles with kernel 2.6.23 and created the following patch against Parallels Workstation build 2.2.2204. To apply this patch run something like:

    mkdir temp
    cd temp
    tar -xvzf /usr/lib/parallels/devel.tar.gz
    patch -p1 </path_to_patch/support_2.6.23.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/mm/manager.c new/drivers/drv_main/mm/manager.c
    --- old/drivers/drv_main/mm/manager.c   2007-09-17 21:00:00.000000000 -0700
    +++ new/drivers/drv_main/mm/manager.c   2007-11-01 16:52:03.000000000 -0700
    @@ -267,7 +267,7 @@
         INIT_LIST_HEAD(&vmGlobal.vmPmms.pmmList);
     
         vmGlobal.vmPmms.pmmRegionsSlab = kmem_cache_create("vmRegions", sizeof(struct pmm_region_t), 0,
    -                                                       SLAB_HWCACHE_ALIGN, NULL, NULL);
    +                                                       SLAB_HWCACHE_ALIGN, NULL);
         if (!vmGlobal.vmPmms.pmmRegionsSlab) {
             Err("Can't allocate vmRegions cache SLAB");
             return -1;
    diff -ru old/drivers/drv_main/vmmain.h new/drivers/drv_main/vmmain.h
    --- old/drivers/drv_main/vmmain.h       2007-09-17 21:00:00.000000000 -0700
    +++ new/drivers/drv_main/vmmain.h       2007-11-01 16:50:43.000000000 -0700
    @@ -193,7 +193,7 @@
             /* list of PMM's */
             struct list_head pmmList;
             /* regions cache */
    -        kmem_cache_t *pmmRegionsSlab;
    +        struct kmem_cache *pmmRegionsSlab;
             /* total guest memory */
             unsigned long totalMem;
         } vmPmms;
    diff -ru old/drivers/hypervisor/hypervisor.h new/drivers/hypervisor/hypervisor.h
    --- old/drivers/hypervisor/hypervisor.h 2007-09-17 21:00:00.000000000 -0700
    +++ new/drivers/hypervisor/hypervisor.h 2007-11-01 16:51:34.000000000 -0700
    @@ -127,7 +127,7 @@
     
     #ifndef _HYPER_BINARY_PART_
         /* slab cache for vmstates */
    -    kmem_cache_t *vmStateCache;
    +    struct kmem_cache *vmStateCache;
     
         /* list of vmstates */
         struct list_head vmStateList;
    diff -ru old/drivers/hypervisor/hypvmstate.c new/drivers/hypervisor/hypvmstate.c
    --- old/drivers/hypervisor/hypvmstate.c 2007-09-17 21:00:00.000000000 -0700
    +++ new/drivers/hypervisor/hypvmstate.c 2007-11-01 16:51:05.000000000 -0700
    @@ -167,7 +167,7 @@
     
         /* create slabcache */
         if (!(hypState.vmStateCache = kmem_cache_create(VMSTATE_SLABNAME, sizeof(struct hyp_vmstate_t), 0,
    -                                                    SLAB_HWCACHE_ALIGN, NULL, NULL)))
    +                                                    SLAB_HWCACHE_ALIGN, NULL)))
             return -ENOMEM;
     
         /* init list */
     
    Last edited: Nov 1, 2007
  9. dhjdhj

    dhjdhj Hunter

    Messages:
    220
    Compiles but hypervisor won't install

    I'm struggling to get this working on a Fedora 6 Core with kernel 2.6.22.9

    I did apply the patch and everything compiled with no problem.

    However, I"m now getting the error message that the drivers were successfully configured and compiled but cannot be started.

    I ran the dmesg command and the error message I'm seeing is

    hypervisor: version magic '2.6.22.9-61.fc6 SMP mod_unload 686 4KSTACKS ' should be '2.6.22.9-61.fc6 SMP mod_unload 586 4KSTACKS '


    How do I fix this (and any subsequent problems)?

    Thanks,
    David
     
  10. grimjack

    grimjack Bit poster

    Messages:
    2
    Great patch, made my F7 install install finally.
     
  11. dhjdhj

    dhjdhj Hunter

    Messages:
    220
    Hypervisor startup

    Nobody knows how to fix the problem preventing the hypervisor from starting?
     
  12. 1nept

    1nept Junior Member

    Messages:
    12
  13. CliveHarris

    CliveHarris Bit poster

    Messages:
    6
    Re: patch to support kernel 2.6.23

    I've just used that patch to install Parallels-2.2.2204 under a 2.6.23-gentoo-r3 kernel. It installed fine and seems to run OK. Many thanks
    Clive Harris
     
  14. jaked

    jaked Bit poster

    Messages:
    1
    crash with the kmem_cache_t patch?

    I tried this patch, but my machine freezes up completely when using Parallels. Anybody else have this problem? This is on Fedora 7 with all updates.
     
  15. markymarkster

    markymarkster Bit poster

    Messages:
    8
    Problems Installing Parallels on Linux Fedora Core 8 2.6.24

    Is anyone out there having problems with Parallels on 2.6.24? I've applied all the updates to Fedora Core 8 and Parallels won't compile.

    Thanks in advance,

    M
     
  16. L0cutus

    L0cutus Bit poster

    Messages:
    6
    kernel 2.6.25

    anyone have a patch for subj kernel ?
    i'm using archlinux and parallels doesn't setup....

    thanks !
     
  17. Morgano

    Morgano Junior Member

    Messages:
    13
    Build 2226 may work for you.
    On my Mandriva Linux
    It was doing nicely on kernel 2.6.24.4-desktop-3mnb in Mandriva as host
    But it failed loading on 2.6.24.4-desktop-4mnb
    EDIT: works a gain on kernel 2.6.24.5-desktop-1mnb

    You might try 2226 linked from here:
    http://forum.parallels.com/showthread.php?t=20323

    And if you find version 2232 anywhere please tell!
     
    Last edited: Jun 4, 2008
  18. boris

    boris Bit poster

    Messages:
    2
  19. Morgano

    Morgano Junior Member

    Messages:
    13
    Thank you! :)
     
  20. AdgarH

    AdgarH Bit poster

    Messages:
    7
    Hi,

    RHEL 5 has 2.6.18 kernel as default and I want to update it to 2.6.2x.
    How can I do this ??? I prefer to get rpm packages not tarballs. RHN has only 2.6.18 kernel.
     

Share This Page