strange file corruption on sparc machine ..
The Eye <[email protected]> Tue, 13 Apr 2004 11:12:50 +0200
| Newsgroups | gmane.comp.web.fnord |
|---|---|
| Message-ID | <[email protected]> |
Hi, me again with a gentoo-on-sparc related problem.
I have, from time to time, seen some strange file-corruption issues with
my fnord on my Ultra5 and now finally had time to investigate.
did the following in the webservers rootdir:
dd if=/dev/urandom of=testfile1 bs=1024 count=65500
md5sum testfile1>testfile1.md5
dd if=/dev/urandom of=testfile2 bs=1024 count=65600
md5sum testfile2>testfile2.md5
then to some other dir and did:
wget http://localhost/testfile1
wget http://localhost/testfile1.md5
wget http://localhost/testfile2
wget http://localhost/testfile2.md5
and checked the files ... lo and behold:
$ md5sum -c testfile1.md5
testfile1: OK
$ md5sum -c testfile2.md5
testfile2: FAILED
md5sum: WARNING: 1 of 1 computed checksum did NOT match
this behaviour is reproducable, i.e. there seems to be some kind of hard
border of filesize between 65500 bytes and 65600 bytes, where fnord
starts to change the contents of files in some way.
if you wanna check this out for yourself, the files are at
http://eyesun.dhs.org/testfile{1,2}
this is a 32 bit version of fnord-1.8 compiled with a 32 bit version of
dietlibc-0.24, just using the gentoo ebuilds and whatever mangling they do
for sparc64 systems ..
tried the same on my pentium-100 notebook: no problem with 100 MB files,
they stay exactly the same ...
--
Michael Hellwig aka The Eye olymp.idle.at admin
check out http://homepage.uibk.ac.at/~csaa5128 for gpg public key
and don't hesitate to look at http://laerm.or.at
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAe68Rfh9gZMxQE2wRAsHTAJ9brPsydVYgJE9Cz57qOLu2sbe39gCfb+GJ m9rVOYUrnIZDsuPGiqEmPOk= =2vVb -----END PGP SIGNATURE-----