diff options
author | Martin Sivak <msivak@redhat.com> | 2008-11-05 14:52:39 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2008-11-05 16:16:19 +0100 |
commit | 3a530a077e7da8795c1efc8ebbda9e1c03cb50a9 (patch) | |
tree | 65b8f7b68ae0ac4805425707a00a88b09a792f8f | |
parent | 8a960b94b9a37da1dab08b0092f640e63ec6b19e (diff) | |
download | anaconda-3a530a077e7da8795c1efc8ebbda9e1c03cb50a9.tar.gz anaconda-3a530a077e7da8795c1efc8ebbda9e1c03cb50a9.tar.xz anaconda-3a530a077e7da8795c1efc8ebbda9e1c03cb50a9.zip |
Run the busProbe after we have all driverdisc loaded (#316481)
-rw-r--r-- | loader2/loader.c | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/loader2/loader.c b/loader2/loader.c index 03e226926..801237395 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -1590,16 +1590,7 @@ int main(int argc, char ** argv) { getDDFromSource(&loaderData, "path:/dd.img"); } - /* this allows us to do an early load of modules specified on the - * command line to allow automating the load order of modules so that - * eg, certain scsi controllers are definitely first. - * FIXME: this syntax is likely to change in a future release - * but is done as a quick hack for the present. - */ - earlyModuleLoad(modInfo, modLoaded, modDeps, 0); - - /* The detection requires at least the basic drivers and device nodes to be present... */ - busProbe(modInfo, modLoaded, modDeps, 0); + /* The detection requires at least the basic device nodes to be present... */ createPartitionNodes(); if(FL_AUTOMODDISK(flags)){ @@ -1617,11 +1608,16 @@ int main(int argc, char ** argv) { dditer = dditer->next; } ddlist_free(dd); - - //rescan after the DD loades - busProbe(modInfo, modLoaded, modDeps, 0); } - + + /* this allows us to do an early load of modules specified on the + * command line to allow automating the load order of modules so that + * eg, certain scsi controllers are definitely first. + * FIXME: this syntax is likely to change in a future release + * but is done as a quick hack for the present. + */ + earlyModuleLoad(modInfo, modLoaded, modDeps, 0); + busProbe(modInfo, modLoaded, modDeps, 0); /* JKFIXME: we'd really like to do this before the busprobe, but then * we won't have network devices available (and that's the only thing |