Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jun 2007 22:45:00 +0800
From:      Pei Pjf <peter@topcomtech.com.cn>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: vmware3 cann't start up after upgrade xorg7.2
Message-ID:  <20070608144500.GA99348@pjfs.renzhichu.cc>
In-Reply-To: <20070608002418.7e86574b@localhost>
References:  <20070607022318.GA3587@pjfs.renzhichu.cc> <20070608002418.7e86574b@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 08, 2007 at 12:24:18AM +1000, Norberto Meijome wrote:
> On Thu, 7 Jun 2007 10:23:18 +0800
> Pei Pjf <peter@topcomtech.com.cn> wrote:
> 
> >   I had a successful upgrade to xorg7.2, All works fine.
> >   but vmware3 can not startup,
> > 
> >   $ vmware
> >   Setting TMPDIR=/var/tmp.
> >   Unable to fix standard file descriptors.
> > 
> >   Before upgrade to xorg7.2, Vmware3 works well.
> >   I reinstall vmware3 from ports, but the problem is still
> >   there. I have googled, no value info find.
> 
> Hi Pei,
> the only thing I can think of is that it's trying to access something that is now different - maybe you can figure out what by using ktrace.
> 
> B
> 
> _________________________
> {Beto|Norberto|Numard} Meijome
> 
> "A Man that is good at excuses is usually good at nothing else"
>   Benjamin Franklin
> 
> I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.

Thank you for reply.

I use ktrace vmware, and get a ktrace.out, and kdump -f ktrace.out,
but I don't know how to read it. It is long,I paste tail of it here.

 98493 sh       RET   getegid 1001/0x3e9
 98493 sh       CALL  open(0xbfbfeaf8,0,0x1)
 98493 sh       NAMI  "/usr/local/bin/vmware"
 98493 sh       RET   open 3
 98493 sh       CALL  fcntl(0x3,0,0xa)
 98493 sh       RET   fcntl 10/0xa
 98493 sh       CALL  close(0x3)
 98493 sh       RET   close 0
 98493 sh       CALL  fcntl(0xa,0x2,0x1)
 98493 sh       RET   fcntl 0
 98493 sh       CALL  sigaction(0x2,0,0xbfbfe8d0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x2,0xbfbfe880,0xbfbfe860)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x2,0,0xbfbfe880)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x2,0xbfbfe880,0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x3,0,0xbfbfe8d0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x3,0xbfbfe880,0xbfbfe860)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x3,0,0xbfbfe880)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x3,0xbfbfe880,0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0xf,0,0xbfbfe8d0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0xf,0xbfbfe880,0xbfbfe860)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x1c,0,0xbfbfe8d0)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  sigaction(0x1c,0xbfbfe880,0xbfbfe860)
 98493 sh       RET   sigaction 0
 98493 sh       CALL  __getcwd(0xbfbfe520,0x400)
 98493 sh       RET   __getcwd 0
 98493 sh       CALL  read(0xa,0x80640a0,0x3ff)
 98493 sh       GIO   fd 10 read 688 bytes
       "#!/bin/sh
        #
        # Run vmware
        #
        # $FreeBSD: ports/emulators/vmware3/files/vmware.in,v 1.1 2006/05/15 07:25:01 lawranc\
        e Exp $

        if [ ! -e /compat/linux/proc/cpuinfo ]; then
            echo "************************************************************"
            echo "It seems Linux procfs is not mounted on /compat/linux/proc."
            echo "VMware does not work without Linux procfs mounted."
            echo
            echo "For details, see linprocfs(5) manpage."
            echo "************************************************************"
            exit 1
        fi

        LANG=C
        PATH=/bin:$PATH

        if [ _$TMPDIR = _ ]; then
            TMPDIR=/var/tmp
            echo Setting TMPDIR="$TMPDIR".
            export TMPDIR
        fi

        exec /usr/local/lib/vmware/bin/vmware "$@"
       "
 98493 sh       RET   read 688/0x2b0
 98493 sh       CALL  stat(0x8069670,0xbfbfe500)
 98493 sh       NAMI  "/compat/linux/proc/cpuinfo"
 98493 sh       RET   stat 0
 98493 sh       CALL  eaccess(0x8069670,0)
 98493 sh       NAMI  "/compat/linux/proc/cpuinfo"
 98493 sh       RET   eaccess 0
 98493 sh       CALL  write(0x1,0x806c000,0x19)
 98493 sh       GIO   fd 1 wrote 25 bytes
       "Setting TMPDIR=/var/tmp.
       "
 98493 sh       RET   write 25/0x19
 98493 sh       CALL  execve(0x8069288,0x80692bc,0x80692c4)
 98493 sh       NAMI  "/usr/local/lib/vmware/bin/vmware"
 98493 sh       NAMI  "/compat/linux/lib/ld-linux.so.2"
 

It is end of here.

How to debug?

Thanks in advance.

Pei




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070608144500.GA99348>