Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Philip Blundell <pjb27@cam.ac.uk>
Subject: Re: 64 Bits from Larry McVoy
Date: Wed, 6 Nov 1996 12:34:35 +0000 (GMT)	[thread overview]
Message-ID: <3811af52969c6ac646d1431d8cdf0599.axp-list@archive.invalid> (raw)
In-Reply-To: <9611061220.AA06870@scooter>

On Wed, 6 Nov 1996, Jim Nance wrote:

> When I run it I get this nice message:
> 
> scooter> ./a.out
> EXT2-fs warning (device 08:18): ext2_getblk: block > big
> write:: Input/output error
> 
> Now it does make a file:
> scooter> ls -l
> total 66
> -rwxrwxrwx   1 jlnance  users       14317 Nov  5 06:53 a.out*
> -rw-rw-rw-   1 jlnance  users         555 Nov  5 06:53 big.c
> -rw-rw-rw-   1 jlnance  users    18253611008 Nov  5 06:57 bigfile
> 
> This file is much larger than 2G.  I think its about 18G.  The really
> interesting thing is that sometimes it will spontaneously truncate itself:
> 
> scooter> dd bs=1k count=10 if=bigfile of=/dev/null
> 10+0 records in
> 10+0 records out
> scooter> ls -l
> total 66
> -rwxrwxrwx   1 jlnance  users       14317 Nov  5 06:53 a.out*
> -rw-rw-rw-   1 jlnance  users         555 Nov  5 06:53 big.c
> -rw-rw-rw-   1 jlnance  users    1073741824 Nov  5 06:57 bigfile
> 
> Now its a 1G file :-(  I can not always force it to truncate by accessing it,
> but it will always eventually truncate itself if you leave it around for
> long enough and read from it enough.
> 
> For anyone who is interested in trying to reproduce this, I used the 2.0.18
> kernel supplied with RedHat 4.0, recompiled with the RedHat 4.0 compiler.
> I am running on an Alphastation 200 4/166 with the SRM console.

[phil@paddington phil]$ uname -a
Linux paddington.london.uk.eu.org 2.1.7 #12-netdev Wed Nov 6 02:47:51 GMT
1996 alpha
[phil@paddington phil]$ ~/bigtest 
write:: File too large
[phil@paddington phil]$ ls -l bigfile
-rw-rw-r--   1 phil     phil     2147483648 Nov  6 13:30 bigfile
[phil@paddington phil]$

I make that a 2GB file.  Strange.  It seems that everybody is seing
different behaviour from this program.

This is on a UDB with (mostly) RedHat 4.0, upgraded to a newer development
kernel.  I am using glibc 1.93.

phil

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

  reply	other threads:[~1996-11-06 12:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.93.961105175237.464A-100000@darkstar.chrigi.net>
1996-11-06 12:20 ` 64 Bits from Larry McVoy Jim Nance
1996-11-06 12:34   ` Philip Blundell [this message]
1996-11-07 18:58   ` Christian Hardmeier
     [not found] <Pine.SOL.3.95.961106122811.7441C-100000@hammer.thor.cam.ac.uk>
1996-11-06 12:57 ` Jim Nance
     [not found] <9611041302.AA00548@scooter>
1996-11-04 23:10 ` Marc Singer
1996-11-05  0:23 ` Richard Henderson
1996-11-04 13:02 Jim Nance
read-only archive

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