*BSD News Article 61145


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!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 05:11:17 GMT
Organization: Productivity Group, Inc.
Lines: 52
Message-ID: <4fjtpl$6ge@trout.progroup.com>
References: <4f30vt$l4j@over.mhv.net> <31177C54.2E@ordab.com>
  <4ffusn$dsv@netline-fddi.jpl.nasa.gov>
NNTP-Posting-Host: trout.progroup.com
X-Newsreader: knews 0.9.3
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:13595 comp.windows.x.i386unix:19152

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