From owner-freebsd-stable Tue Jan 26 17:27:21 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA02726 for freebsd-stable-outgoing; Tue, 26 Jan 1999 17:27:21 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from alecto.physics.uiuc.edu (alecto.physics.uiuc.edu [130.126.8.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA02720 for ; Tue, 26 Jan 1999 17:27:18 -0800 (PST) (envelope-from igor@alecto.physics.uiuc.edu) Received: (from igor@localhost) by alecto.physics.uiuc.edu (8.9.0/8.9.0) id TAA25054; Tue, 26 Jan 1999 19:27:16 -0600 (CST) From: Igor Roshchin Message-Id: <199901270127.TAA25054@alecto.physics.uiuc.edu> Subject: Re: Keyboard Not Responding With X startup In-Reply-To: from "Jason C. Wells" at "Jan 27, 1999 1: 4:46 am" To: jcwells@u.washington.edu Date: Tue, 26 Jan 1999 19:27:16 -0600 (CST) Cc: freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I had a similar occasion with 2.2.7-R on a slow 486. I addressed it to some type of racing condition, when X gets the virtual console before getty gets it (or something like that). I ended up editing the file /usr/X11R6/etc/rc.d putting "sleep 7" there: #!/bin/sh if [ -x /usr/X11R6/bin/xdm ]; then echo -n ' xdm'; (sleep 7; /usr/X11R6/bin/xdm )& fi This worked for me. Hope, this help, Igor > If I start xdm during init time from /usr/X11R6/etc/rc.d the keyboard does > not respond. I cannot xlogin. I cannot CTRL-ALT-F* to another terminal. I > cannot CTRL-ALT-BSP to kill the server. I cannot CTRL-ALT-DEL to restart > the box. I am forced to stare at xlogin. > > If I start xdm from the command line every thing works normally. > > I have a fresh build of X, world, and my kernel. This behavior is > something new since I went -stable from 3.0R. I figure that rebuilding the > universe would cure it because of the new syscons stuff. The rebuild > didn't work. > > It used to be that I would see the 'login:' prompt on the console before X > would start. Now X starts before the local daemons finish there startup. > Also, xdm-errors shows that X is starting on VT2 instead of VT4. It shows > and error: > > System: `/usr/X11R6/lib/X11/xkb/xkbcomp -w 1 -R/usr/X11R6/lib/X11/xkb -xkm > -m us -em1 "The XKEYBOARD keymap compiler (xkbcomp) reports:" -emp "> " > -eml "Errors from xkbcomp are not fatal to the X server" keymap/xfree86 > compiled/xfree86.xkm' > > Does anyone know why this might be happening? It seems like the timing of > the X startup is coinciding with the starting of getty on ttyv1,2,3 and > causing the keyboard to get lost in the shuffle. > > Catchya Later, | Give me UNIX or give me a typewriter. > Jason Wells | http://www.freebsd.org/ > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message