FFe: New upstream of open-vm-tools

Bug #632101 reported by Nate Muench (Mink)
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
open-vm-tools (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: open-vm-tools

This is a request for a FeatureFreezeException to merge open-vm-tools version 2010.06.16-268169-3 from Debian testing.

I'm in the process of putting together a merge proposal (which I'll propose as soon as I get an exception).

The vmhgfs module fails to load, this bug, which was found in the version 2010.04.25-253928-2 packaging, was merged in to the Maverick repo by Evan's original merge followed by my update (to fix the compiling problems with the Maverick kernel).

I want to note that this bug (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579721) was marked as serious, and the open-vm-source package was indicated in the report.

Debian has fixed this problem (pushing it into their repos 2 days after Maverick's FeatureFreeze went into effect).

We'll (or I'll) have to merge the June 2010 version into the Maverick repo to fix the problem.

I've rediffed the vsock patch (to adjust for changes made to the file) and pushed it to my PPA (https://launchpad.net/~n-muench/+archive/ppa), I've verified the it works, and the modules compile successfully with the Maverick kernels (currently 2.6.35-19)

I can confirm that vmhgfs module shows up when running "lsmod | grep vm"

The Upstream changelog, the Debian changelog, as well as my rediffed vsock patch will be attached shortly.

Tags: patch

Related branches

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

Upstream changelog (taken from the NEWS file in the root of the open-vm-tools folder)

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

Debian Changelog (for the June release)

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

My rediffed vsock patch

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

Added bzr branch

tags: added: patch
Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

Here's my Debdiff:

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

There's 2 things want to note (the first of which needs to be fixed before release day):

1) Before the most recent Maverick Kernel release (2.6.35-21.31), the vmxnet and pcnet32 modules could co-exist, with the vmxnet module being the default network driver/module.

Now because of the kernel released within the last day (2.6.35-21.31), has caused a problem. At boot, Ubuntu now loads the pcnet32 module, but not the vmxnet module. This problem also exists in the Kernel for Lucid proposed (I have the June release installed (from my PPA), except it doesn't have the Maverick patches because the packaging was build specifically for Lucid).

The only way to fix this problem is to blacklist pcnet32 (and the run "update-initramfs -u") in order for the vmxnet load. Doing this might cause issues ("might" is the keyword here).

I don't know what I should do about this. Blacklist the pcnet32 module, or tweak the script to allow pcnet32 and vmxnet to co-exist again.

2) This is something that isn't very urgent, but I would like implemented in the packaging eventually.

With the VMware Tools included with the software, when you want to activate the shared folders feature, and go to the /mnt/hgfs folder, your shared folder is there (this is the default).

But with the open-vm-tools, this is the major issues with it, the shared folders feature doesn't work properly. You can select the folder you want to shared, but it isn't mounted properly. The only to have it properly show up is to run a mount command either at boot or after you mount the folder.

Attached is the script I use to allow shared folders to mount correctly in the /mnt/hgfs folder. I move this script to the /etc/init.d folder and then run "update-rc.d <script> defaults"

Everytime Ubuntu boots, the mount command is run, and the shared folder shows up in the /mnt/hgfs automatically.

You can change anything in the script, but the one this that MUST stay is the mount command. I've certified the mount command works. I did a lot of googling to see what the accurate way to mount the shared folders (with open-vm-tools), and this is the product.

Revision history for this message
Stefano Rivera (stefanor) wrote :

This bug is titled as an FFe, but ubuntu-release isn't subscribed. Subscribing them and marking the merge request as WIP. Please re set it to "Needs Review" when approved.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I'm going to try something. I going to put the loading of the vmxnet module, and the mount command in to the "open-vm-tools.init" file in the debian folder. I've pushed it to one of my PPAs (for Lucid). I'm going to get it a test run in a hour or so. If it succeeds I'll push it packaging (with the Maverick Patches) to the same PPA. And if the Maverick test works fine, I'll push it to my merge proposal.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I just tried the test on Ubuntu Lucid (64-Bit) because it's the only VM I have that I didn't get around to fixing the vmxnet/pcnet32 bug.

Here's my results:
-Injecting a "modrobe vmxnet" into the open-vm-tools.init successfully connects to the internet with the vmxnet module (instead of the pcnet32 module).
-I'm having issues with the Shared Folders mount. I want to point out that the Ubuntu Lucid I'm using had that MountSharedFolders activated, so I removed it (and the references for rc.d(x)). I'm working on this one, it might stay or might get dropped.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

It all works now. To get the shared folders to work properly, I just had to add the if statement to check if the hgfs directory exists in the /mnt directory, if it doesn't, create the hgfs directory. If it does exist, do nothing.

I'm going to push these changes to my PPA (for Maverick) as well as in my Merge proposal.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I've finished the fixes, I've pushed the packaging to my PPA (https://launchpad.net/~n-muench/+archive/virtual-test), as well as to my merge proposal.

I've got to wait for the packaging to finish compiling before I can test it. This worked successfully earlier on Lucid (and for the record, the packaging in that PPA for Lucid is missing that if statement).

I've enclosed my debdiff for these changes..

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I just tried it on my Maverick VM. Everything looks to be working fine on my end. Shared Folders work, as does loading of the vmxnet module at boot.

I personally think this thing is ready to be merged.

Revision history for this message
Nate Muench (Mink) (n-muench) wrote :

I know this merge won't happen (I think), but would it be okay if I push a new proposal (using what's in the Maverick repo) that would just add:
1) The fixes for the vmhgfs and vsock modules (they are in the 2010.06.16-268169-3 packaging)
2) Loading the vmxnet module at boot. Even if it does get fixed, it's good to have it in, just in case.

Doing this would change only 3 files in the debian folder (local/Makefile, open-vm-tools.init, and the changelog).

As I said earlier, this problem, according to the debian bug report, is marked as serious and affects the packaging in the Maverick Repo.

Revision history for this message
Iulian Udrea (iulian) wrote :

Looks good to me. ubuntu-release ack. Approved. Subscribing ubuntu-sponsors.

Changed in open-vm-tools (Ubuntu):
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package open-vm-tools - 2010.06.16-268169-3ubuntu1

---------------
open-vm-tools (2010.06.16-268169-3ubuntu1) maverick; urgency=low

  * Merge from Debian testing (LP: #632101), remaining changes:
    - Recommend open-vm-toolbox in open-vm-tools.
    - Rediffing vsock.patch.

open-vm-tools (2010.06.16-268169-3) unstable; urgency=low

  * Updating local Makefile to inject symvers files to fix vmhgfs and
    vsock modules, thanks to Joe Gooch <email address hidden> (Closes:
    #579721).
  * Updating standards version to 3.9.1.

open-vm-tools (2010.06.16-268169-2) unstable; urgency=low

  * Removing vmmemctl fom initscript (Closes: #588356).

open-vm-tools (2010.06.16-268169-1) unstable; urgency=low

  * Merging upstream version 2010.06.16-268169.
  * Updating standards version to 3.9.0.
  * Updating README.source.
  * Rediffing kvers.patch.
  * Dropping procps.patch, not required anymore.
  * Updating packaging for upstreams vmmemctl module removal.
 -- Nate Muench <email address hidden> Mon, 06 Sep 2010 21:06:01 -0500

Changed in open-vm-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.