2001-07-31 22:40:25

by Nerijus Baliūnas

[permalink] [raw]
Subject: cannot copy files larger than 40 MB from CD

Hello,

Just began to use 2.4.7 instead of 2.2.19. If I copy file larger than 40 MB,
only these 40 MB are copied (40960000 bytes exactly), and then cp
segfaults (the same happens with mc). The same problem is with mkisofs -
only 40 MB of image is created. I get "File size limit exceeded".

Regards,
Nerijus



2001-07-31 23:47:03

by Nerijus Baliūnas

[permalink] [raw]
Subject: Re[2]: cannot copy files larger than 40 MB from CD

On Wed, 1 Aug 2001 01:27:19 +0200 Guest section DW <[email protected]> wrote:

GsD> On Wed, Aug 01, 2001 at 12:37:45AM +0200, Nerijus Baliunas wrote:
GsD>
GsD> > Just began to use 2.4.7 instead of 2.2.19. If I copy file larger than 40 MB,
GsD> > only these 40 MB are copied (40960000 bytes exactly), and then cp
GsD> > segfaults (the same happens with mc). The same problem is with mkisofs -
GsD> > only 40 MB of image is created. I get "File size limit exceeded".
GsD>
GsD> On what kind of filesystem?
GsD>
GsD> (On ext2 I just made a 500MB file under 2.4.7.)

Tried vfat, ext2 and reiserfs.

BTW, kernel is compiled with gcc-2.96-85, glibc-2.2.2-10 (RH 7.1) if that matters.

Regards,
Nerijus


2001-07-31 23:58:29

by Chris Vandomelen

[permalink] [raw]
Subject: Re: Re[2]: cannot copy files larger than 40 MB from CD

> Tried vfat, ext2 and reiserfs.
>
> BTW, kernel is compiled with gcc-2.96-85, glibc-2.2.2-10 (RH 7.1) if
^^^^^^^^^^^
> that matters.

Have you tried compiling your kernel using kgcc?

gcc-2.96.* is known to compile code incorrectly AFAIK, and shouldn't be
used for compiling kernels. (kgcc is egcs-1.1.2, I think.)

Chris

2001-08-01 00:04:19

by Nerijus Baliūnas

[permalink] [raw]
Subject: Re[4]: cannot copy files larger than 40 MB from CD

On Tue, 31 Jul 2001 16:58:06 -0700 (PDT) Chris Vandomelen <[email protected]> wrote:

CV> > Tried vfat, ext2 and reiserfs.
CV> >
CV> > BTW, kernel is compiled with gcc-2.96-85, glibc-2.2.2-10 (RH 7.1) if
CV> ^^^^^^^^^^^
CV> > that matters.
CV>
CV> Have you tried compiling your kernel using kgcc?

No.

CV> gcc-2.96.* is known to compile code incorrectly AFAIK, and shouldn't be
CV> used for compiling kernels. (kgcc is egcs-1.1.2, I think.)

As I remember Alan said recent 2.4 kernels should be compiled with gcc 2.95
or 2.96 (preferably?).

Regards,
Nerijus


2001-08-01 00:17:30

by Chris Vandomelen

[permalink] [raw]
Subject: Re: Re[4]: cannot copy files larger than 40 MB from CD

> On Tue, 31 Jul 2001 16:58:06 -0700 (PDT) Chris Vandomelen <[email protected]> wrote:
>
> CV> > Tried vfat, ext2 and reiserfs.
> CV> >
> CV> > BTW, kernel is compiled with gcc-2.96-85, glibc-2.2.2-10 (RH 7.1) if
> CV> ^^^^^^^^^^^
> CV> > that matters.
> CV>
> CV> Have you tried compiling your kernel using kgcc?
>
> No.
>
> CV> gcc-2.96.* is known to compile code incorrectly AFAIK, and shouldn't be
> CV> used for compiling kernels. (kgcc is egcs-1.1.2, I think.)
>
> As I remember Alan said recent 2.4 kernels should be compiled with gcc 2.95
> or 2.96 (preferably?).

Everything that I've seen recommends egcs-1.1.2. The kernel documentation
(linux/Documentation/Changes) recommends that version of egcs, as do some
list messages around 12/00.

Chris


2001-08-01 00:26:20

by Nerijus Baliūnas

[permalink] [raw]
Subject: Re[6]: cannot copy files larger than 40 MB from CD

CV> > CV> gcc-2.96.* is known to compile code incorrectly AFAIK, and shouldn't be
CV> > CV> used for compiling kernels. (kgcc is egcs-1.1.2, I think.)
CV> >
CV> > As I remember Alan said recent 2.4 kernels should be compiled with gcc 2.95
CV> > or 2.96 (preferably?).
CV>
CV> Everything that I've seen recommends egcs-1.1.2. The kernel documentation
CV> (linux/Documentation/Changes) recommends that version of egcs, as do some
CV> list messages around 12/00.

Please read message which was posted a few minutes ago (in another thread).
2.4.7 even does not compile with egcs.

Regards,
Nerijus