Bug 703189 - Module in "extras" directory overwritten during errata kernel upgrade
Summary: Module in "extras" directory overwritten during errata kernel upgrade
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: module-init-tools
Version: 5.5
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Jon Masters
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-09 15:29 UTC by Chad Dupuis (Cavium)
Modified: 2011-05-26 22:53 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-26 21:24:50 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Chad Dupuis (Cavium) 2011-05-09 15:29:41 UTC
Currently, the default module search order is defined in /etc/depmod.d/depmod.conf.dist as:
 
updates, extra, built-in, weak-updates.
 
This can cause issues if we have an updated module in the "extras" directory and we do an errata kernel upgrade.  What happens here is that a link is created from our updated module in the "extras" directory of the old kernel to the "weak-updates" directory of the new kernel.

This becomes an issue if we have a SAN boot target and we use a dd-disk to install a driver with new hardware support.  As soon as we install an errata kernel and reboot we won't be able to find our boot partition as the inbox driver won't recognize the new hardware.

We can work around this by adding a module specific search order in  /etc/depmod.d but were hoping to find a way around this issue without having to create module specific settings.  Our initial request is to change the default order to:

updates, extra, weak-updates, built-in

but obviously we're open to other solutions as well.

Version-Release number of selected component (if applicable):

module-init-tools-3.3-0.pre3.1.60.el5

Comment 1 Jon Masters 2011-05-26 21:24:50 UTC
I understand the reason for your request, but the purpose of the default being as it is is that inbox drivers will always take priority unless specifically configured otherwise. This generally favors a progression in which an update exists for a brief time and then goes away, in favor of the in-box driver.

The correct recommended course of action is to carry a driver specific /etc/depmod.d configuration file for the module in question, using the "override" option to change the priority temporarily, while the update is installed. An example of this can be found in the ddiskit 2.x utility. For further information, please see http://people.redhat.com/el6/dup/docs/

Jon.

Comment 3 Akemi Yagi 2011-05-26 22:53:55 UTC
Jon,

That link does not exist. I can get to the docs by inserting a 'jcm' in the path ...

Akemi


Note You need to log in before you can comment on or make changes to this bug.