Marcelo, thanks to your help, I've been able to create a somewhat working dkms build tree. Unfortunately, I still have problems when linking/insmoding some modules: pvscsi: Unknown parameter `vmblock' vmhgfs: Unknown symbol Backdoor_InOut vmhgfs: Unknown symbol BackdoorHbIn vmhgfs: Unknown symbol BackdoorHbOut vmmemctl: Unknown symbol Backdoor_InOut vsock: no symbol version for VMCIMemcpyToQueueV vsock: Unknown symbol VMCIMemcpyToQueueV vsock: no symbol version for VMCIEvent_Unsubscribe vsock: Unknown symbol VMCIEvent_Unsubscribe vsock: Unknown symbol VMCIQueuePair_Alloc vsock: no symbol version for VMCIDatagram_Send vsock: Unknown symbol VMCIDatagram_Send vsock: no symbol version for VMCI_GetContextID vsock: Unknown symbol VMCI_GetContextID vsock: Unknown symbol VMCIContext_GetPrivFlags vsock: Unknown symbol VMCIQueuePair_AllocPriv vsock: Unknown symbol VMCIQueuePair_Detach vsock: Unknown symbol VMCIDatagram_CreateHndPriv vsock: no symbol version for VMCIMemcpyFromQueueV vsock: Unknown symbol VMCIMemcpyFromQueueV vsock: Unknown symbol VMCI_DeviceGet vsock: no symbol version for VMCIEvent_Subscribe vsock: Unknown symbol VMCIEvent_Subscribe vsock: no symbol version for VMCIDatagram_DestroyHnd vsock: Unknown symbol VMCIDatagram_DestroyHnd vsock: no symbol version for VMCIDatagram_CreateHnd vsock: Unknown symbol VMCIDatagram_CreateHnd
Here is what I'm doing to create the dkms tree: Basicaly, I'm creating the ../shared link in each modules dir, then I'm putting lib/include/relevant_include.h in the shared directory then I'm copying all includes specific to a module in its directory. See below the exact actions: ================================================== # Create dkms tree and fill it mkdir -p $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release} cp -r modules/linux/* $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/ # Common stuffs for modules cp lib/include/{vmware.h,vm_assert.h,includeCheck.h,vmware_pack_begin.h,vmware_pack_end.h,vm_basic_defs.h,vm_basic_types.h,vm_device_version.h,vmware_pack_init.h,vm_atomic.h,circList.h,backdoor.h,x86cpuid.h,vm_basic_asm_x86_64.h,vm_basic_math.h,vm_basic_asm.h} \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/shared/ # setup shared link for module_dir in pvscsi vmblock vmci vmhgfs vmmemctl vmsync vmxnet vmxnet3 vsock do (cd $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/$module_dir; ln -s ../shared) done # Specific stuff for pvscsi # => none # Specific stuff for vmblock cp lib/include/{vmblock.h,dbllnklst.h} \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/vmblock/linux/ cp modules/shared/vmblock/* \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/vmblock/linux/ # => none # Specific stuff for vmci # => none # Specific stuff for vmhgfs cp lib/backdoor/backdoor.[ch] \ lib/hgfs/{cpName.c,cpNameInt.h,cpNameLinux.c,cpNameLite.c,hgfsEscape.c,hgfsUtil.c} \ lib/include/{cpName.h,hgfsUtil.h,hgfsEscape.h,util.h,rpcout.h,hgfsBd.h,debug.h,backdoor_def.h,guest_msg_def.h,message.h,rpcout.h,backdoor_types.h,hgfsDevLinux.h,hgfsProto.h,cpNameLite.h,escBitvector.h} \ lib/hgfsBd/hgfsBd.c \ lib/message/{messageBackdoor.c,message.c} \ lib/rpcOut/rpcout.c \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/vmhgfs/ # Specific stuff for vmmemctl # => none # Specific stuff for vmsync cp lib/include/syncDriverIoc.h \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/vmsync/ # Specific stuff for vmxnet and vmxnet3 cp modules/shared/vmxnet/* \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/shared/ # Specific stuff for vsock cp lib/include/vm_basic_math.h \ $RPM_BUILD_ROOT%{_usrsrc}/%{name}-%{version}-%{release}/vsock/ ================================================== $ rpm -ql dkms-open-vm-tools-2009.05.22.167859-1mdv2009.1 /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1 /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/dkms.conf /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/pvscsi.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/pvscsi_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/pvscsi_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/scsi_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/pvscsi/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/cachecreate.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/cachector.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/cachector1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/epoll.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/filldir1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/geninclude.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/getsb1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/inode1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/maxbytes.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/netif_num_params.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/setnice.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/sk_filter.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/skas1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/skblin.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/autoconf/statfs1.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/backdoor.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/circList.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_completion.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_cred.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_dcache.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_ethtool.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_file.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_fs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_highmem.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_init.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_interrupt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_ioport.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_kernel.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_kthread.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_list.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_mm.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_module.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_mutex.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_namei.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_netdevice.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_page-flags.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_page.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_pagemap.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_pci.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_pci_mapping.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_pgtable.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_sched.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_scsi.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_semaphore.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_skbuff.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_slab.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_sock.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_spinlock.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_statfs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_string.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_timer.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_uaccess.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_wait.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/compat_workqueue.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/driver-config.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/driverLog.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/driverLog.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/includeCheck.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/kernelStubs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/kernelStubsLinux.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/net.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/net_sg.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/npa_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/upt1_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_assert.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_atomic.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_basic_asm.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_basic_asm_x86_64.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_basic_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_basic_math.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_basic_types.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vm_device_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmciGuestKernelAPI.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_call_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_infrastructure.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_iocontrols.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_kernel_if.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmci_queue_pair.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmnet_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmware.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmware_pack_begin.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmware_pack_end.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmware_pack_init.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmxnet2_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmxnet3_defs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/vmxnet_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/shared/x86cpuid.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/README /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/block.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/block.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/control.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/dbllnklst.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/dentry.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/file.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/filesystem.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/filesystem.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/inode.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/module.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/os.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/stubs.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/stubs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/super.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/vmblock.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/vmblockInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/linux/vmblock_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmblock/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/pgtbl.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciCommonInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciDatagram.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciDatagram.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciEvent.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciEvent.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciGuestDs.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciGuestKernelIf.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciGuestKernelIf.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciKernelIf.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciProcess.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciProcess.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciQueuePair.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciQueuePairInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciUtil.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmciUtil.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmci_drv.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmci_handle_array.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmci/vmci_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/backdoor.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/backdoor_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/backdoor_types.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/bdhandler.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/bdhandler.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpName.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpName.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpNameInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpNameLinux.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpNameLite.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/cpNameLite.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/debug.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/dentry.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/dir.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/escBitvector.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/file.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/filesystem.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/filesystem.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/fsutil.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/fsutil.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/guest_msg_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfs.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsBd.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsBd.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsDevLinux.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsEscape.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsEscape.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsProto.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsUtil.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/hgfsUtil.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/inode.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/inode.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/link.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/message.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/message.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/messageBackdoor.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/module.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/module.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/page.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/request.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/request.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/rpcout.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/rpcout.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/stubs.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/super.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/tcp.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/tcp.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/transport.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/transport.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/util.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmhgfs/vmhgfs_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/README /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/backdoor_balloon.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/balloon_def.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/os.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/os.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/vmballoon.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/vmballoon.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmmemctl/vmmemctl_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/sync.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/syncDriverIoc.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmsync/vmsync_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/README /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/vmxnet.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/vmxnetInt.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet/vmxnet_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3 /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/README /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/vmxnet3.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/vmxnet3_int.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vmxnet3/vmxnet3_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/COPYING /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/Makefile /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/Makefile.kernel /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/Makefile.normal /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/README /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/af_vsock.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/af_vsock.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/notify.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/notify.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/stats.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/stats.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/util.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/util.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vmciContext.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vmciDatagram.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vmciHostKernelAPI.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vmci_sockets.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vmci_sockets_int.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockAddr.c /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockAddr.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockCommon.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockPacket.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockSocketWrapper.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsockVmci.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/linux/vsock_version.h /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/shared /usr/src/open-vm-tools-2009.05.22.167859-1mdv2009.1/vsock/vm_basic_math.h ========================================== I did not modify any files (either Makefiles or dkms.conf files) it looks like vsock is not linked with some vmci stuff, vmmemctl and vmhgfs are not linked with some backdoor stuff. as for "pvscsi: Unknown parameter `vmblock'" I don't understand.... Any ideas? Best regards. > Thanks a lot for your tips, I'm progressing in sorting out how to create a > minimal stand-alone dkms build tree. > During my research, I've found that there are sometimes different includes > with the same name (e.g.: util.h) > example in the vsock module:> I've also noted the following duplicate names in includes: ./modules/linux/vmblock/linux/filesystem.h ./modules/linux/vmhgfs/filesystem.h ./modules/linux/vsock/linux/vmciDatagram.h ./modules/linux/vmci/vmciDatagram.h -- Olivier LAHAYE CEA Saclay DRT-LIST-DETECS-SSTM ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ open-vm-tools-devel mailing list open-vm-tools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel