*BSD News Article 9633


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6137 ; Tue, 05 Jan 93 07:02:47 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!raistlin!shamash!runyon.cim.cdc.com!pbd
From: pbd@runyon.cim.cdc.com (Paul Dokas)
Newsgroups: comp.unix.bsd
Subject: Still more XFree86 problems
Message-ID: <51098@shamash.cdc.com>
Date: 7 Jan 93 17:39:16 GMT
Sender: usenet@shamash.cdc.com
Organization: ICEM Systems, Inc.
Lines: 53

I'm still having problems with XFree86.  When ever I run 'startx'
or 'xinit' or 'X386 :0' the X server starts up, puts the screen
into graphics mode (not clear) and just hangs.

Using 'ps -alx' I get the following for the X server:

  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT TT       TIME COMMAND
    0   125   124   0   4  0  1536  516 ttyout S    ??    0:00.48 X :0

hung while trying to write to a tty...

So, using my ascii terminal, I ran X through gdb and stopped it with 'kill -9'
and found the following stack:

  ioctl()
  tcsetattr()
  x386Io:x386SetSpeed()
  x386MseProc()
  EnableDevice()
  InitAndStartDevices()
  main()

Ok, hung while doing an ioctl() to my mouse via /dev/com1.  It's a Logitech
mouse, and my Xconfig for my mouse is the following:
 
  Logitech        "/dev/com1"
  #  BaudRate     9600
  #  SampleRate   150
  #  Emulate3Buttons

I've trying replacing the com driver with cgd's, but that was no help.

Has anyone ever seen this?  (or know of a fix :-)

BTW, my problems might be due to the com ports that I have in my system.
Here is a section of my config file:

  device          com1    at isa? port "IO_COM1" tty irq 4 vector comintr
  device          com2    at isa? port "IO_COM2" tty irq 3 vector comintr
  device          com3    at isa? port 0x3e8 tty irq 4 vector comintr
  device          com4    at isa? port 0x2e8 tty irq 3 vector comintr

com1 and com2 are on a multi-io board (ide, fd, 2serial, 1parallel, 1game)
and com3 and com4 are on a serial io card.  Com3 is a 16450, and com4 is
a 16550.  They are all found and configured correctly at boot time.  My mouse
is on com1 and my ascii terminal is on com3.

Again, any help is greatly appreciated!
-- 
#include <std.disclaimer>
#define FULL_NAME                          "Paul Dokas"
#define EMAIL                              "pbd@runyon.cim.cdc.com"
/*            Just remember, you *WILL* die someday.             */