reducing verbosity of some modules
When booting my BLFS system, I often get text that "spams" the screen over the login prompt. Sometimes I'll stare at my computer like a ninny before I realize that it actually is waiting for the user name input. D'oh!
Sometimes, if I am in text mode (not in xorg) I'll get random messages that overlay whatever test is by the cursor. Makes text editing a bit fiddly. The messages are usually of this sort (typed by hand from a screen shot, so there could be mistakes): Code:
[ 34.153687] iwlwifi 00:0d:00.0: L1 Enabled - LTR Enabled The messages do not seem to indicate real errors. Network and the USB continue to work. What I would like is to not have my login prompt obscured nor any other text while in the console after logging on. How can I stop this text spammy-ness? p.s. I once had something like this in Gentoo. At the time, the solution was to install a system logging package. I'm pretty sure the basic LFS install put in a logger. I know I have logs files and that they grow, since I have to run a logrotate script from time to time. So I am unsure as to a solution. Thank you. |
i remember there were different solutions on different systems, but this has worked for me (recently):
https://superuser.com/a/351402 |
Code:
cat > /boot/grub/grub.cfg << "EOF" |
I read the first reply, then followed the links and then read some man pages. I came up with a new /etc/sysctl.conf file that looked like this:
Code:
# Created by me, not mentioned in the standard [B]LFS book(s). Our goal is to I came to post here... and then saw the second reply. Wow: one parameter passed to the kernel is much simpler. Thank you both for the replies. |
Yea, it will work from there too. However, if you want the early printk messages to be reduced, before the rootfs is loaded to produce less output, you need to put it on the kernel command line.
The same post-boot file to edit for systemd users is /etc/systemd/system.conf |
All times are GMT -5. The time now is 12:08 PM. |