Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook - Alpha Migration Tools - LINUX Project <jestabro@brillig.amt.tay1.dec.com>
Subject: Re: EB164 extreme wierdness
Date: Wed, 10 Apr 96 16:27:54 -0400	[thread overview]
Message-ID: <9604102027.AA08812@brillig.amt.tay1.dec.com> (raw)
In-Reply-To: <E0u72FC-0003WS-00@heaton.cl.cam.ac.uk>

> We have three EB164's which all exhibit some very strange
> behaviour. We often find that simple commands like 'uname','tar',
> 'mv', 'id', 'cp' fail sporadically, even when invoked with
> trivial or no arguments e.g. 'uname','id','tar --v', 'mv --v'.
> 
> When a particular command has decided to get itself into this
> state, invoking it repeatedly will cause it to fail with a memory
> violation at the same PC. Leave the shell alone for 10 seconds
> and try it again, and the command will magically work. Repeating
> it immediately will cause it to fail at the same PC again. Once
> into this state, the behaviour is totally repeatable!

Yes, I've seen this; during boot-up, "touch" repeatedly memory violates;
I'm assuming that it is *after* the first time when it ran correctly.
Also, the *first* time I "startx", the server comes up just fine, but if I
quit out and do another "startx", I get error logged messages saying that
".Xclients" has memory violated, and the server comes down (it's not
crashing, its just that its controlling process, ie .Xclients via bash, has
terminated). Note that this has been with the TGA server, as the S3 server
seems to work fine; go figure... :-(

> All our EB164's are Redhat-2.1 axp installed, and the problem
> exists with all kernel versions we've tried up to and including
> 1.3.85. All the kernels have been patched to disable DISCONNECTS
> in the 53c810 driver.
> 
> The exact same binaries run fine on a Redhat-2.1 EB66+
> 
> Can anyone shed any light on this please ?

The problem *feels* like one which shows up when executable files have been
cached or sticky-bitted or whatever, and have stayed around in memory, and
the *next* time they get used, use old addresses or data or something,
instead of all fresh stuff.

I have seen the above symptoms with 1.3.84; *HOWEVER*, a 1.3.81 kernel seems
to work fine; ie no "touch" or ".Xclients" problems at all.

So, maybe something in between changed. I looked, and Linus' notes for 1.3.84
included:

 - alpha patches to support PCI-PCI bridges
 - file locking is better
 - kmalloc() is slightly faster
 - new pages are appropriately marked dirty if written to (results in fewer
   page faults on architectures that do the dirty bit in software, ie alpha)
 - use atomic operations instead of disabling interrupts for skb free'ing.

His notes for 1.3.83 didn't have anything suggestive, and I couldn't even
*find* an announcement for 1.3.82, so... :-(

Anyway, that's as far along as I have gotten, maybe this will be helpful
for others, as the VM stuff is *not* my specialty... :-) :-)

Good luck.

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                         Alpha Migration Tools
Mailstop: TAY1-2                        (DTN) 227-4202
Digital Equipment Corp.                 (external) (508) 952-4202
151 Taylor Street                       enet: jestabro@amt.tay1.dec.com
Littleton, MA 01460-1407                decnet: tallis::jestabro
-------------------------------------------------------------------------------

       reply	other threads:[~1996-04-10 20:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E0u72FC-0003WS-00@heaton.cl.cam.ac.uk>
1996-04-10 20:27 ` Jay Estabrook - Alpha Migration Tools - LINUX Project [this message]
1996-04-10 21:48   ` EB164 extreme wierdness Richard Henderson
1996-04-19  8:11   ` Linus Torvalds
     [not found] <Pine.LNX.3.91.960419110025.13659H-100000@linux.cs.Helsinki.FI>
1996-04-19  9:43 ` Linus Torvalds
1996-04-20  7:15 ` Richard Henderson
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