From mint-bounce@lists.fishpool.fi Wed Feb 1 20:32:51 2006 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de To: MiNT Mailing List From: Peter Slegg Subject: Re: [MiNT] modules hang 1.16.1 kernel (was RE: [Aranym-dev] [ARANYM.XIF] Hangs with 1.16.1 MiNT kernel) Reply-To: Peter Slegg X-Mailer: MyMAIL Rev:1.87.12532 (Atari/(STiK/STinG/GlueSTiK)) X-Hardware: Atari Milan MIME-Version: 1.0 Date: Wed, 1 Feb 2006 19:25:29 +0200 (GMT) Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <00017369.018b7e3a1129@smtp.freeola.net> References: <1138568590.6920.54.camel@joy.home> In-Reply-To: 1138568590.6920.54.camel@joy.home X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: p.slegg@scubadivers.co.uk Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=1.7 tagged_above=-50.5 required=7.0 tests=AWL, BAYES_00, MISSING_MIMEOLE, MISSING_OUTLOOK_NAME X-Spam-Level: * Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by wh58-508.st.uni-magdeburg.de id k11JWo1v019811 On Sun, 29 Jan 2006 22:03:10 , Petr Stehlik wrote: > > Petr Stehlik pí¨e v Ne 29. 01. 2006 v 21:53 +0100: > > In other words: binutils' usage of d4 is not wrong (eventhough it's ver > y > > surprising). Standa's workaround (saving d4 register before executing > > module code) is not a workaround but a valid fix. And make sure that al > l > > Pexec like routines do save all registers as well since it's clear that > > there is a lot of programs that clobber d4 out there :-) > > > > P.S. sys/module.c revision 1.28 tagged as beta_1_16_0 and dated > > 2004/07/15 contains the "save all registers" 'workaround' so all we nee > d > > is to change our view and reword the original Frank's comment > > I have just realized that FreeMiNT kernel contained the protection for > XDD and XFS loading since 1.16.0 beta (2004/07/15) but this protection > has been missing for loading of the _XIF_ modules. Standa added it there > on 2005/07/17, a year later. > > So we don't need just to change our view but mainly to release a fixed > binaries of the kernel since public release of the kernel (1.16.1) with > XIF modules built with new binutils bring this d4-clobbered problem. > > Petr Could this possibly be the cause of the network problems that I have ? Regards, Peter