nvidia driver works w/ new kernel and inittab 3, but not 5

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat Apr 17 02:05:56 UTC 2004


Am Sa, den 17.04.2004 schrieb Clint Harshaw um 03:49:

Clint, thanks for your explanations, but I must confess that I am
puzzled or you describe exactly what is causing the problem.

> I wanted to be sure that I described what I did earlier correctly. I 
> did. I changed the run level to 3, rebooted into 2179, logged in as 
> root, and typed:

Ok, there you write you rebooted with kernel .2179. Is that correct?

> CC="gcc32" sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --add-this-kernel
> 
> followed by:
> 
> CC="gcc32" sh NVIDIA-Linux-x86-1.0-5336-pkg1-custom.run
> 
> (I made sure that I was using 2174 kernel by typing uname -a before 
> doing those steps, even though I knew I selected that in the boot).

There you write uname -a showed you kernel .2174!? Either this was
incorrect or the reboot with .2179 was not the case.

> I then edited XF86Config, commenting out the load dri line and making 
> sure the driver was nvidia rather than nv.
> 
> I then exited as root, and logged in as me. I typed startx, and the 
> nvidia splash screen came up, and I could run all the GL packages just fine.
> 
> Then I exited, and logged in as root. I edited /etc/inittab to change 
> the run level to 5. I then did shutdown -r now. When the boot comes up, 
> I select the 2179 kernel. Among the startup details is the line:
> 
> nvidia.o module for 2.4.22-1.2179.nptl not found
> Disabling nvidia driver

Ok, I hardly assume you previously build the NVidia module running
kernel .2174 and that source. But you want to have the module for kernel
.2179.

> X does start up, but not with capability to run any GL-related packages 
> (such as glxgears). The nvidia splash screen does not display.
> 
> Here are the other approaches I have tried with the same symptoms
> a) just doing sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
> b) tried an older driver using the same instructions I gave earlier
> 
> I rebooted into the old 2174 kernel, and using the same steps outlined, 
> have compiled the nvidia driver so that it is working just fine for 
> runlevel 3 and 5. I just can't get it to function with runlevel 5 and 
> the 2179 kernel. I have a similar machine at my office, that the 
> instructions for the driver worked flawlessly with the new kernel. So 
> I'm inclined to believe it may be something machine specific. But I 
> don't know what else to try.

Clint, don't you see the obvious mistake? You build the NVidia kernel
module running kernel .2174! How should the module build for the newer
kernel .2179? Is that hard to understand?

Ok, short description for you:

1) boot with kernel .2179 into runlevel 3 by entering "a" at grub boot
screen and then adding "3"
2) be sure to have the kernel source for kernel .2179 installed
3) run the 2 CC="gcc32" sh NVIDIA-Linux-x86-1.0-5336-pkg1.run command
steps you know
4) see how the nvidia.o module found his way into the modules directory
for kernel .2179 by running "find /lib/modules/2.4.22-1.2179.nptl/ -name
nvidia.o"
5) change runlevel to 5 using "init 5"

Ready.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
Sirendipity 03:57:22 up 1 day, 7:46, load average: 0.17, 0.44, 0.39 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040417/de0dd422/attachment-0001.sig>


More information about the fedora-list mailing list