Subject: pkg/30067: vmware cannot add new virtual machines on NetBSD-2.0.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <netbsd@eldsverk.org>
List: pkgsrc-bugs
Date: 04/27/2005 01:24:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         30067
>Category:       pkg
>Synopsis:       vmware cannot add new virtual machines on NetBSD-2.0.2
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 27 01:24:00 +0000 2005
>Originator:     netbsd@eldsverk.org
>Release:        NetBSD 2.0.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD uller 2.0.2_STABLE NetBSD 2.0.2_STABLE (NetBSD on uller) #4: Tue Apr 26 14:53:11 MDT 2005 jbrown@uller:/usr/src/sys/arch/i386/compile/uller i386
Architecture: i386
Machine: i386
>Description:
	I have installed the vmware-modules3 and vmware3 ports from pkgsrc
        on NetBSD-2.0.2 by using the patches in pr 29943.  The modules load
        and vmware starts, however, I get the following error whwn adding
        a virtual machine.

        ---Start Error---

	Frame Title: Error in Tcl Script

	Message:
        can't use non-numeric string as operand of "/"
	    while executing
	"expr {int(ceil([lindex $fsInfo 4]/1024))}"
	    (procedure "UpdateMountPoint" line 7)
	    invoked from within
	"UpdateMountPoint"
	    (procedure "Dir_Deactivate" line 13)
 	   invoked from within
	"$panel($panel(current).deactivate) $way"
	    (procedure "Deactivate" line 6)
	    invoked from within
	"Deactivate "next""
	    (procedure "Next" line 3)
	    invoked from within
	"Next"
	    invoked from within
	".nav.next invoke"
	    ("uplevel" body line 1)
	    invoked from within
	"uplevel #0 [list $w invoke]"
	    (procedure "tkButtonUp" line 8)
	    invoked from within
	 tkButtonUp .nav.next"
	    (command bound to event)

	---End Error---

>How-To-Repeat:
	1. Run vmware-wizard.  Click "Next" at the first screen.
        2. Choose "Create standard virtual machine" and click "Next"
	3. Select Any Operating System and click "Next"
        4. Click "Next" on the screen where the Display name and Directory
 		are set.  The settings here do not matter.
	5. The error will occur and you cannot reach the next screen or move
		back to the previous screen.
>Fix:
	

>Unformatted: