*BSD News Article 61182


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!news1.isp.net!progroup.com!news
From: craig@progroup.com (Craig Shaver)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.windows.x.i386unix
Subject: Re: X windows : ioctl problems with xterm
Date: 11 Feb 1996 19:10:35 GMT
Organization: Productivity Group, Inc.
Lines: 67
Message-ID: <4flevb$ikn@trout.progroup.com>
References: <4f30vt$l4j@over.mhv.net> <31177C54.2E@ordab.com>
  <4ffusn$dsv@netline-fddi.jpl.nasa.gov> <4fjtpl$6ge@trout.progroup.com>
NNTP-Posting-Host: trout.progroup.com
X-Newsreader: knews 0.9.3
In-Reply-To: <4fjtpl$6ge@trout.progroup.com>
To: craig@progroup.com (Craig Shaver)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:13629 comp.windows.x.i386unix:19161

In article <4fjtpl$6ge@trout.progroup.com>,
	craig@progroup.com (Craig Shaver) writes:

OK!  I get to answer my own post with a fix!

I had to enable BSD4.3 COMPAT in the config file and then rebuild the kernel.
Then it worked.  Apparently X uses the old style calls and can't run with just
the 4.4 stuff.  I am not sure just what BSD4.3 COMPAT entails.  Can anyone
tell me precisely what this option does?  Can I still do development with the
4.4 calls?  In other words, is this an OR option or an EXCLUSIVE option?
The LINT config file seemed to imply this was an exclusive option that would
preclude you from using the newer 4.4 system interface.

Thanks for any followup...I'm going to re-check the bsd faqs to see if I missed
this one.

>In article <4ffusn$dsv@netline-fddi.jpl.nasa.gov>,
>	Jeff Dickson <jdickson@vtol.jpl.nasa.gov> writes:
>>I am having trouble getting X going. I rebuilt the kernel to include PS/2
>>mouse support. I set up the XF86Config file in /etc using all generic vga.
>>Some
>>information like horizontal and vertical frequencies were listed in the mon-
>>itor guide. I even put an .xinitrc file in my home directory. I used the
>>sample
>>in the xinit library directory. However, no matter what I do or redo when I
>>start X with startx, xinit, or run the server by hand (X &) - the screen looks
>>typical of X starting (polka-dot), the mouse pointer is there (and I can move
>>it around), and for an instance a comb looking pattern (blue) flashes on the
>>top of the screen and then...nothing.
>>
>>Any ideas? 
>>
>
>Sounds familiar....
>
>I am having the same problem that jkurtz@starbase.neosoft.com posted about on
>Dec 3rd.  He said ...
>
> >  
> > 2. XFree86 3.1.2 does not want to start up, giving me some error message like:
> >  
> >    (goes through startup, and even gets the graphics screen up with the X
> >     cursor, then dies with the following:)
> >  
> >    login: Error 23, errno 25: Inappropriate ioctl for device
> >  
>
>Did you dump your startx diagnostics (startx >& x.files)?  You may be having the
>same problem that jkurtz and I are having.  Either the xterm from XFree86 is bugged
>or the pty in freeBSD is the culprit.  I had 2.0.5 working with its xfree86 and
>some other hardware, so I decided to upgrade to 2.1 and bought a bunch of pci
>equipment to run it right.  In freeBSD 2.1 I found that I need to run the beta 
>xfree86 3.1.2b to use a Diamond Stealth 64 that used the latest IBM 526 ramdac. 
>
>I will be trying to find an old version of the xterm to see if I can get that to 
>run.  I doubt that I can get another version of the pty to work.
>
>Are there any others having this problem?  Could it be a problem with the way I
>config'd the kernel when I rebuilt it?  I tried a ps/2 mouse too, and then I 
>switched to a bus  mouse.  Both seemed to work.  I could get X to stay up by
>just putting twm at the bottom of the .xinitrc without putting it in the background.
>

-- 
Craig Shaver  (craig@progroup.com) (415)390-0654 
Productivity Group POB 60458 Sunnyvale, CA  94088