Why SMP system freeze in X by CAPS LOCK?

Why SMP system freeze in X by CAPS LOCK?

Post by Alexander Budni » Sat, 27 Sep 1997 04:00:00



Hello to ALL!

We have Dual PPro system whith RedHat 4.2/kernel 2.0.30 SMP.
It sleep for 15 seconds sometimes if somebody press one of
CAPS, SCROLL or NUM LOCK's. I tryed 2.1.54, but in this case
system freze forever.

Is this hapens on all SMP systems? Is any way to fix this,
accept to get out such keys from keyboard :-) ???

--
        Alex

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Tim Goodw » Sat, 27 Sep 1997 04:00:00




Quote:>We have Dual PPro system whith RedHat 4.2/kernel 2.0.30 SMP.
>It sleep for 15 seconds sometimes if somebody press one of
>CAPS, SCROLL or NUM LOCK's.

I have the same setup, and I've also seen this.  The system hangs
extremely hard: the clock stops.  I'm using a similar system, with
XFree86 3.3.1.  I can't reproduce it when typing at a text console
(although I rarely use them).

Any help or suggestions would be greatly appreciated.

Tim.
--
Tim Goodwin | "Gateways are designed for the purpose of losing information;
Cygnus, UK  | some do better than others." -- Dave Crocker

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Jeffrey Mark Siskin » Sat, 27 Sep 1997 04:00:00


Quote:> We have Dual PPro system whith RedHat 4.2/kernel 2.0.30 SMP.
> It sleep for 15 seconds sometimes if somebody press one of
> CAPS, SCROLL or NUM LOCK's. I tryed 2.1.54, but in this case
> system freze forever.

> Is this hapens on all SMP systems? Is any way to fix this,
> accept to get out such keys from keyboard :-) ???

I noticed this on SMP PPro systems that use the Orion chipset (such as the
AMI Goliath motherboard) but not on systems that use the Natoma chipset (such
as the Tyan Titan Pro ATX S-1668).

    Jeff (http://www.neci.nj.nec.com/homepages/qobi)

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Trent Piep » Tue, 30 Sep 1997 04:00:00




Quote:>We have Dual PPro system whith RedHat 4.2/kernel 2.0.30 SMP.
>It sleep for 15 seconds sometimes if somebody press one of
>CAPS, SCROLL or NUM LOCK's. I tryed 2.1.54, but in this case
>system freze forever.

>Is this hapens on all SMP systems? Is any way to fix this,
>accept to get out such keys from keyboard :-) ???

This happens to me too, I have a 430HX based dual pentium system.  It's not
the key isself I think, but rather changing the keyboard LED that does it.  I
notice that the freeze doesn't always happen when pressing one of these keys,
and when it does the led doesn't change.  Sometimes when starting X the freeze
will happen, as X will turn numlock off when it starts if it was on before.  I
bet it's some kind of race condition in the console driver.  It has happened
to me in text mode, but usually it's in X.

--
|Gazing up to the breeze of the heavens \ on a quest, meaning, reason  |
|came to be, how it begun \ all alone in the family of the sun         |
|curiosity teasing everyone \ on our home, third stone from the sun.   |

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Alexander Budni » Wed, 01 Oct 1997 04:00:00


Well, i would like to say that my computer don't more freeze!
This because i switch to 2.0.31pre31, but ... now key repeat does not work.
I'm in mess : what is better freeze on CAPS or chaos on key touch?
:-)

--
        Alex

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Dan Co » Mon, 06 Oct 1997 04:00:00




Quote:>> We have Dual PPro system whith RedHat 4.2/kernel 2.0.30 SMP.
>> It sleep for 15 seconds sometimes if somebody press one of
>> CAPS, SCROLL or NUM LOCK's. I tryed 2.1.54, but in this case
>> system freze forever.

>I noticed this on SMP PPro systems that use the Orion chipset (such as the
>AMI Goliath motherboard) but not on systems that use the Natoma chipset (such
>as the Tyan Titan Pro ATX S-1668).

Well, it happens here with a Natoma (440FX) chipset and Dual PPro-200s.
The freeze lasts maybe 5-10 seconds.

- Dan

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Mathijs Bran » Fri, 10 Oct 1997 04:00:00


I have a Tyan Tomcat II (430HX) with 2 P166 (classic) CPU's I have yet to
experience problems like these. My system has been running very stable since
I switched my NCR810 to asynchronous mode. At any one time there are several
people logged in and almost all the time someone is fooling around with
X on the console.

Mathijs

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Peter Waltenbe » Fri, 10 Oct 1997 04:00:00




Quote:> I have a Tyan Tomcat II (430HX) with 2 P166 (classic) CPU's I have yet to
> experience problems like these. My system has been running very stable since
> I switched my NCR810 to asynchronous mode. At any one time there are several
> people logged in and almost all the time someone is fooling around with
> X on the console.

> Mathijs

I thought the same, I was reading one of the earlier posts, then pressed
CAPS-LOCK, the system hung ....

O.K. so my system only hangs under X when reading mail messages about
pressing CAPS-LOCK under 'X'  and pressing CAPS-LOCK. :)

Anyway, there is a real problem, I have a (very) crude hack around it
which works on my system. It isn't a "real" fix for the problem which
seems to be a race condition with the jiffie counter on SMP systems,
but it'll make it go away until something better comes along.

A couple of places in the keyboard code poll I/O ports for N jiffies,
adding an extra test so they wouldn't hang forever made the problem go
away here. I can provide diff's against 2.1.57 if anyone needs them, but
it isn't hard to do manually on other kernels.

Peter

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Tim Goodw » Sat, 11 Oct 1997 04:00:00



>I have the same setup, and I've also seen this.  The system hangs
>extremely hard: the clock stops.

Since posting this message, I've built the latest kernel, 2.1.57, and
haven't seen a repeat of this problem.

(Of course, 2.1.n is a development path, so this may not be an option
for some people.)

Tim.
--
Tim Goodwin | "Gateways are designed for the purpose of losing information;
Cygnus, UK  | some do better than others." -- Dave Crocker

 
 
 

Why SMP system freeze in X by CAPS LOCK?

Post by Rick Forriste » Wed, 15 Oct 1997 04:00:00


You might want to take a look at Leonard Zubkopf's web site,
<http://www.dandelion.com/Linux>.  He is not only the author of the
BusLogic SCSI driver, but is involved in the SMP work on the kernel.
He has notes & patches there with reference to deadlock/race situations
in the SMP kernel.

Best
        Rickf




> > I have a Tyan Tomcat II (430HX) with 2 P166 (classic) CPU's I have yet to
> > experience problems like these. My system has been running very stable since
> > I switched my NCR810 to asynchronous mode. At any one time there are several
> > people logged in and almost all the time someone is fooling around with
> > X on the console.

> > Mathijs

> I thought the same, I was reading one of the earlier posts, then pressed
> CAPS-LOCK, the system hung ....

> O.K. so my system only hangs under X when reading mail messages about
> pressing CAPS-LOCK under 'X'  and pressing CAPS-LOCK. :)

> Anyway, there is a real problem, I have a (very) crude hack around it
> which works on my system. It isn't a "real" fix for the problem which
> seems to be a race condition with the jiffie counter on SMP systems,
> but it'll make it go away until something better comes along.

> A couple of places in the keyboard code poll I/O ports for N jiffies,
> adding an extra test so they wouldn't hang forever made the problem go
> away here. I can provide diff's against 2.1.57 if anyone needs them, but
> it isn't hard to do manually on other kernels.

> Peter

--

You might be a redneck if: your richest relative buys a new house
and you have to help take the wheels off...          Jeff Foxworthy