summaryrefslogtreecommitdiffstats
path: root/loader/modules.c
Commit message (Collapse)AuthorAgeFilesLines
* Completely remove loader/Will Woods2012-02-151-551/+0
| | | | IT IS ACCOMPLISHED.
* fix 899f401611da021b3ec3882577ad860eae47f265Ales Kozumplik2010-08-131-0/+1
|
* Proper detection of successful module update (#618862)Martin Sivak2010-08-121-5/+93
|
* Use readvars_parse_file() in loader/modules.cDavid Cantrell2010-07-261-42/+23
|
* modules.c: only log from _doLoadModule() if logging has been initialized.Ales Kozumplik2010-07-201-2/+6
| | | | So one can call _doLoadModule() from init.c.
* break the dependency of modules.c on loader.hAles Kozumplik2010-07-201-54/+1
|
* Move isys and booty into the pyanaconda/ directory, adjust paths to match.Chris Lumens2010-06-281-1/+1
| | | | | | | This is required so the source layout and package layout have a similar enough structure to make our test setup work. Without this move, you can't run "make check" or checkbot without getting error messages about no such module pyanaconda.booty.
* fix compile error after 7aace0bf0e0557cd914aa93e80a709a9f21f07f8Ales Kozumplik2010-05-121-1/+1
|
* Use module reloading in driver disc operations (#590015)Martin Sivak2010-05-071-1/+120
| | | | We have to load all drivers to get access to devices containing driver discs. But when we copy the DD content into RAM, we have to reinitialize those drivers to pick up updated versions.
* move log.c from loader into isys.Ales Kozumplik2010-03-081-1/+2
| | | | | | This is in preparation to use logging from imount.c. We don't want a dependency of isys on loader, instead move logging code into isys and change loader sources to use the log.h header in isys.
* Replace all popt use with glib's option parsing code.David Cantrell2009-11-181-13/+20
| | | | | We have glib for other things, so we can use it for option parsing and dump another library dependency.
* Use glib data structures in loader's module handling code.David Cantrell2009-11-161-256/+250
| | | | | Use glib's data structures and string functions in modules.c since we already have glib. Add in some safety checks as well.
* Correct modopts initialization in loader (take 2) (#531932).David Cantrell2009-11-061-10/+33
| | | | | | | | | | | | | The edc665e6fa2ba71e89eb83412738622e916c3a05 commit prevented SIGSEGV but changed behavior of modopts to where we'd never get any values in modopts. What needed to happen is the else clause in addOption() needed to initalize the .options array and add in the option value. That wasn't happening, so strcat() calls in writeModulesConf() were causing SIGSEGV. This patch also adds some realloc() and malloc() checks. Tested with "radeon.nomodeset=1" and without that parameter on x86_64.
* Correctly initialize modopts in loader (#531932).David Cantrell2009-11-041-10/+12
| | | | | | Under certain conditions, modopts is never initialized. This patch fixes up that while preserving the existing functionality introduced with 29e18c35.
* Do not assume we found a module in addOption() in loader/modules.cDavid Cantrell2009-09-211-6/+10
| | | | | Avoid SIGSEGV in addOption() in loader/modules.c. Just because found does not equal 0 does not mean we found the module requested.
* Rename /etc/modprobe.d/anaconda to /etc/modprobe.d/anaconda.confChris Lumens2009-03-161-3/+3
| | | | | The kernel tells me that all module config files have to end with .conf in the future or they'll be ignored. We had better rename it, then.
* Renamed loader2 subdirectory to loader (hooray for git)David Cantrell2008-08-251-0/+380
|
* remove old loader dir. for referencing, go back to anaconda-8-0-branchJeremy Katz2003-01-071-881/+0
|
* merge ia64 changes to HEADJeremy Katz2002-09-091-0/+1
|
* only retry the umount if errno is EBUSYJeremy Katz2002-08-231-1/+3
|
* make sure we successfully unmount the driver disk/pcmciadd. if not, sleep ↵Jeremy Katz2002-08-231-3/+8
| | | | and try again. it's a bad hack, but I can't see anything holding the device busy and get -EBUSY on umount.
* get the easy bits of the merge first.... hampton loader and isys directoriesJeremy Katz2002-04-191-2/+4
| | | | should be fine since I had originally just copied them into hampton from head :)
* merge using zlib for stage2 instead of gzlibJeremy Katz2002-03-121-114/+1
|
* make a little more sure we don't overflow stringMike Fulbright2002-02-271-1/+1
|
* treat driver disks properly (was broken by multiple module loads)Erik Troan2002-01-251-27/+37
|
* moved functions from devices.c to modules.c that weren't used anywhereErik Troan2002-01-251-7/+223
| | | | | | else anyway; made them static fixed small problem in reloadUnloadedModule()
* merge most of the s/390 loader changes. as with the last batch, an emailJeremy Katz2001-12-271-1/+11
| | | | about these will be coming soon
* don't print junkErik Troan2001-12-101-1/+1
|
* merge changes from the 7.2 branch forJeremy Katz2001-12-061-0/+118
| | | | | | * nousbstorage flag * unload usb-storage before loading scsi modules * support for RedHat/base/updates.img
* changes for dietlibcErik Troan2001-11-131-5/+7
|
* merge fix from 7-2-branchJeremy Katz2001-10-191-1/+1
|
* don't fail over missing modulesErik Troan2001-10-171-7/+8
|
* 1) cleaned up mlLoadModule/mlLoadModuleSet usageErik Troan2001-10-171-6/+22
| | | | 2) module arguments should work again
* don't give up after one module insertion failsErik Troan2001-10-171-1/+2
|
* moved display of scsiWindow() to right around the insmod (makes multipleErik Troan2001-10-171-0/+12
| | | | module installation cleaner)
* 1) some bug fixes to new multiple-module load codeErik Troan2001-10-171-8/+12
| | | | 2) streamlined debug output
* cleaned up location handlingErik Troan2001-10-121-10/+11
|
* don't free paths when drivers fail to loadErik Troan2001-10-121-11/+0
|
* restrict the application of module argumentsErik Troan2001-10-041-2/+5
|
* *** empty log message ***Erik Troan2001-10-031-52/+194
|
* merge fix from 7-2-branchJeremy Katz2001-09-261-1/+1
|
* fix multiple scsi adaptersMatt Wilson2001-08-271-1/+20
|
* write out each module to /tmp/modules.conf every time we insert them (MF #52293Matt Wilson2001-08-231-1/+18
|
* make a copy of driver major/minor types to we don't need modinfo aroundErik Troan2001-03-061-6/+13
| | | | to write out modules.conf
* set the module path to NULL on init, other japanese tweaksMatt Wilson2000-09-071-0/+1
|
* driver disks seem to work now :-)Erik Troan2000-06-031-11/+10
|
* driver disks should completely work nowErik Troan2000-05-081-4/+10
|
* move cpio.h include hereMatt Wilson2000-04-281-1/+0
|
* shuffle *all* newt code away from modules.cMatt Wilson2000-04-281-80/+1
|
* implemented new driver disk structureErik Troan2000-04-261-2/+106
|