Comments

3.8-rc4 – VMware problem, but ‘old’ NVIDIA still OK.. — 5 Comments

  1. Very simple patch to get it building again on rc4 :-
    — vmci-only/linux/driver.c 2012-08-16 05:53:18.000000000 +1000
    +++ vmci-only3.8rc4/linux/driver.c 2013-01-23 11:19:10.325897824 +1100
    @@ -124,7 +124,7 @@
    .name = “vmci”,
    .id_table = vmci_ids,
    .probe = vmci_probe_device,
    – .remove = __devexit_p(vmci_remove_device),
    + .remove = vmci_remove_device,
    };

    #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19)
    @@ -1750,7 +1750,7 @@
    *—————————————————————————–
    */

    -static int __devinit
    +static int
    vmci_probe_device(struct pci_dev *pdev, // IN: vmci PCI device
    const struct pci_device_id *id) // IN: matching device ID
    {
    @@ -1978,7 +1978,7 @@
    *—————————————————————————–
    */

    -static void __devexit
    +static void
    vmci_remove_device(struct pci_dev* pdev)
    {
    struct vmci_device *dev = pci_get_drvdata(pdev);

    • Hi Tim,

      Finally had time to apply the patch, and it works just fine with 3.8-rc4. As you say – a simple patch… As long as you know what you are doing!

      Thanks,

      Robert.

  2. Excuse my ignorance, but what am I looking at? I am just getting into linux, and have 3.8 rc5 going, I managed to get the softlink working but it vmware installer eventually fails trying to compile the vmci and vmci sockets. I would love to use this patch, but I honestly don’t know how.

    • Basically.. Go to the VMware source (in /usr/lib/vmware/modules/source) and untar the vmci.tar file, which gives you a directory vmci-only, with the source files in it. Then apply the patch (from a text/patch file saved from Tim’s info) # cat patchfile |patch -p0. For info on how to apply patches, there is a load of info available online (just Google ‘linux patch howto’).. Then, re-tar the patched vmci-only directory and contents back to vmci.tar, which will then be accessed by the VMware installer when it runs..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.