Re: [solved] Log messages on console (was: Bothering error message when logging out X)
On Mon, Mar 03, 2008 at 11:28:53AM +0000, Rodolfo Medina wrote:
> On Thu, Feb 21, 2008 at 06:54:26PM +0000, Rodolfo Medina wrote:
>
> >>> Every time I log out my Gnome X environment (Debian Etch), after a few
> >>> seconds
> >>> the following message appears:
> >>>
> >>> NET: Registered protocol family 10
> >>> lo: Disabled Privacy Extensions
> >>> IPv6 over IPv4 tunneling driver
> >>>
> >>> . I wonder what it means, and above all I wish to eliminate it! Googling
> >>> around gave no help. Can anybody help?
>
>
>
> "Douglas A. Tutty" <dtutty@porchlight.ca> writes:
>
> >> These are kernel messages being posted to the terminal. Do you get
> >> other kernel messages (e.g. like when you plug in a USB device)?
> >>
> >> See the top of /etc/sysctl.conf
>
>
>
> Rodolfo:
>
> > Thanks, this worked: in /etc/sysctl.conf I uncommented the line:
> >
> > kernel.printk = 4 4 1 7
> >
> > so to stop low-level messages on console, and that bothering message did not
> > appear any more. But still, when I plug in my usb pendrive, the following
> > message appears:
> >
> > sda: assuming drive cache: write through
> >
> > . How can I avoid this as well, and all undesired kernel messages?
>
>
>
> The solution seems to be:
>
> # echo "dmesg -n 1" >> /etc/init.d/rc.local
Which is the same as the above line in sysctl.conf , right?
Unless you really want to see all the boot-time messages.
--
Tzafrir Cohen | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend
Reply to: