[Bug 343856] New: Depmod and module overriding question
https://bugzilla.novell.com/show_bug.cgi?id=343856 Summary: Depmod and module overriding question Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: mmarek@novell.com ReportedBy: agruen@novell.com QAContact: qa@suse.de CC: jslaby@novell.com Found By: --- While discussing a hardware id question, I started thinking about how module override works with respect to IDs. So far, I know that modules in updates/ (and weak-updates/) override modules in other directories as far as modules.dep is concerned, i.e., modules override others with the same name. But what what does depmod do when multiple modules support the same hardware ids? Does this follow the same priority rules, i.e., will modules in updates/ also override the hardware ids of other modules? Could you please try to find this out, Michal? We may have to reconsider a few things, or fix this on module-init-tools. Thanks!! (Jiri: it seems we won't need this for the vmxnet case, but I would still like to make sure that we can override hardware ids as well...) -- 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=343856#c1
Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=343856
User agruen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343856#c2
Andreas Gruenbacher
https://bugzilla.novell.com/show_bug.cgi?id=343856
User mmarek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343856#c3
Michal Marek
It seems we are misunderstandinghere. Let me try with an example -- in /lib/modules/$krel, we have:
kernel/foo.ko alias: bar alias: baz updates/foo.ko alias: baz
In other words, updates/foo.ko overrides kernel/foo.ko. modules.alias will only refer to updates/foo.ko; the other module won't show up there anymore.
A ``modprobe foo'' will load updates/foo.ko. A ``modprobe baz'' should do the same. But what does a ``modprobe bar'' do? AFAICT it should fail -- does it do that, or does it load kernel/foo.ko instead?
'modprobe bar will' fail (just tried it) -- updates/ completely overrides modules of the same name in kernel/, so the 'bar' alias won't be written out to modules.alias. Is this what this bugreport is about? If so, it can be closed, because there's nothing to fix. -- 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=343856
User agruen@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=343856#c4
Andreas Gruenbacher
participants (1)
-
bugzilla_noreply@novell.com