Linux MIPS Architecture development
 help / color / mirror / Atom feed
* xfs
@ 2002-03-08 18:22 Pete Popov
  2002-03-08 18:42 ` xfs Seth Mos
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pete Popov @ 2002-03-08 18:22 UTC (permalink / raw)
  To: linux-mips

I see on SGI's web site that XFS is supported only on x86 and IA64. Has
anyone tried it on mips?

Pete

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

* Re: xfs
  2002-03-08 18:22 xfs Pete Popov
@ 2002-03-08 18:42 ` Seth Mos
  2002-03-08 19:22 ` xfs Martin K. Petersen
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 9+ messages in thread
From: Seth Mos @ 2002-03-08 18:42 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

On 8 Mar 2002, Pete Popov wrote:

> I see on SGI's web site that XFS is supported only on x86 and IA64. Has
> anyone tried it on mips?
> 
> Pete
> 
Not that I know off.

People have allready tested XFS on Sparc sparc64 alpha PPC and S390.

So far there is positive feedback about the sparc alpha PP and sparc64
ports.

You will have to try it. AFAIK the SGI people don't test XFS on the mips
boxes. The kernel source is mostly compatible with the newer compilers out
there like 2.95.3 and u.

I think you will need to merge the mips and XFS CVS tree and edit some
arch specific files like the syscalls. If you also want to use ACLs make
sure you have the latest xfsprogs tools.

Cheers
Seth

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

* Re: xfs
  2002-03-08 18:22 xfs Pete Popov
  2002-03-08 18:42 ` xfs Seth Mos
@ 2002-03-08 19:22 ` Martin K. Petersen
  2002-03-09  0:07   ` xfs Pete Popov
  2002-03-09  9:17 ` xfs Keith Owens
  2002-03-10  5:30 ` xfs Steven J. Hill
  3 siblings, 1 reply; 9+ messages in thread
From: Martin K. Petersen @ 2002-03-08 19:22 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

>>>>> "Pete" == Pete Popov <ppopov@mvista.com> writes:

Pete> I see on SGI's web site that XFS is supported only on x86 and
Pete> IA64. Has anyone tried it on mips?

We did some Linux/XFS testing on an Origin 2000 about a year ago.
Don't think anyone has tried it since then.

But it should Just Work<tm>.  Let us know if it doesn't.

-- 
Martin K. Petersen, Principal Linux Consultant, Linuxcare, Inc.
mkp@linuxcare.com, http://www.linuxcare.com/
SGI XFS for Linux Developer, http://oss.sgi.com/projects/xfs/

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

* Re: xfs
  2002-03-08 19:22 ` xfs Martin K. Petersen
@ 2002-03-09  0:07   ` Pete Popov
  2002-03-10 23:04     ` xfs Liam Davies
  0 siblings, 1 reply; 9+ messages in thread
From: Pete Popov @ 2002-03-09  0:07 UTC (permalink / raw)
  To: Martin K. Petersen; +Cc: linux-mips

On Fri, 2002-03-08 at 11:22, Martin K. Petersen wrote:
> >>>>> "Pete" == Pete Popov <ppopov@mvista.com> writes:
> 
> Pete> I see on SGI's web site that XFS is supported only on x86 and
> Pete> IA64. Has anyone tried it on mips?
> 
> We did some Linux/XFS testing on an Origin 2000 about a year ago.
> Don't think anyone has tried it since then.
> 
> But it should Just Work<tm>.  Let us know if it doesn't.

I took 1.0.2 patch and applied it against the latest linux_2_4 oss
kernel. Actually, it's the latest oss plus additional patches I've sent
to Ralf, but I think those are stable.  The patch did not apply cleanly
but the problems were easy to fix.  I didn't port the additional x86
syscalls because they appear to be attribute/acl related only.  

I cross compiled the kernel with 2.95.3 based tools (I know the older
toolchain is recommended but ...).  xfsprogs I compiled natively with
the same version tools.  The kernel boots and I was able to create an
XFS file system on one of the partitions.  Mounting works. Unmounting
consistently results in a crash, illegal access to location 0x00000018. 
It's probably easy to fix since it's 100% reproducible.  Back to
mounting the fs -- I ran bonnie++ on it. It ran for quite a while until
it got to the "sequential" write test and then the kernel froze.

If I get to play with it some more, I'll send you any useful info I
might have.

Pete

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

* Re: xfs
  2002-03-08 18:22 xfs Pete Popov
  2002-03-08 18:42 ` xfs Seth Mos
  2002-03-08 19:22 ` xfs Martin K. Petersen
@ 2002-03-09  9:17 ` Keith Owens
  2002-03-09 18:12   ` xfs Pete Popov
  2002-03-10  5:30 ` xfs Steven J. Hill
  3 siblings, 1 reply; 9+ messages in thread
From: Keith Owens @ 2002-03-09  9:17 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

On 08 Mar 2002 10:22:07 -0800, 
Pete Popov <ppopov@mvista.com> wrote:
>I see on SGI's web site that XFS is supported only on x86 and IA64. Has
>anyone tried it on mips?

Anybody wanting to port XFS to new architectures should start with
  ftp://oss.sgi.com/projects/xfs/download/patches/2.4.18
I split the XFS patches up so people can pick and choose which
components they use, it makes it easier to exclude code like kdb,
kbuild 2.5 or ia64 from the port.  Note the ia64 patch, you will need a
MIPS equivalent.

When you get it working, send us the changes from the split patches.

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

* Re: xfs
  2002-03-09  9:17 ` xfs Keith Owens
@ 2002-03-09 18:12   ` Pete Popov
  0 siblings, 0 replies; 9+ messages in thread
From: Pete Popov @ 2002-03-09 18:12 UTC (permalink / raw)
  To: Keith Owens; +Cc: linux-mips

On Sat, 2002-03-09 at 01:17, Keith Owens wrote:
> On 08 Mar 2002 10:22:07 -0800, 
> Pete Popov <ppopov@mvista.com> wrote:
> >I see on SGI's web site that XFS is supported only on x86 and IA64. Has
> >anyone tried it on mips?
> 
> Anybody wanting to port XFS to new architectures should start with
>   ftp://oss.sgi.com/projects/xfs/download/patches/2.4.18
> I split the XFS patches up so people can pick and choose which
> components they use, it makes it easier to exclude code like kdb,
> kbuild 2.5 or ia64 from the port.  Note the ia64 patch, you will need a
> MIPS equivalent.

Great, thank you.
 
> When you get it working, send us the changes from the split patches.

I will, if I get to work on it.

Pete
 

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

* Re: xfs
  2002-03-08 18:22 xfs Pete Popov
                   ` (2 preceding siblings ...)
  2002-03-09  9:17 ` xfs Keith Owens
@ 2002-03-10  5:30 ` Steven J. Hill
  3 siblings, 0 replies; 9+ messages in thread
From: Steven J. Hill @ 2002-03-10  5:30 UTC (permalink / raw)
  To: Pete Popov; +Cc: linux-mips

Pete Popov wrote:
> 
> I see on SGI's web site that XFS is supported only on x86 and IA64. Has
> anyone tried it on mips?
> 
Oh most definitely. I've been using it on my NEC 5432 platform for almost
a year now, little endian. Works great. I've compiled the Linux/MIPS 2.4.x
kernel with toolchains based on latest binutils, gcc-3.0.x, gcc-3.1 and
glibc-2.2.3 and glibc-2.2.5 combinations.

-Steve

-- 
 Steven J. Hill - Embedded SW Engineer

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

* Re: xfs
  2002-03-09  0:07   ` xfs Pete Popov
@ 2002-03-10 23:04     ` Liam Davies
  0 siblings, 0 replies; 9+ messages in thread
From: Liam Davies @ 2002-03-10 23:04 UTC (permalink / raw)
  To: Pete Popov, Martin K. Petersen; +Cc: linux-mips

Pete,

>
> I took 1.0.2 patch and applied it against the latest linux_2_4 oss
> kernel.
I tried the same against 2.4.14, but had the same problems you
described below. I then tried the split-only and split-kernel patches from
the
2.4.14 XFS cvs snapshot, taken just before or after 1.0.2 release - no
changes required. Everything seems to be working dandy.

>
> I cross compiled the kernel with 2.95.3 based tools (I know the older
> toolchain is recommended but ...).  xfsprogs I compiled natively with
> the same version tools.
I haven't tried any compilers earlier that gcc 3.0, but 3.0.1 and 3.0.3
have both worked for me.

> The kernel boots and I was able to create an
> XFS file system on one of the partitions.  Mounting works. Unmounting
> consistently results in a crash, illegal access to location 0x00000018.
> It's probably easy to fix since it's 100% reproducible.  Back to
> mounting the fs -- I ran bonnie++ on it. It ran for quite a while until
> it got to the "sequential" write test and then the kernel froze.
I had both of these symptoms after applying the 1.0.2 patch in its
entirety.  After switching to split-kernel and split-only patches only
these things went away. I didn't delve any deeper.


Liam

------
Agile Tv

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

* XFS
@ 2002-03-13  1:29 Pete Popov
  0 siblings, 0 replies; 9+ messages in thread
From: Pete Popov @ 2002-03-13  1:29 UTC (permalink / raw)
  To: linux-mips

Thanks to everyone who sent me suggestions and help on how they got xfs
working on mips.

I tried the split patches on a 2.4.18 kernel, compiled with a 2.95.3
compiler, and the kernel crashes consistently when running bonnie++. 
The same kernel compiled with a 3.0.1 based compiler seems to work fine.
I've ran bonnie++ a few times, as well as other conventional tests. I
need to do a lot more testing before I'm convinced that xfs is rock
solid on mips, but it appears that the compiler problems described on
the web site are for real.

Pete

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

end of thread, other threads:[~2002-03-13  2:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-13  1:29 XFS Pete Popov
  -- strict thread matches above, loose matches on Subject: below --
2002-03-08 18:22 xfs Pete Popov
2002-03-08 18:42 ` xfs Seth Mos
2002-03-08 19:22 ` xfs Martin K. Petersen
2002-03-09  0:07   ` xfs Pete Popov
2002-03-10 23:04     ` xfs Liam Davies
2002-03-09  9:17 ` xfs Keith Owens
2002-03-09 18:12   ` xfs Pete Popov
2002-03-10  5:30 ` xfs Steven J. Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox