[Bug 738791] New: Inconsistency in NVIDIA repository vs Main (kernel update)
https://bugzilla.novell.com/show_bug.cgi?id=738791 https://bugzilla.novell.com/show_bug.cgi?id=738791#c0 Summary: Inconsistency in NVIDIA repository vs Main (kernel update) Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Update Problems AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Eduard.Avetisyan@desy.de QAContact: jsrain@suse.com Found By: Community User Blocker: No Since a while the kernel in 11.4 has been updated from 2.6.37.1 to 2.6.37.9. For some reason the NVIDIA repository hasn't been updated simultaneously, leaving many users (including me) with a dead X after reboot. While it's indeed not a big deal for someone experienced to cure this by installing the NVIDIA drivers manually, it could be a major inconvenience for less experienced users. With OpenSuSE being one of the best distros out there I find it simply shameful not having these repositories in sync, especially now that a whole month has passed. If the NVIDIA repository has no maintainer I could offer my help there (for at least such trivial stuff as keeping it in sync). In this particular case even a plain copy over of the old modules from 2.6.37.1 tree works fine. A better solution/workaround could be the Fedora way of storing the NVIDIA-Linux-x86-290.10.run file somewhere and adding its version check+install to boot.local. (though I have no doubt OpenSuSE community would have even better solutions at hand). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c2
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c3
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c4
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c5
Eduard Avetisyan
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c6
Stefan Dirsch
Here you go:
$ rpm -qa | grep -i nvidia nvidia-settings-270.41.06-1.9.i586 nvidia-gfxG02-kmp-default-290.10_k2.6.37.1_1.2-12.1.i586 nvidia-computeG02-290.10-13.1.i586 x11-video-nvidiaG02-290.10-13.1.i586
But I have a much easiler way of checking the inconsistency:
# zypper se -s kernel-default S | Name | Type | Version | Arch | Repository --+----------------------+------------+-----------------+--------+---------------------- i | kernel-default | package | 2.6.37.6-0.11.1 | i586 | openSUSE-11.4 Updates
# zypper se -s nvidia S | Name | Type | Version | Arch | Repository --+---------------------------+------------+------------------------------+--------+------------------- i | nvidia-gfxG02-kmp-default | package | 295.40_k2.6.37.1_1.2-14.1 | i586 | NVIDIA Repository
The latest nvidia drivers have been built against kernel 2.6.37.1, while the latest kernel shipped is 2.6.37.6.
Which doesn't matter as long as the kABI hasn't changed. A compatibility symlink is created in /lib/modules/$(uname -r)/weak-updates. That's the big advantage of using KMPs. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c7
--- Comment #7 from Eduard Avetisyan
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c8
Eduard Avetisyan
(In reply to comment #5)
Here you go:
The latest nvidia drivers have been built against kernel 2.6.37.1, while the latest kernel shipped is 2.6.37.6.
Which doesn't matter as long as the kABI hasn't changed. A compatibility symlink is created in /lib/modules/$(uname -r)/weak-updates. That's the big advantage of using KMPs.
I'm sorry, Stefan, but perhaps the problem is exactly the fact that the symlink is not created, neither during the update, nor at boot time. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c9
--- Comment #9 from Stefan Dirsch
You're right, that's why my simple manual workaround of adding the symlink manually did the trick (without the need of recompiling anything). Does this mean that the kernel update should have detected the previous nvidia driver and put the correct link?
Yes.
cause now it's not:
$ rpm -qvf /lib/modules/2.6.37.6-0.9-default/weak-updates/ file /lib/modules/2.6.37.6-0.9-default/weak-updates is not owned by any package
This should be a directory. Nothing in there? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c10
--- Comment #10 from Eduard Avetisyan
(In reply to comment #7)
You're right, that's why my simple manual workaround of adding the symlink manually did the trick (without the need of recompiling anything). Does this mean that the kernel update should have detected the previous nvidia driver and put the correct link?
Yes.
cause now it's not:
$ rpm -qvf /lib/modules/2.6.37.6-0.9-default/weak-updates/ file /lib/modules/2.6.37.6-0.9-default/weak-updates is not owned by any package
This should be a directory. Nothing in there?
I updated everything to the newest available packages just to make sure it isn't something that has been fixed in the meantime. It's still the same - I end up with a black console after reboot. Here's the contents of the weak-updates: ls -lR /lib/modules/2.6.37.6-0.11-default/weak-updates/ /lib/modules/2.6.37.6-0.11-default/weak-updates/: total 8 drwxr-xr-x 2 root root 4096 May 15 09:06 systemtap drwxr-xr-x 2 root root 4096 May 15 10:46 updates /lib/modules/2.6.37.6-0.11-default/weak-updates/systemtap: total 4 lrwxrwxrwx 1 root root 60 May 15 09:06 preloadtrace.ko -> /lib/modules/2.6.37.6-0.11-default/systemtap/preloadtrace.ko /lib/modules/2.6.37.6-0.11-default/weak-updates/updates: total 0 lrwxrwxrwx 1 root root 56 May 15 09:02 ndiswrapper.ko -> /lib/modules/2.6.37.1-1.2-default/updates/ndiswrapper.ko Can you tell me which part of the rpm installation process is supposed to detect the previous version and add the link in the weak-updates? I might try to see why it doesn't act as expected. For now I ended up putting a link into kernel/drivers/video and running depmod to have it loaded... Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c11
--- Comment #11 from Stefan Dirsch
Can you tell me which part of the rpm installation process is supposed to detect the previous version and add the link in the weak-updates? I might try to see why it doesn't act as expected. For now I ended up putting a link into kernel/drivers/video and running depmod to have it loaded...
KMPs and kernel packages do take care of creating these symlinks by running /usr/lib/module-init-tools/weak-modules2. See %post of these packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c12
--- Comment #12 from Eduard Avetisyan
Indeed no symlink there. :-(
Can you tell me which part of the rpm installation process is supposed to detect the previous version and add the link in the weak-updates? I might try to see why it doesn't act as expected. For now I ended up putting a link into kernel/drivers/video and running depmod to have it loaded...
KMPs and kernel packages do take care of creating these symlinks by running /usr/lib/module-init-tools/weak-modules2. See %post of these packages.
I'm afraid they don't - I did a full update again to make sure, and it's not the case. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c13
Eduard Avetisyan
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c14
Stefan Dirsch
Sorry, Stefan, did you install a fresh 11.4, then added the nvidia driver, and then did an online update? Because this still doesn't work for me, on two independent machines.
No, I didn't try that…
I'd like to reopen this bug and have it properly resolved, sorry.
ok. Low priority though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
ok. Low priority though. As you wish. I thought a product within it's support lifetime might expect to run in graphical mode after a kernel update without a need to manually tweak
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c15
--- Comment #15 from Eduard Avetisyan
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c16
Stefan Dirsch
(In reply to comment #13)
Sorry, Stefan, did you install a fresh 11.4, then added the nvidia driver, and then did an online update? Because this still doesn't work for me, on two independent machines.
No, I didn't try that…
Finally found the time for doing this and guess what. It just works fine for me. I see a compatibily symlink from /lib/modules/2.6.37.6.0-20-desktop/weak-updates/updates/nvidia.ko --> /lib/modules/2.6.37.1-1.2-desktop/updates/nvidia.ko Running kernel is 2.6.37.6-0.20-desktop. Installed nvidia kmp is nvidia-gfxG02-kmp-desktop-295.49_k2.6.37.1_1.2-16.1.i586. Hence closing as WORKSFORME. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=738791
https://bugzilla.novell.com/show_bug.cgi?id=738791#c17
--- Comment #17 from Eduard Avetisyan
participants (1)
-
bugzilla_noreply@novell.com