Date: Tue, 1 Jan 2008 14:53:55 +1100 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Chuck Robey <chuckr@chuckr.org> Cc: FreeBSD-Hackers <freebsd-hackers@freebsd.org> Subject: Re: printing boot probe messages Message-ID: <20080101035355.GM72458@server.vk2pj.dyndns.org> In-Reply-To: <47782631.6070305@chuckr.org> References: <86abo1g2pu.fsf@ds4.des.no> <476EA521.9020707@chuckr.org> <20071224131425.GF23337@cicely12.cicely.de> <47715E1F.9080502@chuckr.org> <86sl1qikam.fsf@ds4.des.no> <477440A2.4070601@chuckr.org> <86sl1n14vv.fsf@ds4.des.no> <477698D8.2040802@chuckr.org> <20071229213216.GV40785@server.vk2pj.dyndns.org> <47782631.6070305@chuckr.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 30, 2007 at 06:13:53PM -0500, Chuck Robey wrote: >during booting is to call out a verbose boot. If I do that, then the boot >messages DO print during booting, and examination afterwards shows a big >file (~ 60K in size). This happens if I use /boot.config=3D=3D-v, or if I >enter option #5 to the beastie menu, or even if I call out a manual loader >run, and enter boot -v at the prompt. > >If I do none of those things, it will not print boot messages. This doesn't really make sense because the only difference is code like if (bootverbose) printf("Lots more detail\n"); and there shouldn't be any side-effects. > After >booting, if I do a "dmesg > dm" then the resulting file is only about 10k >in size, and things like the enormous pci probing don't show up. That makes sense. > At this >moment, I'm in a boot that wasn't printed, and I just got a 0 back from a >"sysctl debug.bootverbose" That is also correct. >Right now, I moved my /boot.config to /notboot.config. My loader.conf is > >boot_mute=3D"NO" I think this is your problem. The kernel doesn't look at the value of the environment variable, just whether or not it is set. Try removing or commenting out this line and check for other occurrences of "boot_mute" >verbose_loading=3D"YES" verbose_loading is different to boot_verbose. The former makes the forth boot loader more verbose, the latter is passed onto the kernel and makes it more verbose. >Sure. "sysctl debug.boothowto" returns -2147418112, any idea what that >means? It's a bitmask of values defined in <sys/reboot.h> -2147418112 =3D=3D 0x80010000 =3D=3D RB_BOOTINFO | RB_MUTE The "RB_MUTE" explains the lack of console messages and is caused by the boot_mute=3D"NO" in your kenv output. Other than that, the kenv all looks reasonable. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --yNb1oOkm5a9FJOVX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHeblT/opHv/APuIcRAu2CAKCtZkH8fAMNd9Ja+RGVUhH5A2nwhgCdH/K5 lyDogVQ+QUT6VKVDRI1N6AM= =qLcV -----END PGP SIGNATURE----- --yNb1oOkm5a9FJOVX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080101035355.GM72458>