Skip to contentSkip to conversation

PROBLEM: CONFIG_DEFAULT_MESSAGE_LOGLEVEL option seems not to work

DISCUSSION Manolo Díaz 2 participants 3 messages Mar 15, 2013 – Mar 16, 2013 Kbuild

lore
Share & tools
lore
#0 lore raw

Hi,

It seems that the kernel loglevel is set to 7 ignoring the CONFIG_DEFAULT_MESSAGE_LOGLEVEL option (set to 4 in my config file)

The /proc/sys/kernel/printk output is

7 4 1 7

Passing the boot parameter "loglevel=4" or echoing "4 4 1 7" to /proc/sys/kernel/printk solves my problem and then this proc file contains

4 4 1 7

as expected.

kernel version:
Linux version 3.8.3 (root@alcyone) (gcc version 4.7.2 (Debian 4.7.2-5) ) #2 SMP Fri Mar 15 08:23:50 CET 2013

config file is gziped and attached.

Best Regards,

Signature · 1 line
Manolo Díaz
#1 lore raw
Quoted 15 lines · Manolo Díaz

Hi,

It seems that the kernel loglevel is set to 7 ignoring the CONFIG_DEFAULT_MESSAGE_LOGLEVEL option (set to 4 in my config file)

The /proc/sys/kernel/printk output is

7 4 1 7

Passing the boot parameter "loglevel=4" or echoing "4 4 1 7" to /proc/sys/kernel/printk solves my problem and then this proc file contains

4 4 1 7

Quoted 7 lines

as expected.

kernel version:
Linux version 3.8.3 (root@alcyone) (gcc version 4.7.2 (Debian 4.7.2-5) ) #2 SMP Fri Mar 15 08:23:50 CET 2013

config file is gziped and attached.

Hi,

CONFIG_DEFAULT_MESSAGE_LOGLEVEL modifies the second field (value) in /proc/sys/kernel/printk, not the first value. OTOH, the "loglevel" kernel parameter modifies the first value in that /proc file, not the second value.

Does that clarify/help?

Signature · 1 line
~Randy
#2 lore raw
Quoted 25 lines · Manolo Díaz
Quoted 15 lines

Hi,

It seems that the kernel loglevel is set to 7 ignoring the CONFIG_DEFAULT_MESSAGE_LOGLEVEL option (set to 4 in my config file)

The /proc/sys/kernel/printk output is

7 4 1 7

Passing the boot parameter "loglevel=4" or echoing "4 4 1 7" to /proc/sys/kernel/printk solves my problem and then this proc file contains

4 4 1 7

Quoted 7 lines

as expected.

kernel version:
Linux version 3.8.3 (root@alcyone) (gcc version 4.7.2 (Debian 4.7.2-5) ) #2 SMP Fri Mar 15 08:23:50 CET 2013

config file is gziped and attached.

Quoted 8 lines

Hi,

CONFIG_DEFAULT_MESSAGE_LOGLEVEL modifies the second field (value) in /proc/sys/kernel/printk, not the first value. OTOH, the "loglevel" kernel parameter modifies the first value in that /proc file, not the second value.

Does that clarify/help?

Yes, I misunderstood the meaning of default_message_loglevel. Sorry.

Regards,

Signature · 1 line
Manolo Díaz