LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-03-2005, 10:31 PM   #1
niztec
LQ Newbie
 
Registered: Jul 2005
Location: OHIO
Distribution: OpenSuse 10 and Slamd64 10.2
Posts: 27

Rep: Reputation: 15
Exclamation MD5 and SHA1SUM Problem


My desktop is currently dual-booted running Suse 9.3 and Kubuntu 5.04. I have two hard drives attatched to seperate ide controllers, and a dvd drive. Anytime I try to calculate an md5sum or sha1sum on files over aprox. 100mb they come up incorrect (occasionally smaller files will come up incorrect too). (if I run md5 or sha1 on the same file multiple times will give a different value each time.) This is true for all three partitions (all formatted with reiser.) and the cdrom drive (I tried to verify the md5sums for the packages in doom3). I downloaded a couple ISOs from damnSmallLinux and the mdsums came up correct, but all those files where 50mb or less. I have tried reformating but the results are the same in both OSs. I downloaded Fedora 4 on my laptop and verified the SHA1SUMs and tried to install it on the desktop and got a crc error the first time then each time after start to load but it would go to a kernel panic (Also with both Fedora and Kubuntu when I put it the install cd the logo picture doesn't show up instead its just a big white box). (The install CD loaded fine on the laptop.) I am at a complete loss so any help at all would be greatly appreciated.


Setup (in case it helps)
3.2 ghz Pentium with HT
INTEL 915P Chipset
NVIDIA Geforce 4000mx
1Gb RAM
Western Digital 80 gb HD
Seagate 160 gb HD
Pioneer DVD-RW DVD-105
Kernel 2.6.11-smp
kde 3.4.1
 
Old 07-04-2005, 04:18 AM   #2
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Could it be that your hardware is broken? Try downloading a large file, copying it several times on the hard drive, and doing 'diff file1 file2'. CRC error sounds like broken hardware...
 
Old 07-05-2005, 12:23 AM   #3
niztec
LQ Newbie
 
Registered: Jul 2005
Location: OHIO
Distribution: OpenSuse 10 and Slamd64 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
I download the iso for kubuntu and copied it 4 times and compared the first to the last with diff and it told me the files were identical. I then ran md5sum on both files and they came up different still. I was concerned that this might be a hardware problem but if so do you have any idea what it would be. It seems weird to me that both hard drives and the cd drive would stop working at the same time. (One hard drive and the cdrom drive are connected to the one ide controller on the motherboard, the other hard drive is hooked up to a pci ide controller.) Up until tonight everything else seemed to be running fine in Suse, but now open office calc stopped working (writer and impress still work). I've searched through the lod files and found a few drive seek complete errors from a few days ago but that was it. Any thoughts?
 
Old 07-05-2005, 01:10 AM   #4
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
To me this sounds like a kernel(driver) or hardware compatibility problem. This may be a dumb question, but why are you using an SMP kernel when you only have one processor? (SMP = Symmetric Multi-Processor.)

Simon
 
Old 07-05-2005, 02:19 AM   #5
niztec
LQ Newbie
 
Registered: Jul 2005
Location: OHIO
Distribution: OpenSuse 10 and Slamd64 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
The smp kernel is also used for hyper-threading support, but good point. That got me thinking and I switched to the default kernel and disabled hyper-threading in BIOS, but I'm still getting the same results.
 
Old 07-05-2005, 02:53 AM   #6
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Have you tried strace? I installed strace from FC4 DVD and tried something like strace md5sum somefile. I don't know exactly what to look for in the output but if there's some errors in system calls you should be able to spot them.

How well have you checked that your hardware is compatible with Linux (and the distros)?
 
Old 07-05-2005, 04:55 PM   #7
niztec
LQ Newbie
 
Registered: Jul 2005
Location: OHIO
Distribution: OpenSuse 10 and Slamd64 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
I ran strace and it didn't show any errors. I copied the file to another computer through nfs and the md5sum showed up correct on the other computer so i know the data isn't getting corrupted. As far as I know all of the hardware is supported Suse detected and allowed me to configure all of it without any problems.
 
Old 07-06-2005, 03:14 AM   #8
wipe
Member
 
Registered: Jun 2004
Location: High Green
Distribution: Fedora Core 4
Posts: 180

Rep: Reputation: 30
Well not everything that gets detected is guaranteed to work perfectly.

I guess md5 and sha1 need a lot of computing power on big files and put the processor under heavy stress. This causes considerable heat, in the summer particularly. Overheating is known to cause calculating errors sometimes. How's your computer's ventilation and cooling system doing?

Intel has some Linux information also. Take a look at this for example. Some BIOS tuning might help. Then again, it might not.

Last edited by wipe; 07-06-2005 at 03:17 AM.
 
Old 07-14-2005, 09:36 PM   #9
niztec
LQ Newbie
 
Registered: Jul 2005
Location: OHIO
Distribution: OpenSuse 10 and Slamd64 10.2
Posts: 27

Original Poster
Rep: Reputation: 15
Well I finnally gave in and got the hardware tested and apparently the pci card that my one hard drive was hooked up to was a piece of shit and it ruined that hard drive. Thank you everybody for your help though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix problem:: SASL MD5 support adrianmak Linux - Software 0 08-16-2005 05:36 AM
computing SHA1SUM mkvemuri Linux - General 2 07-31-2005 11:12 PM
WinXP burn fc4 sha1sum bobby_hawk Fedora 3 06-22-2005 07:19 AM
Slackware 10.1 MD5 problem joe83 Slackware 4 02-21-2005 06:15 PM
using iso.md5 and iso.md5.asc Tyir Linux - Newbie 3 07-10-2004 11:45 PM


All times are GMT -5. The time now is 11:59 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration