[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: printk in a driver - ide.c
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
priopity. So, it looks like the driver is not invoked, right? Any ideas
why?
Thanks
Guennadi
On Thu, 4 Jan 2001, Amit D Chaudhary wrote:
> printk should be enough.
> There is another possiblity, incase you are using X-Window instead of console
> the messages might be going to /var/log/messages.
>> I am trying to see what's going on inside the ioctl() called by hdparm -d1
>> /dev/hda. It seems to me that the routine that should be called on this is
>> set_using_dma() in ide.c. So I edited it and inserted a couple of
>> printk() calls, one in the very beginning. But nothing is printed. So,
...
___
Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, U.K.
email: G.Liakhovetski@sheffield.ac.uk
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/
IRC Channel: irc.openprojects.net / #kernelnewbies
Web Page: http://www.surriel.com/kernelnewbies.shtml