This is an attempt to fix the broken console_loglevel in kernel/printk.c that Keith Owens reported to the list some hours ago. Instead of the four different _loglevel variables it adds a console_printk array to hold the four values - that should be safe. I have tested this as far as a) it compiles b) it boots c) it has not exploded yet after more than an hour of use d) "cat /proc/sys/kernel/printk" output looks sane both with and without the patch e) changing console_loglevel with "ALT-Sysrq-" works and is correctly reflected in /proc/sys/kernel/printk Randy Dunlap was kind enough to take a look at the patch and thought it looked ok, so I'm now submitting it to a broader audience to get some more feedback before I try to send this off to Linux and/or Alan. If nobody seems to screams at it too badly, then I'll make a version against -ac as well and send it off to Linus and Alan for them to look at and hopefully include in the next kernel. The patch is against 2.4.13-pre3 and is attached as "2.4.13-pre3-console_loglevel.patch". Best regards, Jesper Juhl juhl@eisenstein.dk