On Tue, Jul 27, 2004 at 08:38:00AM +0000, M.M. Yang wrote:
> Hi all,
> I'm reading the function ia64_init()<sys/ia64/ia64/machdep.c>, and try
> to use "printf" to output some information. But if I put "printf" before
> "msgbufinit()", I won't see any word I expect by using dmesg.
> In the same function after "cninit()", it comments:
> * Initialize the console before we print anything out.
> /* OUTPUT NOW ALLOWED */
> So I have thought "printf" should work after cninit(). But now it seems to
> work only after msgbufinit().
printf() does work right after cninit(). The output just doesn't get
saved in the message buffer. Hence, dmesg(8) doesn't show it, but it
certainly gets printed to the system console. Look at the console...
Marcel Moolenaar USPA: A-39004 email@example.com