* Re: EB164 extreme wierdness
[not found] <E0u72FC-0003WS-00@heaton.cl.cam.ac.uk>
@ 1996-04-10 20:27 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-10 21:48 ` Richard Henderson
1996-04-19 8:11 ` Linus Torvalds
0 siblings, 2 replies; 5+ messages in thread
From: Jay Estabrook - Alpha Migration Tools - LINUX Project @ 1996-04-10 20:27 UTC (permalink / raw)
> 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
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EB164 extreme wierdness
1996-04-10 20:27 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
@ 1996-04-10 21:48 ` Richard Henderson
1996-04-19 8:11 ` Linus Torvalds
1 sibling, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1996-04-10 21:48 UTC (permalink / raw)
> 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... :-(
I can add one more data point here. The problem does not
occurr under the debugger. Even with no breakpoints set
and the program running at full speed, a condition in which
there *should* be no interference with the inferior except
for signals.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EB164 extreme wierdness
1996-04-10 20:27 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-10 21:48 ` Richard Henderson
@ 1996-04-19 8:11 ` Linus Torvalds
1 sibling, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 1996-04-19 8:11 UTC (permalink / raw)
I finally got around to fixing the ev5 icache invalidation problem
cleanly, instead of using a lot of "imb()" calls that will invalidate a
lot of "good" icache. I'm reasonably happy with how the patches look, but
I haven't actually _tested_ any of this yet (the ev5 is at the
university, and I'm at home right now). It does compile fine, and once I
get to the uni I'll be able to re-boot and check if it works for me (but
I haven't really seen the problem in several weeks).
Anyway, I'm including a pre-patch92 that does all this - the patches
aren't very large, and if it works it should actually be faster than before
too (because we now take advantage of ASN numbers for normal invalidates of
the current process).
Does this fix the problem for you?
(Too bad the ev4/ev45 PAL-code is broken wrt ASN numbers, and that the
hardware is non-optimal too, now we have to check the "BROKEN_ASN" thing
and have two separate versions of some functions)
Linus
-----
begin 644 pre-patch-1.3.92.gz
M'XL(")%'=S$"`W!R92UP871C:"TQ+C,N.3(`K5K_<]K&$O]9_!5;IVU$A`#Q
MU4#L"<&0,,$V!9QZ7MNGD>$`U4)B],6Q7YK^[6_W3A("!([[WDR*I-O=N[W=
MO=W/K3LSYW-0`U!5ETT#US,?&+[;[(LZ-RT&#UJ^G&]H!<NT@\?"I7'/^/#V
M9T95U0.<4L\UH;UV06N`5FP6Z\UJ'=\;M8RB*'"8%QG+5?PG>-^]`U7+U4"A
MGW?O,O"Y.QKWKZ_@#+0,#-N3SL=!]W-W@-_EC#J^>1]]-;2,DOPL92`#[5'G
M(WZ8Y=,:?LY>8@##G2X+AK5>&H49FT\=>VXNX#`IQ3!I;-*E8XN-XWY+S5*Q
MJ>T9*55NV[A5K5E)&*Q>)8OA;YV;[!5TKJ]Z_0]Z?W@+I@>VXX/'_`2A/6D/
M/AT@W9:J28H24]Z/^A<?NNE25]W)H'^U/262A3N+->[08GU7OW%GW-?;']M:
MO5),GU=P]#OUV]O;(QSO;\:#ZP_]3KKBG.5BTBF73H\MTT6KZ!>7[>=8AOWK
M(RPW6D4O5WI)#FX$K<*-H-5"(R1EKCJC:KE3?WP\>SI`T+TG>WJ8VFN/)TC=
MV?*&?M$?(^&JVYD<T;Q_52H6CQEHV!YKM2/T7_9\P'=>%CLO[[M_T!^F3S<<
M'B",)Z-MF<V6?]U>.JG;`<+P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M?\VK]S"7NG"H(J)*][O7%W
M@M>3\["50=?6J`>"4^TV%-/Q@7H`'ZA[^$!-QP=J$A\<@0?J/X,'4OJ?3X1O
MH]+&]W_1'X4V(9X<!3?B*VXTW9G/L1;)7#@G1Z07MJZIKVBN'RJ%8+:.FWG;
M@RG`?IMA]W^M.&T6R[M8_K`$LFOE9C71V*O6^5_[Z!&&ICF7@PA+>_=G9P00
M\7J#<X6#_Q$G!J2HRT^]4CG\6Q4YD(/U,W$#FS$\TLY3@H=;_K_!D)C)@2(`
!````
`
end
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EB164 extreme wierdness
[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
1 sibling, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 1996-04-19 9:43 UTC (permalink / raw)
Oops, silly buglet in the eb164-patch I sent out:
the function
get_new_asn_and_reload(struct task_struct *tsk)
{
get_mmu_context(tsk);
reload_context(tsk);
}
(in arch/alpha/mm/fault.c) should invalidate the old context first, obviously.
Ie it should have a "tsk->mm->context = 0;" before the get_mmu_context() call..
Duh,
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: EB164 extreme wierdness
[not found] <Pine.LNX.3.91.960419110025.13659H-100000@linux.cs.Helsinki.FI>
1996-04-19 9:43 ` EB164 extreme wierdness Linus Torvalds
@ 1996-04-20 7:15 ` Richard Henderson
1 sibling, 0 replies; 5+ messages in thread
From: Richard Henderson @ 1996-04-20 7:15 UTC (permalink / raw)
> Anyway, I'm including a pre-patch92 that does all this - the patches
> aren't very large, and if it works it should actually be faster than before
> too (because we now take advantage of ASN numbers for normal invalidates of
> the current process).
The code works. Speed tests indicate that it is faster for oodles
of short jobs and about the same for larger ones. Which is just
about what I'd expect: large jobs fill up the cache on their own
while small jobs left room in the cache for others.
job imb code asn code
cvs co linux 1:02 0:37.52
make dep 0:30.53 0:24.57
make vmlinux modules 6:05 6:09
All trials have the buffer cache primed with "tar cfv /dev/null .".
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1996-04-20 7:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.91.960419110025.13659H-100000@linux.cs.Helsinki.FI>
1996-04-19 9:43 ` EB164 extreme wierdness Linus Torvalds
1996-04-20 7:15 ` Richard Henderson
[not found] <E0u72FC-0003WS-00@heaton.cl.cam.ac.uk>
1996-04-10 20:27 ` Jay Estabrook - Alpha Migration Tools - LINUX Project
1996-04-10 21:48 ` Richard Henderson
1996-04-19 8:11 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox