From owner-freebsd-smp Thu Jul 22 20: 7:22 1999 Delivered-To: freebsd-smp@freebsd.org Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (Postfix) with ESMTP id 93EAA15673 for ; Thu, 22 Jul 1999 20:07:15 -0700 (PDT) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:6f0qZg4ZS4M71g6VTCb/1zIVesMqi6+x@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.3/3.7Wpl2) with ESMTP id MAA14115; Fri, 23 Jul 1999 12:06:58 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id MAA00450; Fri, 23 Jul 1999 12:11:16 +0900 (JST) Message-Id: <199907230311.MAA00450@zodiac.mech.utsunomiya-u.ac.jp> To: Richard Scheper Cc: freebsd-smp@freebsd.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: SMP + XDM = keyboard lockup In-reply-to: Your message of "Thu, 22 Jul 1999 15:16:20 -0400." References: Date: Fri, 23 Jul 1999 12:11:15 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Actually, I don't have another way in, just the console. If I cause the >lockup I have no recourse but to turn the computer off. It makes it tough >to get info, I know. I never see any error messages in /var/log/messages Ok. Even if you don't have network connection to your system, it is possible to find clues as to what is happening. After you experience keyboard lockup, reboot your system, give the `-s' option at the boot loader prompt. You will then be in the single user mode. Examine the file /usr/X11R6/lib/X11/xdm/xdm-errors which records output from the X server and clients in the previous xdm invocation. Locate the lines: Using syscons driver with X support (version 2.0) (using VT number 4) ~~~~~~~~~~~ As you are trying to run xdm in /dev/ttyv3 by /etc/ttys, you should see "VT number 4" (notice the offset by 1; this is because the X server gives the first vty (/dev/ttyv0) the number 1), when the X server is running without the keyboard lockup. If the nubmer is 1 though 3, both the X server and getty are fighting for keyboard input in the same vty. When you run xdm from rc.local (or /usr/local/etc/rc/something) in one way or another, and have the keyboard lockup, you can veryfy xdm-getty conflicts in the same way by looking at this log file. As I stated before, I believe this is a timing problem. It may not always be reproducable by every SMP system; my SMP box has no trouble when I start xdm from /etc/ttys. Kazu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message