You are not logged in.

#1 2010-09-28 13:49:04

madchine
Member
From: Denmark
Registered: 2009-11-04
Posts: 62
Website

Kernel diagnostic messages cluttering up console - how to suppress?

Even after the system has fully booted, the kernel may occasionally produce further diagnostic messages. Common examples of when this might happen are when I/O devices encounter errors, or USB devices are hot-plugged. dmesg provides a mechanism to review these messages at a later time. When first produced they will be directed to the system console

- From the Wikipedia article on 'dmesg'

I use ncurses applications for as many things as I can get away with and whenever possible I do so on the system consoles/TTYs (ctrl+alt+F1-12) rather than on an X terminal. Quite often, however, I get distracted by 'kernel diagnostic messages' being written on top of my ncmpcpp/elinks/vim/transmission-remote-cli app - distracted and pretty damn annoyed.

The kernel I'm booting (2.6.34) already has a 'quiet' parameter tagged on the end in the GRUB entry - what more can I do to suppress these messages?

P.S. Please don't warn me about suppressing/disregarding error messages - there is a time and place for everything...

Offline

#2 2010-10-06 10:28:38

madchine
Member
From: Denmark
Registered: 2009-11-04
Posts: 62
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

bump...

Offline

#3 2010-10-06 13:24:36

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

Don't use tty1 (stick to tty2-6).


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#4 2010-10-07 14:05:45

madchine
Member
From: Denmark
Registered: 2009-11-04
Posts: 62
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

Okay, mind if I ask why? The errors aren't limited to any one particular tty - they'll just show up on what console I happen to be working at when the error occurs...

And just to clarify: The kind of 'error' we're talking about is mainly hickups in wifi connectivity, insertion of usb devices, and the like. In other words nothing to be alarmed about.

Offline

#5 2010-10-07 16:34:13

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

I don't get these errors. What does your /proc/cmdline say?


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#6 2010-10-07 17:19:29

madchine
Member
From: Denmark
Registered: 2009-11-04
Posts: 62
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

root=/dev/disk/by-uuid/c2208690-02ec-4b8d-9b22-a4125db98acd ro quiet

Offline

#7 2010-10-07 20:43:57

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: Kernel diagnostic messages cluttering up console - how to suppress?

I don't know if it will work but you can try adding 'console=tty1' to your boot options.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

Board footer

Powered by FluxBB