From owner-freebsd-smp Thu Jul 22 11:19: 3 1999 Delivered-To: freebsd-smp@freebsd.org Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (Postfix) with ESMTP id CAC8215608 for ; Thu, 22 Jul 1999 11:18:55 -0700 (PDT) (envelope-from tlambert@usr05.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id LAA19240; Thu, 22 Jul 1999 11:17:27 -0700 (MST) Received: from usr05.primenet.com(206.165.6.205) via SMTP by smtp02.primenet.com, id smtpd019217; Thu Jul 22 11:17:23 1999 Received: (from tlambert@localhost) by usr05.primenet.com (8.8.5/8.8.5) id LAA09698; Thu, 22 Jul 1999 11:17:22 -0700 (MST) From: Terry Lambert Message-Id: <199907221817.LAA09698@usr05.primenet.com> Subject: Re: SMP + XDM = keyboard lockup To: scheper@beast.toad.net (Richard Scheper) Date: Thu, 22 Jul 1999 18:17:19 +0000 (GMT) Cc: freebsd-smp@FreeBSD.ORG In-Reply-To: from "Richard Scheper" at Jul 22, 99 10:18:00 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > The XFree86 server tries to locate an empty vty to use for the X > > sesssion. If xdm is started in rc.local, the X server will run BEFORE > > init(8) starts invoking getty(8), and will find /dev/ttyv1 empty and > > tries to occupy that vty. When rc.init is finished, init(8) will run > > a copy of getty(8) in /dev/ttyv1, then, *Bomb* The X server and getty > > both tries to read from the keyboard. I don't believe this is the case, because of the SMP factor. If SMP is disabled, he does not see the problem. I believe that if what you are saying is correct, merely following the xdm documentation and starting the X server in /etc/ttys should resolve his problem. I still believe, however, that there is a real problem with user space code accessing the I/O bus directly under SMP, without it holding the Big Giant Lock. There is a real reason that the lock exists; it's not just there to piss all over concurrency -- that's just a side effect. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message