[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

DriverDisc v3 integration



Hi,

there is a tarball of patches against individual files attached to this email. This set of patches adds new driverdisc format support as well as the automatic driverdisc pickup (known as dlabel in RHEL5) to the current master branch.

Internally this is supposed to work like this:

- the new format is documented in the docs/ directory

- when unpacking
  - whole RPMs go to /tmp/DD-number/
  - firmware files go to /tmp/DD/lib/firmware (in overwriting mode)
  - modules go to /tmp/DD/lib/modules (in overwriting mode)

- during DD loading
  - depmod and modprobe are set to prefer the /tmp/DD location
  - when modprobe runs in DD mode, it picks modules from /tmp/DD, the only exceptions are modules needed to satisfy dependencies
  - probeDevices (udev trigger) is started after each driver disc (with modprobe in DD mode)

- at the end, modprobe is set to preference mode only and probeDevices is ran again

- during Yum install phase
  - the code lists all modules loaded into kernel and tried to find those residing in DD directory (/tmp/DD)
  - modules which were loaded from that directory are translated to package names (file dependencies) and added to Yum transaction

Overall, this code should ensure all features from rhel5 are present in rhel6. It also adds the multiple driverdiscs capability. some issues are still to be solved (e.g. updating specific modules, which are needed for the DD to function).

There was also proposal for automatic updates.img pickup from driverdiscs, but there two main issues remaining:
- versioning, we do not want to be updating anaconda files with older version
- arch specific stuff, especially isys

I'm waiting for your comments. Just be aware of the fact that this must be present in rhel6, so I'm interested only in "how to improve" messages over messages complaining about the feature being unnecessary/useless.

--
Martin Sivak
Anaconda team / Brno, CZ

Attachment: DDv3.tar.gz
Description: GNU Zip compressed data


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]