All of lore.kernel.org
 help / color / mirror / Atom feed
* MIPS 4KEc with 2.6.15
@ 2008-01-07  0:39 Jorgen Lundman
  2008-01-07 12:08 ` Ralf Baechle
  2008-01-07 15:52 ` David Daney
  0 siblings, 2 replies; 9+ messages in thread
From: Jorgen Lundman @ 2008-01-07  0:39 UTC (permalink / raw)
  To: linux-mips


Hello list,

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:

fuse: Unknown symbol flush_cache_page

Should I try other mips-boards that may have this function call defined? 
Do I have other ways to avoid the cache coherence bug?

The /proc/ksyms is gone, so I do not think I am able to check what 
symbols their kernel has.

Lund


-- 
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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  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
  2008-01-07 15:52 ` David Daney
  1 sibling, 1 reply; 9+ messages in thread
From: Ralf Baechle @ 2008-01-07 12:08 UTC (permalink / raw)
  To: Jorgen Lundman; +Cc: linux-mips

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-07 12:08 ` Ralf Baechle
@ 2008-01-07 13:25   ` Jorgen Lundman
  0 siblings, 0 replies; 9+ messages in thread
From: Jorgen Lundman @ 2008-01-07 13:25 UTC (permalink / raw)
  To: linux-mips

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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-07  0:39 MIPS 4KEc with 2.6.15 Jorgen Lundman
  2008-01-07 12:08 ` Ralf Baechle
@ 2008-01-07 15:52 ` David Daney
  2008-01-08 22:02   ` Mark Lin
  1 sibling, 1 reply; 9+ messages in thread
From: David Daney @ 2008-01-07 15:52 UTC (permalink / raw)
  To: Jorgen Lundman; +Cc: linux-mips

Jorgen Lundman wrote:
>
> Hello list,
>
> 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:
>
> fuse: Unknown symbol flush_cache_page

There are cache coherency issues on the 8634.  You should be using the
vendor's very most recent kernels.  For me they seem to have resolved
the cache issues.

Also as noted by others, you need the exact kernel sources if you are
going to build working modules.

David Daney

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-07 15:52 ` David Daney
@ 2008-01-08 22:02   ` Mark Lin
  2008-01-08 23:00     ` Jorgen Lundman
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Lin @ 2008-01-08 22:02 UTC (permalink / raw)
  To: Jorgen Lundman; +Cc: linux-mips

Jorgen,

You should not be using the atlas definition.  Try the tangox one instead.

With the flush_cache_page changes, FUSE works fine for me using 2.6.15
and Sigma's tango2 board.

Mark Lin

On Jan 7, 2008 10:52 AM, David Daney <ddaney@avtrex.com> wrote:
> Jorgen Lundman wrote:
> >
> > Hello list,
> >
> > 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:
> >
> > fuse: Unknown symbol flush_cache_page
>
> There are cache coherency issues on the 8634.  You should be using the
> vendor's very most recent kernels.  For me they seem to have resolved
> the cache issues.
>
> Also as noted by others, you need the exact kernel sources if you are
> going to build working modules.
>
> David Daney
>
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-08 22:02   ` Mark Lin
@ 2008-01-08 23:00     ` Jorgen Lundman
  2008-01-09 21:29       ` David Daney
  0 siblings, 1 reply; 9+ messages in thread
From: Jorgen Lundman @ 2008-01-08 23:00 UTC (permalink / raw)
  To: Mark Lin; +Cc: linux-mips

Yeha I would love to use tangox, but there is none with Linux, at least 
no tarball of the kernel I have found?

Where can I get tangox?

Lund


Mark Lin wrote:
> Jorgen,
> 
> You should not be using the atlas definition.  Try the tangox one instead.
> 
> With the flush_cache_page changes, FUSE works fine for me using 2.6.15
> and Sigma's tango2 board.
> 
> Mark Lin
> 
> On Jan 7, 2008 10:52 AM, David Daney <ddaney@avtrex.com> wrote:
>> Jorgen Lundman wrote:
>>> Hello list,
>>>
>>> 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:
>>>
>>> fuse: Unknown symbol flush_cache_page
>> There are cache coherency issues on the 8634.  You should be using the
>> vendor's very most recent kernels.  For me they seem to have resolved
>> the cache issues.
>>
>> Also as noted by others, you need the exact kernel sources if you are
>> going to build working modules.
>>
>> David Daney
>>
>>
> 

-- 
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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-08 23:00     ` Jorgen Lundman
@ 2008-01-09 21:29       ` David Daney
  2008-01-10  4:06         ` Jorgen Lundman
  0 siblings, 1 reply; 9+ messages in thread
From: David Daney @ 2008-01-09 21:29 UTC (permalink / raw)
  To: Jorgen Lundman; +Cc: Mark Lin, linux-mips

Jorgen Lundman wrote:
> Yeha I would love to use tangox, but there is none with Linux, at
> least no tarball of the kernel I have found?
>
> Where can I get tangox?
>
> Lund
>
The Linux kernel is GPL, whoever gave you the board and the kernel
should give you the kernel source.

David Daney

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-09 21:29       ` David Daney
@ 2008-01-10  4:06         ` Jorgen Lundman
  2008-01-10 16:36           ` Martin Michlmayr
  0 siblings, 1 reply; 9+ messages in thread
From: Jorgen Lundman @ 2008-01-10  4:06 UTC (permalink / raw)
  To: linux-mips


Sure, and I agree. We both know how often than happens, or how quickly. 
So, while we hold our breath for that to happen, mean while, I am hoping 
to find the TangoX mips-board details somewhere...




David Daney wrote:
> Jorgen Lundman wrote:
>> Yeha I would love to use tangox, but there is none with Linux, at
>> least no tarball of the kernel I have found?
>>
>> Where can I get tangox?
>>
>> Lund
>>
> The Linux kernel is GPL, whoever gave you the board and the kernel
> should give you the kernel source.
> 
> David Daney
> 
> 

-- 
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)

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: MIPS 4KEc with 2.6.15
  2008-01-10  4:06         ` Jorgen Lundman
@ 2008-01-10 16:36           ` Martin Michlmayr
  0 siblings, 0 replies; 9+ messages in thread
From: Martin Michlmayr @ 2008-01-10 16:36 UTC (permalink / raw)
  To: Jorgen Lundman; +Cc: linux-mips

* Jorgen Lundman <lundman@lundman.net> [2008-01-10 13:06]:
> Sure, and I agree. We both know how often than happens, or how
> quickly. So, while we hold our breath for that to happen, mean
> while, I am hoping to find the TangoX mips-board details
> somewhere...

If they are not helpful, you could try asking the guys from
http://gpl-violations.org/ for help.
-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-01-10 16:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.