From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14243 invoked from network); 24 Mar 2000 18:03:51 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 24 Mar 2000 18:03:51 -0000 Received: from zmamail01.zma.compaq.com (zmamail01.zma.compaq.com [161.114.64.101]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA19012 for ; Fri, 24 Mar 2000 13:03:51 -0500 Received: by zmamail01.zma.compaq.com (Postfix, from userid 12345) id 0158C438; Fri, 24 Mar 2000 13:03:20 -0500 (EST) Received: from oflume.zk3.dec.com (flambe.zk3.dec.com [16.140.96.19]) by zmamail01.zma.compaq.com (Postfix) with ESMTP id E1B81418 for ; Fri, 24 Mar 2000 13:03:20 -0500 (EST) Received: from wavy.zk3.dec.com by oflume.zk3.dec.com (8.8.8/1.1.22.3/03Mar00-0551AM) id NAA0000002443; Fri, 24 Mar 2000 13:03:20 -0500 (EST) Received: from zk3.dec.com by wavy.zk3.dec.com (8.9.3/1.1.27.5/31Jan00-1243PM) id NAA0001781910; Fri, 24 Mar 2000 13:02:05 -0500 (EST) Sender: frival@wavy.zk3.dec.com Message-ID: <38DB836D.E5D252A4@zk3.dec.com> Date: Fri, 24 Mar 2000 15:02:05 +0000 From: Peter Rival Organization: Tru64 QMG Performance Engineering X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14pre11 alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Is NFS 64-bit on alpha ? References: <200003241751.SAA09726@ludwig-alpha.unil.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Yup, use NFSv3, not v2 which is stuck at 32 bits as per the spec. There may be v3 patches in the 2.2.latest stream, I'm not sure - you can check with Alan Cox if you'd like. - Pete Christian Iseli wrote: > Hi folks, > > I have stumbled upon a troubling fact... > > I have this large file, sitting on a Sun server: > $ ls -l /db/embl/htg-re.seq > -rw-r--r-- 1 chris isrec 2419902330 Mar 24 18:06 /db/embl/htg-re.seq > > I have this /db/embl NFS mounted on my alpha box: > $ uname -a > Linux ludwig-alpha 2.2.13ac1 #4 Tue Nov 2 15:10:02 CET 1999 alpha unknown > > Seems I can't do anything with the file from the alpha (nor from any Linux > machine, for that matter): > $ ls -l /db/embl/htg-re.seq > ls: /db/embl/htg-re.seq: File too large > > I tried compiling the following code on the alpha: > $ cat toto.c > #include > #include > #include > #include > #include > int > main() > { > int fd = open("/db/embl/htg-re.seq", O_RDONLY); > if (fd < 0) { > perror("Failed"); > return 1; > } > close(fd); > return 0; > } > > $ cc -O2 -mcpu=ev56 -D_FILE_OFFSET_BITS=64 -o to toto.c > $ ./to > Failed: File too large > $ cc -S -O2 -mcpu=ev56 -D_FILE_OFFSET_BITS=64 toto.c > alpha_chris$ cat toto.s > .file 1 "toto.c" > .set noat > .set noreorder > .arch ev56 > .section .rodata > $LC0: > .ascii "/db/embl/htg-re.seq\0" > $LC1: > .ascii "Failed\0" > .text > .align 5 > .globl main > .ent main > main: > .frame $30,16,$26,0 > .mask 0x4000000,-16 > ldgp $29,0($27) > $main..ng: > lda $30,-16($30) > lda $16,$LC0 > mov $31,$17 > stq $26,0($30) > .prologue 1 > jsr $26,open64 > ldgp $29,0($26) > blt $0,$L22 > mov $0,$16 > jsr $26,close > ldgp $29,0($26) > mov $31,$0 > br $31,$L23 > .align 4 > $L22: > lda $16,$LC1 > jsr $26,perror > ldgp $29,0($26) > lda $0,1 > $L23: > ldq $26,0($30) > lda $30,16($30) > ret $31,($26),1 > .end main > .ident "GCC: (GNU) 2.95.1 19990816 (release)" > > So it seems it calls the proper open64 thing... > > Any words of advive ? > > TIA, > Christian > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com