Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: atrpms: devel

FC6 yum update doesn't update nvidia-graphics kmdl

 

 

atrpms devel RSS feed   Index | Next | Previous | View Threaded


Axel.Thimm at ATrpms

Mar 25, 2007, 4:40 AM

Post #1 of 5 (767 views)
Permalink
FC6 yum update doesn't update nvidia-graphics kmdl

On Sun, Mar 25, 2007 at 07:52:28AM -0300, Paulo Cavalcanti wrote:
> Axel, what does make a kernel pick a module in /lib/modules/.../updates,
> instead of the original version in its original place, as in video4linux?

module-init-tools does that by itself, e.g. the directories under
/lib/modules are scanned in a certain order with /updates/ first and
/kernel/ last. The mechanism has become a bit involved lately due to
the dynamical weak-symbols feature, but the basics are still the same.

> In the nvidia case both modules are in updates. Why one would be
> preferred to the other?

Due to the "nvidia" alias in /etc/modprobe.conf.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070325/82371709/attachment.bin


promac at gmail

Mar 26, 2007, 11:04 AM

Post #2 of 5 (728 views)
Permalink
FC6 yum update doesn't update nvidia-graphics kmdl [In reply to]

On 3/25/07, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
>
> On Sun, Mar 25, 2007 at 07:52:28AM -0300, Paulo Cavalcanti wrote:
> > Axel, what does make a kernel pick a module in /lib/modules/.../updates,
> > instead of the original version in its original place, as in
> video4linux?
>
> module-init-tools does that by itself, e.g. the directories under
> /lib/modules are scanned in a certain order with /updates/ first and
> /kernel/ last. The mechanism has become a bit involved lately due to
> the dynamical weak-symbols feature, but the basics are still the same.
>
> > In the nvidia case both modules are in updates. Why one would be
> > preferred to the other?
>
> Due to the "nvidia" alias in /etc/modprobe.conf.



Axel,

I just updated an FC5 computer to 2.6.20.307 and
installed both 9746 and 9755 nvidia drivers (libs are also there).

Although /etc/modprobe.conf contains

alias nvidia nvidia-1_0-9755

it insists in loading 9746. I rebooted and used
/usr/sbin/nvidia-graphics-switch
several times, and unless I remove 9746 module, X does not start, because
it tries to load 9746 instead of 9755.

Definitively, something has changed in recent kernels.


--
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070326/bf21ea3e/attachment.html


Axel.Thimm at ATrpms

Mar 26, 2007, 12:59 PM

Post #3 of 5 (725 views)
Permalink
FC6 yum update doesn't update nvidia-graphics kmdl [In reply to]

On Mon, Mar 26, 2007 at 03:04:31PM -0300, Paulo Cavalcanti wrote:
> On 3/25/07, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> >
> >On Sun, Mar 25, 2007 at 07:52:28AM -0300, Paulo Cavalcanti wrote:
> >> Axel, what does make a kernel pick a module in /lib/modules/.../updates,
> >> instead of the original version in its original place, as in
> >video4linux?
> >
> >module-init-tools does that by itself, e.g. the directories under
> >/lib/modules are scanned in a certain order with /updates/ first and
> >/kernel/ last. The mechanism has become a bit involved lately due to
> >the dynamical weak-symbols feature, but the basics are still the same.
> >
> >> In the nvidia case both modules are in updates. Why one would be
> >> preferred to the other?
> >
> >Due to the "nvidia" alias in /etc/modprobe.conf.

> I just updated an FC5 computer to 2.6.20.307 and
> installed both 9746 and 9755 nvidia drivers (libs are also there).
>
> Although /etc/modprobe.conf contains
>
> alias nvidia nvidia-1_0-9755
>
> it insists in loading 9746. I rebooted and used
> /usr/sbin/nvidia-graphics-switch
> several times, and unless I remove 9746 module, X does not start, because
> it tries to load 9746 instead of 9755.
>
> Definitively, something has changed in recent kernels.

What happens if you drop to init 3, rmmod the nvidia module and
modprobe it again with modprobe nvidia? Does it still load the wrong
one even though modprobe.conf has an alias pointing to the desired
one?

Maybe some depmod command when rogue on you?
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070326/3735f9bb/attachment.bin


promac at gmail

Mar 27, 2007, 5:07 AM

Post #4 of 5 (726 views)
Permalink
FC6 yum update doesn't update nvidia-graphics kmdl [In reply to]

On 3/26/07, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
>
> On Mon, Mar 26, 2007 at 03:04:31PM -0300, Paulo Cavalcanti wrote:
> > On 3/25/07, Axel Thimm <Axel.Thimm at atrpms.net> wrote:
> > >
> > >On Sun, Mar 25, 2007 at 07:52:28AM -0300, Paulo Cavalcanti wrote:
> > >> Axel, what does make a kernel pick a module in
> /lib/modules/.../updates,
> > >> instead of the original version in its original place, as in
> > >video4linux?
> > >
> > >module-init-tools does that by itself, e.g. the directories under
> > >/lib/modules are scanned in a certain order with /updates/ first and
> > >/kernel/ last. The mechanism has become a bit involved lately due to
> > >the dynamical weak-symbols feature, but the basics are still the same.
> > >
> > >> In the nvidia case both modules are in updates. Why one would be
> > >> preferred to the other?
> > >
> > >Due to the "nvidia" alias in /etc/modprobe.conf.
>
> > I just updated an FC5 computer to 2.6.20.307 and
> > installed both 9746 and 9755 nvidia drivers (libs are also there).
> >
> > Although /etc/modprobe.conf contains
> >
> > alias nvidia nvidia-1_0-9755
> >
> > it insists in loading 9746. I rebooted and used
> > /usr/sbin/nvidia-graphics-switch
> > several times, and unless I remove 9746 module, X does not start,
> because
> > it tries to load 9746 instead of 9755.
> >
> > Definitively, something has changed in recent kernels.
>
> What happens if you drop to init 3, rmmod the nvidia module and
> modprobe it again with modprobe nvidia? Does it still load the wrong
> one even though modprobe.conf has an alias pointing to the desired
> one?



Then it works (I wish I knew why).

Going back to level 5, 9746 has to be remvoed. This problem occurs either
for FC5 as for FC6.


--
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070327/7f166de0/attachment.html


Axel.Thimm at ATrpms

Mar 30, 2007, 3:40 AM

Post #5 of 5 (727 views)
Permalink
FC6 yum update doesn't update nvidia-graphics kmdl [In reply to]

On Tue, Mar 27, 2007 at 09:07:21AM -0300, Paulo Cavalcanti wrote:
> >What happens if you drop to init 3, rmmod the nvidia module and
> >modprobe it again with modprobe nvidia? Does it still load the wrong
> >one even though modprobe.conf has an alias pointing to the desired
> >one?
>
> Then it works (I wish I knew why).
>
> Going back to level 5, 9746 has to be remvoed. This problem occurs either
> for FC5 as for FC6.

Looks like nvidia's driver in userspace calls the nvidia module
differently than modprobing nvidia, maybe by PCI mapping. In that case
we cannot do much. :/
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20070330/d0029589/attachment.bin

atrpms devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.