Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: chris@ludwig-alpha.unil.ch (Christian Iseli)
Cc: axp-list@redhat.com
Subject: Re: 2.2.{9,10} strangeness
Date: Sat, 19 Jun 1999 08:42:31 -0600 (MDT)	[thread overview]
Message-ID: <199906191442.IAA26607@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <199906190520.HAA08029@ludwig-alpha.unil.ch> from "Christian Iseli" at Jun 19, 99 07:20:48 am

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
 }
 
 /*


       reply	other threads:[~1999-06-19 15:35 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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   ` Michal Jaegermann [this message]
     [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
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