summaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-12-27 21:48:42 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-12-27 21:48:42 +0100
commit14a29498dfee39e72443ff0e6f463be7f3bfd4ec (patch)
tree76df6575dd99d09ef2c98fa6c9196fd6f3312d12 /linux/src
parent81f8c8607d6ffcfdfb47cfa3b1cd2b55a4577218 (diff)
Fix slow boot in virtualbox
By disabling some of the most slow drivers by default, and giving progress feedback to the user. * linux/configfrag.ac (CONFIG_SCSI_NCR53C7xx, CONFIG_SCSI_AIC7XXX, CONFIG_SCSI_GDTH): Disable by default * linux/src/drivers/scsi/eata.c (__initfunc): Don't feed line in probe message. * linux/src/drivers/scsi/hosts.c (scsi_init): Print SCSI probe progress.
Diffstat (limited to 'linux/src')
-rw-r--r--linux/src/drivers/scsi/eata.c2
-rw-r--r--linux/src/drivers/scsi/hosts.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/linux/src/drivers/scsi/eata.c b/linux/src/drivers/scsi/eata.c
index ce859ce..49f0827 100644
--- a/linux/src/drivers/scsi/eata.c
+++ b/linux/src/drivers/scsi/eata.c
@@ -881,7 +881,7 @@ __initfunc (static inline int port_detect \
sprintf(name, "%s%d", driver_name, j);
- printk("probing eata on %lx\n", port_base);
+ printk("\rprobing eata on %lx", port_base);
if(check_region(port_base, REGION_SIZE)) {
printk("%s: address 0x%03lx in use, skipping probe.\n", name, port_base);
diff --git a/linux/src/drivers/scsi/hosts.c b/linux/src/drivers/scsi/hosts.c
index 010e1ce..0f1bedd 100644
--- a/linux/src/drivers/scsi/hosts.c
+++ b/linux/src/drivers/scsi/hosts.c
@@ -472,6 +472,7 @@ unsigned int scsi_init()
* Initialize our semaphores. -1 is interpreted to mean
* "inactive" - where as 0 will indicate a time out condition.
*/
+ printk("\rprobing scsi %d/%d: %s \e[K", tpnt-builtin_scsi_hosts, MAX_SCSI_HOSTS, tpnt->name);
pcount = next_scsi_host;
if ((tpnt->detect) &&
@@ -496,6 +497,7 @@ unsigned int scsi_init()
#endif
}
}
+ printk("\ndone\n");
for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
{