From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14065 invoked from network); 15 Nov 1999 19:33:29 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 15 Nov 1999 19:33:29 -0000 Received: from hermes.astro.washington.edu (hermes.astro.washington.edu [128.95.98.7]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id OAA20272 for ; Mon, 15 Nov 1999 14:33:28 -0500 Received: from localhost by hermes.astro.washington.edu (940816.SGI.8.6.9/UW-NDC Revision: 2.25 ) id LAA04924; Mon, 15 Nov 1999 11:33:24 -0800 Date: Mon, 15 Nov 1999 11:33:23 -0800 (PST) From: Chance Reschke To: axp-list@redhat.com Subject: Re: 21264 Alpha stuck spinlocks and memory woes In-Reply-To: <199911151825.NAA01827@localhost.localdomain> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII > > 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