atom feed54 messages in org.freebsd.freebsd-smpRe: SMP + XDM = keyboard lockup
FromSent OnAttachments
Richard ScheperJul 22, 1999 5:31 am 
Kazutaka YOKOTAJul 22, 1999 5:45 am 
Richard ScheperJul 22, 1999 6:04 am 
Richard ScheperJul 22, 1999 7:17 am 
Thomas DeanJul 22, 1999 9:34 am 
Richard ScheperJul 22, 1999 10:09 am 
Nate WilliamsJul 22, 1999 10:24 am 
Terry LambertJul 22, 1999 11:00 am 
Richard ScheperJul 22, 1999 11:05 am 
Nate WilliamsJul 22, 1999 11:11 am 
Nate WilliamsJul 22, 1999 11:16 am 
Richard ScheperJul 22, 1999 11:16 am 
Terry LambertJul 22, 1999 11:16 am 
Terry LambertJul 22, 1999 11:38 am 
Mike SmithJul 22, 1999 11:42 am 
Nate WilliamsJul 22, 1999 11:45 am 
Terry LambertJul 22, 1999 11:45 am 
Terry LambertJul 22, 1999 11:50 am 
Terry LambertJul 22, 1999 11:52 am 
Mike SmithJul 22, 1999 11:53 am 
Nate WilliamsJul 22, 1999 11:55 am 
Richard ScheperJul 22, 1999 12:15 pm 
Garance A DrosihnJul 22, 1999 1:57 pm 
Garance A DrosihnJul 22, 1999 2:00 pm 
Richard A. ScheperJul 22, 1999 6:33 pm 
Terry LambertJul 22, 1999 6:34 pm 
Terry LambertJul 22, 1999 6:36 pm 
Matthew DillonJul 22, 1999 6:45 pm 
Thomas DeanJul 22, 1999 6:47 pm 
Kazutaka YOKOTAJul 22, 1999 8:10 pm 
Kazutaka YOKOTAJul 22, 1999 8:45 pm 
Kazutaka YOKOTAJul 22, 1999 9:01 pm 
Chris D. FaulhaberJul 22, 1999 9:17 pm 
Matthew DillonJul 22, 1999 9:31 pm 
Kazutaka YOKOTAJul 22, 1999 9:45 pm 
Thomas DeanJul 22, 1999 9:51 pm 
Kazutaka YOKOTAJul 22, 1999 10:06 pm 
Kazutaka YOKOTAJul 22, 1999 10:19 pm 
Kazutaka YOKOTAJul 22, 1999 10:29 pm 
Thomas DeanJul 22, 1999 11:03 pm 
Marc van KempenJul 23, 1999 12:42 am 
Nate WilliamsJul 23, 1999 9:19 am 
Nate WilliamsJul 23, 1999 9:23 am 
Nate WilliamsJul 23, 1999 9:27 am 
Terry LambertJul 23, 1999 4:21 pm 
Matthew DillonJul 23, 1999 4:43 pm 
Bruce EvansJul 23, 1999 4:59 pm 
Terry LambertJul 23, 1999 5:14 pm 
Bruce EvansJul 23, 1999 5:41 pm 
Kazutaka YOKOTAJul 24, 1999 1:17 am 
Kazutaka YOKOTAJul 24, 1999 1:21 am 
Terry LambertJul 26, 1999 1:39 pm 
Kazutaka YOKOTAAug 6, 1999 11:29 pm 
Nate WilliamsAug 8, 1999 11:08 am 
Subject:Re: SMP + XDM = keyboard lockup
From:Kazutaka YOKOTA (yok@zodiac.mech.utsunomiya-u.ac.jp)
Date:Jul 22, 1999 9:45:00 pm
List:org.freebsd.freebsd-smp

I guess it may not. After init forks and execs getty and xdm, we don't know the exact order in which these processes will be scheduled to run on which CPU, do we? /etc/ttys does not ensure the order of execution.

If xdm happens to run before other getty processes, it may grab a vty which will be eventually opened by a getty later.

vty's are assigned in /etc/ttys, though:

ttyv4 "/usr/X11R6/bin/xdm -nodaemon" xterm off secure

^^^^^ so it the starting order shouldn't matter, unless you have a getty and xdm assigned the same vty, and then it _should_ lock up whether using SMP or not.

This does not necessarily mean the X server will run in the same ttyv4 as xdm is. It will still look for an empty vty.

I just experimented with the following /etc/ttys:

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 ttyv8 "/usr/libexec/getty Pc" cons25 off secure ttyv9 "/usr/X11R6/bin/xdm -nodaemon" xterm on secure

Notice two empty vtys: ttyv7 and ttyv8.

Did `kill -HUP 1' and I got the X server in ttyv7 rather than ttyv9. Here is lines from /usr/X11R6/lib/X11/xdm/xdm-errors:

XFree86 Version 3.3.3.1 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: December 29 1998 If the server is older than 6-12 months, or if your card is newer than the above date, look for a newer version before reportiing problems. (see http://www.XFree86.Org/FAQ) Operating System: FreeBSD 3.0-CURRENT i386 [ELF] Configured drivers: SVGA: server for SVGA graphics adaptors (Patchlevel 0): NV1, STG2000, RIVA128, RIVATNT, ET4000, ET4000W32, ET4000W32i, [...] ct64300, mediagx, V1000, V2x00, p9100, spc8110, generic Using syscons driver with X support (version 2.0) (using VT number 8) ~~~~~~~~~~~~

XF86Config: /etc/XF86Config [...]

"VT number 8" means /dev/ttyv7.

This means that if xdm if run before any getty when the system is staring up, it may grab a vty which will be subsequently used by a getty process.

Kazu

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message