Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jorgen Lundman <lundman@lundman.net>
To: linux-mips@linux-mips.org
Subject: Re: MIPS 4KEc with 2.6.15
Date: Mon, 07 Jan 2008 22:25:40 +0900	[thread overview]
Message-ID: <47822854.1010108@lundman.net> (raw)
In-Reply-To: <20080107120852.GA24700@linux-mips.org>

Sorry, I should have said, I grabbed 2.6.15.7 to use. And after the 
issues, I even tried the exact 2.6.15 tarball off Sigmas FTP with the 
same results. It does not define flush_cache_pages for Atlas board, only 
SGI IPxx from what I can tell.

Ralf Baechle wrote:
> On Mon, Jan 07, 2008 at 09:39:29AM +0900, Jorgen Lundman wrote:
> 
>> I have an embedded device running 2.6.15 kernel on a MIPS 4KEc 300MHz CPU. 
>> It was configured for Sigma's tango2 board, which I know nothing about, so 
>> I picked a mips-board by random, "atlas", and found I can produce working 
>> kernel module compiles.
>>
>> However, when I compiled FUSE kernel module, it behaves erratically in a 
>> way making the FUSE developer think I may have come across the cache 
>> coherency bug in arm and mips, fixed sometime around 2.6.17.
>>
>> Since I can not change the kernel that is running, I was looking for 
>> alternate solutions. FUSE itself has a work around, that calls 
>> flush_cache_page(), but I found that mips-board atlas does not have this 
>> defined:
> 
> While you may not be able to change the kernel running on your board,
> you should be building any modules against kernel headers of the exact
> kernel running and configured for the platform and CPU you're using.
> 
> Mixing and matching different versions and configurations may work but
> frequently it will fail silently.
> 
>   Ralf
> 

-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)

  reply	other threads:[~2008-01-07 13:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-07  0:39 MIPS 4KEc with 2.6.15 Jorgen Lundman
2008-01-07 12:08 ` Ralf Baechle
2008-01-07 13:25   ` Jorgen Lundman [this message]
2008-01-07 15:52 ` David Daney
2008-01-08 22:02   ` Mark Lin
2008-01-08 23:00     ` Jorgen Lundman
2008-01-09 21:29       ` David Daney
2008-01-10  4:06         ` Jorgen Lundman
2008-01-10 16:36           ` Martin Michlmayr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47822854.1010108@lundman.net \
    --to=lundman@lundman.net \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox