Date: Mon, 26 Jun 2023 04:55:25 +0100 From: Graham Perrin <grahamperrin@freebsd.org> To: David Wolfskill <david@catwhisker.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Subject: debug.verbose_sysinit=1 and kern.msgbufsize=196608 Message-ID: <c50f20b3-5455-b694-aa39-abab000af58f@freebsd.org> In-Reply-To: <ZJikb2b-WJfXfJpy@albert.catwhisker.org> References: <e09fdaf8-7ae3-9cf5-ebf3-8a10fcdbe5d0@freebsd.org> <ZJikb2b-WJfXfJpy@albert.catwhisker.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------J1aNQC6ykfSmmAMW485H5jum Content-Type: multipart/mixed; boundary="------------xYp7OghtPvY6aG0xSClfTaG8"; protected-headers="v1" From: Graham Perrin <grahamperrin@freebsd.org> To: David Wolfskill <david@catwhisker.org> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org> Message-ID: <c50f20b3-5455-b694-aa39-abab000af58f@freebsd.org> Subject: debug.verbose_sysinit=1 and kern.msgbufsize=196608 References: <e09fdaf8-7ae3-9cf5-ebf3-8a10fcdbe5d0@freebsd.org> <ZJikb2b-WJfXfJpy@albert.catwhisker.org> In-Reply-To: <ZJikb2b-WJfXfJpy@albert.catwhisker.org> --------------xYp7OghtPvY6aG0xSClfTaG8 Content-Type: multipart/alternative; boundary="------------88sFFEEfsWlbAdHedARgF7cr" --------------88sFFEEfsWlbAdHedARgF7cr Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMjUvMDYvMjAyMyAyMTozMiwgRGF2aWQgV29sZnNraWxsIHdyb3RlOg0KPiBPbiBTdW4s IEp1biAyNSwgMjAyMyBhdCAwOToyMDo0MFBNICswMTAwLCBHcmFoYW0gUGVycmluIHdyb3Rl Og0KPj4gV2hlbiBkZWJ1Zy52ZXJib3NlX3N5c2luaXQ9MSBpcyBzZXQgaW4gbG9hZGVyLmNv bmYoNSksIGlzIG5vcm1hbCB0byBfbm90Xw0KPj4gaGF2ZSBCT09UIGFuZCBjb3B5cmlnaHQg bWVzc2FnZXM/DQo+IEl0J3Mgbm9ybWFsIChpbiB0aGF0IHNpdHVhdGlvbikgdG8gcmVxdWly ZSBhIGhpZ2hlciB2YWx1ZSBpbg0KPiBrZXJuLm1zZ2J1ZnNpemUgaWYgeW91IHdhbnQgdGhl IGVudGlyZSBkbWVzZyBvdXRwdXQgc2F2ZWQgaW4NCj4gL3Zhci9ydW4vZG1lc2cuYm9vdCwg eWVzLg0KPg0KPiBJIHVzZSBhIHNoZWxsIHNjcmlwdCB0byBtb2RpZnkgdGhhdCAoaW4gL2Jv b3QvbG9hZGVyLmNvbmYuZC8pIGluDQo+IGNvbmp1bmN0aW9uIHdpdGggcmVxdWVzdGluZyBh ICJ2ZXJib3NlIiAob3Igbm90KSBib290Lg0KPg0KPiBFLmcuLCBvbiBteSBsYXB0b3AsIHRo ZSBkZWZhdWx0IHZhbHVlIGlzIDk4MzA0LCB3aGljaCBpcyBmaW5lIGZvciBhDQo+ICJub3Jt YWwiIGJvb3Q7IGZvciBhICJ2ZXJib3NlIiBib290LCBJIHNldCBpdCB0byAxOTY2MDggKHdo aWNoIHdvcmtzIGluDQo+IHRoaXMgY2FzZSkuDQo+DQo+IOKApg0KVGhhbmtzLiAxOTY2MDgg d2FzIGVub3VnaCBmb3IgbWUuDQo= --------------88sFFEEfsWlbAdHedARgF7cr Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html data-lt-installed=3D"true"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DUTF= -8"> </head> <body style=3D"padding-bottom: 1px;"> <div class=3D"moz-cite-prefix">On 25/06/2023 21:32, David Wolfskill wrote:<br> </div> <blockquote type=3D"cite" cite=3D"mid:ZJikb2b-WJfXfJpy@albert.catwhisker.org"> <pre class=3D"moz-quote-pre" wrap=3D"">On Sun, Jun 25, 2023 at 09:2= 0:40PM +0100, Graham Perrin wrote: </pre> <blockquote type=3D"cite"> <pre class=3D"moz-quote-pre" wrap=3D"">When debug.verbose_sysinit= =3D1 is set in loader.conf(5), is normal to _not_ have BOOT and copyright messages? </pre> </blockquote> <pre class=3D"moz-quote-pre" wrap=3D""> It's normal (in that situation) to require a higher value in kern.msgbufsize if you want the entire dmesg output saved in /var/run/dmesg.boot, yes. I use a shell script to modify that (in /boot/loader.conf.d/) in conjunction with requesting a "verbose" (or not) boot. E.g., on my laptop, the default value is 98304, which is fine for a "normal" boot; for a "verbose" boot, I set it to 196608 (which works in this case). =E2=80=A6</pre> </blockquote> Thanks. 196608 was enough for me. <br> </body> <lt-container></lt-container> </html> --------------88sFFEEfsWlbAdHedARgF7cr-- --------------xYp7OghtPvY6aG0xSClfTaG8-- --------------J1aNQC6ykfSmmAMW485H5jum Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEWT/lssMHB+28ly8Kt2dIb0oY1AsFAmSZDC0FAwAAAAAACgkQt2dIb0oY1Asc tg//YUeSjRqeYPXZfJ+dzXoQqkSY/5eR8rdmsEMPlPsVZIkPatXH4pSRSi6q1DSiMfUY2ART1yCr 8nRgSi/QfjaS6wKegQAIgt2AXu1/w/uzYHEfyEdMAxvvvA8NyBpSespCdmJYHQ/heIoLCQnGkLBA 3tylGzproO9GG53ycGfSQF4bj90Hdzh3ftrYU+ZOeGtDOxTuaG6fe1sEgwFg9rBBIi/wP+yLXG+f YAdbWcoh4r+BB29QoOJTlz4KFO0FUpBxo4huyvzehzLH1G7MlYdS8II3Tz7ypg8IWomsACM2yB0+ b0APCAUaQd9obPP7C3HyS8ai2W2YyxKn2Jf0mrpu+r9HpCIP4rz7kAgiOyR5zy0VBr1K31edsJie 8jza9vsjg1Cm6v9USpT9u6I9AHNrm6ILjoQQkKOqz484uXgbYmy7likhtBn41IFVO0lCqRZvNWKW fwg1CyV/G+1JWzz47VvYNTJ3EcHIuRts8orj6SXKorJlnv/ehOsa7k1tyCDpi2nepupLZKv2x2Fw h+ss/7gOgfdzd9GZBx8nYNf8kZRl3wUVGfnKX9SxfBGD1JPq6/6MmP8oOVTqDVuRUHzcUxi2XOGT hwDP9SKQY1mUKm5ioXULNSV9e5X+Er1GMuzD0nnMQ0HB+3Ehj6h8P4EQ+Z+crqhpjHSxlajw3smy itg= =y8yj -----END PGP SIGNATURE----- --------------J1aNQC6ykfSmmAMW485H5jum--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c50f20b3-5455-b694-aa39-abab000af58f>