[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printk in a driver - ide.c
Aiee :)
Hello!
On Thu, Jan 04, 2001 at 11:15:01AM +0000, Guennadi Liakhovetski wrote:
> I checked /var/log/messages, I just wasn't sure what they meant by 'log
> book' in man printk. Most probably I wasn't running X. I didn't setup any
You should check /etc/syslog.conf and see where kern.* `msgs' get
logged (they may be logged not in /var/log/messages).
Obviously make sure you're running syslogd and klogd too.
> priopity. So, it looks like the driver is not invoked, right? Any ideas
The priority just specify how to show this msg, i.e. both in console
(xconsole?) and in log file (through syslogd/klogd) or just in log file
(this behaviour depends on the default console log level define).
To be really sure (and get at least msgs displayed on console (xconsole?))
just try with a printk statement with the highest priority, i.e.
printk(KERN_EMERG "Kaboom ;)\n");
If this statement is reached in some way, you'll see the output
at least on console, IMHO.
> Thanks
> Guennadi
> ___
>
> Dr. Guennadi V. Liakhovetski
> Department of Applied Mathematics
> University of Sheffield, U.K.
> email: G.Liakhovetski@sheffield.ac.uk
bye bye
-- gg sullivan
--
Lorenzo Cavallaro `Gigi Sullivan' <sullivan@sikurezza.org>
LibRNet Project Home Page: http://www.sikurezza.org/sullivan
LibRNet Mailing List: librnet-subscribe@egroups.com
Until I loved, life had no beauty;
I did not know I lived until I had loved. (Theodor Korner)
PGP signature