kfsk
Contributor
Contributor

shared folder can not work

Hi.

I use VMWare Tools 8.8.1 build-528969 on Vine Linux, gest OS. Host OS is Widonws 7.

The shared folder provided from VMWare Tools has been not available since I upgrade OS  kernel

to 3.1.x.

This is a log of executing vmware-config.pl script.

The VMware Host-Guest Filesystem allows for shared folders between the host OS
and the guest OS in a Fusion or Workstation virtual environment.  Do you wish
to enable this feature? [yes]

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
make -C /lib/modules/3.1.4-1vl7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' に入ります
  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/driver.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDoorbell.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQPair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/common/vmciRoute.o
  CC [M]  /tmp/vmware-root/modules/vmci-only/driverLog.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmci-only/vmci.mod.o
  LD [M]  /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' から出ます
make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
cp -f vmci.ko ./../vmci.o
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' に入ります
make -C /lib/modules/3.1.4-1vl7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' に入ります
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoor.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc64.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpName.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLinux.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dentry.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/dir.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/cpNameLite.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/file.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/fsutil.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsBd.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsEscape.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/inode.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/link.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/message.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/module.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/page.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/request.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/stubs.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/super.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/transport.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/vmci.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/kernelStubsLinux.o
  CC [M]  /tmp/vmware-root/modules/vmhgfs-only/tcp.o
/tmp/vmware-root/modules/vmhgfs-only/file.c:128: 警告: initialization from incompatible pointer type
  LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.mod.o
  LD [M]  /tmp/vmware-root/modules/vmhgfs-only/vmhgfs.ko
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' から出ます
make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' から出ます
cp -f vmhgfs.ko ./../vmhgfs.o
make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' から出ます

Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' に入ります
make -C /lib/modules/3.1.4-1vl7/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' に入ります
  CC [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/vmware-root/modules/vmxnet-only/vmxnet.mod.o
  LD [M]  /tmp/vmware-root/modules/vmxnet-only/vmxnet.ko
make[1]: ディレクトリ `/usr/src/kernels/3.1.4-1vl7-x86_64' から出ます
make -C $PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' から出ます
cp -f vmxnet.ko ./../vmxnet.o
make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' から出ます

This is a OS boot log from dmesg

BUG: unable to handle kernel NULL pointer dereference at 0000000000000068
IP: [<ffffffff81133024>] d_alloc+0x11/0x70
PGD 5b13c067 PUD 5acac067 PMD 0
Oops: 0000 [#1] SMP
CPU 1
Modules linked in: vmhgfs vsock ide_cd_mod ide_core uinput snd_ens1371 gameport snd_rawmidi snd_ac97_codec ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss ppdev snd_pcm floppy e1000 shpchp parport_pc parport processor pcspkr snd_timer snd i2c_piix4 vmw_balloon soundcore i2c_core battery container button vmci snd_page_alloc ac vmxnet dm_snapshot dm_zero dm_mirror dm_region_hash dm_log dm_mod mptspi mptscsih mptbase scsi_transport_spi uhci_hcd ohci_hcd ehci_hcd [last unloaded: scsi_wait_scan]

Pid: 1572, comm: mount.vmhgfs Not tainted 3.1.3-1vl7 #1 VMware, Inc. VMware Virtual Platform/440BX Desktop Reference Platform
RIP: 0010:[<ffffffff81133024>]  [<ffffffff81133024>] d_alloc+0x11/0x70
RSP: 0018:ffff88005b16fce8  EFLAGS: 00010296
RAX: 0000000000000002 RBX: 0000000000000000 RCX: ffffffffa020187d
RDX: 0000000000000000 RSI: ffff88005b16fd18 RDI: 0000000000000000
RBP: ffff88005b16fd08 R08: 00000000000002f2 R09: 0000000000000006
R10: 000000000000012a R11: 00000000000004a8 R12: ffff88005acb0000
R13: ffff88005acfa000 R14: ffff880059cf4380 R15: ffff88005b572000
FS:  00007f057ad08700(0000) GS:ffff88005f640000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000068 CR3: 000000005b177000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mount.vmhgfs (pid: 1572, threadinfo ffff88005b16e000, task ffff88005a1f4130)
Stack:
ffff880059cf4380 ffff88005b572000 ffff88005b16fd28 0000000000000400
ffff88005b16fd28 ffffffff811330e7 0000000100002066 ffffffffa020187c
ffff88005b16fd78 ffffffffa01fb763 ffffffff81122091 0000000000000000
Call Trace:
[<ffffffff811330e7>] d_alloc_name+0x64/0x66
[<ffffffffa01fb763>] HgfsReadSuper+0x226/0x294 [vmhgfs]
[<ffffffff81122091>] ? get_anon_bdev+0xda/0xda
[<ffffffffa01fb53d>] ? HgfsMount+0x1a/0x1a [vmhgfs]
[<ffffffff81123275>] mount_nodev+0x54/0x9b
[<ffffffffa01fb53b>] HgfsMount+0x18/0x1a [vmhgfs]
[<ffffffff81121ea3>] mount_fs+0x19/0xb6
[<ffffffff8113a60b>] vfs_kern_mount+0x65/0x9d
[<ffffffff8113a6b7>] do_kern_mount+0x4d/0xdd
[<ffffffff8113ae16>] do_mount+0x6cf/0x733
[<ffffffff8110b382>] ? alloc_pages_current+0xaf/0xd2
[<ffffffff8113af02>] sys_mount+0x88/0xc2
[<ffffffff81433ac2>] system_call_fastpath+0x16/0x1b
Code: c9 c3 55 48 89 e5 66 66 66 66 90 e8 54 fe ff ff 48 85 c0 74 03 83 08 10 c9 c3 55 48 89 e5 53 48 83 ec 18 66 66 66 66 90 48 89 fb
8b 7f 68 e8 30 fe ff ff 48 85 c0 74 4a 48 8d 7b 5c 48 89 45
RIP  [<ffffffff81133024>] d_alloc+0x11/0x70
RSP <ffff88005b16fce8>
CR2: 0000000000000068
---[ end trace abef6339a69d213e ]---

Coud you please tell me how to recover this trouble.

0 Kudos
1 Reply
srnhpp
Enthusiast
Enthusiast

                               

Using dropbox you cna share folder and file. Please see the followings link it's may help..

http://www.dropbox.com/help/19

0 Kudos