RE: kernel support for non-english user messages

Perez-Gonzalez, Inaky (inaky.perez-gonzalez@intel.com)
Thu, 10 Apr 2003 14:20:54 -0700


> From: Chuck Ebbert [mailto:76306.1226@compuserve.com]
>
> >> How about changing the way printk works, so that instead of
> >> combining the format string, it just "prints" its args:
> >>
> >> printk("%s: name %p is %d\n", name, ptr, val);
> >>
> >> results in the following in the kernel buffer:
> >>
> >> "%s: name %p is %d\n", "stringval", 0x4790243, 44
> >
> > Debugging a non-klogd enabled kernel would be a pain
>
>
> Why? Shouldn't it be easy to fix dmesg so it unmangles the output?

s/non-klogd enabled/dmesg/

Same thing - what I mean is that if you don't have some automatic
means to recompose the messages, reading the direct output of
the console (as sometimes you have to), becomes a mess.

Iñaky Pérez-González -- Not speaking for Intel -- all opinions are my own
(and my fault)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/