nvidia driver for current kernel? (2008.1)?

View: New views
11 Messages — Rating Filter:   Alert me  

nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Security alert went out for the kernel, which I've updated to.  Now, I
want to remove the old kernel....

#  urpme kernel-desktop-2.6.24.7-2mnb-1-1mnb1
kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1
To satisfy dependencies, the following 4 packages will be removed (42MB):
kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64
nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
 (due to missing kernel-desktop-2.6.24.7-2mnb,
  due to missing kernel-desktop-2.6.24.7-2mnb[*])
nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
 (due to missing nvidia-current-kernel-2.6.24.7-desktop-2mnb)
Remove 4 packages? (y/N)


So, it would appear that the nvidia-current* packages are tied to the
old kernel in some way, which makes me reluctant to go on at this point.
 I know from past experience that it generally doesn't work if I tell it
to go ahead and remove those, thinking that I can just re-add them (I
expect it will complain that the version of the kernel that it's looking
for isn't there and refuse to install).

So, is there going to be a matching nvidia driver package update to go
with the kernel?

             --Dave



signature.asc (269 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 15 Sep 2009 12:28:00 -0700
David Guntner wrote:

> Security alert went out for the kernel, which I've updated to.  Now, I
> want to remove the old kernel....
>
> #  urpme kernel-desktop-2.6.24.7-2mnb-1-1mnb1
> kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1
> To satisfy dependencies, the following 4 packages will be removed
> (42MB): kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
> kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64
> nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
>  (due to missing kernel-desktop-2.6.24.7-2mnb,
>   due to missing kernel-desktop-2.6.24.7-2mnb[*])
> nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
>  (due to missing nvidia-current-kernel-2.6.24.7-desktop-2mnb)
> Remove 4 packages? (y/N)
>
>
> So, it would appear that the nvidia-current* packages are tied to the
> old kernel in some way, which makes me reluctant to go on at this
> point. I know from past experience that it generally doesn't work if
> I tell it to go ahead and remove those, thinking that I can just
> re-add them (I expect it will complain that the version of the kernel
> that it's looking for isn't there and refuse to install).
>
> So, is there going to be a matching nvidia driver package update to go
> with the kernel?
Maybe

But if not, you do not really need it for the nvidia driver to be built
and work.

The nvidia-current-kernel pkgs simply provides a pre-compiled, in this
case nvidia, module for that specific kernel.
If you do not have nvidia-current for KernelA the 1st time you
boot KernelA the nvidia module will be auto compiled and the modules
installed as long as you have the dkms-nvidia rpm installed.


    Charles


--
Fortune's real live weird band names #271:

Fuckface
----------------------
Mandriva Linux release 2010.0 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.31-tmb-server-1mdv AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
----------------------


signature.asc (205 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles A Edwards wrote:

> On Tue, 15 Sep 2009 12:28:00 -0700
> David Guntner wrote:
>
>> Security alert went out for the kernel, which I've updated to.  Now, I
>> want to remove the old kernel....
>>
>> #  urpme kernel-desktop-2.6.24.7-2mnb-1-1mnb1
>> kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1
>> To satisfy dependencies, the following 4 packages will be removed
>> (42MB): kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
>> kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64
>> nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
>>  (due to missing kernel-desktop-2.6.24.7-2mnb,
>>   due to missing kernel-desktop-2.6.24.7-2mnb[*])
>> nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
>>  (due to missing nvidia-current-kernel-2.6.24.7-desktop-2mnb)
>> Remove 4 packages? (y/N)
>>
>>
>> So, it would appear that the nvidia-current* packages are tied to the
>> old kernel in some way, which makes me reluctant to go on at this
>> point. I know from past experience that it generally doesn't work if
>> I tell it to go ahead and remove those, thinking that I can just
>> re-add them (I expect it will complain that the version of the kernel
>> that it's looking for isn't there and refuse to install).
>>
>> So, is there going to be a matching nvidia driver package update to go
>> with the kernel?
>
> Maybe
>
> But if not, you do not really need it for the nvidia driver to be built
> and work.
>
> The nvidia-current-kernel pkgs simply provides a pre-compiled, in this
> case nvidia, module for that specific kernel.
> If you do not have nvidia-current for KernelA the 1st time you
> boot KernelA the nvidia module will be auto compiled and the modules
> installed as long as you have the dkms-nvidia rpm installed.
These are the ones I currently have installed:

$ rpm -qa|egrep nvidia
dkms-nvidia-current-169.12-4mdv2008.1
nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1
nvidia-current-doc-html-169.12-4mdv2008.1
x11-driver-video-nvidia-current-169.12-4mdv2008.1
nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1


Now, are you saying that I can go ahead and remove the old kernel,
letting it remove the two nvidia packages that urpme said it was going
to remove?  And upon completion of that, that I can do a urmpi to
reinstall the nvidia-current-kernel package?  (What about
nvidia-current-kernel-desktop-latest?)

               --Dave





signature.asc (269 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 15 Sep 2009 13:18:14 -0700
David Guntner wrote:

> Now, are you saying that I can go ahead and remove the old kernel,
> letting it remove the two nvidia packages that urpme said it was going
> to remove?  And upon completion of that, that I can do a urmpi to
> reinstall the nvidia-current-kernel package?  (What about
> nvidia-current-kernel-desktop-latest?)

Yes you can go ahead and remive the old kernel
And
No.
I am saying that you do not need any nvidia-current-kernel-*.rpms.

The nvidia driver module will and does build, install and work Without
having any nvidia-current-kernel rpms installed.

The nvidia-current-kernel rpms simply offer a minor convenience that
eliminates the need for the nvidia module being compiled during
the 1st boot of That specfic kernel.

The Only nvidia rpms you really need are:
x11-driver-video-nvidia-current
dkms-nvidia-current

I personally do not like, and never install the nvidia-current-kernel
rpms.
What I have is:
[charles@SuperSize SPECS]$ rpm -qa |grep nvidia
x11-driver-video-nvidia-current-185.18.36-1mdv2010.0
dkms-nvidia-current-185.18.36-1mdv2010.0
nvidia-current-devel-185.18.36-1mdv2010.0
nvidia-current-doc-html-185.18.36-1mdv2010.0


    Charles

--
Odd that we think definitions are definitive.   :-)
             -- Larry Wall in <199702221943.LAA20388@...>
----------------------
Mandriva Linux release 2010.0 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.31-tmb-server-1mdv AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
----------------------


signature.asc (205 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles A Edwards wrote:

> On Tue, 15 Sep 2009 13:18:14 -0700
> David Guntner wrote:
>
>> Now, are you saying that I can go ahead and remove the old kernel,
>> letting it remove the two nvidia packages that urpme said it was going
>> to remove?  And upon completion of that, that I can do a urmpi to
>> reinstall the nvidia-current-kernel package?  (What about
>> nvidia-current-kernel-desktop-latest?)
>
> Yes you can go ahead and remive the old kernel
> And
> No.
> I am saying that you do not need any nvidia-current-kernel-*.rpms.
>
> The nvidia driver module will and does build, install and work Without
> having any nvidia-current-kernel rpms installed.
>
> The nvidia-current-kernel rpms simply offer a minor convenience that
> eliminates the need for the nvidia module being compiled during
> the 1st boot of That specfic kernel.
>
> The Only nvidia rpms you really need are:
> x11-driver-video-nvidia-current
> dkms-nvidia-current
>
> I personally do not like, and never install the nvidia-current-kernel
> rpms.
> What I have is:
> [charles@SuperSize SPECS]$ rpm -qa |grep nvidia
> x11-driver-video-nvidia-current-185.18.36-1mdv2010.0
> dkms-nvidia-current-185.18.36-1mdv2010.0
> nvidia-current-devel-185.18.36-1mdv2010.0
> nvidia-current-doc-html-185.18.36-1mdv2010.0
Ok, thanks.  I did the uninstall, and got the following output upon
execution of my urpme command (it'll probably wrap as I paste it...):

#  urpme kernel-desktop-2.6.24.7-2mnb-1-1mnb1
kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1
To satisfy dependencies, the following 4 packages will be removed (42MB):
kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64
nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
 (due to missing kernel-desktop-2.6.24.7-2mnb,
  due to missing kernel-desktop-2.6.24.7-2mnb[*])
nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
 (due to missing nvidia-current-kernel-2.6.24.7-desktop-2mnb)
Remove 4 packages? (y/N) y
removing kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64
nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
removing package
nvidia-current-kernel-desktop-latest-169.12-1.20081031.4mdv2008.1.x86_64
removing package kernel-desktop-devel-2.6.24.7-2mnb-1-1mnb1.x86_64

-------- Uninstall Beginning --------
Module:  nvidia-current
Version: 169.12-4mdv2008.1
Kernel:  2.6.24.7-desktop-2mnb (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

nvidia-current.ko.gz:
 - Uninstallation
   - Deleting from:
/lib/modules/2.6.24.7-desktop-2mnb/dkms-binary/drivers/char/drm/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod.....

DKMS: uninstall Completed.
removing package
nvidia-current-kernel-2.6.24.7-desktop-2mnb-169.12-4mdv2008.1.x86_64
Added linux *
Added linux-nonfb
Added failsafe
Added desktop_2.6.24.7-3mnb
removing package kernel-desktop-2.6.24.7-2mnb-1-1mnb1.x86_64
#


Anything I need to be concerned about regarding the above?  And is there
anything else I should be doing here before my next boot? :-)

Current nvidia packages as they stand now:

#  rpm -qa|egrep -i nvidia
dkms-nvidia-current-169.12-4mdv2008.1
nvidia-current-doc-html-169.12-4mdv2008.1
x11-driver-video-nvidia-current-169.12-4mdv2008.1


Also, the above path shown got me thinking, so I did a bit of looking...

$ pwd
/lib/modules
[davidg@janet modules]$ ls -la
total 12
drwxr-xr-x  5 root root   90 2009-09-15 11:49 ./
drwxr-xr-x 10 root root 4096 2009-09-15 11:58 ../
drwxr-xr-x  3 root root 4096 2009-01-17 04:12 2.6.24.4-desktop-1mnb/
drwxr-xr-x  4 root root   35 2009-09-15 14:42 2.6.24.7-desktop-2mnb/
drwxr-xr-x  4 root root 4096 2009-09-15 11:59 2.6.24.7-desktop-3mnb/


I'm thinking I should be able to get rid of those two top directories,
since I'm now running the kernel-desktop-latest-2.6.24.7-3mnb1 kernel,
but I figured I'd better check first.  Any reason to keep those older
ones around, since I don't have the older kernels installed and so
theoretically those modules directories should not come into play?

$ ls -la 2.6.24.7-desktop-3mnb
total 1776
drwxr-xr-x  4 root root   4096 2009-09-15 11:59 ./
drwxr-xr-x  5 root root     90 2009-09-15 11:49 ../
lrwxrwxrwx  1 root root     36 2009-09-15 11:51 build ->
/usr/src/linux-2.6.24.7-desktop-3mnb/
drwxr-xr-x  3 root root     20 2009-09-15 11:59 dkms/
drwxr-xr-x 10 root root    100 2009-09-15 11:49 kernel/
-rw-r--r--  1 root root 377952 2009-09-15 11:59 modules.alias
-rw-r--r--  1 root root     69 2009-09-15 11:59 modules.ccwmap
-rw-r--r--  1 root root 393461 2009-09-15 11:59 modules.dep
-rw-r--r--  1 root root  69928 2009-09-09 13:36 modules.description
-rw-r--r--  1 root root    813 2009-09-15 11:59 modules.ieee1394map
-rw-r--r--  1 root root    451 2009-09-15 11:59 modules.inputmap
-rw-r--r--  1 root root   6978 2009-09-15 11:59 modules.isapnpmap
-rw-r--r--  1 root root     74 2009-09-15 11:59 modules.ofmap
-rw-r--r--  1 root root 290389 2009-09-15 11:59 modules.pcimap
-rw-r--r--  1 root root   1135 2009-09-15 11:59 modules.seriomap
-rw-r--r--  1 root root 162246 2009-09-15 11:59 modules.symbols
-rw-r--r--  1 root root 477124 2009-09-15 11:59 modules.usbmap
lrwxrwxrwx  1 root root     36 2009-09-15 11:51 source ->
/usr/src/linux-2.6.24.7-desktop-3mnb/


I don't see a dkms-binaries directory there....

I did check under it, and found drivers/char/drm/nvidia-current.ko.gz
located under it.  Is that all that's needed?

              --Dave



signature.asc (269 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 15 Sep 2009 14:59:35 -0700
David Guntner wrote:

> I don't see a dkms-binaries directory there....
>
> I did check under it, and found drivers/char/drm/nvidia-current.ko.gz
> located under it.  Is that all that's needed?

You are over thinking and making things appear way more complicated
they they are.

If you have already booted the 2.6.24.7-3mnb1 kernel

# lsmod |grep nvidia

and you'll see the the nivida driver is loaded.

You worried needlessly and need do nothing else as dkms is working and
did it's assigned job.


   Charles

--
Our business in life is not to succeed but to continue to fail in high
spirits. -- Robert Louis Stevenson
----------------------
Mandriva Linux release 2010.0 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.31-tmb-server-1mdv AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
----------------------


signature.asc (205 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles A Edwards grabbed a keyboard and wrote:

> On Tue, 15 Sep 2009 14:59:35 -0700
> David Guntner wrote:
>
>> I don't see a dkms-binaries directory there....
>>
>> I did check under it, and found drivers/char/drm/nvidia-current.ko.gz
>> located under it.  Is that all that's needed?
>
> You are over thinking and making things appear way more complicated
> they they are.
>
> If you have already booted the 2.6.24.7-3mnb1 kernel
>
> # lsmod |grep nvidia
>
> and you'll see the the nivida driver is loaded.
>
> You worried needlessly and need do nothing else as dkms is working and
> did it's assigned job.
LOL - guilty as charged. :-)

# lsmod |egrep nvidia
nvidia               8853188  34
i2c_core               25600  2 nvidia,i2c_nforce2


Yep, looks like it's there.  I was just concerned (and started looking)
because of those messages that appeared when I did the uninstall.

I am correct, then, in my assumption that I can go ahead and get rid of
those two older directories under /lib/modules?  I hate needless clutter
waste, so if I don't *have* to have them there, I want to be rid of
them.... :-)

Thanks for the help!

         --Dave



signature.asc (267 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by Charles A Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 15 Sep 2009 16:45:28 -0700
David Guntner wrote:

> I am correct, then, in my assumption that I can go ahead and get rid
> of those two older directories under /lib/modules?  I hate needless
> clutter waste, so if I don't *have* to have them there, I want to be
> rid of them.... :-)

AFAIK it should be OK.
They are non-owned (as in not owned by any rpm) directories left-over
from the un-install of the old kernels.


    Charles

--
Personally, I like to defiantly split my infinitives.  :-)
             -- Larry Wall in <199708271551.IAA10211@...>
----------------------
Mandriva Linux release 2010.0 (Cooker) for x86_64$
On SuperSize....http://www.eslrahc.com
Registered Linux user #182463
2.6.31-tmb-server-1mdv AMD Athlon(tm) 64 X2 Dual Core Processor 6400+
----------------------


signature.asc (205 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Charles A Edwards grabbed a keyboard and wrote:

> On Tue, 15 Sep 2009 16:45:28 -0700
> David Guntner wrote:
>
>> I am correct, then, in my assumption that I can go ahead and get rid
>> of those two older directories under /lib/modules?  I hate needless
>> clutter waste, so if I don't *have* to have them there, I want to be
>> rid of them.... :-)
>
> AFAIK it should be OK.
> They are non-owned (as in not owned by any rpm) directories left-over
> from the un-install of the old kernels.
Ok, sounds good.

Thanks again for the help!

           --Dave



signature.asc (267 bytes) Download Attachment

Re: nvidia driver for current kernel? (2008.1)?

by Jim Beard-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

David Guntner wrote:
> I am correct, then, in my assumption that I can go ahead and get rid of
> those two older directories under /lib/modules?  I hate needless clutter
> waste, so if I don't *have* to have them there, I want to be rid of
> them.... :-)

If you have removed the kernel, you can remove the /lib/modules
tree for that kernel

Be careful to remove _just_ the matching modules tree.

Cheers!

jim b.


--
UNIX is not user unfriendly; it merely
      expects users to be computer-friendly.

Re: nvidia driver for current kernel? (2008.1)?

by David Guntner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jim Beard grabbed a keyboard and wrote:
> David Guntner wrote:
>> I am correct, then, in my assumption that I can go ahead and get
>> rid of those two older directories under /lib/modules?  I hate
>> needless clutter waste, so if I don't *have* to have them there, I
>> want to be rid of them.... :-)
>
> If you have removed the kernel, you can remove the /lib/modules tree
> for that kernel

Yea, that's what I figured.

> Be careful to remove _just_ the matching modules tree.

Oh, definitely! :-)

Thanks.

           --Dave



signature.asc (267 bytes) Download Attachment