Re: md5 giving inconsistent results

2004-10-15 Thread David J. Weller-Fahy
* David J. Weller-Fahy [EMAIL PROTECTED] [2004-10-14 10:57 -0800]:
 * Kris Kennaway [EMAIL PROTECTED] [2004-10-14 10:49 -0800]:
  On Thu, Oct 14, 2004 at 06:01:37AM -0800, David J. Weller-Fahy wrote:
   I just installed 5.2.1-RELEASE on a RAID1 setup (atacontrol using
   Sil0680 chipset), and was in the process of transfering files from my
   old server.  However, I'm having an issue with the md5 sum of a file.
   Here's my uname -a:
  
   FreeBSD tigger.weller-fahy.com 5.2.1-RELEASE-p11
   FreeBSD 5.2.1-RELEASE-p11 #0: Thu Oct 14 00:17:32 CEST 2004
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
  Can you retry with 5.3?  There might have been driver problems in
  5.2.1 which cause the data corruption.

 Sure, but it'll have to wait until this weekend.  I'll repost when I get
 it installed, etc.  If not by this weekend, then it'll have to wait
 until next weekend.

Ok, after more experimentation, here are some results:

With no RAID1 5.2.1 and 5.3b7 both produce consistent md5 sums of the
file (that is, with a small installation on one of the hard drives).
With RAID1 setup using atacontrol following the instructions on
http://www.techno-obscura.com/~delgado/notes/fbsd-ich5SATAraid.html
both 5.2.1 and 5.3b7 produce inconsistent md5 sums of the file on
consecutive runs.  Further, it may be related to the size of the file,
as in 5.3b7 (I haven't tried this with 5.2.1 yet) performing md5 sums of
the dot-files in my home directory produced consistent results.

I'll be installing the server using only one hard drive, with the second
as one big partition used to hold backups, but I'd like to be able to
install with all partitions on a RAID1 setup.  So, any suggestions on
where to go from here?

Regards,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


md5 giving inconsistent results

2004-10-14 Thread David J. Weller-Fahy
I just installed 5.2.1-RELEASE on a RAID1 setup (atacontrol using
Sil0680 chipset), and was in the process of transfering files from my
old server.  However, I'm having an issue with the md5 sum of a file.
Here's my uname -a:

FreeBSD tigger.weller-fahy.com 5.2.1-RELEASE-p11
FreeBSD 5.2.1-RELEASE-p11 #0: Thu Oct 14 00:17:32 CEST 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Here's the program I'm using:

 which md5
/sbin/md5

Here's the directory listing of the file (sized match on old server,
windows box, and new server):

 ls -al
total 714570
drwxr-xr-x   4 dave  dave512 Oct 13 20:45 ./
drwxr-xr-x  16 dave  dave   1024 Oct 13 21:14 ../
-rw-r--r--   1 dave  dave  731327140 Oct 11 21:52 files.tar.gz
-rw-r--r--   1 dave  dave162 Oct 13 20:44 files.tar.gz.md5
drwxr-xr-x   2 dave  dave512 Oct 11 22:21 php/
drwxr-xr-x   3 dave  dave   1536 Oct 11 21:39 qmail/

Here's the md5 from the old server:

dave[tigger]/files md5 files.tar.gz
MD5 (files.tar.gz) = 986a79245120f645b2a546fa6567d8ab

Here's three runs of md5 from the new server:

 md5 files.tar.gz
MD5 (files.tar.gz) = c57f4d82f32d698c16f0d792761ce9d6
 md5 files.tar.gz
MD5 (files.tar.gz) = 933608fc706c652b7d3ef2f5115d3ead
 md5 files.tar.gz
MD5 (files.tar.gz) = d8cd06f700b612fee72c39d5bc39df5a

And the md5 on a windows box:

C:\Documents and Settings\dave\Desktopmd5sum files.tar.gz
986a79245120f645b2a546fa6567d8ab *files.tar.gz

Just tried the same thing using md5deep from ports on the old and new
server, and got similar results: md5 sums are inconsistent when
calculated on the new server.

So.  What's my next step in figuring this out?  I was using the
following flags for optimization, but stopped and rebuilt world with no
optimization flags (except MAKE_IDEA=yes and LEAPSECONDS=YES).

CPUTYPE?=athlon-xp
CFLAGS= -O -pipe
CXXFLAGS+= -fmemoize-lookups -fsave-memoized
MAKE_SHELL?=sh
COPTFLAGS= -O -pipe
MAKE_IDEA=YES   # IDEA (128 bit symmetric encryption)
LEAPSECONDS=YES

I'm at a bit of a loss, and am about ready to try a reinstall, any
suggestions other than that and memtest86 (which I'll be trying next)?
Oh, and any pointers towards information that I failed to provide will
be gratefully accepted.

Regards,
-- 
dave [ please don't CC me ]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: md5 giving inconsistent results

2004-10-14 Thread Kris Kennaway
On Thu, Oct 14, 2004 at 06:01:37AM -0800, David J. Weller-Fahy wrote:
 I just installed 5.2.1-RELEASE on a RAID1 setup (atacontrol using
 Sil0680 chipset), and was in the process of transfering files from my
 old server.  However, I'm having an issue with the md5 sum of a file.
 Here's my uname -a:
 
 FreeBSD tigger.weller-fahy.com 5.2.1-RELEASE-p11
 FreeBSD 5.2.1-RELEASE-p11 #0: Thu Oct 14 00:17:32 CEST 2004
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Can you retry with 5.3?  There might have been driver problems in
5.2.1 which cause the data corruption.

Kris


pgpGCZZGLzh2w.pgp
Description: PGP signature