You are not logged in.

#1 2012-07-20 01:55:13

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

kernel messages spamming console

My kernel.log is full of messages like this:

Jul 19 20:46:39 studio15 kernel: [ 1083.807018] hub 1-1:1.0: unable to enumerate USB device on port 4
Jul 19 20:46:39 studio15 kernel: [ 1084.039780] usb 1-1.4: new high-speed USB device number 127 using ehci_hcd
Jul 19 20:46:39 studio15 kernel: [ 1084.063247] hub 1-1:1.0: unable to enumerate USB device on port 4
Jul 19 20:46:39 studio15 kernel: [ 1084.295979] usb 1-1.4: new high-speed USB device number 4 using ehci_hcd
Jul 19 20:46:39 studio15 kernel: [ 1084.319431] hub 1-1:1.0: unable to enumerate USB device on port 4
Jul 19 20:46:40 studio15 kernel: [ 1084.552308] usb 1-1.4: new high-speed USB device number 5 using ehci_hcd
Jul 19 20:46:40 studio15 kernel: [ 1084.575740] hub 1-1:1.0: unable to enumerate USB device on port 4

I'm guessing it's due to a loose wire in the laptop hinge and the built-in webcam is flapping.  I'll see if I can do something about that later.

The issue that I'm hoping someone here can help with is:  all consoles (tty1-6, regardless of who's logged in) also get the lines that say "unable to enumerate USB device on port 4" (but curiously not the lines that say "new high-speed USB device...").

My syslog-ng is running with the default config.  I've looked at changing it so that kernel messages don't go to the console, but I don't see where in the config file that's happening.

Suggestions?

Offline

#2 2012-07-20 20:31:24

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: kernel messages spamming console

If you know what the error is and that it is not important, try setting the console loglevel (as a boot parameter) so it's not printed.

Here's an explanation of it:

loglevel=       All Kernel Messages with a loglevel smaller than the
                        console loglevel will be printed to the console. It can
                        also be changed with klogd or other programs. The
                        loglevels are defined as follows:

                        0 (KERN_EMERG)          system is unusable
                        1 (KERN_ALERT)          action must be taken immediately
                        2 (KERN_CRIT)           critical conditions
                        3 (KERN_ERR)            error conditions
                        4 (KERN_WARNING)        warning conditions
                        5 (KERN_NOTICE)         normal but significant condition
                        6 (KERN_INFO)           informational
                        7 (KERN_DEBUG)          debug-level messages

Offline

Board footer

Powered by FluxBB