Skip to contentSkip to conversation

Make UML slightly quieter

PATCH Jeff Dike 2 participants 3 messages Sep 2, 2003 – Sep 4, 2003 1 message not in the archive User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#1 lore raw
In reply to a message not in the archive
Quoted 4 lines · [email protected] said:

When booting UML with the 'quiet' option, most kernel messages are suppressed, but the skas3 and /proc/mm check messages are still displayed. Using printk rather than printf lets them be suppressed in the normal way, and didn't break anything for me.

The problem with this is that if UML dies early and doesn't make it into the kernel proper, printk messages will never be seen, and those messages potentially have debugging usefulness.

We can possibly make everyone happy by replacing those printfs with a uml_printf that respects the -quiet switch.

Jeff

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#2 lore raw
Quoted 6 lines · Jeff Dike
Quoted 4 lines · [email protected] said:

When booting UML with the 'quiet' option, most kernel messages are suppressed, but the skas3 and /proc/mm check messages are still displayed. Using printk rather than printf lets them be suppressed in the normal way, and didn't break anything for me.

Quoted 6 lines

The problem with this is that if UML dies early and doesn't make it into the kernel proper, printk messages will never be seen, and those messages potentially have debugging usefulness.

We can possibly make everyone happy by replacing those printfs with a uml_printf that respects the -quiet switch.

Easy enough. Is there an existing module which has stuff like this, where such a function would fit?

Signature · 11 lines
 - mdz


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
author
#3 lore raw
Quoted 2 lines · [email protected] said:

Easy enough. Is there an existing module which has stuff like this, where such a function would fit?

Not really. Maybe um_arch.c, since that's already sort of a dumping ground for random crap.

Jeff

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel