Date: Thu, 22 Jul 1999 13:10:18 -0400 (EDT) From: Richard Scheper <scheper@beast.toad.net> To: freebsd-smp@FreeBSD.ORG Subject: Re: SMP + XDM = keyboard lockup Message-ID: <Pine.LNX.4.10.9907221259510.11734-100000@beast.toad.net> In-Reply-To: <199907221634.JAA51919@ix.netcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the response.. but i must admit I'm still confused. I thought the problem was that the speed increase of SMP was allowing the X server to grab ttyv0 before init started getty on it. If rc.d runs before rc.local, then I don't see how this could help. Also, I don't understand why initializing xdm in /etc/ttys doesn't work since by then init should have executed getty on the appropriate ttvs. Could anyone explain this to me? Thanks -Rich On Thu, 22 Jul 1999, Thomas Dean wrote: > I have xdm started from /usr/local/etc/rc.d/xdm.sh. It was stated > earlier that ./rc.d/*.sh is the wave of the future. This works fine. > No sleep, no '&'. /usr/local/etc/rc.d/xdm.sh is run before rc.local! > > /etc/rc looks for scripts in the location contained in the > local_startup variable, which is set in /etc/defaults/rc.defaults to > /usr/local/etc/rc.d. > > The script is executed with '(set -T ; trap 'exit 1' 2 ; ${script} start)' > > My /etc/ttys contains > ... > ttyv0 "/usr/libexec/getty Pc" cons25 on secure > ttyv1 "/usr/libexec/getty Pc" cons25 on secure > ttyv2 "/usr/libexec/getty Pc" cons25 on secure > ttyv3 "/usr/libexec/getty Pc" cons25 on secure > ttyv4 "/usr/libexec/getty Pc" cons25 on secure > ttyv5 "/usr/libexec/getty Pc" cons25 on secure > ttyv6 "/usr/libexec/getty Pc" cons25 on secure > ttyv7 "/usr/libexec/getty Pc" cons25 off secure > ... > > > my /usr/local/etc/rc.d/xdm.sh: > > #! /bin/sh > # $Id: xdm.sh,v 1.1 1999/02/14 06:05:30 tomdean Exp $ > > # start xdm > > # 19990115 tomdean - initial version > > if [ -x /usr/X11R6/bin/xdm ] ; then > # need to cleanup first. > if [ -f /usr/X11R6/lib/X11/xdm/xdm-pid ] ; then > rm -f /usr/X11R6/lib/X11/xdm/xdm-pid > fi > if [ -f /tmp/.X0-lock ] ; then > rm -f /tmp/.X0-lock > fi > # now, we can start it. > echo " xdm"; /usr/X11R6/bin/xdm > fi > > tomdean > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.9907221259510.11734-100000>