Jump to content

NVIDIA-Linux-x86-1.0-6111-pkg1.run


Guest macron
 Share

Recommended Posts

Hello everybody!

 

I've tryed to install NVIDIA-Linux-x86-1.0-6111-pkg1.run under a 2.6.8.1-8mdksmp

 

after exploring some forums, I've commented section:

 

/*case PM_SAVE_STATE:

nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n");

status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);

break; */

 

then I did "make install" it compiled well, except the final step:

 

NVIDIA: left KBUILD.

FATAL: Error inserting nvidia (/lib/modules/2.6.8.1-8mdksmp/kernel/drivers/video/nvidia.ko): Invalid module format

make[2]: *** [package-install] Error1

make[1]: *** [install] Error 2

make[1]: Leaving directory `/home/macron/Documents/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv'

make: *** [kernel_module_install] Error 2

 

What is possible suggestion?!

Link to comment
Share on other sites

possible suggestion? Go back to Mandrake 10.0 untill the community release is comming out.

I'd tried with any suggestions, read page up and page down with out getting any closer.

 

My 2 cent

 

 

 

 

.:=The AI Dude=:.

Link to comment
Share on other sites

i've never tried installin it on that (smp) kernel, but i did have troubles with other 2.6.x kernels. try running the installer like this.........

 

sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --add-this-kernel

 

it will build a new installer titled NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run in the same directory. run the new -custom installer & see if it works.

 

Chris

Link to comment
Share on other sites

I am willing to bet that you have not also installed the kernel-source.2.6.8.1-8mdksmp as well. The fact that you have installed a new kernel is not enough and it is NOT a kernel-Source. You need BOTH a kernel AND a matching version kernel-source.

NVIDIA uses certain files that are ONLY contained in the kernel-source, and without those it will not install. This also applys to some other programs so as a matter of course I ALWAYS install both.

 

Also are you using a dual processor system ???. If not, then why have you installed a smp type kernel which is intended for Symmetric Multi Processor ,i.e. dual processors.

 

Cheers. John.

Link to comment
Share on other sites

I've had to install this driver a few different times, seems whenever I have to restore my bootloader I have to re-install the NVIDIA drivers also. Here's what I always do, and it works like a charm.

 

(assuming you have your kernel updated to at least what's compiled with MDK10...)

 

-SU to root in your favorite terminal (I love emacs)

-cd to /etc/

-emacs (or whatever terminal you use) inittab

-change the 5 in "id:5:initdefault:" to 3, save the file

-reboot the system, login as normal user then su to root.

-navigate to where your NVIDIA driver .run file is, and type "sh NVIDIA...bla..bla..bla.run"

-The driver will now re-install itself through a terminal-like gui, and you'll be all set. Don't forget to change your inittab back to level 5 once this is done (same way you changed it to 3).

 

If you knew this already...just ignore me. hah!

Link to comment
Share on other sites

cp the file pm.h from a pre -5 kernel-source's /include/linux folder to your source's /include/linux folder (overwriting the file that is already there) and try to install the driver the normal way.

 

If you don't have a source that would work, I've posted the file in this thread

 

It works, I've done it.

Link to comment
Share on other sites

cp the file pm.h from a pre -5 kernel-source's /include/linux folder to your source's /include/linux folder (overwriting the file that is already there) and try to install the driver the normal way. 

 

If you don't have a source that would work, I've posted the file in this thread

 

It works, I've done it.

 

 

MUWAH!!!!! It works! Finally!!!!

 

Thank you LiquidZoo <insert worship smiley> !!!

 

I just downloaded the file you provided.

su

<password>

cp pm.h /usr/src/linux-2.6.8.1-8mdk/include/linux

init 3

sh NVIDIA-Linux-x86-1.0-6111-pkg1.run --add-this-kernel

sh NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run

vim /etc/X11/xorg.conf

<made the changes I needed - eg. Driver "nvidia", Load "glx" then :wq>

init 5

 

tested it in the konsole

glxgears

 

 

 

 

 

 

.:=The AI Dude=:.

Link to comment
Share on other sites

So, the situation have changed.

 

After I've installed a new PM.H it have the same result when I just chaged

./NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c

and changed the line

PM_SAVE_STATE

to

PM_SUSPEND_MEM

 

so, the result as follows:

 

2.6.8.1-8mdkcustom booting until the last stage ( yes I have set up the sources and recompiled the kernel)

and after that I got not X, but FrameBuffer Login screen (tty1)

 

i logged in to the $

trying startx

receiving:

blah blah blah .. can't start 'cose:

Screens found but none of them have usable configuration ( Yes, I have did changes in /etc/X11/xorg.conf)

 

after that I go to the su

# sh NDIVIAblablabla-custom.run ( yes, I've added new kernel to installation and it compiled good)

it installs well

i'm exiting # to the $

and finnaly:

$startx

voiala ! It works!

BUT!!! I need to do it every time I boot !!! it won't save such gonfiguration state.. ( xorg.conf keeps the changes I've checked.. )

next boot I droped to the save FrameBuffer Login screen.

:-(

any new suggestions ?? :-)

 

( I run on Toshiba Sattelite 1995-S805 laptop)

 

before and after making sh NDIVIDblabla-custom.run i've recorded :

$set > set_1

$set > set_2

 

and I've saw the difference:

 

set_1 (before installing):.......................set_2(after installing):

#none......................................................added:...........OLDP

WD=/home/macron/Documents

PIPESTATUS=([0]="0" [1]="0").....changed:...........PIPESTATUS=([0]="0")

_= .......................................................changed:..........._=..

 

that's all..

Will be very appriciated for help!

Edited by macron
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...