Hi Joe, On Thu, Aug 16, 2012 at 3:50 PM, Joe Perches <j...@perches.com> wrote: > On Thu, 2012-08-16 at 15:17 +0200, Geert Uytterhoeven wrote: >> 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 -- ge...@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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel