From owner-freebsd-current Fri Aug 6 7:49: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 450FC14D29; Fri, 6 Aug 1999 07:49:02 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:ONF7echp0SGvEqBBd5bZsHpEs7JU5hkQ@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id XAA04500; Fri, 6 Aug 1999 23:46:00 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id XAA24818; Fri, 6 Aug 1999 23:50:09 +0900 (JST) Message-Id: <199908061450.XAA24818@zodiac.mech.utsunomiya-u.ac.jp> To: "Eric J. Chet" Cc: Marcel Moolenaar , Bernd Walter , Matthew Dillon , phk@freebsd.org, current@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: VMware X11 and -current In-reply-to: Your message of "Fri, 06 Aug 1999 10:27:06 -0400." References: Date: Fri, 06 Aug 1999 23:49:33 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> >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. 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. Kazu >Are you running a linux Xserver under freebsd, XF86_VMware? Why arn't >these needed under emulation with freebsd 3.2R? This is the main thing >I'm looking for in the code. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message