Date: Sun, 26 Dec 1999 21:45:59 +0800 From: Peter Wemm <peter@netplex.com.au> To: Mike Smith <msmith@freebsd.org> Cc: Andreas Klemm <andreas@klemm.gtn.com>, current@FreeBSD.ORG Subject: Re: can't get vmware to run ( on -current ) Message-ID: <19991226134559.25EE81CA0@overcee.netplex.com.au> In-Reply-To: Message from Mike Smith <msmith@freebsd.org> of "Sat, 25 Dec 1999 14:24:11 PST." <199912252224.OAA00513@mass.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > > b) could not open /usr/local/lib/vmware/lib/vmm (no such file or directory) . > > No idea about that one. That is because /proc/curproc/exe is missing. Under Linux it's a pointer to the executable file (like our "file" used to be before it was killed). A trivial patch to reactivate it in a form that is useable by vmware: Index: procfs_vnops.c =================================================================== RCS file: /home/ncvs/src/sys/miscfs/procfs/procfs_vnops.c,v retrieving revision 1.76 diff -u -r1.76 procfs_vnops.c --- procfs_vnops.c 1999/12/15 23:02:08 1.76 +++ procfs_vnops.c 1999/12/26 13:43:49 @@ -91,6 +91,7 @@ /* name type validp */ { DT_DIR, N("."), Pproc, NULL }, { DT_DIR, N(".."), Proot, NULL }, + { DT_REG, N("exe"), Pfile, procfs_validfile }, { DT_REG, N("mem"), Pmem, NULL }, { DT_REG, N("regs"), Pregs, procfs_validregs }, { DT_REG, N("fpregs"), Pfpregs, procfs_validfpregs }, This works because the Pfile support code hasn't been removed. Or you can check out the linprocfs stuff, see the vmware pages for a pointer. It provides a linux-like /compat/linux/proc that provides the missing bits that linux programs expect. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991226134559.25EE81CA0>