* reiserfs @ 2002-04-24 23:13 Pete Popov 2002-04-25 7:51 ` reiserfs Ralf Baechle 2002-04-27 20:19 ` reiserfs Alan Cox 0 siblings, 2 replies; 11+ messages in thread From: Pete Popov @ 2002-04-24 23:13 UTC (permalink / raw) To: linux-mips Has anyone been able to run reiserfs on big endian systems? Pete ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-24 23:13 reiserfs Pete Popov @ 2002-04-25 7:51 ` Ralf Baechle 2002-04-25 8:11 ` reiserfs Geert Uytterhoeven 2002-04-27 20:19 ` reiserfs Alan Cox 1 sibling, 1 reply; 11+ messages in thread From: Ralf Baechle @ 2002-04-25 7:51 UTC (permalink / raw) To: Pete Popov; +Cc: linux-mips On Wed, Apr 24, 2002 at 04:13:06PM -0700, Pete Popov wrote: > Has anyone been able to run reiserfs on big endian systems? I've seen reports of people running Reiserfs on MIPS but I don't know what endianess. Ralf ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-25 7:51 ` reiserfs Ralf Baechle @ 2002-04-25 8:11 ` Geert Uytterhoeven 2002-04-25 16:08 ` reiserfs Pete Popov ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Geert Uytterhoeven @ 2002-04-25 8:11 UTC (permalink / raw) To: Ralf Baechle; +Cc: Pete Popov, linux-mips On Thu, 25 Apr 2002, Ralf Baechle wrote: > On Wed, Apr 24, 2002 at 04:13:06PM -0700, Pete Popov wrote: > > Has anyone been able to run reiserfs on big endian systems? > > I've seen reports of people running Reiserfs on MIPS but I don't know what > endianess. Some people run it on PowerPC, which is big endian as far as Linux is concerned. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-25 8:11 ` reiserfs Geert Uytterhoeven @ 2002-04-25 16:08 ` Pete Popov 2002-04-25 16:17 ` reiserfs George Gensure 2002-04-26 18:34 ` reiserfs Pete Popov 2 siblings, 0 replies; 11+ messages in thread From: Pete Popov @ 2002-04-25 16:08 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Ralf Baechle, linux-mips On Thu, 2002-04-25 at 01:11, Geert Uytterhoeven wrote: > On Thu, 25 Apr 2002, Ralf Baechle wrote: > > On Wed, Apr 24, 2002 at 04:13:06PM -0700, Pete Popov wrote: > > > Has anyone been able to run reiserfs on big endian systems? > > > > I've seen reports of people running Reiserfs on MIPS but I don't know what > > endianess. > > Some people run it on PowerPC, which is big endian as far as Linux is > concerned. Right, but mips be hangs hard. I'll have to investigate ... MIPS LE is fine. Pete ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-25 8:11 ` reiserfs Geert Uytterhoeven 2002-04-25 16:08 ` reiserfs Pete Popov @ 2002-04-25 16:17 ` George Gensure 2002-04-26 18:34 ` reiserfs Pete Popov 2 siblings, 0 replies; 11+ messages in thread From: George Gensure @ 2002-04-25 16:17 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Ralf Baechle, Pete Popov, linux-mips Geert Uytterhoeven wrote: >On Thu, 25 Apr 2002, Ralf Baechle wrote: > >>On Wed, Apr 24, 2002 at 04:13:06PM -0700, Pete Popov wrote: >> >>>Has anyone been able to run reiserfs on big endian systems? >>> >>I've seen reports of people running Reiserfs on MIPS but I don't know what >>endianess. >> > >Some people run it on PowerPC, which is big endian as far as Linux is >concerned. > >Gr{oetje,eeting}s, > > Geert > >-- >Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > >In personal conversations with technical people, I call myself a hacker. But >when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > Jeff Mahoney, probably the lead big-endian reiserfs developer, has run reiserfs on (that I've seen with my own eyes) Sun and Apple (G3 or later). There is no reason his code would not similarly work on big-endian mips machines. -George ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-25 8:11 ` reiserfs Geert Uytterhoeven 2002-04-25 16:08 ` reiserfs Pete Popov 2002-04-25 16:17 ` reiserfs George Gensure @ 2002-04-26 18:34 ` Pete Popov 2 siblings, 0 replies; 11+ messages in thread From: Pete Popov @ 2002-04-26 18:34 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Ralf Baechle, linux-mips On Thu, 2002-04-25 at 01:11, Geert Uytterhoeven wrote: > On Thu, 25 Apr 2002, Ralf Baechle wrote: > > On Wed, Apr 24, 2002 at 04:13:06PM -0700, Pete Popov wrote: > > > Has anyone been able to run reiserfs on big endian systems? > > > > I've seen reports of people running Reiserfs on MIPS but I don't know what > > endianess. > > Some people run it on PowerPC, which is big endian as far as Linux is > concerned. FYI, it turned out to be a toolchain bug (2.95.3). Versions 2.96 and 3.x work just fine. Pete ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-24 23:13 reiserfs Pete Popov 2002-04-25 7:51 ` reiserfs Ralf Baechle @ 2002-04-27 20:19 ` Alan Cox 2002-04-27 20:05 ` reiserfs Pete Popov 2002-04-27 20:19 ` reiserfs Alan Cox 1 sibling, 2 replies; 11+ messages in thread From: Alan Cox @ 2002-04-27 20:19 UTC (permalink / raw) To: Pete Popov; +Cc: linux-mips > Has anyone been able to run reiserfs on big endian systems? Should work on newer 2.4 kernels ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-27 20:19 ` reiserfs Alan Cox @ 2002-04-27 20:05 ` Pete Popov 2002-04-29 17:35 ` reiserfs Jun Sun 2002-04-27 20:19 ` reiserfs Alan Cox 1 sibling, 1 reply; 11+ messages in thread From: Pete Popov @ 2002-04-27 20:05 UTC (permalink / raw) To: Alan Cox; +Cc: linux-mips On Sat, 2002-04-27 at 13:19, Alan Cox wrote: > > Has anyone been able to run reiserfs on big endian systems? > > Should work on newer 2.4 kernels Yes, it does. I sent an email yesterday explaining what the problem was. The 2.95.3 toolchain is miscompiling the cpu_to_le16 and le16_to_cpu functions. The problem appears to be fixed in 2.96 and 3.x so reiserfs is looking good for both, LE and BE mips systems. Pete ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-27 20:05 ` reiserfs Pete Popov @ 2002-04-29 17:35 ` Jun Sun 2002-04-30 1:04 ` reiserfs Hiroyuki Machida 0 siblings, 1 reply; 11+ messages in thread From: Jun Sun @ 2002-04-29 17:35 UTC (permalink / raw) To: Pete Popov; +Cc: Alan Cox, linux-mips [-- Attachment #1: Type: text/plain, Size: 620 bytes --] Pete Popov wrote: > On Sat, 2002-04-27 at 13:19, Alan Cox wrote: > >>>Has anyone been able to run reiserfs on big endian systems? >>> >>Should work on newer 2.4 kernels >> > > Yes, it does. I sent an email yesterday explaining what the problem > was. The 2.95.3 toolchain is miscompiling the cpu_to_le16 and > le16_to_cpu functions. The problem appears to be fixed in 2.96 and 3.x > so reiserfs is looking good for both, LE and BE mips systems. > Here is the test case that reveals the toolchain problem. Brave souls are welcome to look into it. Apparently the bug only happens on be tools with 2.95.x. Jun [-- Attachment #2: gcc-2.95-le16-to-cpu.bug.c --] [-- Type: text/plain, Size: 1217 bytes --] #if 0 compile instructions: /opt/hardhat/devkit/mips/fp_be/bin/mips_fp_be-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -g -G 0 -mno-abicalls -fno-pic -mcpu=r4600 -mips2 -Wa,--trap -pipe -c -o try.o try.c #endif typedef unsigned short __u16; typedef unsigned __u32; #define ___swab16_new(x) \ ({ \ __u32 __x = (x); \ __x = ((__u32)( \ ((__u32)(__x) << 8) | \ (((__u32)(__x) & (__u16)0xff00U) >> 8) )); \ (__u16)(__x & 0xffff); \ }) #define ___swab16(x) \ ({ \ __u16 __x = (x); \ ((__u16)( \ (((__u16)(__x) & (__u16)0x00ffU) << 8) | \ (((__u16)(__x) & (__u16)0xff00U) >> 8) )); \ }) # define __swab16(x) \ (__builtin_constant_p((__u16)(x)) ? \ ___swab16((x)) : \ __fswab16((x))) #ifndef __arch__swab16 # define __arch__swab16(x) ({ __u16 __tmp = (x) ; ___swab16(__tmp); }) #endif static __inline__ __const__ __u16 __fswab16(__u16 x) { return __arch__swab16(x); } #define __le16_to_cpu(x) __swab16((x)) #define le16_to_cpu __le16_to_cpu extern __u16 x; extern __u16 y; void foo_old(void) { if (le16_to_cpu(x) > y) y = x; } ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-29 17:35 ` reiserfs Jun Sun @ 2002-04-30 1:04 ` Hiroyuki Machida 0 siblings, 0 replies; 11+ messages in thread From: Hiroyuki Machida @ 2002-04-30 1:04 UTC (permalink / raw) To: jsun; +Cc: ppopov, alan, linux-mips Hello, all From: Jun Sun <jsun@mvista.com> Subject: Re: reiserfs Date: Mon, 29 Apr 2002 10:35:54 -0700 > Here is the test case that reveals the toolchain problem. Brave souls are > welcome to look into it. > > Apparently the bug only happens on be tools with 2.95.x. > > Jun I think this bug has been fixed with http://gcc.gnu.org/ml/gcc-patches/2000-02/msg00489.html for gcc-3.x. You can apply the patch included that mail to gcc-2.95.x, easily. --- Hiroyuki Machida Sony Corp. ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: reiserfs 2002-04-27 20:19 ` reiserfs Alan Cox 2002-04-27 20:05 ` reiserfs Pete Popov @ 2002-04-27 20:19 ` Alan Cox 1 sibling, 0 replies; 11+ messages in thread From: Alan Cox @ 2002-04-27 20:19 UTC (permalink / raw) To: Pete Popov; +Cc: linux-mips > Has anyone been able to run reiserfs on big endian systems? Should work on newer 2.4 kernels ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2002-04-30 1:04 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2002-04-24 23:13 reiserfs Pete Popov 2002-04-25 7:51 ` reiserfs Ralf Baechle 2002-04-25 8:11 ` reiserfs Geert Uytterhoeven 2002-04-25 16:08 ` reiserfs Pete Popov 2002-04-25 16:17 ` reiserfs George Gensure 2002-04-26 18:34 ` reiserfs Pete Popov 2002-04-27 20:19 ` reiserfs Alan Cox 2002-04-27 20:05 ` reiserfs Pete Popov 2002-04-29 17:35 ` reiserfs Jun Sun 2002-04-30 1:04 ` reiserfs Hiroyuki Machida 2002-04-27 20:19 ` reiserfs Alan Cox
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox