*BSD News Article 17862


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:1031 comp.windows.x.i386unix:2278
Newsgroups: comp.os.386bsd.bugs,comp.windows.x.i386unix
Path: sserve!newshost.anu.edu.au!munnari.oz.au!network.ucsd.edu!usc!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!mururoa!veit
From: veit@mururoa.gmd.de (Holger Veit)
Subject: Re: XFree86 1.3 crashes under 386BSD
Message-ID: <1993Jul2.120207.3262@gmd.de>
Sender: veit@mururoa (Holger Veit)
Nntp-Posting-Host: mururoa
Organization: GMD - German National Research Center for Computer Science
References: <20ea6n$5v5@email.tuwien.ac.at> <2C33DD07.3337@news.service.uci.edu> <2114d5$lci@aggedor.rmit.OZ.AU>
Date: Fri, 2 Jul 1993 12:02:07 GMT
Lines: 29

In article <2114d5$lci@aggedor.rmit.OZ.AU>, rxxram@minyos.xx.rmit.OZ.AU (Richard A. Muirden) writes:
|> This is interesting - I don't have those kinds of problems with XFree86 1.3 -
|> what I did have the other day is a xdm crash of sorts. basically the mouse
|> worked fine and shot all over and I could even highlight the text in
|> the xconsole window but the keyboard wouldn't input at all and that made it
|> kinda hard to login from the console :)
|> 
|> I didn't try a telnet in so I don't know if the whole system had died or
|> what - I just got very impaitent and rebooted :)
|> 
|> -richard

You are running 386bsd with pccons, and the effect was that over night your
keyboard was killed? This is a known effect, happening with all console drivers
which abuse /dev/vga as a second entry to /dev/console (i.e. have /dev/vga in
/etc/ttys). In this case syslogd closes and reopens /dev/console at midnight, and
thus grabs the keyboard away from the xserver. There are two possible fixes for that,
one that does counting the open/closes on /dev/console and "/dev/vga" and does the
actual close when both counters are zero (a slightly different alternative uses
the reference count for a vnode for this), or give the server an own device for
raw keyboard access rather than /dev/console. This latter has been done in codrv.

-- 
         Dr. Holger Veit                   | INTERNET: Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   P.O. Box 13 16                    | Had a nightmare yesterday:
|  |/    Schloss Birlinghoven              | My system started up with
         DW-5205 St. Augustin, Germany     | ... Booting vmunix.el ...