LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 12-10-2008, 02:36 PM   #1
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Rep: Reputation: 16
Question slackpkg md5sum errors with two different motherboards


When using slackpkg (or any other method of downloading via the console like links and wget), I get several md5sum errors. When upgrading from 12.1 to 12.2 rc1, about 25% of the packages failed with md5sum errors. If I re-run slackpkg upgrade-all, almost all of them fail again, but a few will install successfully. But the thing is, I can download the entire slackware dvd and get the right md5sum. If I try to download the nvidia drivers via links, it works about half the time, and I get checksum errors the other half. I know there's nothing wrong with my network or router. I installed 12.1 on my laptop then upgraded to current via slackpkg and had no issues at all.

I was also having some video card issues and getting the dreaded nvidia Xid errors, so I thought maybe the PCIE bus on my board was dying. But then again I could reboot to xp and play games for hours with no issues. So I tried a new board, and I still have both problems.

I thought TCP retransmits any packets with a bad CRC, so I don't see how I could get this many corrupted downloads.

I've done extensive memory testing and found nothing wrong there. I've also tried a different network cable and different ports on my router, and it didn't help.

I've ruled out the network hardware, motherboard, and memory. It has to be a software issue since it only happens with console based downloads. But then again, my laptop worked fine with all the same packages. I really don't know what to try next... any ideas?
 
Old 12-10-2008, 03:25 PM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Did you try a ' slackpkg update gpg ' ?
 
Old 12-10-2008, 03:46 PM   #3
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Have you checked your disk for badblocks?
 
Old 12-10-2008, 04:32 PM   #4
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Original Poster
Rep: Reputation: 16
I just solved my video card problem by changing my memory into a single channel configuration. I also noticed that if I boot into runlevel 3 and use slackpkg without starting X, all packages download and install with no issues. It seems to only happen while X is running, so I'm wondering if it's related to my X server/video card problem. Although it's still happening even though my video card issue seems to be fixed.

I just don't know how the X server or nvidia driver could be causing corrupted downloads.
 
Old 12-11-2008, 06:51 PM   #5
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Original Poster
Rep: Reputation: 16
I guess I spoke too soon. It still does happen when the server isn't running... it just takes longer before they start getting corrupted.

There are no bad blocks on the hard drive, and it happens when I download the file to either of two drives.

Also, slackpkg can't find any packages named gpg.

I noticed that my network card is sharing an IRQ with my sound card, I wonder if that could be causing it? I haven't seen IRQ issues in years, but I guess it's possible. I'll try getting the network card on its own IRQ and see if that helps.
 
Old 12-12-2008, 12:13 PM   #6
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
As a note, remember that the above wasn't `slackpkg upgrade gpg` but rather a `slackpkg update gpg` -- the man page has more information about it's GPG implementation.
 
Old 12-12-2008, 03:13 PM   #7
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Original Poster
Rep: Reputation: 16
Whoops, didn't notice that. I just tried "slackpkg update gpg" though and I'm still getting md5sum errors.

I'm going to remove 2gb of memory and see if that helps anything. Since changing the memory to single channel mode fixed my video driver, I'm wondering if maybe there are some issues using 4gb on a 32bit kernel.

I did have md5sum errors before that were caused by bad memory, but that was different. If I ran md5sum on the same file twice in a row, I would get two different md5sums. But I replaced the memory, and I don't have that problem anymore. I also reformatted and reinstalled slack 12.1 after replacing the memory.
 
Old 12-12-2008, 05:19 PM   #8
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Original Poster
Rep: Reputation: 16
I just tried downloading the new Slackware 12.2 DVD from the slackware.cs.utah.edu mirror via firefox. The checksum didn't match up, so apparently the problem is not just limited to wget or console downloads. However, I never have any issues browsing the web, using remote desktop or ssh with X11 forwarding.

I just did a data integrity check on the ISO in ktorrent and it found 27 corrupted chunks out of about 2000, so about 1% of the file is corrupted. I'm finishing the download via ktorrent to make sure the md5sum matches up, then I'm going to try reinstalling all of my packages from the disc.

Removing 2gb of ram did not help.
 
Old 12-19-2008, 03:25 PM   #9
walmartshopper
Member
 
Registered: Sep 2004
Distribution: Slackware64-current multilib
Posts: 32

Original Poster
Rep: Reputation: 16
It turned out to be the memory afterall. When I got my new replacement memory, I ran memtest86+ and windows memory diagnostics for a few hours with no errors and assumed the memory was good. However, I decided to re-test it since I couldn't find anything else wrong. I booted up with one stick and all downloads were corrupted. Then I booted up with the other stick and had no problems.

Luckily it's OCZ so I can get it replaced again without much hassle.
 
  


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
uncorrected ECC memory errors on ASUS motherboards wpshooter Linux - Hardware 3 08-31-2007 08:00 PM
slackpkg bookie Linux - Newbie 22 05-31-2007 10:49 AM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 01:22 PM
Slackpkg? vharishankar Slackware 13 08-04-2006 10:10 PM
md5sum errors for disc3 bauer172uw Fedora 1 11-08-2003 04:13 AM


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

Main Menu
Advertisement
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