linux-mips
[Top] [All Lists]

Re: More on modules...

To: "William J. Earl" <wje@fir.engr.sgi.com>
Subject: Re: More on modules...
From: ralf@uni-koblenz.de
Date: Tue, 27 Jan 1998 07:41:55 +0100
Cc: Alex deVries <adevries@engsoc.carleton.ca>, SGI Linux <linux@cthulhu.engr.sgi.com>
In-reply-to: <199801270151.RAA09867@fir.engr.sgi.com>; from William J. Earl on Mon, Jan 26, 1998 at 05:51:40PM -0800
References: <Pine.LNX.3.95.980126194243.20316I-100000@lager.engsoc.carleton.ca> <199801270151.RAA09867@fir.engr.sgi.com>
Sender: owner-linux@cthulhu.engr.sgi.com
On Mon, Jan 26, 1998 at 05:51:40PM -0800, William J. Earl wrote:

>  > But, I use the term 'work' with a grain of salt; the modules appear to
>  > load, but I get errors like:
>  > Illegal instruction at c000c0d0 ra=88034ed4
>  > Unable to handle kernel paging request at virtual address c0008113, epc ==
>  > c000c0d8, ra == 88034ed4
>  > Killed
> ...
> 
>       I wonder if the kernel is properly synchronzing the I-cache with
> the D-cache after loading the module.  In general, you need to
> writeback the primary D-cache and invalidate the primary I-cache for
> the range of addresses occupied by the driver (or simply
> index-writeback-invalidate all of the D-cache and index-invalidate all
> of the I-cache, if the driver is larger than the cache size).  

Yes, we do that properly.

Alex, when compiling modules, does the compiler pass the flag -mlong-jumps?

  Ralf

<Prev in Thread] Current Thread [Next in Thread>