Date: Thu, 22 Jul 1999 23:03:36 -0700 (PDT) From: Thomas Dean <tomdean@ix.netcom.com> To: yokota@zodiac.mech.utsunomiya-u.ac.jp Cc: freebsd-smp@freebsd.org Subject: Re: SMP + XDM = keyboard lockup Message-ID: <199907230603.XAA53320@ix.netcom.com> In-Reply-To: <199907230520.OAA05070@zodiac.mech.utsunomiya-u.ac.jp> (message from Kazutaka YOKOTA on Fri, 23 Jul 1999 14:19:59 %2B0900) References: <Pine.BSF.4.10.9907230012350.13821-100000@pawn.primelocation.net> <199907230432.VAA21465@apollo.backplane.com> <199907230451.VAA52884@ix.netcom.com> <199907230520.OAA05070@zodiac.mech.utsunomiya-u.ac.jp>
index | next in thread | previous in thread | raw e-mail
I have not tried this for some time. The symptoms are somewhat
different.
I have rebuilt my complete system since the last time I caused a hang.
This was because of the elf and egcs changes. I rebuilt all ports,
including X. I learned to not touch the keyboard during the end of
session transition.
Now, the X session will start. But, CTL-ALT-Fx just beeps.
Everything with the X session seems OK.
I start X from /usr/local/etc/rc.d/xdm.sh, included below. I use the
xsm session manager. If I select xsm->shutdown->immediately with the
mouse, the session ends. The video mode changes:
1. The screen blanks.
2. A seemingly low-resolution color display is presented with some
bars across the top 1 cm of the screen.
3. The login prompt is presented.
Previously, during the video mode changing, during #1 or #2 above, if
I used CTL-ALT-Fx, the keyboard would hang. I would have to telnet
into the system and restart things manually. I killed xdm, restarted
getty, and, restarted xdm. This fixed things.
I can telnet in to the system. 'kbd_mode -a' does not change the
keyboard action.
The NumLock, CapsLock and ScrollLock led's do not change state.
I can not switch out of the X mode using CTL-ALT-Fx, it just beeps.
I will try to restart getty to see if it recovers. I will send the
results of this in a few minutes.
tomdean
=== /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
=== from /etc/ttys ============
...
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
...
=== from top =============
last pid: 53300; load averages: 0.00, 0.01, 0.01 up 24+06:34:06 22:50:30
51 processes: 1 running, 50 sleeping
CPU states: 0.6% user, 0.0% nice, 0.8% system, 0.4% interrupt, 98.3% idle
Mem: 40M Active, 22M Inact, 18M Wired, 6236K Cache, 8024K Buf, 6100K Free
Swap: 227M Total, 2224K Used, 225M Free
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
53300 root 28 0 1596K 800K CPU1 0 0:01 1.43% 0.98% top
53269 tomdean 2 0 6184K 5560K select 1 0:14 0.63% 0.63% emacs
7367 root 2 0 10192K 7836K select 1 84:43 0.05% 0.05% XF86_SVGA
32229 tomdean 2 0 19296K 12380K select 1 22:25 0.00% 0.00% netscape
32295 root 2 0 1592K 880K select 0 17:45 0.00% 0.00% ppp
252 root 2 0 1460K 516K select 0 1:34 0.00% 0.00% nmbd
171 root 2 0 1300K 568K select 0 0:58 0.00% 0.00% sendmail
164 root 10 0 1012K 340K nanslp 1 0:54 0.00% 0.00% cron
123 root 2 0 300K 20K nfsd 0 0:52 0.00% 0.00% nfsd
98 root 2 0 840K 372K select 0 0:37 0.00% 0.00% syslogd
47506 tomdean 2 0 1096K 688K select 0 0:13 0.00% 0.00% fetchmail
161 root 2 0 924K 380K select 0 0:05 0.00% 0.00% inetd
125 root 2 0 300K 20K nfsd 0 0:04 0.00% 0.00% nfsd
53258 tomdean 2 0 2328K 1752K select 1 0:01 0.00% 0.00% twm
1 root 10 0 504K 72K wait 1 0:01 0.00% 0.00% init
53263 tomdean 2 0 2780K 2236K select 1 0:01 0.00% 0.00% xterm
53248 tomdean 3 0 1392K 1044K ttyin 0 0:01 0.00% 0.00% tcsh
53243 tomdean 2 0 2544K 2008K select 0 0:01 0.00% 0.00% xterm
53226 tomdean 2 0 2332K 1776K select 1 0:01 0.00% 0.00% xsm
53260 tomdean 2 0 1956K 1364K select 1 0:00 0.00% 0.00% smproxy
53241 tomdean 2 0 2464K 1924K select 0 0:00 0.00% 0.00% xterm
53244 tomdean 2 0 2544K 2004K select 0 0:00 0.00% 0.00% xterm
53274 tomdean 18 0 1320K 1004K pause 1 0:00 0.00% 0.00% tcsh
53249 tomdean 3 0 1320K 968K ttyin 0 0:00 0.00% 0.00% tcsh
53250 tomdean 3 0 1320K 968K ttyin 0 0:00 0.00% 0.00% tcsh
286 root 3 0 476K 8K ttyin 0 0:00 0.00% 0.00% csh
53264 root 18 0 480K 312K pause 0 0:00 0.00% 0.00% csh
118 root 2 0 500K 8K select 0 0:00 0.00% 0.00% mountd
53215 root 10 0 2200K 1452K wait 1 0:00 0.00% 0.00% xdm
250 root 2 0 1824K 356K select 0 0:00 0.00% 0.00% smbd
53273 root 2 0 908K 584K select 0 0:00 0.00% 0.00% telnetd
53282 root 3 0 472K 324K ttyin 1 0:00 0.00% 0.00% csh
107 daemon 2 0 848K 288K select 1 0:00 0.00% 0.00% portmap
7364 root 2 0 2148K 956K select 1 0:00 0.00% 0.00% xdm
168 root 2 0 852K 316K select 1 0:00 0.00% 0.00% lpd
289 root 3 0 852K 248K ttyin 1 0:00 0.00% 0.00% getty
287 root 3 0 852K 248K ttyin 0 0:00 0.00% 0.00% getty
290 root 3 0 852K 248K ttyin 1 0:00 0.00% 0.00% getty
288 root 3 0 852K 248K ttyin 1 0:00 0.00% 0.00% getty
291 root 3 0 852K 248K ttyin 0 0:00 0.00% 0.00% getty
53270 tomdean 2 0 820K 396K select 0 0:00 0.00% 0.00% emacsserv
=== from ps -al ============
0 286 1 1 3 0 476 8 ttyin Is+ v0 0:00.27 -csh (csh)
0 287 1 0 3 0 852 248 ttyin Is+ v1 0:00.06 /usr/libexec/getty Pc ttyv1
0 288 1 0 3 0 852 248 ttyin Is+ v2 0:00.05 /usr/libexec/getty Pc ttyv2
0 289 1 0 3 0 852 248 ttyin Is+ v3 0:00.06 /usr/libexec/getty Pc ttyv3
0 290 1 0 3 0 852 248 ttyin Is+ v4 0:00.05 /usr/libexec/getty Pc ttyv4
0 291 1 0 3 0 852 248 ttyin Is+ v5 0:00.05 /usr/libexec/getty Pc ttyv5
0 292 1 1 3 0 852 248 ttyin Is+ v6 0:00.04 /usr/libexec/getty Pc ttyv6
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907230603.XAA53320>
