[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] modules hang 1.16.1 kernel (was RE: [Aranym-dev] [ARANYM.XIF] Hangs with 1.16.1 MiNT kernel)



On Sun, 29 Jan 2006 22:03:10 , Petr Stehlik <joy@sophics.cz> 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