Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chance Reschke <reschke@astro.washington.edu>
To: axp-list@redhat.com
Subject: Re: 21264 Alpha stuck spinlocks and memory woes
Date: Mon, 15 Nov 1999 11:33:23 -0800 (PST)	[thread overview]
Message-ID: <Pine.SGI.3.96.991115112445.4365J-100000@hermes.astro.washington.edu> (raw)
In-Reply-To: <199911151825.NAA01827@localhost.localdomain>


> >         socket.c:43 spinlock stuck in amd at fffffc00003a6eb8(0) owner
> >         xauth at fffffc000032ae14(1) sched.c:30
> > 
> > Warnings about stuck spinlocks are regularly logged by the kernel, but the
> > machine usually gets unstuck and carries on.  Is there anything we can do
> > to eliminate this problem?
> 
> Is the above an example of one of the locks that does NOT come unstuck?
> 
> As you've noticed, there are occasions when a spinlock is held for a
> very long time, during normal system operation. This is most apt to be
> the "kernel" lock, which under 2.2 is still being used to manage a lot
> of the kernel operations under SMP.
> 
> If you have encountered cases in which the lock does NOT (eventually)
> come unstuck, you may have found a deadlock condition that needs to be
> investigated. Please try to collect as much information about those
> cases as possible, and post here and to linux-kernel.

You've described our situation exactly: quite a few "kernel" spinlocks
that eventually come unstuck (a few seconds at most), and the occasional
non-"kernel" spinlock that takes down the machine.  The example above is
one of the latter.  In fact, I think the majority of these have been
"xauth" stuck in "amd".

What information should I try to collect the next time this happens?

> > 2) We'd like to use 4GB of physical RAM on one of these machines, but the
> > current Linux kernel only supports 2GB.  The i386 BIGMEM patch doesn't
> > appear to address our problem either.  Is anyone working on native support
> > for big memory on Alphas?
> 
> Yes, I am working on patches that will support more than 2GB of memory, but
> only for RAWHIDE and all the EV6-based machines, nothing else. I expect to
> have something available for public consumption soon after official 2.2.14
> is released.

This would be a real boon for us.  There seems to be considerable
confusion about > 2GB RAM support on Alphas - lots of folks blindly
asserting that it has always worked for all alphas, while other folks
insist you have to buy a "real" server from Compaq for this to work.  Do
you know of a definitive reference (other than the kernel source) for
answers to this sort of question?

> > On a related note, I recently tried compiling a 2.3.26 kernel hoping it
> > might fix the spinlock problems, but it failed with many errors in
> > /usr/src/linux/mm/memory.c
> 
> Join the crowd... :-\

Yeah, I've seen several messages on this topic since joining the alpha
lists...

Thanks again for your thorough answers - they really helped.

 - C



  reply	other threads:[~1999-11-15 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-13  2:26 21264 Alpha stuck spinlocks and memory woes Chance Reschke
1999-11-15 18:25 ` Jay.Estabrook
1999-11-15 19:33   ` Chance Reschke [this message]
1999-11-16 20:48 ` Paul Jakma
1999-11-16 22:26   ` Peter Rival
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox