From owner-freebsd-current Fri Aug 6 10:22:28 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id 7E2211570C; Fri, 6 Aug 1999 10:22:15 -0700 (PDT) (envelope-from ticso@cicely8.cicely.de) Received: from cicely7.cicely.de (cicely.de [194.231.9.142]) by mail.du.gtn.com (8.8.6/8.8.6) with ESMTP id TAA25426; Fri, 6 Aug 1999 19:17:59 +0200 (MET DST) Received: from cicely8.cicely.de (cicely8.cicely.de [10.1.2.10]) by cicely7.cicely.de (8.9.0/8.9.0) with ESMTP id TAA64146; Fri, 6 Aug 1999 19:17:30 +0200 (CEST) Received: (from ticso@localhost) by cicely8.cicely.de (8.9.3/8.9.2) id TAA31960; Fri, 6 Aug 1999 19:18:20 +0200 (CEST) (envelope-from ticso) Date: Fri, 6 Aug 1999 19:18:20 +0200 From: Bernd Walter To: Kazutaka YOKOTA Cc: "Eric J. Chet" , Marcel Moolenaar , Bernd Walter , Matthew Dillon , phk@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: VMware X11 and -current Message-ID: <19990806191819.A31936@cicely8.cicely.de> References: <199908061450.XAA24818@zodiac.mech.utsunomiya-u.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <199908061450.XAA24818@zodiac.mech.utsunomiya-u.ac.jp>; from Kazutaka YOKOTA on Fri, Aug 06, 1999 at 11:49:33PM +0900 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Aug 06, 1999 at 11:49:33PM +0900, Kazutaka YOKOTA wrote: > > >> >At this point we must still be in freebsd xinit, then XF86_VMware(linux > >> >server) get started. I'm running a linux X server under freebsd. Under > >> >3.2R all I had to do was change the symlink for X to point to XF86_VMware, > >> >under -current /dev/tty0 can't be found. > >> > > >> >Where was linux "/dev/tty0" coming from under emulation in 3.2R, the > >> >kernel device struct changed under -current? > >> > > >> >I made these symlinks as suggested, ttyp0 -> tty0 and ttyp4 -> tty4 gave > >> ~~~~~ ~~~~~ > >> Symlinks should be ttyv0 -> tty0 and ttyv4 -> tty4. > >> > >> Notice ttyv*, not ttyp* > >> ~ ~ > >Hello > > > > I had tried it both ways, when I said having them symlinked to > >ttyv0 and ttyv4 would panic with "fatal trap 12" It was suggested that I > >use ttyp0 and ttyp4 respectfully. > > I don't think ttyp* will work. I don't know who suggested it to you. > I have never run Linux X server binaries on FreeBSD, but, I can assure > you that ttyp* won't work. I dont know what tty0 is in linux - but why should vmware need a virtual terminal? > > The ttyp* refers to the "pseudo" tty. The Linux X server opens tty0 > and tty4 which are "virtual terminals" in Linux. Virtual terminals > are named ttyv* in FreeBSD. If the Linux X server are ever made to > work in FreeBSD, it must be ttyv* which the X server should be fooled > to access. > > VT_ACTIVATE, VT_WAITACTIVE and VT_GETMODE ioctls are valid only for > virtual terminals ttyv* and certainly result in error for pseudo ttys. > > I suspect that the fatal trap you are seeing has little to do with > ttyv* symlinks and the real culprit lies somewhere else. > I agree - even with the maybe wrong symlinks to ttyp* I was able to get the vmware window. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message