diff options
author | joerg <joerg@FreeBSD.org> | 1996-06-02 18:58:39 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-06-02 18:58:39 +0000 |
commit | 497410092f081277da6c762940f6a59b4a1d2ac7 (patch) | |
tree | 6c466eb3af136f50a05788795f3cf6b79610541b /sys/amd64 | |
parent | 919436ccb7acc0f0c2629b0977280bed62b2be21 (diff) | |
download | FreeBSD-src-497410092f081277da6c762940f6a59b4a1d2ac7.zip FreeBSD-src-497410092f081277da6c762940f6a59b4a1d2ac7.tar.gz |
Be slightly more verbose during configure() in the bootverbose case.
This breaks the long silence after the ``npx0'' message and allows to
track some of the problems regarding the root f/s decisions.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/autoconf.c | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 25d84f0..ab85222 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.52 1996/05/02 10:43:04 phk Exp $ + * $Id: autoconf.c,v 1.53 1996/05/02 14:19:39 phk Exp $ */ /* @@ -57,6 +57,7 @@ #include <sys/sysctl.h> #include <machine/cons.h> +#include <machine/cpu.h> #include <machine/md_var.h> #include <i386/isa/icu.h> /* For interrupts */ @@ -196,18 +197,29 @@ configure(dummy) cninit_finish(); + if (bootverbose) + printf("Device configuration finished.\n"); + #ifdef CD9660 - if ((boothowto & RB_CDROM) && !mountroot) + if ((boothowto & RB_CDROM) && !mountroot) { + if (bootverbose) + printf("Considering CD-ROM root f/s.\n"); mountroot = find_cdrom_root; + } #endif #ifdef NFS - if (!mountroot && nfs_diskless_valid) + if (!mountroot && nfs_diskless_valid) { + if (bootverbose) + printf("Considering NFS root f/s.\n"); mountroot = nfs_mountroot; + } #endif /* NFS */ #ifdef MFS_ROOT if (!mountroot) { + if (bootverbose) + printf("Considering MFS root f/s.\n"); mountroot = vfs_mountroot; /* XXX goes away*/ mountrootvfsops = &mfs_vfsops; /* @@ -224,6 +236,8 @@ configure(dummy) #endif #ifdef FFS if (!mountroot) { + if (bootverbose) + printf("Considering FFS root f/s.\n"); mountroot = vfs_mountroot; /* XXX goes away*/ mountrootvfsops = &ufs_vfsops; /* @@ -240,6 +254,8 @@ configure(dummy) #endif #ifdef LFS if (!mountroot) { + if (bootverbose) + printf("Considering LFS root f/s.\n"); mountroot = vfs_mountroot; /* XXX goes away*/ mountrootvfsops = &lfs_vfsops; /* @@ -261,8 +277,12 @@ configure(dummy) * Configure swap area and related system * parameter based on device(s) used. */ + if (bootverbose) + printf("Configuring root and swap devs.\n"); setconf(); cold = 0; + if (bootverbose) + printf("configure() finished.\n"); } static int |