Re: Integrating IPoIB support to anaconda

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

 



> I am trying to make RHEL5.4 installation over IPoIB interface.
> ib_ipoib kernel module depends on 8 different modules. So, I need to modify anaconda to get the load order correct.
> Can you tell me which files should be updated?

Well, you could always make a driver disk to support this hardware.  I'm
not really familiar with the RHEL5 driver disk procedure so I can't be
too helpful,  but this looks good:

    http://www.kerneldrivers.org/RHEL5

If you're looking for something more permanent (like adding support to
anaconda for the next release), I'd suggest you start with RHEL6
instead.  Our module handling code there is much simplified from what it
was in RHEL5.

If that doesn't dissuade you, start with loader2/module-info and add
stanzas for every module you need.  Assuming all the module dependencies
are correct and you've got module-info right, the following lines in
loader2/loader.c should handle loading the modules:

    /* IPv6 support is conditional */
    ipv6Setup(modLoaded, modDeps, modInfo);

    /* now let's do some initial hardware-type setup */
    ideSetup(modLoaded, modDeps, modInfo);
    scsiSetup(modLoaded, modDeps, modInfo);
    dasdSetup(modLoaded, modDeps, modInfo);
    spufsSetup(modLoaded, modDeps, modInfo);

    /* Note we *always* do this. If you could avoid this you could get
       a system w/o USB keyboard support, which would be bad. */
    usbInitialize(modLoaded, modDeps, modInfo);

    /* now let's initialize any possible firewire.  fun */
    firewireInitialize(modLoaded, modDeps, modInfo);

    /* explicitly read this to let libkudzu know we want to merge
     * in future tables rather than replace the initial one */
    pciReadDrivers("/modules/modules.alias");

If these don't work, you may need to explicitly add a mlLoadModuleSet()
line to force load the modules.  However we prefer to not do that unless
we absolutely have to, since that'll force the modules to be loaded on
all systems - not just the ones with the hardware.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux