* Re: 2.2.{9,10} strangeness [not found] ` <199906190520.HAA08029@ludwig-alpha.unil.ch> @ 1999-06-19 14:42 ` Michal Jaegermann [not found] ` <19990619094515.A9365@swing.yars.free.net> 1 sibling, 0 replies; 8+ messages in thread From: Michal Jaegermann @ 1999-06-19 14:42 UTC (permalink / raw) To: Christian Iseli; +Cc: axp-list Christian Iseli wrote: > > Hi folks, > > lav@yars.free.net said: > > I'm experiencing strange things with kernels 2.2.10 and 2.2.9 on alpha > > pc164. > > For whatever it's worth, I have had very similar problems. And few days ago Richard Henderson posted an explanation on this list. Is anybody reading that? There are still unclear problems with vfork (and apparently its cooperation with address translation tables on a chip). For a time beeing, until somebody will solve that riddle, turn vfork off. Here is the patch as posted by Richard: Date: Wed, 16 Jun 1999 23:00:39 -0700 From: Richard Henderson <rth@twiddle.net> To: "Daniel J. Frasnelli" <dfrasnel@doxx.net> Cc: axp-list@redhat.com Subject: [hack] rh6 instability On Wed, Jun 16, 1999 at 01:13:12PM -0400, Daniel J. Frasnelli wrote: > By the way, several members of the Alpha Linux Org. including > myself have noted that there seem to be major stability problems/strange > errors under RH 6.0 with tasks that previously worked fine. I know. I've seen it myself. DaveM gave me the vital clue this evening over sushi -- vfork. The following hack disables vfork while I figure out what the real problem is. r~ --- 2.2.10-dist/arch/alpha/kernel/process.c Wed Jun 16 22:44:07 1999 +++ 2.2.10/arch/alpha/kernel/process.c Wed Jun 16 22:26:09 1999 @@ -282,8 +285,12 @@ int alpha_clone(unsigned long clone_flag int alpha_vfork(struct switch_stack * swstack) { +#if 0 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, rdusp(), (struct pt_regs *) (swstack+1)); +#else + return do_fork(SIGCHLD, rdusp(), (struct pt_regs *) (swstack+1)); +#endif } /* ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <19990619094515.A9365@swing.yars.free.net>]
[parent not found: <19990619110313.A6651@phlan.phlan.net>]
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) [not found] ` <19990619110313.A6651@phlan.phlan.net> @ 1999-06-22 7:13 ` Alexander V. Lukyanov [not found] ` <87yahc730w.fsf@rut.informatik.uni-tuebingen.de> 1999-06-22 17:37 ` Alexander V. Lukyanov 0 siblings, 2 replies; 8+ messages in thread From: Alexander V. Lukyanov @ 1999-06-22 7:13 UTC (permalink / raw) To: linux-alpha, debian-alpha, axp-list, orion On Sat, Jun 19, 1999 at 11:03:13AM -0500, orion@phlan.net wrote: > Since I also have this problem, I downgraded to kernel 2.2.7 and it just > compiled 2.2.10 flawlessly. Very strange. Looks like I have found the problem. 2.2.10 with arch/alpha/kernel/entry.S from 2.2.7 works flawlessly for me. Can anybody confirm that? One suspicious change in 2.2.8 was removing `call_pal PAL_tbi' after PAL_swpctx. What could that mean... I have not tried to back-out that part of patch yet, maybe someone will figure out what was wrong with 2.2.8 patch. Alexander. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <87yahc730w.fsf@rut.informatik.uni-tuebingen.de>]
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) [not found] ` <87yahc730w.fsf@rut.informatik.uni-tuebingen.de> @ 1999-06-22 14:18 ` Alexander V. Lukyanov 1999-06-22 14:41 ` Christopher C Chimelis 0 siblings, 1 reply; 8+ messages in thread From: Alexander V. Lukyanov @ 1999-06-22 14:18 UTC (permalink / raw) To: Goswin Brederlow; +Cc: linux-alpha, debian-alpha, axp-list On Tue, Jun 22, 1999 at 03:55:59PM +0200, Goswin Brederlow wrote: > What alpha and milo do you have? pc164/433Mhz. The random faults occur only while compiling kernel. They occur only with 2.2.9/10 (maybe 2.2.8 too, but I have not ever compiled it), and not with 2.2.7. This is reliable - two and more faults per kernel compile. I have tried milo from redhat-6.0 and 990428 - with the same result. Alexander. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) 1999-06-22 14:18 ` Alexander V. Lukyanov @ 1999-06-22 14:41 ` Christopher C Chimelis 1999-06-22 15:55 ` Craig P Prescott 0 siblings, 1 reply; 8+ messages in thread From: Christopher C Chimelis @ 1999-06-22 14:41 UTC (permalink / raw) To: Alexander V. Lukyanov Cc: Goswin Brederlow, linux-alpha, debian-alpha, axp-list On Tue, 22 Jun 1999, Alexander V. Lukyanov wrote: > pc164/433Mhz. The random faults occur only while compiling kernel. > They occur only with 2.2.9/10 (maybe 2.2.8 too, but I have not ever > compiled it), and not with 2.2.7. This is reliable - two and more > faults per kernel compile. I had the same results on a Debian system (potato) with 2.2.10 on my SX. It would randomly segfault during kernel and egcs compiles (I have run ALOT of larger compiles lately of egcs with random segfaults). Reverting back to earlier kernels worked fine, though, so I stuck with one of the earlier ones and avoid 2.2.9/10 until things work out a bit more... C ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) 1999-06-22 14:41 ` Christopher C Chimelis @ 1999-06-22 15:55 ` Craig P Prescott 0 siblings, 0 replies; 8+ messages in thread From: Craig P Prescott @ 1999-06-22 15:55 UTC (permalink / raw) To: axp-list; +Cc: linux-alpha, debian-alpha On Tue, 22 Jun 1999, Christopher C Chimelis wrote: > On Tue, 22 Jun 1999, Alexander V. Lukyanov wrote: > > > pc164/433Mhz. The random faults occur only while compiling kernel. > > They occur only with 2.2.9/10 (maybe 2.2.8 too, but I have not ever > > compiled it), and not with 2.2.7. This is reliable - two and more > > faults per kernel compile. > > I had the same results on a Debian system (potato) with 2.2.10 on my SX. > It would randomly segfault during kernel and egcs compiles (I have run > ALOT of larger compiles lately of egcs with random segfaults). Reverting > back to earlier kernels worked fine, though, so I stuck with one of the > earlier ones and avoid 2.2.9/10 until things work out a bit more... Same problem on my SX with 2.2.9 and RH6.0. I boot from SRM, so I guess it can't be MILO. Didn't see it with 2.2.5 (though I didn't use it for long on the SX). egcs-1.1.2 from RedHat. Yup, about 2 or 3 faults per kernel compile. Cheers, Craig ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) 1999-06-22 7:13 ` 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) Alexander V. Lukyanov [not found] ` <87yahc730w.fsf@rut.informatik.uni-tuebingen.de> @ 1999-06-22 17:37 ` Alexander V. Lukyanov 1999-06-23 18:50 ` Alexander V. Lukyanov 1 sibling, 1 reply; 8+ messages in thread From: Alexander V. Lukyanov @ 1999-06-22 17:37 UTC (permalink / raw) To: linux-alpha, debian-alpha, axp-list, orion On Tue, Jun 22, 1999 at 11:13:53AM +0400, Alexander V. Lukyanov wrote: > Looks like I have found the problem. 2.2.10 with > arch/alpha/kernel/entry.S from 2.2.7 works flawlessly for me. > Can anybody confirm that? > > One suspicious change in 2.2.8 was removing `call_pal PAL_tbi' after > PAL_swpctx. What could that mean... I have not tried to back-out that > part of patch yet, maybe someone will figure out what was wrong with 2.2.8 > patch. Ok, I have verified that this patch against 2.2.10-ac2 (re-adding two lines) solves my problem: --- entry.S-ac2 Mon Jun 21 21:18:50 1999 +++ entry.S Tue Jun 22 20:28:04 1999 @@ -525,7 +525,8 @@ .prologue 0 bsr $1,do_switch_stack call_pal PAL_swpctx - unop + lda $16,-2($31) + call_pal PAL_tbi bsr $1,undo_switch_stack lda $8,0x3fff bic $30,$8,$8 PAL_tbi is "Translation Buffer Invalidate" and -2 argument means "Flush all TB entries (tbia)", so I guess it is really needed for context switch. Alexander. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) 1999-06-22 17:37 ` Alexander V. Lukyanov @ 1999-06-23 18:50 ` Alexander V. Lukyanov 0 siblings, 0 replies; 8+ messages in thread From: Alexander V. Lukyanov @ 1999-06-23 18:50 UTC (permalink / raw) To: linux-alpha, debian-alpha, axp-list The d-asn-2 patch does solve my problems too. Alexander. ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation)
@ 1999-06-22 18:28 Larry Sendlosky
0 siblings, 0 replies; 8+ messages in thread
From: Larry Sendlosky @ 1999-06-22 18:28 UTC (permalink / raw)
To: Alexander V. Lukyanov; +Cc: linux-alpha, debian-alpha, axp-list, orion
Hi all,
Either I'm confused, or nobody reads Richard Henderson's posts
to the lists. Concerning the addition of the tbia patch below, Richard
claims that it is not needed because ASNs are being used. He then
posted a patch yesterday for a bug(s) regarding the wrong ASNs being
set for a context during certain circumstances. Has anybody tried
his patch against 2.2.10 to see if their problems go away?
I've been running his patch on a uni EV6 and a dual EV6 with no
problems - however, I never did see the problem symptoms with a
"virgin" 2.2.9 or 2.2.10.
The patch below is a sizeable performance hit.
larry
> On Tue, Jun 22, 1999 at 11:13:53AM +0400, Alexander V. Lukyanov wrote:
> > Looks like I have found the problem. 2.2.10 with
> > arch/alpha/kernel/entry.S from 2.2.7 works flawlessly for me.
> > Can anybody confirm that?
> >
> > One suspicious change in 2.2.8 was removing `call_pal PAL_tbi' after
> > PAL_swpctx. What could that mean... I have not tried to back-out that
> > part of patch yet, maybe someone will figure out what was wrong with 2.2.8
> > patch.
>
> Ok, I have verified that this patch against 2.2.10-ac2 (re-adding two lines)
> solves my problem:
> --- entry.S-ac2 Mon Jun 21 21:18:50 1999
> +++ entry.S Tue Jun 22 20:28:04 1999
> @@ -525,7 +525,8 @@
> .prologue 0
> bsr $1,do_switch_stack
> call_pal PAL_swpctx
> - unop
> + lda $16,-2($31)
> + call_pal PAL_tbi
> bsr $1,undo_switch_stack
> lda $8,0x3fff
> bic $30,$8,$8
>
> PAL_tbi is "Translation Buffer Invalidate" and -2 argument means "Flush
> all TB entries (tbia)", so I guess it is really needed for context switch.
>
> Alexander.
>
______________________________________________________________________
Larry Sendlosky AMT
larry@scrugs.lkg.dec.com (978) 506-6640 Compaq
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 8+ messages in threadend of thread, other threads:[~1999-06-23 19:47 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.96.990616192545.14985A-100000@uwix.alt.na>
[not found] ` <199906190520.HAA08029@ludwig-alpha.unil.ch>
1999-06-19 14:42 ` 2.2.{9,10} strangeness Michal Jaegermann
[not found] ` <19990619094515.A9365@swing.yars.free.net>
[not found] ` <19990619110313.A6651@phlan.phlan.net>
1999-06-22 7:13 ` 2.2.{9,10} strangeness (random SEGV/ILL in kernel compilation) Alexander V. Lukyanov
[not found] ` <87yahc730w.fsf@rut.informatik.uni-tuebingen.de>
1999-06-22 14:18 ` Alexander V. Lukyanov
1999-06-22 14:41 ` Christopher C Chimelis
1999-06-22 15:55 ` Craig P Prescott
1999-06-22 17:37 ` Alexander V. Lukyanov
1999-06-23 18:50 ` Alexander V. Lukyanov
1999-06-22 18:28 Larry Sendlosky
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox