printk messages in Fedora 2
I am new to using linux and I am currently running Fedora 2. I was running an earlier version of Linux (pre 2.5.40) and I did some simple device driver development. Prior to the Fedora version of Linux, I have been using printk to add messages to the /var/log/messages file during the device drivers initialization, while it ran, and when it was unloaded.
With Fedora 2, after fixing some compile time issues I have a module that loads using insmod, however, the printk messages are not showing up either in the messages file or on the console screen.
My question then is, do the messages from printk get put somewhere else in Fedora 2 or is there something that I have to do to allow the printk messages to be put into the messages file. If there is something that I have to do to turn this "on" could someone please provide me with the specific things that I need to do to make that happen.
Thanks in advance for your help.
Probably a configuration issue related to syslog (check /etc/syslog.conf). Is there the same problem with other modules?
Thanks for your suggestion,
My /etc/syslog.conf file contained the following for the messages file
#Log anything (except mail) of level info or higher
#Don't log private authentication messages!
I changed the authpriv.none to authpriv.* and cron.none to cron.*
This worked and now I am getting my drivers printk messages.
Where can I find the information on the options that can be used in this file so that I better understand what can be controlled using different options.
Thanks again in advance.
There's manual page for syslog.conf (man syslog.conf). The examles are quite good.
|All times are GMT -5. The time now is 10:37 AM.|