nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Bad checksum (http://www.nvnews.net/vbulletin/showthread.php?t=131014)

pato83 04-02-09 02:22 PM

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

tzp 04-03-09 03:32 AM

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.)

pato83 04-03-09 11:24 AM

Re: Bad checksum
 
Quote:

Originally Posted by tzp (Post 1974557)
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. :)

pato83 05-01-09 06:20 PM

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.

kernelOfTruth 05-01-09 06:31 PM

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 :)

pato83 05-01-09 06:44 PM

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 :D Could you check my config if i would paste it here? I know, it is not easy, but just some important options.

kernelOfTruth 05-02-09 06:39 PM

Re: Bad checksum
 
Quote:

Originally Posted by pato83 (Post 1996202)
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 :D 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

pato83 05-05-09 01:31 PM

Re: Bad checksum
 
1 Attachment(s)
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.


All times are GMT -5. The time now is 04:41 AM.

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