Re: Regression: Spurious "^A" in UML output
From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2012-08-16 15:03:52
Also in:
linux-kbuild, lkml
Hi Joe, On Thu, Aug 16, 2012 at 3:50 PM, Joe Perches [off-list ref] wrote:
On Thu, 2012-08-16 at 15:17 +0200, Geert Uytterhoeven wrote:quoted
In v3.6-rc1 UML, I see spurious "^A" (ASCII 1, SOH) characters in some kernel messages: Calibrating delay loop... 4640.76 BogoMIPS (lpj=23203840) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 256 ^AChecking that host ptys support output SIGIO...Yes ^AChecking that host ptys support SIGIO on close...No, enabling workaround ^AUsing 2.6 host AIO NET: Registered protocol family 16 bio: create slab <bio-0> at 0 Switching to clocksource itimer This happens for all output using the "printk(UM_KERN_XXX ...)" idiom.Were these emitted with "KERN_<LEVEL>" string constants before this change (not <[0-7]>", but the string text KERN_INFO, KERN_WARNING, etc...)?
They were emitted with the "<x>" string constants.
This is used in the userspace part of UML, which runs as a userspace
application on the host. Hence it cannot include kernel header files
directly.
However, now include/linux/kern_levels.h is fairly self-container, perhaps
we should just include that file directly instead of, and get rid of all
DEFINE_STR() users.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds