Re: Help about rtlinux HelloWorld program!
Der Herr Hofrat <[email protected]> Mon, 27 Dec 2004 20:29:51 +0100 (CET)
| Newsgroups | gmane.linux.real-time.rtlinux.general |
|---|---|
| Message-ID | <[email protected]> |
> Merry Christmas, everyone > > I guess I have sucessfully installed the rtlinux on my machine, > I can load and unload the modules now. > But when I tried to run the hello.o example provided by rtlinux, > I had some problems. > It did not show the result I wished in the console window, > it just print out lots of "elapsed_time" in the window, in the following style: > > elapsed_time = 457500013472 > elapsed_time = 458000013408 > elapsed_time = 458500013216 > ............... > > Anybody can tell me the reason, I guess it is not a big problem, > I must have made some stupid mistake in somewhere. > I think there are only three reasons for the messages to go directly to the console: 1) either you did not enambe rtl_printf uses printk in the rtlinux configuration 2) you set the kernel loglevel to a very low value and thus all kernel log messages go to the console (check the output of cat /proc/sys/kernel/printk - the first number is the default log level and it should be no lower than 3). 3) Your syslog daemon is set up to dump all kernel messages directly to /dev/console - see /etc/syslog.conf if it contains a line of the form kern.* /dev/console hope that helps hofrat _______________________________________________ Rtl mailing list [email protected] http://www2.fsmlabs.com/mailman/listinfo/rtl