User avatar
Toad King
Posts: 157
Joined: Sun Dec 18, 2011 8:03 pm

Kernel messages spam

Thu Jun 07, 2012 10:03 pm

I've been using Hexxeh's image for some time now, but there's a big problem with it I can't seem to fix. Even after boot and klogd is started, my console is still spammed with a bunch of kernel messages. This only got bad when I tried using my Wifi dongle, which spams it nearly constantly, even when not using Internet. Is there some way to fix this?

User avatar
Toad King
Posts: 157
Joined: Sun Dec 18, 2011 8:03 pm

Re: Kernel messages spam

Thu Jun 07, 2012 11:43 pm

Nevermind, found a fix. I had to add "quiet" to the end of the kernel command line. It silences all the kernel messages on boot, but once klogd kicks in, any serious kernel messages get printed to the command line, while the rest of the verbose ones are silenced.

User avatar
dhardingham
Posts: 28
Joined: Mon Jan 02, 2012 12:45 pm
Location: Stevenage, UK
Contact: Website

Re: Kernel messages spam

Sun Jun 10, 2012 12:07 pm

Please could you explain this in more detail. I keep getting messages about my mouse disconnecting. It always reconnects, but the console messages are very annoying. It's almost impossible to type anything on the console, because the mouse disconnect messages occur every 30 seconds or so.
David Hardingham

User avatar
bob_binz
Posts: 441
Joined: Thu Feb 02, 2012 7:58 pm
Location: Stockport, UK

Re: Kernel messages spam

Sun Jun 10, 2012 1:40 pm

You need to edit the cmdline.txt file in the /boot folder. Probably easiest to do from the command line on the Pi itself:

Code: Select all

sudo nano /boot/cmdline.txt
and add "quiet" (without quotes) to the end of the line. 'Ctrl-X' to exit, 'Y' to save, then reboot the Pi

User avatar
dhardingham
Posts: 28
Joined: Mon Jan 02, 2012 12:45 pm
Location: Stevenage, UK
Contact: Website

Re: Kernel messages spam

Tue Jun 12, 2012 10:32 pm

Many thanks for the additional details.

Still can't get used to using nano. Too much time spent working with the vi editor over the past 30 years :D
David Hardingham

plugwash
Forum Moderator
Forum Moderator
Posts: 3737
Joined: Wed Dec 28, 2011 11:45 pm

Re: Kernel messages spam

Tue Jun 12, 2012 10:47 pm

Personally I can't stand vi but if you want it we have at least vim and nvi and possiblly other variants in our repo.

User avatar
mpthompson
Posts: 620
Joined: Fri Feb 03, 2012 7:18 pm
Location: San Carlos, CA
Contact: Website

Re: Kernel messages spam

Wed Jun 13, 2012 12:42 am

dhardingham wrote:Still can't get used to using nano. Too much time spent working with the vi editor over the past 30 years :D
I too have been using vi going on close to 30 years now. If you don't have Vim installed (it's part of the Pisces image of Raspbian), you can do the following command to install a near perfect vi clone:

Code: Select all

sudo apt-get update
sudo apt-get install vim-tiny vim-common
Then just use 'vi' as you would on any Linux/Unix system.

Return to “Raspberry Pi OS”