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 8:45:06 pm
List:org.freebsd.freebsd-smp

It is true that switching between X and text vtys fast by hitting CTL-ALT-Fx repeatedly may cause keyboard lockup.

You can lock up the keyboard if you try to switch between them at the *wrong* moment. For example, many people have reported the keyboard lockup when they tried to switch vtys while the X server is starting up.

VT switching is a tricky business and the XFree86 servers and syscons, from time to time, do not see each other in eye to eye...

This is not I/O contention. It is an algorithm problem.

# This, I believe, is mostly fixed in 4.0-CURRENT.

But, I do not believe this is the cause of your problem. Because it is the xdm/X server alone that is switching vtys when your keyboard lockup happens. You, the user, are not switching vtys when this is happening. Nor over-loaded I/O is the cause; the X server alone is exercising inb()/outb() when your lockup happens. There is no I/O contention.

Kazu

It looks like your suspiscions are correct. After further attempts at starting xdm from a root seesion, it does in fact hang more often than not. Perhaps I was just "lucky" and it only worked with a quiet system.

I'll try the ps test and see what I get

Terry Lambert wrote:

Wow! That's a lot to chew and mostly over my head, but a couple of questions..

If what you say is true, then wouldn't I have toruble running xdm even from a root login after the boot process is over? I don't.

No, not if the system is relatively quiescent.

As I told Nate, you should be able to easily test this by loading the I/O system (preferrably *not* your disks) and bouncing the console in and out of X using ctrl-alt-F1/[ctrl-]alt-F4. If it locks up, the problem has been identified.

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