Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-02-09, 01:22 PM   #1
pato83
Registered User
 
Join Date: Apr 2009
Posts: 5
Default Bad checksum

Hi, i've downloaded nvidia driver many times. After recompiling my kernel I've got error message from nvidia-installer:
Code:
NVIDIA-Linux-x86_64-180.44-pkg2(2).run: line 797: ./nvidia-installer: Permission denied
So i've tried to write into the script set -x. This is output:
Code:
+ skip=875
+ CRCsum=1843150744
+ MD5=6b36ff8e48f8adc80cd89b0d06d79e3b
+ label='NVIDIA Accelerated Graphics Driver for Linux-x86_64 180.44'
+ version_string=180.44
+ pkg_version=2
+ script=./nvidia-installer
+ targetdir=NVIDIA-Linux-x86_64-180.44-pkg2
+ scriptargs=
+ keep=n
+ add_this_kernel=n
+ apply_patch=n
+ TMPROOT=/tmp
+ TARGET_OS=Linux
+ TARGET_ARCH=x86_64
+ '[' '' = -help -o '' = --help -o '' = -h ']'
+ '[' '' = -A -o '' = --advanced-options ']'
+ '[' '' = -lsm -o '' = --lsm ']'
+ '[' '' = --pkg-history ']'
+ '[' '' = --label ']'
+ '[' '' = --version-string ']'
+ '[' '' = --pkg-version ']'
+ '[' '' = --target-os ']'
+ '[' '' = --target-arch ']'
+ '[' '' = --target-directory ']'
+ '[' '' = --script ']'
+ '[' '' = --info ']'
+ '[' '' = --list ']'
+ '[' '' = --check ']'
+ run_script=y
+ keep=n
+ apply_patch=n
+ '[' '' ']'
++ uname
+ LOCAL_OS=Linux
++ uname -m
+ LOCAL_ARCH=x86_64
+ '[' x86_64 = i386 ']'
+ '[' x86_64 = i486 ']'
+ '[' x86_64 = i586 ']'
+ '[' x86_64 = i686 ']'
+ '[' -z Linux -o -z x86_64 ']'
+ '[' x86_64 '!=' x86_64 -o Linux '!=' Linux ']'
+ '[' n = y ']'
+ workingdir=/tmp/selfgz9107
+ tmpdir=/tmp/selfgz9107/NVIDIA-Linux-x86_64-180.44-pkg2
+ rm -rf /tmp/selfgz9107/NVIDIA-Linux-x86_64-180.44-pkg2
+ '[' -d /tmp/selfgz9107/NVIDIA-Linux-x86_64-180.44-pkg2 -o -f /tmp/selfgz9107/NVIDIA-Linux-x86_64-180.44-pkg2 ']'
+ mkdir -p /tmp/selfgz9107/NVIDIA-Linux-x86_64-180.44-pkg2
++ pwd
+ location=/home/pato/downloads
+ echo=echo
+ '[' -x /usr/ucb/echo ']'
+ '[' x '!=' x1 ']'
+ echo -n 'Verifying archive integrity... '
Verifying archive integrity... ++ tail -n +6 NVIDIA-Linux-x86_64-180.44-pkg2.run
++ cksum
++ sed -e 's/ /Z/' -e 's/       /Z/'
++ cut -dZ -f1
+ sum1=1277353986
+ '[' 1277353986 '!=' 1843150744 ']'
+ echo 'Error in check sums 1277353986 1843150744'
Error in check sums 1277353986 1843150744
+ exit 2
I see that last three lines and i know what they are talking about, but why? Is it my fault? I checked my hdd, ram. Everything looks ok. I checked my connection and it looked great without any lost packets or some other errors. I tried to use my ram instead my hdd, but nothing is changed. Thank you very much.

some info about my system, i hope it helps to help me :
Debian lenny, window manager fluxbox, kernel 2.6.29
laptop dell xps 1530 with 8600GT
pato83 is offline   Reply With Quote
Old 04-03-09, 02:32 AM   #2
tzp
Registered User
 
tzp's Avatar
 
Join Date: Sep 2007
Location: Hungary
Posts: 92
Default Re: Bad checksum

Are you sure you ftp-d it in binary mode ?

What do you get when run run md5sum against it ? For me it's
Quote:
md5sum NVIDIA-Linux-x86_64-180.44-pkg2.run
3a342f68d276d8fa020a1ae3145b9175 NVIDIA-Linux-x86_64-180.44-pkg2.run
The script runs this:
Quote:
tail -n +6 NVIDIA-Linux-x86_64-180.44-pkg2.run | md5sum | cut -b-32
6b36ff8e48f8adc80cd89b0d06d79e3b
...which, for me, matches the MD5 stored in the script.

I think Nvidia people could store an md5 checksum for the whole install file, just to be 100% safe. (although the first 6 lines skipped should not cause big trouble.)
tzp is offline   Reply With Quote
Old 04-03-09, 10:24 AM   #3
pato83
Registered User
 
Join Date: Apr 2009
Posts: 5
Default Re: Bad checksum

Quote:
Originally Posted by tzp View Post
Are you sure you ftp-d it in binary mode ?

What do you get when run run md5sum against it ? For me it's


The script runs this:

...which, for me, matches the MD5 stored in the script.

I think Nvidia people could store an md5 checksum for the whole install file, just to be 100% safe. (although the first 6 lines skipped should not cause big trouble.)
Thank you for your interest. I tried to run md5sum against driver and i got same value.
Code:
md5sum NVIDIA-Linux-x86_64-180.44-pkg2.run 
3a342f68d276d8fa020a1ae3145b9175  NVIDIA-Linux-x86_64-180.44-pkg2.run
So it looks ok and when i tried same command like that script, i got this:
Code:
 tail -n +6 NVIDIA-Linux-x86_64-180.44-pkg2.run | md5sum | cut -b-32
6b36ff8e48f8adc80cd89b0d06d79e3b
So everything looks ok, but anyway i got same error like it's written in my first post. Also i tried to comment first 3 rows, but i got this error:
Code:
sh NVIDIA-Linux-x86_64-180.44-pkg2.run 
Verifying archive integrity... NVIDIA-Linux-x86_64-180.44-pkg2.run: line 757: [: 4072792172: unary operator expected
OK
NVIDIA-Linux-x86_64-180.44-pkg2.run: line 763: [: !=: unary operator expected
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 180.44...........................................................................................................................................................
gzip: stdin: unexpected end of file

NVIDIA-Linux-x86_64-180.44-pkg2.run: line 797: ./nvidia-installer: Permission denied
And yes, i used binary mode for downloading. Help me please Ask me for whatever you want.

PROBLEM SOLVED !

I don't know how, but it's done. I recompiled my kernel again with same config file. But i used only "make" instead "make all" , anyway it should be the same, if i got it right. Really, i don't know where i made a mistake and of course i would like to know that. Thank you very much TZP for your help and i am sorry for wasting your time.

Last edited by pato83; 04-04-09 at 05:55 AM. Reason: Problem solved
pato83 is offline   Reply With Quote
Old 05-01-09, 05:20 PM   #4
pato83
Registered User
 
Join Date: Apr 2009
Posts: 5
Default Re: Bad checksum

Hi, i'm back with my problem. I forgot to check option in kernel config to support my built-in card reader. After recompiling i'm getting the same error. Have anybody any idea how to finally sort it out? Kernel 2.6.29.2 it's the latest stable kernel at this moment. Thank you so much.

add: I have read some topics about kernel options for nvidia binary driver. So i unchecked to create module FB_RIVA, but there are still two options which i have not found yet. These two options:
Kernel Hacking -> Use 4Kb for kernel stacks instead of 8Kb (4KSTACKS)
Processor Type and Features -> Local APIC support on uniprocessors (X86_UP_APIC)

Thank you guys for any help.
pato83 is offline   Reply With Quote
Old 05-01-09, 05:31 PM   #5
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Bad checksum

Quote:
NVIDIA-Linux-x86_64-180.44-pkg2(2).run: line 797: ./nvidia-installer: Permission denied
well, then it should be an permissions problem @kernel

cd /usr/src/linux && chmod -R go+rX . && cd /lib/modules && chmod -R go+rX /lib/modules/*

then try again if the installation fails ...

good luck
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 05-01-09, 05:44 PM   #6
pato83
Registered User
 
Join Date: Apr 2009
Posts: 5
Default Re: Bad checksum

Thank you very much for your help, but i have got the same error mesage. I think, there can not be any problem with permisions after applying your command. I'm lost.

add: Gentoo users know everything Could you check my config if i would paste it here? I know, it is not easy, but just some important options.
pato83 is offline   Reply With Quote
Old 05-02-09, 05:39 PM   #7
kernelOfTruth
Gentoo Linux addict
 
Join Date: Nov 2007
Location: Vienna, Austria; Germany; hello world :)
Posts: 202
Default Re: Bad checksum

Quote:
Originally Posted by pato83 View Post
Thank you very much for your help, but i have got the same error mesage. I think, there can not be any problem with permisions after applying your command. I'm lost.

add: Gentoo users know everything Could you check my config if i would paste it here? I know, it is not easy, but just some important options.
yeah sure, go ahead

the problem might be that this week I don't have much time to look through thoroughly (I will probably take a peek tomorrow)

perhaps someone else here on the forums finds time to take a more in-depth look at it
__________________
2.6.30-rc3-zen0+ w. compcache, reiser4 + ccreg40 (lzo-compression + checksumming)
gcc version 4.4.0-pre9999 built 20090425 (prerelease) rev. 146764 (Gentoo SVN)
gcc version 4.4.0 (Gentoo Hardened 4.4.0-r1, espf-0.2.1)
Ubuntu Jaunty/9.04 x86_64 Dell XPS M1330
kernelOfTruth is offline   Reply With Quote
Old 05-05-09, 12:31 PM   #8
pato83
Registered User
 
Join Date: Apr 2009
Posts: 5
Default Re: Bad checksum

I've found some topics with kernel 2.6.29.x and nvidia driver, so i tried 2.6.28.9. When i tried to install it by this way:
sh NVIDIA-Linux-x86_64-185.19-pkg2.run
Nothing has changed yet, i've got same error. I need to extract this file a install it by this way:
cd NVIDIA-Linux-x86_64-185.19-pkg2 && ./nvidia-installer
and everything looks fine. It is installed, but it still doesn't work. Check atached log please.But anyway, it still doesn't work.
When i've used kernel 2.6.29.2, there doesn't work any of these ways above.

Thank you.

add. Thank you kerneloftruth, i appreciate it.
Attached Files
File Type: log nvidia-installer.log (61.9 KB, 72 views)
pato83 is offline   Reply With Quote

Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it bad to leave geforce overclocked all the time? Creole General Hardware 2 09-23-02 11:13 PM
Debian + Nvidia drivers, bad compilation Prodigy NVIDIA Linux 16 09-10-02 07:13 PM
bad refresh rates with 2960 matze42 NVIDIA Linux 2 09-07-02 09:13 AM
so let's try this again in the new forum - bad performance with correctly inst.driver neutrino NVIDIA Linux 11 08-01-02 04:19 PM

All times are GMT -5. The time now is 12:38 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.