summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-08-22 07:49:37 +0000
committerJeremy Katz <katzj@redhat.com>2002-08-22 07:49:37 +0000
commit32c1ef59dd3bf20b500e039e0f36bba0da0224e7 (patch)
tree38dc10e570f6f70406ddd18361b35e2c846c8891 /loader
parentb3f39dc086fccf96595ae54f74611df5e1e26cad (diff)
downloadanaconda-32c1ef59dd3bf20b500e039e0f36bba0da0224e7.tar.gz
anaconda-32c1ef59dd3bf20b500e039e0f36bba0da0224e7.tar.xz
anaconda-32c1ef59dd3bf20b500e039e0f36bba0da0224e7.zip
probing/module loading is safe in test mode. also, pop up a window when we do the firewire modload because it's a tad slow and looks like the installer has hung otherwise since you're just sitting at the black screen
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 7e2fcecec..f2d860046 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -3042,15 +3042,20 @@ static int firewireInitialize(moduleList modLoaded, moduleDeps modDeps,
logMessage("found firewire controller %s", devices[0]->driver);
+ /* not the best message in the world, but better than sitting
+ * and looking silly */
+ winStatus(40, 3, _("Loading"), _("Loading %s driver..."),
+ devices[0]->driver);
+
if (mlLoadModuleSet(devices[0]->driver, modLoaded, modDeps, modInfo,
flags)) {
logMessage("failed to insert firewire module");
return 1;
}
- if (FL_TESTING(flags)) return 0;
-
sleep(3);
+ newtPopWindow();
+
logMessage("probing for firewire scsi devices");
devices = probeDevices(CLASS_SCSI, BUS_FIREWIRE, PROBE_ALL);
@@ -3398,6 +3403,7 @@ int main(int argc, char ** argv) {
a system w/o USB keyboard support, which would be bad. */
usbInitialize(modLoaded, modDeps, modInfo, flags);
+ startNewt(flags);
/* now let's initialize any possible firewire. fun */
firewireInitialize(modLoaded, modDeps, modInfo, flags);
}