Results 1 to 5 of 5
Thread: dmesg output on all ttys
|
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
11-10-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 22
dmesg output on all ttys
whenever i try to do anything in one of the virtual terminals dmesg cuts in and outputs some funny nonsense about my Internet connection, if i want to know about my internet connection i would use the command. Is there anyway that i could disable it from printing to the ttys?
I also have another problem regarding an external laptop HDD. I swapped out my windows drive from my laptop to an external USB case, but my Dapper system cannot read or write to it! So i can't even mount it. when i put it back into the laptop it is recognized, is this some sort of usb error? i don't have this problem with my other external i took from my tower.
If anyone could give any thoughts about this i would be much obliged. Thanks
-
11-14-2007 #2
# echo "4 4 1 4" > /proc/sys/kernel/printk
HTH---------------------------------
Registered Linux User #440311
HI2ARUN _AT_ GMAIL _DOT_ COM
---------------------------------
-
11-14-2007 #3
Could we have an expansion on that please? It looks interesting. I can see that you're passing arguments to the kernel's print-out function but what does "4 4 1 4" actually represent?
"I'm just a little old lady; don't try to dazzle me with jargon!"
www.hrussman.entadsl.com
-
11-14-2007 #4
I found something.
proc(5)/proc/sys/kernel/printk
The four values in this file are console_loglevel, default_mes-
sage_loglevel, minimum_console_level and default_con-
sole_loglevel. These values influence printk() behavior when
printing or logging error messages. See syslog(2) for more info
on the different loglevels. Messages with a higher priority
than console_loglevel will be printed to the console. Messages
without an explicit priority will be printed with priority
default_message_level. minimum_console_loglevel is the minimum
(highest) value to which console_loglevel can be set.
default_console_loglevel is the default value for con-
sole_loglevel.
-
11-14-2007 #5Just Joined!
- Join Date
- Jun 2007
- Posts
- 22
I did some searching around after that "# echo "4 4 1 4" > /proc/sys/kernel/printk"
and found that in my /etc/sysctl.conf a line similar is there, see:
# Uncomment the following to stop low level messages to console
kernel/printk = 4 4 1 7
and with that helpful post by rcgreen it makes sense to change my 7 to a 4 but when i checked the actual file it states:
[kernel]$ cat printk
6 4 1 7
So i'm thinking that something must have overwritten the value from my config file


Reply With Quote